Reuse prepared IPA work and share orbit MSM window shifts - #372
Draft
ValarDragon wants to merge 2 commits into
Draft
Reuse prepared IPA work and share orbit MSM window shifts#372ValarDragon wants to merge 2 commits into
ValarDragon wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reuse the prepared coefficient table for the first IPA round when
orbitsis enabled, share positional doublings through a balanced orbit-MSM window
tree, and omit the final generator fold whose result the prover never uses.
The ordinary Signed-Booth and prepared point-returning Horner routes remain
in place.
This ports the remaining optimization work onto current
main; scratchreuse and first-round preparation for the default backend are already
present in the base. No public or
pub(crate)API changes, new persistenttables, circuit changes, or proof-format changes.
Validation: 444 library tests passed with
orbits, including comparison ofprepared/unprepared IPA commitments and identical seeded proof bytes. The
window-tree tests cover both Pasta curves, empty and odd window counts,
identity and inverse points, and failure propagation from every leaf.
Benchmark-server measurements are in progress against base
46d9ed695208d848490637adef0e3b3818665263and implementation82980942ea570f16229a850e8d602bfbe86defee, using Rust 1.97.1, the realIronwood two-spend fixture, default and
orbitsfeatures, and 1/4/8 workers.Four-worker measurements use control/candidate/candidate/control ordering.
The results will be added before this PR leaves draft.