Repository navigation
Reduce complete nonlinear support replay time by 24.54% (no κ) - #6281
Merged
Mister-Meeseeks merged 2 commits intoOct 31, 2026
Merged
Mister-Meeseeks merged 2 commits into
Mister-Meeseeks merged 2 commits into
Conversation
This was referenced Oct 30, 2026
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
The complete PR5210 finite nonlinear support caller takes 24.54% less local median wall time, with byte-identical complete RESULT/MATRICES and wrapper reports. Claim type: empirical implementation improvement with a scoped exact-arithmetic equivalence proof and finite conformance evidence. This contribution was produced by Nick Petalas. No new kappa or selected-frontier change.
Only research/nonlinear-support-integer-products is added. Chris R / Clear1nsight retains PR5210's finite checker, controls, portable evidence wrapper and written theorem, together with the retained coded-native and released-operator lineage. Common-denominator arithmetic and sparse multiplication are classical. The bounded adapter and complete-caller integration are the new implementation contribution; no predecessor scientific audit is claimed.
Evidence
Eighteen fresh processes per mode use all six execution orders three times, on CPython 3.12.15/macOS arm64 with 18 logical CPUs and uncontrolled shared-host load. Zero failures; all complete reports agree. The integer caller wins all eighteen matched rounds against the original. All raw timings and the slow outlier are retained in the package README.
The overall improvement includes running the same finite main inside the authenticated runner instead of starting another child interpreter. The reference-adapter control isolates a further 13.75% median decrease from integer products, with seventeen of eighteen matched wins. The headline is not attributed to arithmetic alone. Startup, authentication, input copying, every check, complete output comparison and scratch cleanup are timed. No result cache is used. An untimed profile identifies Fraction products and zero comparisons as the changed work.
Local checks pass:
The timing sample binds 662e18c. The later commit fixes write permission on the mutation tests' own temporary copies when the source export is read-only. Timed runner and arithmetic bytes are unchanged.
From the repository root, using the local interpreter or another CPython 3.12:
Expected markers: PASS_NONLINEAR_SUPPORT_INTEGER_PRODUCTS, PASS_REGISTERED_RESEARCH_PACKAGE and PASS_RESEARCH_COMMIT_BYTES. The verifier emits a generated package-hash-bound receipt. The README gives the opt-in fresh-process benchmark command; its generated report binds the measured Python files. No receipt is handwritten.
Limitations
The adapter accepts square matrices through dimension sixteen, dyadic denominator exponents through sixty-four and Fraction numerators through 256 bits. Larger values and odd denominators are explicitly rejected. The complete fixed caller fits those bounds; arbitrary repeated products need not. A short written proof establishes exact product substitution and induction through this caller, with no all-width theorem extension.
This small calibration saves milliseconds. Local timing is not a portable speed guarantee. No physical/native supplier, 17-axis replay, compiler closure, precision/stock bill, selected scientific replay, Lean, Docker or complete multiplication theorem is supplied. Independent human and formal proof-kernel review are unclaimed. The selected kappa and its five framework assumptions remain unchanged.
Open next questions
Can a larger literal native/caller checker use this representation with a useful complete runtime gain? First profile its complete path and specify its denominator, dimension and coefficient bounds. A compatible caller contract and complete measurement remain missing. Optimization of this fixture stops at this first verified improvement.
Related open work
The account's open PRs created since the advance CLAIM were refreshed before DONE. No additional open PR studying the literal PR5210 checker or this product substitution was found. The adjacent replay improvements above have different fixtures and quantities; no mathematical agreement or disagreement, or numerical performance comparison, is asserted. This bounded search cannot exclude unpublished overlap. The cached helper had no usable remote snapshot; live PR/Discussion queries and direct main searches supplemented its incomplete local coverage.
CI notes
Both hosted checks,
planandreplay (research/nonlinear-support-integer-products), passed at commit91624547671bf2ed94e93818de86b8ac68cd36eain run 41068858697. The completed checks were read once; run metadata separately confirms the matching head, completed status and successful conclusion.Every registered command also passed locally, together with committed-byte/source-history/mode checks, export integrity and both read-only Git-free direct modes. Hosted conformance does not certify the local speed measurement or extend the predecessor's mathematical theorem. No local package obligation is left unrun.
Advance claim: #1166 (comment)
Merge Danger
Door: two-way. Blast radius: isolated. Removing this opt-in package restores the prior workflow; source evidence, shared code and selected-frontier files are unchanged.