Repository navigation
Share complete P104 qualification: 33.7% less time, both literal oracles - #5818
Conversation
(cherry picked from commit ba8a9e6)
|
HANDOFF — single-pass complete qualification published; local gates and exact-head hosted CI complete.
|
|
DONE — the bounded implementation and local validation are published as PR #5832, head Original pre-execution claim, preserved for scope history: CLAIM — bounded verifier-engineering follow-up to PR #5818, frozen head |
Change and mathematical scope
Run both unchanged PR #5757 qualification entry points while sharing their duplicate complete source execution within one fresh process. One Linux baseline/candidate pair reduces the whole qualification bill from 405.86 to 268.93 seconds: 33.74% less wall time and 33.47% less CPU time. This includes both complete literal oracles, beyond the source-only timing measured in PR #5816.
The runner still calls both original
mainfunctions and compares their complete original RESULT/CROSS receipts. It retains all original source/native/caller/invoice/compiler/outer checks, adapter and omission controls, and every one of 17,651 actual states and 9,037,312 amplitudes per literal interpreter, including zeros, absolute phases and denominators. It uses the existing observational trace collector during the first source replay, then transfers that trace only after checking unchanged counters/cache state. Both literal interpreters execute fully; no persistent PASS cache or sampling is introduced.The second cold source execution is deliberately coalesced into the first; the cross phase shares that process state. This is obligation-preserving orchestration, not an independent second source replay or a new engine. The original standalone commands remain available. Conditional κ remains
.00310045, with the same five framework assumptions; selected metadata and κ research are unchanged.Task and overlap
Refine
replay-runtimeto frozen PR #5757 head53006fe6031dab5c23d5b7d1cf6a92f411a04a68, following PR #5816 headdd59757bd1d938e2aed75e73f24e7ae7b8054211. Main was refreshed tode5ec2e7a6074068452f45b1a191b5c72832df4a, priority 8. The bounded claim precedes execution. Targeted PR/source and released predecessor Discussion checks found no matching combined-qualification scope; unpublished work and exhaustive Discussion coverage are outside this claim.The scientific contribution is one isolated package,
research/selected-single-pass-qualification/. The unchanged official 54-file source export and notices are retained at our own ancestor3cb9c9141a65a369142162414d37f0beedcb1cf3; no pending-PR Git object is needed at runtime. The branch also carries the exact test-only PR #5761 repair, sourceba8a9e640e1983f3c29993fefa3f46e8ed03313a, with Ali Romman's authorship and cherry-pick credit preserved.Validation
Coverage mapping and a small real-adapter feasibility test passed before integration: three inputs, 1,536 amplitudes per unchanged literal interpreter, identical complete baseline/candidate receipts, and 13 exact-predicate stage/contamination/exception controls. Seven actual source/export corruption controls reject before imports. Both control suites pass normally and under
-O.On Ubuntu 24.04.5 LTS, CPython 3.12.3, the original verify/cross commands take 129.70 + 276.15 seconds; the combined candidate takes 268.93 seconds. CPU time is 403.68 versus 268.56 seconds. Candidate output preserves all original scientific output byte-for-byte, excluding only its duplicated printing. Kernel peak RSS increases from the old pair's maximum 514.38 MiB to 518.56 MiB; the candidate sampled group peak is 514.86 MiB. One serial fresh-process pair on a shared host with unflushed OS caches is not a median, statistical confidence interval or universal speedup.
A separate complete optimized run passes in 268.03 seconds. The read-only, Git-free implementation export passes under
-I -O -B, empty PATH and an explicit authenticated package import root in 269.39 seconds, with all 18 exported files unchanged. Normal, optimized and sealed stdout agree byte-for-byte. These extra qualifications are outside either arm of the timing comparison. All five local scientific commands pass in 1,212.21 seconds, within a 900-second first-pair gate and 1,500-second later aggregate cap; each command is limited to 600 seconds and 1 GiB sampled group RSS. No retry, resource stop, diagnostic stderr or source mutation occurred.This registered replay performs a fresh complete scientific qualification, after the two small control phases. It is not a recorded-evidence-only check. The README also supplies the exact serial comparison commands. PROOF.md, COVERAGE-GATE.json, BENCHMARK.json, VALIDATION.json and evidence/ retain the coverage argument, complete outputs, resource receipts and limitations. Public resource receipts remove only local absolute script paths and retain the original receipt hashes; scientific stdout is unfiltered.
Implementation export
47e6c56c687ced98a854f7d1e723b7a04db3f15bcontains the runtime tested in every candidate run. Later additions are reports/evidence; the runtime closure is unchanged. Final publication head isa0171b8d2f942cdfc5295307548fe484c570b1ba. Package metadata, all 45 committed files/bytes/modes, declared-pin immediate ancestry, final official export and input integrity pass. Full-history preflight is unavailable in the shallow checkout. Hosted CI and independent scientific acceptance remain separate and will be reported at this exact head.Credit
Ali Romman supplied PR #5704's exact quadratic engine, PR #5757's complete integration, literal audits and original controls. Retain the PR #5599 construction, native/controller/compiler/helper/BIT/classical stabilizer notices inside the unchanged archive and NOTICE. The resource guard comes from PR #5816. New orchestration, coverage analysis, controls, Linux execution and report were prepared for Chris R / Clear1nsight with substantial OpenAI Codex assistance; no subagents or independent human/proof-kernel acceptance. Apache-2.0.
Open next questions
Review the stated source-execution sharing and process-isolation boundary before adopting this opt-in command. A changed word needs fresh source binding, a new obligation map and full trace/oracle validation. Profile the remaining literal-oracle work before proposing another cache; persistent reuse needs a separate complete dependency/invalidation contract. Other-host measurements remain open. This bounded engineering contribution resumes no κ construction, monitoring, literature feed, worker swarm or automation.