-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat(ivc): impl cyclefold::ivc #414
base: feat-cyclefold-sfc
Are you sure you want to change the base?
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
.map_err(Error::WhileProtoGalaxyAccCreation)?; | ||
|
||
// At zero step cyclefold ivc - output protogalaxy-accumulator is input | ||
// protogalaxy-accumulator. Bug proof still should be valid. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is "bug proof"
.W_commitments | ||
.iter() | ||
.copied() | ||
.zip_eq(pp.primary_initial_trace.u.W_commitments.iter().copied()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what are the definition of primary_initial-acc
and pp.primary_initial_trace
,
are these two the same?
// delegate the `W_commitment` calculations to the `upport_circuit` we need `gamma` to | ||
// repeat them. We take advantage of the fact that `gamma` is generated last and thus | ||
// retrieve it | ||
let gamma = random_oracle.squeeze::<CMain::ScalarExt>(MAX_BITS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is gamma already squeezed in fn ProtoGalaxy::prove
?
Here it squeeze a new challenge and hence will be different from the gamma generated in ProtoGalaxy::prove
.
Why are they the same?
z_i: *primary_z_current, | ||
z_0: *primary_z_0, | ||
|
||
// next fields not used in absorb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice comment
Motivation
Close #368
Close #369
Close #370
Close #372
Close #373
Close #374
Overview
Implementation of the cyclefold with test
Issue Link / Motivation
Changes Overview