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

Prover-function based fast witgen #2015

Closed
chriseth opened this issue Nov 1, 2024 · 1 comment
Closed

Prover-function based fast witgen #2015

chriseth opened this issue Nov 1, 2024 · 1 comment
Assignees

Comments

@chriseth
Copy link
Member

chriseth commented Nov 1, 2024

We would like to have prover-function based fast witgen. This issue is not about auto-generating prover functions [-> #2066], it assumes correct prover functions are provided by the user. We can roughly break it down into the following steps:

  1. allow access (read and write) to all rows in a block of a block machine
  2. potentially modify the whole pattern of how new values are provided in the prover function evaluation process
  3. implement the required built-in functions
  4. implement missing pieces for JIT if needed
  5. find a mechanism to directly return the result of a query to a sub-machine, so that filling the actual cells in the submachines can be done in a separate thread

Related explorative PR with some numbers: #2028

@chriseth chriseth self-assigned this Nov 1, 2024
@georgwiese georgwiese added this to the 4. Fast Witgen milestone Nov 5, 2024
@chriseth chriseth changed the title Prover-function based fast witgen Auto-generated prover-function based fast witgen Nov 11, 2024
@chriseth chriseth changed the title Auto-generated prover-function based fast witgen Prover-function based fast witgen Nov 11, 2024
@chriseth
Copy link
Member Author

We implemented this without going through pil. We might revisit this at a later point in time, first auto-generating prover functions and then compiling pil to rust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants