-
Notifications
You must be signed in to change notification settings - Fork 614
feat: extend functionality of SmallSubgroupIPA #12244
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
Changes from 8 commits
a9531ec
60537ca
64d09df
63799f6
a7e63c5
f0f8778
be5c7bf
7a97ee3
ee07343
6e2d0c3
f54a046
d001c13
b886bcd
417c8cb
5811213
14a79db
ce5ef82
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -322,7 +322,8 @@ TYPED_TEST(ShpleminiTest, ShpleminiZKNoSumcheckOpenings) | |
|
|
||
| // Instantiate SmallSubgroupIPAProver, this prover sends commitments to Big Sum and Quotient polynomials | ||
| SmallSubgroupIPAProver<TypeParam> small_subgroup_ipa_prover( | ||
| zk_sumcheck_data, const_size_mle_opening_point, claimed_inner_product, prover_transcript, ck); | ||
| zk_sumcheck_data, const_size_mle_opening_point, claimed_inner_product, prover_transcript); | ||
| small_subgroup_ipa_prover.prove(ck); | ||
|
|
||
| // Reduce to KZG or IPA based on the curve used in the test Flavor | ||
| const auto opening_claim = ShpleminiProver::prove(this->n, | ||
|
|
@@ -429,7 +430,8 @@ TYPED_TEST(ShpleminiTest, ShpleminiZKWithSumcheckOpenings) | |
|
|
||
| // Instantiate SmallSubgroupIPAProver, this prover sends commitments to Big Sum and Quotient polynomials | ||
| SmallSubgroupIPAProver<TypeParam> small_subgroup_ipa_prover( | ||
| zk_sumcheck_data, challenge, claimed_inner_product, prover_transcript, ck); | ||
| zk_sumcheck_data, challenge, claimed_inner_product, prover_transcript); | ||
| small_subgroup_ipa_prover.prove(ck); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It makes sense to me to introduce this
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I moved ck to the constructor, I guess treating ck and transcript differently does look confusing In terms of having a single prove method - it would look nicer here, but then I'm using the object to extract witness polys and to pass them to Shplemini. Making prove() return the witness polynomials feels somewhat counter-intuitive |
||
|
|
||
| // Reduce proving to a single claimed fed to KZG or IPA | ||
| const auto opening_claim = ShpleminiProver::prove(this->n, | ||
|
|
@@ -495,4 +497,4 @@ TYPED_TEST(ShpleminiTest, ShpleminiZKWithSumcheckOpenings) | |
| EXPECT_EQ(this->vk()->pairing_check(pairing_points[0], pairing_points[1]), true); | ||
| } | ||
| } | ||
| } // namespace bb | ||
| } // namespace bb | ||
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.
this global const is rather a SmallSubgroupIPA constant. I haven't thought the argument would be used elsewehere, so initially called it NUM_LIBRA_EVALUATIONS