Repository navigation
Conversation
This was referenced Nov 11, 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 constructive proof with exact finite corroboration: compute the signed odd residue during the compact rounded ADD's numerator rewind. The new phase has exactly
8o+2labels and14o+4literal rows across both component parities. The complete graph bound changes fromO(LK+o²+Ko)toO(LK+Ko+o).For an M-bit numerator, the replacement saves
2M+2virtual reads,2M+2moves,4M+6executed rows and28(M+1)physical coded-tape actions per component. It retains both private banks, rounded semantics, cancellation, source preservation, whole-field staging and successful cleanup.This contribution was produced by Nick Petalas. Credit CubeJerry / Jerry Chen's #6988 economical-graph question, #6990 compact ADD scaffold, exact Builder, lifecycle and fixtures; DreamingOfClouds' #6936 word and #6937 rounding proposal; and the full retained predecessor lineage. Horner evaluation is classical. The contribution is this source-bound smaller phase and its proof, adapter and verifier.
Evidence
The generated table for
-1379/250has 38,300 rows, compared with 187,806 for the original compiler. The other two supplied coefficient fixtures remove 226 and 66 rows. These are enumerated instruction counts, not wall-time speedups. The original compiler is used as a resource comparator for the new step.Local checks on
618ff7af4ac85c63ee2c39acc69bf763ed35b60apassed:(-80,0),(-4,0)and(1,0).From the repository root:
Another CPython 3.12 path may be substituted. The direct marker is
PASS_REVERSE_HORNER_RESIDUE. Replay writes no files.Limitations and unrun obligations
The mathematical local phase covers every positive width and finite odd divisor. The executable retains
o<=125, bounds coefficient length by 24 and enforces finite graph caps. It authenticates four live source files and injects a private Builder into the exact named compiler definition. Runtime tables use only the existing six opcodes.The inherited numerator, quotient, canonical-format and lifecycle contracts remain premises. Full coefficient-catalogue and recursive source binding, production installation, complete physical tariff conversion, native/outer recovery and the selected cold replay are unrun. No new kappa, selected-frontier change, complete multiplication theorem, independent human review or formal proof-kernel acceptance is claimed. The five selected framework assumptions remain.
Open next questions
Related open work
No open PR targeting this signed-residue prepass or compact rounded-ADD table-size quantity was found in the live targeted search. Open rounded MOVE, inverse-code recovery and tensor-extraction work concerns different operators. No numerical comparison with those packages is claimed.
CI notes
CI did not certify this package. At unchanged head
618ff7af4ac85c63ee2c39acc69bf763ed35b60a, run 43030221243, plan job 130555044132, failed in "Onboarding helper tests". The packagereplayjob was skipped becauseplanfailed.I read the checks and job log. The step ran 760 tests with 24 skipped and exactly one failure:
This mismatch is present in the base main commit
e54523517d0f03e58352e647c403a5af3e525a57:certificates/selected-result.jsonnamesmake frontier7000-verify, whiledocs/ci-verification.mdstill opens with "Current selected-family replay: #6030" and namesmake frontier6030-verify. This PR changes neither file; it adds onlyresearch/reverse-horner-residue/.I also read the failed logs of run 42905094314, run 42903313790, and run 43029932349. Each shows the same single failing test, the missing
make frontier7000-verifyassertion, 760 tests run and 24 skipped. No broader run coverage is claimed.The verification evidence for this package remains the local normal/optimized, registered replay and committed-byte/source-history checks listed above. No fix, retrigger commit or workflow rerun was made.
Merge Danger
Door: two-way.
Blast Radius: package. Only the new scoped research directory changes.