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

Functionality inside Trace to obtain relation columns used in lookups #2334

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

querolita
Copy link
Member

This PR supports a new functionality inside the Trace struct to extract the columns used in lookups, which shall be used in the delayed lookup argument.

The rough idea is to recurse over the values of each lookup expression for each instruction/step variant, so that upon initialization of the decomposed traces, the lookup-related columns are identified. This means "collecting" them has no impact on the witness generation code.

Note that columns are extracted in generic shape. If we wanted to have them in alias shape, then we would need to create all the expressions in alias shape and then before calling the prover, convert them into generic shape.

@querolita querolita marked this pull request as ready for review June 18, 2024 15:29
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

Successfully merging this pull request may close these issues.

None yet

1 participant