Skip to content

Research audit: exact carry-grade modulus admission for PR524 (no new kappa) - #918

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
RossRichardson:research/audit-seed74
Oct 14, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
RossRichardson:research/audit-seed74

Conversation

@RossRichardson

Copy link
Copy Markdown

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) admits T=2 but rejects T=3. The fixed encoding occupies 19 potential product-coefficient slots at T=2, versus 47 at the inherited T=4; this is a layout observation, not a runtime or kappa improvement. The proof also shows T=D is 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 for apply([0], [5], (1,)), without mislabeling that failure as a counterexample to the convolution identity.

Reproduce with Python 3.11+ and its standard library:

python3 -B research/graded-modulus-audit-seed74/verify.py

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-check and whitespace checks passed. Full make 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 to 91a2094f2e022930069e8cfdc810a3ea1b81cd09; 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 remains 1661634653669567/1000000000000000000; selected files and upstream/ are unchanged.

Credit Chafik Boukhalfa / chafreaky, PR524 at 9161fb1ff1c71bd8255e32d57ab5164aa8109376, and PR489 at 8922e3b3f0fd7772b0fb42028eb2532984c3ab42, 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.

@Mister-Meeseeks
Mister-Meeseeks merged commit 1a714ed into CrocSwap:main Oct 14, 2026
@Mister-Meeseeks

Copy link
Copy Markdown
Contributor

100-PR batch review at df86cd10f78693061a0a545153d7d6f65dd62c4e.

Merged to main, preserving the original contributor commits and package attribution.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants