Repository navigation
Tooling: exact sparse phase recipes reproduce the three frontier1042 phases pins, 12x on a shared host (no new kappa) - #1646
Conversation
Opt-in package research/frontier1042-phase-fastpath: the merged sparse compiler (PR1029) reproduces the three pinned k8 clifford_recipes_sha256 digests byte for byte from the archived canonical words; same-host timings for pinned serial, dense, sparse and parallel engines. No pinned file changes; no new kappa. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Exact-head retention and overlap facts for #1101, #1108, #1142, #1151, #1277, #1361, #1509 and #1646 against main 1f7a934, with a stdlib checker. #1142 fails on current main (stale selected-record pin) and re-adds an earlier copy of #1108's package (add/add conflict). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Batch review at Merged to Reviewed scope: Opt-in sparse compilation reproduces all three archived frontier1042 recipe digests and semantic review fields, with invalid-frame and redirected-edge controls. Pinned drivers remain unchanged; author speed ratios are not independently measured by this scoped replay. The pinned scoped command passed; the batch ledger contains its command, input hashes, environment and log. This incorporates the research/tooling contribution and does not change the selected κ or discharge the inherited multiplication-theorem assumptions. Batch review, attribution and evidence. Thank you for the contribution. |
Tooling (verification engineering). No new κ. No pinned file changes, and no check is weakened.
What
A cold
make frontier1094-verifyrunsverify_frontier1042.pyas itsbaseline1042-coldstage. That replay calls the pinned serialphases_full.pythree times, in the cells, chain and slots stages. In the maintainer's recorded run these three steps take 469 s of 1162 s (199.4 + 134.4 + 135.3). #1151 parallelised the five layer-end-control steps and states that it does not re-measure these three.Two merged exact fast paths already exist: Ali Romman's sparse compiler (#1029,
research/selected-replay-fastpath/) and thakrarsagar's parallel runner (#1041,research/phase-recipes-parallel/). Both were measured only on the PR942 U8 word.research/frontier1042-phase-fastpath/checks them on the three k8 words of the selected chain.Result
The three canonical words come from
research/community-frontier1042-audit/selected-replay.tar.gz. Their decompressed digests equal thecanonical_sha256in LEAVER-PINS-k8, CHAIN-PINS-k8 and SLOT-PINS-k8. For each word:selected-replay-fastpath/run.py --engine sparsewrites aCLIFFORD-RECIPES.jsonthat is byte-identical to the archived maintainer recipes. Its digest is the pinnedclifford_recipes_sha256: cellsaab63b0a…, chaine3bfdfa2…, slotsd0768f21….CLIFFORD-REVIEW.jsonfield exceptsecondsequals the archived review.phases_parallel.py --engine dense662reproduce the same bytes.Same-host timings, macOS arm64, 10 cores, Python 3.14.7. The host was shared, with load average 10–29. The receipt is
BENCHMARK-macos-arm64.json.phases_full.pyviarun_portable.pyrun.py --engine dense(PR662)run.py --engine sparse(PR1029)phases_parallel.py --jobs 10 --engine dense662(PR1041)All times are in seconds. On this host the sparse compiler is 12× faster than the pinned serial step in wall time, and uses one core. The parallel dense runner is 29× faster but uses about 10 cores.
Controls
verify.pyruns two controls on a corrupted cells word. Neither may reproduce the pin.AssertionError, with no recipes written.Both behaviours are asserted exactly.
A bit flip inside a full-rank frame keeps the span, so it is not a corruption. My first draft control did this and was replaced.
-Ois refused. #1029's package keeps its own controls, proof and gate tests, and this PR does not repeat them.Wiring (maintainers' call, not done here)
Later stages consume these outputs.
verify_slots.pyasserts both recipe digests, andverify_t16.pycopies both CLIFFORD files forward and binds them.reproduce_leaver.py --skip-phasesworks with an externalrun.pycall and pin assertion.reproduce_leaver_chain.py --skip-phasesfails: it ends withassert got == pinsover the whole CHAIN-PINS dictionary.verify_slots.pyhas no switch.verify.pychecks this.Reproduce
The package uses only the standard library.
verify.pypassed on Python 3.10, 3.12 and 3.14, and the registered package check passes.Scope and limits
Task, overlap and credit
replay-runtime(scope keya76657a85478d269d19f), refined to one stage. Chooser nonce893f17f4197754c213cbf77d6bf6fe19, priority revision 3. Base858771bc.99d4f42f) covers the layer-end controls only. No open PR or discussion references these three recipe digests or the phase steps of the frontier1042 replay.phases_full.pyandclifford_exact.py.--skip-phaseswould work; it fails its whole-dictionary pin check. The controls' pass condition was loose, and the credit was incomplete. All three are fixed. That review is separate AI review, not independent human review. Contribution head3f21415b.Open next questions (also in TASK.json):
phases_full.pycopies?Workflow feedback: the generated
TASK.jsonstub setsoutcometoin-progress, butresearch_package.pyrejects that value with only "declare outcome". The accepted values (partial, completed, blocked, negative-result) appear nowhere in the stub or the guide.🤖 Generated with Claude Code