Repository navigation
Count exact nonzero carries for every reduced rational shear (no κ) - #5915
Merged
Mister-Meeseeks merged 1 commit intoOct 27, 2026
Merged
Mister-Meeseeks merged 1 commit into
Mister-Meeseeks merged 1 commit into
Conversation
This was referenced Oct 27, 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
Prove the exact per-input carry count for every nonzero reduced rational shear
x <- x + (a/h)y, with canonical low digits in{0,...,q-1}andgcd(h,q)=1.Claim type: scoped written mathematical proof with finite corroboration. Both signs have the same count. At
q>=|a|+h, the count also gives nonidentity high translations at every widthw>=2. The package gives the separate exact prime-fieldGL_nconditioning law and a small-radix cancellation counterexample.The limiting nonzero-carry proportions for coefficients
1,1/2and1/4are1/2,5/8and25/32. More generally, the proportion for1/2^sincreases to one. Smaller coefficients alone therefore do not imply fewer carry events.This extends the per-input zero-correction boundary explicitly left outside Ali Romman's #5841 potential-site count. Credit #5841, Nick Petalas's earlier elementary carry identity, ToikY #5801/#5805, Tekalign #3343/#4000, JoyboyBrian and the retained G20/native/ROW lineage. Their source documents remain unchanged; no predecessor mathematical verifier is imported or replayed. Classical arithmetic-progression and general-linear-group row counting retain their credit. The new contribution was produced by Nick Petalas. Apache-2.0.
Advance CLAIM. Canonical main remains
de5ec2e7a6074068452f45b1a191b5c72832df4a, priority revision 8. The helper-contract card is explicitly changed to this carry-sparsity side result.Evidence
Before, #5841 allows input-dependent zero corrections without counting them. After, the written proof gives the closed form, sign symmetry, exact/high-residue distinction and invertible-matrix law.
Local CPython 3.12.15 on macOS arm64 passes:
PASS_RATIONAL_SHEAR_CARRY_DENSITYwith generated receipts binding all eight package files.91900a57a9378586d02cf2c3609873175441d558; official package export/integrity; a read-only, empty-PATH, Git-free optimized export replay; deliberate retained-source corruption rejection.Exact reproduction from the repository root:
An equivalent CPython 3.12 path works. Only the standard library is required. Pending source documents are retained with original head/blob/SHA256 records; replay needs no unmerged predecessor Git objects.
Limitations and unrun obligations
The main count concerns exact rational carries. Its high-translation interpretation has the stated sufficient radix bound and excludes width one. The GL law assumes a uniform complete general linear group over a prime field, not an arbitrary selected admissible subset or execution distribution. One-shear marginals do not determine correlated fused-route counts.
No physical predicate, low-cache preparation/erasure, carry-skipping program, amortization contract, total tape bill or actual G20 caller distribution is supplied. Uniform frequencies do not by themselves reduce a worst-case recursive invoice. Source native/tape suites, the selected cold replay and a formal proof-kernel run are unrun. All five framework assumptions retain their status. No new kappa, selected-frontier change, supplier admission or complete multiplication theorem is claimed. Independent human and formal proof-kernel review are unclaimed.
Open next questions
Related open work
The completion refresh inspected the nine other open account PRs created since the CLAIM: #5909 through #5914 and #5916 through #5918. The same-object entries are #5912 and #5913, already distinguished above. The remaining submissions concern partition fees, batching, sector workspace, cyclic quotients, tensor phase recovery, tree degree and XOR synthesis. None computes the same carry-frequency quantity; no additional computations were run to compare their results.
CI notes
Hosted CI has not certified this package. At commit
91900a57a9378586d02cf2c3609873175441d558, run 40506445146 finished with plan failed; replay skipped.The only failed step was Onboarding helper tests. All ten failure/error entries are in unchanged
tests/test_research_current_assignment.py, endingFAILED (failures=8, errors=2, skipped=22). The two errors areKeyError: 'follow_up_steps'andKeyError: 'catalog_first_step'. The eight assertion failures concern frozen-card/current-command routing (0 != 16), missing current/historical references (ValueError not raised, five entries), and sparse omission lists (two entries).All ten failure/error headers and the final summary match PR #5913's plan log exactly; both logs were inspected. This confirms the shared onboarding failure on main
de5ec2e7a6074068452f45b1a191b5c72832df4a. Maintainers will repair it. No package, shared source, workflow or onboarding test was changed in response.The package replay was skipped. Hosted replay has not certified the package; only the local checks listed above have run. No hosted scientific pass or package-specific failure is claimed.
Merge danger
Reversible package-only addition. Eight files under
research/rational-shear-carry-density/; no shared code, selected record, review ledger, frozen source or upstream changes.