Repository navigation
Reduce complete Frobenius recognition caller time by 65.44% (no κ) - #6310
Merged
Mister-Meeseeks merged 1 commit intoOct 31, 2026
Merged
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
Scoped implementation-equivalence proof and local performance result. An opt-in symmetric associativity kernel reduces the complete PR5502 primary recognizer caller's median wall time by 65.44%, from 1.415539 s to 0.489242 s, in five alternating fresh-process pairs. Every complete report is byte-identical, with zero errors. Source authentication, startup, all recognition/witness checks and JSON output are timed. The companion exhaustive caller is compared separately and is not timed.
Only
research/frobenius-symmetric-associator/is added. The written proof gives exact internal-kernel behavior at every finite dimension and preserves complete recognition return values. At dimension 16, the instrumented passing-table contraction count is 8,192 -> 2,160. This retains dense O(n^5) complexity. No algebra classification, physical supplier, new kappa or selected-frontier change is claimed.This contribution was produced by Nick Petalas. Credit apoursh / PR5502 for the original recognizer, complete callers, witnesses and finite oracles; Ali Romman / PR5459 and PR5316 for the algebra family and recognition handoff; Nick Petalas / PR5252 for the separate etale comparison; David Ganz and the retained algebra/tensor lineage. Symmetry of commutative associators is classical. Frozen source files and credit lines retain their bytes.
Evidence
2a507b2dfaf97903c5c5d7e7e03a22c05f594ad9, covering eleven package/input files. Official export/input integrity and all four read-only Git-free commands with empty PATH pass. Paired normal/optimized reports agree, and all twelve export files retain their hashes and modes. Actual mutations of each of the four source inputs reject in both modes; removing the middle-bracketing equation also rejects in both modes.Exact reproduction from the worktree root, using the existing interpreter:
Any clean CPython 3.12 installation can replace the shown interpreter. Expected statuses are
PASS_FROBENIUS_SYMMETRIC_ASSOCIATORandPASS_REGISTERED_RESEARCH_PACKAGE. The benchmark prints a generated hash-bound timing receipt and has no performance acceptance threshold.Limitations
The reduction requires the internal normalized-table contract and a successful commutativity check. Public API adoption and other callers remain separate work. The universal equivalence proof is written; executable corroboration is finite. Independent human and formal proof-kernel review are unclaimed. The companion caller is outside the timing measurement. No Lean, Docker, selected cold supplier replay, native implementation, physical resource invoice or complete multiplication theorem was run or supplied. All five selected framework assumptions retain their status.
Open next questions
Related open work
Completion refresh inspected all 13 open account PRs created since the advance CLAIM, including this PR. The related extension-field caller #6303 is listed above; the other contributions study different objects or workloads. No same-instance numerical disagreement appeared in this coverage, and no extra computations checked other results.
CI notes
Both hosted checks,
planandreplay (research/frobenius-symmetric-associator), passed at head2a507b2dfaf97903c5c5d7e7e03a22c05f594ad9in run 41107554596. The completed checks were read once; separate run metadata confirms success and the matching head. Hosted replay certifies the registered finite conformance and source bindings. The written universal equivalence proof retains its stated review limits. Timing remains local evidence and is excluded from the CI gate.Merge Danger
Door: two-way.
Blast Radius: package.
The adapter is isolated and opt-in. Shared code, source archives and the selected frontier are unchanged.
Generated local timing receipt
{ "code_sha256": { "SOURCES.json": "11886bdec1888b12613326ce66bf99c0ca29be636911ce4268783568d555433c", "adapter.py": "3ea2ff3a011aa3a77bbd09853e619719596b545b3790db2b1f86c6bb64f0272b", "benchmark.py": "6f62fc965e7d25c15ddfd0ba2e238aa544f595ba7d339481b1fe837b4850b701", "verify.py": "96892697757d9f97360b9e173491b1b80d0d4481f1b372f4a1581773dcb1e1f7" }, "complete_report_sha256": "4a7cfa64d12291492a20bde284bcb9520ed7b916a97b0f5cccb1d85ce7a36155", "cpu_count": 18, "errors": 0, "executable": "/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12", "load_average_at_finish": [ 2.65283203125, 3.6494140625, 2.80615234375 ], "median_seconds": { "baseline": 1.415539083071053, "symmetric": 0.48924245801754296 }, "order": [ "baseline", "symmetric", "symmetric", "baseline", "baseline", "symmetric", "symmetric", "baseline", "baseline", "symmetric" ], "platform": "macOS-27.0.1-arm64-arm-64bit", "python": "3.12.15 (main, Oct 14 2026, 00:55:37) [Clang 23.1.3 ]", "range_seconds": { "baseline": [ 1.3695817498955876, 1.4325970420613885 ], "symmetric": [ 0.4771100420039147, 0.5042671249248087 ] }, "samples_per_engine": 5, "seconds": { "baseline": [ 1.415539083071053, 1.4205422920640558, 1.4325970420613885, 1.3695817498955876, 1.3735971658024937 ], "symmetric": [ 0.4961120840162039, 0.4855923750437796, 0.48924245801754296, 0.5042671249248087, 0.4771100420039147 ] }, "status": "PASS_COMPLETE_FROBENIUS_TIMING", "timed_scope": "Fresh process, source authentication, full primary run, JSON stdout; oracle companion not timed.", "wall_time_reduction_fraction": 0.6543772871631934 }