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

RFC: generalized expression framework #23

Merged
merged 2 commits into from
Sep 21, 2023
Merged

RFC: generalized expression framework #23

merged 2 commits into from
Sep 21, 2023

Conversation

mrmr1993
Copy link
Member

No description provided.


In particular, the requirements are that zkVM instructions can be encoded as an expressionunder the framework, without modifying or otherwise affecting the expressions used for the berkeley specialization of the kimchi framework.

We can measure progress towards this goal by executing an intermediate task. The 'cairo gates' defined in the kimchi proof system are currently unused in berkeley, but the selectors for these gates are [hard-coded in the list used for the berkeley expressions](https://github.com/o1-labs/proof-systems/blob/17041948eb2742244464d6749560a304213f4198/kimchi/src/circuits/gate.rs#L102); when this RFC is successfully implemented, it should be possible to define those constraints over a cairo-specific set of columns, which in turn will allow those variants to be removed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have the following Cairo gate selectors:

    CairoClaim,
    CairoInstruction,
    CairoFlags,
    CairoTransition,

Are there other impacts to the berkeley kimchi proof system if we end up removing these selectors?

0007-generalized-expression-framework.md Outdated Show resolved Hide resolved
0007-generalized-expression-framework.md Outdated Show resolved Hide resolved
0007-generalized-expression-framework.md Outdated Show resolved Hide resolved
0007-generalized-expression-framework.md Outdated Show resolved Hide resolved
0007-generalized-expression-framework.md Outdated Show resolved Hide resolved
0007-generalized-expression-framework.md Outdated Show resolved Hide resolved
@fabrizio-m fabrizio-m added this pull request to the merge queue Sep 21, 2023
Merged via the queue into main with commit e92a5da Sep 21, 2023
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.

4 participants