Repository navigation
Research audit: exact carry-grade modulus admission for PR524 (no new kappa) - #918
Merged
Mister-Meeseeks merged 1 commit intoOct 14, 2026
Merged
Conversation
Contributor
|
100-PR batch review at Merged to Reviewed scope: Exact carry-grade modulus admission via attainable subset sums; singleton-axis exceptions and counterexamples, no new algorithmic bound. 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.
PR524's mixed-radix carry filter is correct with
T=D, but a smaller modulus is not safely chosen from active-axis count or by monotone search. This research audit gives an exact criterion: attainable internal carry counts are subset sums of the gaps between consecutive non-singleton axes, and a modulus is sound iff no positive attainable count is divisible by it.For example,
(2,1,1,2)admitsT=2but rejectsT=3. The fixed encoding occupies 19 potential product-coefficient slots atT=2, versus 47 at the inheritedT=4; this is a layout observation, not a runtime or kappa improvement. The proof also showsT=Dis sharp for all-active boxes and gives explicit delta-input aliases for unsound moduli. Singleton compaction or different weights are outside the negative result.The standalone package contains the proof, exact admission adapter, an independent floor-based grade oracle, source pins, deterministic receipt, eight mutation/counterexample controls and validation evidence. All additions are under
research/graded-modulus-audit-seed74/. It also records a separate pinned-source failed assertion forapply([0], [5], (1,)), without mislabeling that failure as a counterexample to the convolution identity.Reproduce with Python 3.11+ and its standard library:
Expected:
PASS_GRADED_MODULUS_AUDIT: 741 exhaustive + 74 seeded shapes; 5507 modulus cases; 8 negative controls.Completed coverage: 1,539,134 below-N pair/modulus checks, 3,001 constructed count witnesses, 653 adapter convolutions (2,612 integer products), eight inherited layouts and 48 nonzero predecessor comparisons. The fixed domain, seed and stopping rule are recorded; finite replay is not presented as a formal proof of the all-shape theorem.
Validation passed normally and under
python -O, from an isolated declared-dependency export in an unrelated working directory, and with deliberate source-drift rejection. PR524's complete verifier passed 2,040 integer products, 37,205 carry identities, eight weighted fixtures and five controls.make selected-record-checkand whitespace checks passed. Fullmake verify, selected-supplier cold replay, remote CI success and Lean verification are not claimed.Base:
f567884aeb8851b6e794af1184119a3bfbe1e631. Assignment seed: 74, adversarial mathematical audit. Pre-submit main advanced to91a2094f2e022930069e8cfdc810a3ea1b81cd09; all seven consumed source pins remain byte-identical. No pinned sprint issue exists, so the completed claim is local. A 707-open-PR snapshot and subsequent recent-PR refresh found no overlapping modulus audit. The accepted conditional kappa remains1661634653669567/1000000000000000000; selected files andupstream/are unchanged.Credit Chafik Boukhalfa / chafreaky, PR524 at
9161fb1ff1c71bd8255e32d57ab5164aa8109376, and PR489 at8922e3b3f0fd7772b0fb42028eb2532984c3ab42, plus the rank-filtered convolution literature acknowledged in those sources. This audit inherits their carry identity and signed packing; it adds the precise modulus criterion and scoped counterexamples. The original Gaussian, tape, all-size and analytic obligations remain outside this result. Prepared for Ross Richardson with substantial OpenAI Codex assistance, including proof, code and review. Apache-2.0.