Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for trace inputs to PIL #159

Open
qwang98 opened this issue Oct 21, 2023 · 0 comments
Open

Add support for trace inputs to PIL #159

qwang98 opened this issue Oct 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@qwang98
Copy link
Collaborator

qwang98 commented Oct 21, 2023

Add support for trace inputs to PIL. Currently, PIL supports user input via the command line or Rust APIs for the command line. However, it only supports input for one variable (column). Because Chiquito circuit might provide inputs for multiple variables via trace (e.g. the MiMC7 circuit), we can't use use PIL's Rust API as a generic solution for providing inputs. The only solution is to input statements in the format of ISFIRST * ([[input_variable]] - [[input_value]]) = 0. An issue with this approach, however, is that trace is too general and doesn't associate input values to signals, so we might need to create an alternative trace function or mode that does this. All of the above is due to the fact that PIL only supports automatic witness inference and cannot feed in external witness.

Depends on #153 merged

@qwang98 qwang98 added the enhancement New feature or request label Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant