Repository navigation
NOR-18R: cached full verifier 4.33× faster in source-locked CPU benchmark - #178
Merged
Merged
Conversation
…and ledger and isolated memory profiling
…tracemalloc and bigint bit-width ledger
…ss, inverse bigint ledger and untimed memory
…ures, bigint multiplications and isolated RSS
… observed degree-192 target prefix
…measured CPU evidence bytes from first CI
…iginal hosted timing and public fixture bytes
…ers and evidence byte hashes
…, native masks, bigint widths and memory audit
… and 1792 original CPU timing samples
…d memory tradeoff with archived evidence
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.
NOR-18R: source-locked executable CPU and bigint benchmark
Continues merged NOR-18 #175 and companion MathCan NOR-18R theorem #98, which proves exact native/cached reciprocal-work multiplicities and public-prefix/full-mask parity.
Original source-locked public fixture
Regenerates all original NOR-18 288 heldout source cases using the registered seeds and validates each full-public-input SHA against original evidence SHA-256 9905aa23466b98ba2068e6daf9206d35c453b8b3b75bd27c3ab7ff8f0db4041b. Selects 64 public-only cases: eight late_source, four signed, four rational from each of four cohorts. Fixture includes only two degree-192 input/output demonstrations, degree-256 public query INPUT and public headers. Planted program identity and withheld future query OUTPUT are absent.
All four algorithms recompute the same degree-256 public candidate-query outputs and return exactly identical sixteen-bit public acceptance masks and output unanimity certificates: original sixteen independent full checks, cached full sixteen-template batch, degree-160 cached prefix with independent full survivor checks, degree-176 cached prefix with independent full survivor checks.
First heldout CPU and memory measurements
Original successful CPU run, CPython 3.12.16, Linux x86_64, 4 logical CPUs. Per source/mode: two warmups, 7 measured repetitions, mode order deterministically randomized, GC collected before samples and disabled during timed segments. Query simulations included in each total.
Median paired complete CPU speedup = 4.32878×, cached faster in 64/64 source cases. Predeclared ≥1.5× and ≥48/64 faster criterion PASSED. Four-cohort block-bootstrap 95% percentile range [4.2803×, 4.3959×] is conditional on these fixed source cohorts and this first hosted CPU run.
Measured reciprocal bigint multiplication counts and sum of operand positive bit-length products, including a common public query transform:
Caching increases median independently measured tracemalloc temporary allocations. Isolated worker ru_maxrss was 29,364 KiB for all four modes, with no increase over the worker's fixture-loaded baseline. RSS lacks resolution for the transient-memory distinction.
Immutable evidence and three-job CI
The complete original first-hosted artifact (ID 14195445905) was archived byte-for-byte into NOR-18R original evidence ZIP in source control, then the one-shot artifact writer was deleted. SHA-256:
First independent hosted source-audit passed, reconstructing all 64 public masks and hypothetical query predictions, 1,792 timing samples, 256 separate memory profiles, the exact bigint inverse operand-width ledger, and 4096 bootstrap draws from the archived bytes. Permanent workflow has separate unit/semantic-parity, frozen original-evidence independent audit, and executable rerun jobs. Frozen result receipt, benchmark, independent auditor and preregistered study included.
This is a physically measured first-run CPython speedup for a fixed synthetic source subset. The narrow cohort-bootstrap interval does not establish cross-machine reliability, and source loading was outside timed segments. General GPU or production proof-verifier speedup remains untested.