-
Notifications
You must be signed in to change notification settings - Fork 585
fix: use powers of beta for batching columns in logup #19881
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
fix: use powers of beta for batching columns in logup #19881
Conversation
| { T(0), T(0), T(0), T(0), T(0) }, | ||
| { T(0), T(0), T(0), T(0), T(0) } } }; | ||
|
|
||
| RefArray<T, NUM_TO_FOLD> get_to_fold() |
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 file is a mess
ledwards2225
left a comment
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.
LGTM - would be nice to avoid the sol formatting issues or figure out why they're happening
| and(precomp_success_flag, staticcall(gas(), 7, G1_LOCATION, 0x60, ACCUMULATOR_2, 0x40)) | ||
| precomp_success_flag := | ||
| and(precomp_success_flag, staticcall(gas(), 6, ACCUMULATOR, 0x80, ACCUMULATOR, 0x40)) | ||
| precomp_success_flag := and( |
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.
The majority of this is just formatting? any idea why this is happening?
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.
it's likely that at some point I introduced some changes manually
| @@ -143,19 +143,17 @@ template <IsUltraOrMegaHonk Flavor> void OinkProver<Flavor>::execute_wire_commit | |||
| template <IsUltraOrMegaHonk Flavor> void OinkProver<Flavor>::execute_sorted_list_accumulator_round() | |||
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.
Its crazy that this is still the name of this round
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.
yeah, I'll clean up the naming + stuff like IsUltraOrMegaHonk in follow-ups
| domain_separator + "eta", domain_separator + "eta_two", domain_separator + "eta_three" }); | ||
| // Get eta challenge and compute powers (eta, eta², eta³) | ||
| FF eta = transcript->template get_challenge<FF>("eta"); | ||
| prover_instance->relation_parameters.eta = eta; |
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.
could just pass eta here and set them all at once
Add CLAUDE.md with development documentation for the Solidity Honk verifier including architecture overview, regeneration scripts, debugging workflow, and common troubleshooting steps. Co-Authored-By: Claude Opus 4.5 <[email protected]>
Flakey Tests🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry. |
fix re-using eta in logup terms, use powers of gamma instead