Repository navigation
feat(challenges): static operator-norm base tables behind ont-static-base - #269
Draft
Acentelles wants to merge 2 commits into
Draft
Acentelles wants to merge 2 commits into
Acentelles wants to merge 2 commits into
Conversation
…base Adds generated static base tables for the D64 selective-L2 operator-norm sampler, with the generator script. The tables are compiled in only with the ont-static-base feature, which is off by default; without it the sampler is unchanged.
This branch has not been deployed
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.
Summary
Adds generated static base tables for the D64 selective-L2 operator-norm sampler, so a verifier can use precomputed tables instead of deriving them at run time. A generator script (
scripts/gen_op_norm_static_base.py) producessrc/sampler/op_norm/static_base.rs.The tables are compiled in only with the new feature
ont-static-base, which is off by default. Without the feature, the sampler and its outputs are unchanged.There is no change to the proof, the transcript or the setup.
Changes
akita-challenges: theont-static-basefeature, the generatedstatic_base.rs, the sampler hook insampler/op_norm.rs, and the generator script.Measured effect
Standalone rows on this base are not measured. The feature was measured only as part of a larger recursion integration stack, where its share was not isolated. A consumer has to enable
ont-static-baseto see any effect.This PR is a draft until the standalone figure is measured.
Reproduce
Regenerate the tables with the script and diff them against the committed file. For the row effect, run the a16z/jolt#1911 recursion example with the Akita dependency on this branch and
ont-static-baseenabled, againstee03aa30.Base
This PR targets
markos/recursion-integration(ee03aa30), the recursion integration branch where this change was measured. It merges intomainwith the rest of that branch.Current integration figures (whole stack, not this PR alone)
These are figures for the whole recursion integration stack: Jolt's recursion example with this PR's Akita changes together with the other changes on this branch, the Jolt-side verifier changes and the guest build settings. They are not a measurement of this PR alone.
The Akita proof is 72,672 bytes at$2^{12}$ and 75,817 bytes at $2^{20}$ in both stacks, unchanged.
Receipt hashes (whole / closing):
02a12d07/72c63ef2;d23b9ab4/16ca914c;ea4ddf32/f069836d.