Repository navigation
Research: save 19,688 JP8 backward primitives with reverse Horner (no new kappa) - #751
Merged
Mister-Meeseeks merged 2 commits intoOct 14, 2026
Conversation
Contributor
|
100-PR batch review at Merged to Reviewed scope: JP8 cleanup fan-in/reverse-Horner lowering: 19,688 backward primitives saved; full local map, private scratch and recursive events checked. 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. |
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.
The selected #626 backward JP8 cleanup repeatedly multiplies different sources by the same coefficient before adding them to one target. This finite circuit result collects those sources in one existing private stream and uses reverse Horner once per run. It saves 19,688 real-component primitives, reducing the complete backward count from 257,280 to 237,592. Status: research construction / finite circuit improvement; no new kappa.
The exhaustive domain contains 999 maximal runs / 3,022 additions, all in the full-frame cleanup. Every source read, signed accumulation, halving, doubling and both scratch clears is charged. All live boundary maps and private clearing agree exactly. The complete backward prefix envelope remains unchanged at 101 bits, within the inherited 192-bit allowance. Forward JP8 stays at 257,232 primitives.
Only
research/complex-jp8-fanin/is added. It contains the executable circuit, proof, exact aggregate certificate and batch digest, source pins, independent checker, local sprint claim and validation record. The private-work interface clears at each new batch boundary instead of after each replaced scalar macro. No additional helper or paid frame/child event is introduced.Reproduce
Expected:
Python 3.11+, standard library, offline, no writes. Main replay checks all 716 live inputs plus eight arbitrary centre inputs and one arbitrary coefficient-work input, costs, prefix envelopes, the paid profile and committed receipt. Twelve controls exercise wrong signs, omitted source/target operations, clearing, halves/doubles, aliases, frame mismatch, invalid coefficients, cost inflation and endpoint-neutral prefix growth. The separate grouping and flat-vector column implementation checks 5,020 local inputs and rejects a missing final clear in every block.
Validation passes on macOS arm64 with CPython 3.14.8 and 3.11.15, including isolated optimized execution. Gzip recompression passes; source and certificate corruption are rejected.
make selected-record-check, Python syntax, local documentation links and staged whitespace checks pass. Two separately delegated Codex workers checked this narrow construction; no independent human review is claimed.Provenance, related work and scope
66849e1475c930fd7732b1a0067ffee7e1e95f60. OS seed 27, complex supplier track. Selected Conditional κ = 0.001635527380375392: coordinated owner repair on PR623 #626:660de893d27bb7abd1d5b01b1640207528a5c851; Conditional κ = 0.00163542231500688: K-triangle skeleton atom (492 helpers per call) on the PR617 cold-ended witness #622 construction:f69477f4f6d3c7eb1f740b166881bffed4ffa9f6. Eight source payloads have SHA-256 and Git-blob pins, with native/program identities checked against the selected SPEC.VALIDATION.md.The selected certificate, existing supplier sources, global accounting and
upstream/are unchanged. Fullmake verify, cold supplier regeneration, native phase/wrapper replay, global admission/assembly, Linux CI and Lean were not run. Production-emitter integration and any supplier promotion remain separate work. All inherited compiler, realization, hosting, precision/tape/recovery, bit-supplier and analytic assumptions remain. This finite scalar result does not formalize the multiplication theorem or claim a practical runtime speedup.