Repository navigation
Reduce fixed CRT cache setup to one inverse call (no new κ) - #5098
Merged
Mister-Meeseeks merged 1 commit intoOct 23, 2026
Merged
Conversation
This was referenced Oct 23, 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
Prepare PR4716's fixed CRT cofactor/target cache with one modular-inverse provider call, replacing its cited
m+1-call setup. Claim type: scoped algebraic construction and proof, with exact finite corroboration. No new kappa.The written proof gives the extraction identities and exact coprimality/domain criterion. Current-residue reconstruction and padded invalidity retain the predecessor contract; subsequent evaluations invoke no inverse provider. Only
research/crt-one-inverse-cache/changes.Evidence
m+1setup inversions and explicitly makes no inverse-count minimality claim. Its proof and source are pinned as provenance, without replaying predecessor executables.(11,13;17;1)fixture usesinverse(1409,2431)=892, yieldingalpha=(6,6)andmu=5. One-call spies remain active through every evaluation. Sixteen invalid inputs/providers reject; three omission controls detect dropping the target summand or extraction multipliers.16402004d411e15a273d4e6946388d5a93061778.Exact reproduction from the repository root:
Limitations
The new inverse modulus is the full left-and-target product, at most
(m+1)ellbits when each modulus has at mostellbits. The old inverse moduli each have at mostellbits. One wider inversion may cost more than the separate calls. All extra division, multiplication and reduction work remains real work; no bit-cost, runtime or minimality claim follows from the provider-call count.Physical cache preparation/erasure, complete key/caller integration, total tape cost, supplier admission and full multiplication proof remain unrun. No native/Lean/full-selected replay was needed or performed. Independent human and formal proof-kernel review are unclaimed. Selected conditional
60403/20000000remains unchanged.Open next questions
(11,13;17;1)and a complete ownership/head-return bill.Related open work
Completion refresh checked this account's open PRs created since the advance CLAIM at 2026-10-23T09:04:31Z. Only this PR was listed, so no additional same-object line or numerical comparison was needed. No additional scientific computation was run.
Credit
Produced by Nick Petalas. Credit Hiroki KUMAZAKI #4716/#4169/#4174, Cinna Davis #4100, unpaidmoon #4377, Ryanson Jonathan #4409, ToikY's Beneš lineage, Douglas Colkitt/John-Michael Smith #763 and retained predecessors. The proof uses elementary CRT cofactor congruences. JoyboyBrian's #5053 encoded current-child producer remains a separate contribution. Advance claim.
CI notes
Both hosted checks passed at exact head
16402004d411e15a273d4e6946388d5a93061778in run 39930311098: planning in 4m26s and the registered package replay in 1m12s. Run metadata confirms that head and successful completion. The registered replay executes both warning-strict normal and optimized commands. Checks were read once at completion. Local source-history/committed-byte, export-integrity and Git-free checks also passed. This is automated execution evidence, not independent human or formal proof-kernel acceptance. No CI failure was observed.Merge Danger
Door: two-way. Blast radius: isolated research package. Existing sources, shared code and selected records are unchanged.