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

[EASY] IVC: add the challenges required by the block selection and expose the IVC challenges count #2366

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

dannywillems
Copy link
Member

@dannywillems dannywillems commented Jun 19, 2024

It is required to have a correctly shaped/sound IVC circuit.

Exposing is useful for external users. It will be used in the ADD example.
@dannywillems dannywillems changed the title IVC: add the challenges required by the block selection and expose the IVC challenges count [EASY] IVC: add the challenges required by the block selection and expose the IVC challenges count Jun 19, 2024
/// for now.
/// We also add the number of "blocks" in the IVC circuit as there will be
/// [N_BLOCKS] alphas required to aggregate all blocks on each row.
pub const IVC_NB_CHALLENGES: usize = IVC_POSEIDON_NB_CONSTRAINTS + N_BLOCKS;
Copy link
Member

Choose a reason for hiding this comment

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

Right now this will not be enough: folding needs the /sum/ of constraints, not the max(block_constraints) + common_constraints. To be optimised in the future.

@dannywillems dannywillems merged commit 840e2bc into master Jun 24, 2024
6 checks passed
@dannywillems dannywillems deleted the dw/add-chals-block-selector branch June 24, 2024 12:01
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.

2 participants