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

mpc-relation: constraint-system: Add interfaces for proof linking and gate layout #36

Merged
merged 2 commits into from
Dec 27, 2023

Conversation

joeykraut
Copy link
Member

@joeykraut joeykraut commented Dec 27, 2023

Purpose

This PR adds interfaces for proof linking and link group layout specification. The layout generation code is only implemented for the single-prover interface for the moment. The plan is to build that out and see how the design changes, before building out the multiprover interface.

Testing

  • All unit tests passed
  • Tested the layout spec outside of this PR in the renegade/circuits crate

@joeykraut joeykraut force-pushed the joey/proof-linking-interface branch from 6fa6ee8 to b5e3eae Compare December 27, 2023 17:28
Comment on lines +137 to +139
link_groups: HashMap<String, Vec<Variable>>,
/// The offsets at which to place the link groups in the arithmetization
link_group_offsets: HashMap<String, usize>,
Copy link
Member Author

Choose a reason for hiding this comment

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

I will add the placement logic present in the single-prover implementation later. This is merely added to meet the new trait requirements.

@joeykraut joeykraut force-pushed the joey/proof-linking-interface branch 2 times, most recently from b300914 to c4c7327 Compare December 27, 2023 17:49
@joeykraut joeykraut marked this pull request as ready for review December 27, 2023 17:49
@joeykraut joeykraut requested a review from akirillo December 27, 2023 17:49
Copy link

@akirillo akirillo left a comment

Choose a reason for hiding this comment

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

couple comments, but nothing requiring further discussion

plonk/src/multiprover/proof_system/constraint_system.rs Outdated Show resolved Hide resolved
relation/src/constraint_system.rs Outdated Show resolved Hide resolved
relation/src/constraint_system.rs Outdated Show resolved Hide resolved
relation/src/constraint_system.rs Show resolved Hide resolved
@joeykraut joeykraut force-pushed the joey/proof-linking-interface branch from c4c7327 to 7a67ce8 Compare December 27, 2023 21:37
@joeykraut joeykraut merged commit 4c1516a into main Dec 27, 2023
1 check failed
@joeykraut joeykraut deleted the joey/proof-linking-interface branch December 27, 2023 21:37
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