Repository navigation
Tooling: accelerate exact historical frame containment - #1459
Mister-Meeseeks merged 1 commit into
Conversation
|
100-PR batch review at Merged to Reviewed scope: Opt-in rational containment kernel preserves the canonical reference predicate, with exact decision transcripts, independent elimination, invalid-cache and compiled-frame controls. Full historical audits pass; no production replacement or batch-measured speedup claim. 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. |
Summary
Add an opt-in exact containment adapter for the historical rational-frame checker. It tests integer membership equations instead of rebuilding a combined row basis. The original checker, selected construction, frozen inputs and upstream/ remain unchanged.
Verification engineering, OS-random assignment seed 90. No new κ. The selected conditional κ at the starting commit remains 0.001672660197076918.
Result
For a canonical primitive reduced target basis with pivot columns p_i and positive pivot values d_i, set D=lcm(d_i). A source row u belongs to its rational span exactly when, for every nonpivot coordinate j:
Du[j] = sum_i u[p_i](D//d_i)*v_i[j].
The adapter retains the original predicate's rejection of noncanonical target representations. Its bounded caches retain immutable inputs; no complete audit verdict is cached.
Nine alternating fresh-process pairs on Linux x86_64, CPython 3.12.14, CPU 0:
This is 13.67% less median wall time and 20.64% less median peak memory. The adapter was faster in all nine pairs. All 18 complete mathematical payloads matched exactly. These are local measurements, not a universal performance guarantee.
Predecessors and distinct contribution
Credit Richard Hoekstra's incorporated PR239, commit 7c2a27f, for the dual-Gram checker, independent Fraction tests and complete benchmark reused here.
Pending PR1234, refreshed at head 8812ca2, optimizes normalization and orthogonal complements. This contribution targets containment instead and does not depend on PR1234 or claim a combined speedup.
Public PR/discussion pages and local records were checked again before publication, through observed PR1433. Coverage was bounded; no exhaustive novelty claim is made. The claim and result update are recorded locally because posting access was unavailable.
Base and dependencies
Exact starting commit:
cd91ac8
Python 3.12 standard library only. All six execution inputs are pinned to that commit by Git blob and SHA256:
The final upstream refresh was 410026d. It changed review bookkeeping; these inputs and the selected record were unchanged.
Reproduction
From a full checkout on POSIX:
Expected successful markers:
PASS_EXACT_FRAME_CONTAINMENT audits=6 decisions=42860 compiler_controls=4 kernel_mutations=5
PASS_REGISTERED_RESEARCH_PACKAGE research/exact-frame-containment outcome=completed
Executed verification
All final checks PASS:
Complete payload SHA256:
faa0f9c0159a6e70d4e2cfcdb4012ea62ef350bd26b81312d11da4a770f8b218
Limits and remaining work
This covers historical h=10/h=12 frame audits and the declared integer-matrix containment contract. It is not a new supplier, formal multiplication proof or practical multiplication speedup.
The inherited benchmark imports POSIX resource. Full selected-frontier cold replay, repository-wide historical suites, native/Lean builds and hosted CI were not run. Compiler, realization, hosting, precision and analytic assumptions remain untouched.
Composition with PR1234 and default adoption require separate review and measurement.
Attribution
Prepared for @CubeJerry with substantial OpenAI Codex assistance. Credit Douglas Colkitt, the historical mixed-point/circuit contributors, Richard Hoekstra and the retained source notices. No independent human or subagent review is claimed. New material is Apache-2.0.