Skip to content

Remove horizontal padding from carry-graded box convolution (no κ) - #6255

Merged
Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/w3-1030a-frontier
Oct 31, 2026
Merged

Mister-Meeseeks merged 1 commit into
CrocSwap:mainfrom
petalas:research/w3-1030a-frontier

Conversation

@petalas

@petalas petalas commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Scoped constructive proof with exact finite corroboration: changed grade weights remove the horizontal index padding in Chafik Boukhalfa / chafreaky's PR524 box-convolution representation.

- Forward grade weights; index stride 2N-1; product extent below 4DN
+ Backward weights ending in zero; index stride N; product extent below 2NT
+ T>D and gcd(T,N)=1; power-of-two boxes permit T<=D+2

The new identity counts every coordinate carry, including final overflow into the grade digit. For the twelve-axis binary fixture, the new exact product extent is 106495 slots, saving 81896 coefficient slots against the predecessor's 188391-slot layout. Four signed-split integer products remain. This is a representation saving, without a runtime or new kappa claim.

Only research/carry-closed-box-convolution/ is added. The contribution was produced by Nick Petalas. Credit PR524's mixed-radix filter, signed-product convention, weighted Gaussian motivation and retained source lineage; Ross Richardson / PR918 for the precise fixed-layout modulus boundary; and the classical rank-filtered convolution, modular arithmetic and integer-packing techniques. No predecessor scientific result is audited or replayed as the deliverable. Predecessor credit and files are unchanged.

Evidence

Before, the published fixed layout separates index and grade digits with stride 2N-1. After, PROOF.md proves exact truncated convolution at stride N for every positive-radix box with the stated modulus condition. It includes singleton axes, signed coefficients, coefficient bounds and extraction.

Local CPython 3.12.15, macOS 27.0.1 arm64, standard library only:

  • 347 shapes and all 272285 coordinate pairs satisfy the all-carry identity; 207831 overflowing pairs are rejected.
  • 14022 exhaustive signed coefficient-array products match an independent direct-coordinate oracle. Another 48 deterministic ragged products pass.
  • Four boundary products exercise maximum executable volume, dimension and coefficient limits, including either operand being zero.
  • Four actual integer multiplications produce all 4096 coefficients of the large signed separable fixture, agreeing with the product of one-dimensional convolution formulas.
  • Five arithmetic controls and eleven invalid-input cases reject the relevant relaxed hypotheses or corruptions.
  • Warning-strict normal and optimized direct checks pass with identical generated source-hash receipts. Each exact registered command was timed locally: 1.180 and 1.215 seconds, within its 120-second timeout. These are replay-budget measurements, not speedup claims.
  • PASS_REGISTERED_RESEARCH_PACKAGE, committed bytes/modes/source ancestry and official export/input integrity pass at 9d24fc23f03de096d10bdba5a8959a60f95cddd7.
  • Both direct modes pass in a read-only, Git-free export with empty PATH. All nine payload files and the export receipt retain their bytes and modes. Actual corruption of each of the three declared source inputs rejects under optimized Python.

Exact reproduction from the repository root:

/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -I -W error -B research/carry-closed-box-convolution/verify.py
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -I -W error -O -B research/carry-closed-box-convolution/verify.py
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -B scripts/research_package.py --package research/carry-closed-box-convolution
/Users/nick/git/integer-mult-bounds/.venv/bin/python3.12 -B scripts/check_research_commit.py --package research/carry-closed-box-convolution --check-source-history --check-modes

A portable CPython 3.12 interpreter may replace the absolute path. Expected direct marker: PASS_CARRY_CLOSED_BOX_CONVOLUTION. The verifier prints the enumerated counts and a generated SHA256-bound receipt, and writes nothing.

Limitations

The all-shape result rests on the written proof. Executable limits are 1..16 axes, volume <=4096, T<=64 and coefficient magnitude <=65536. T>D and coprimality are sufficient, not optimal; general-radix boxes need not improve. Byte-aligned slots can add up to seven alignment bits. Managed Python allocation and its enforced capacity bounds are documented; a fixed-allocation native implementation is absent.

The card is explicitly changed to a representation side result. Complete physical packing/extraction, movement, arbitrary dirty restoration, weighted Gaussian tables, tiling, Schur boundaries, precision, compiler and outer costs remain unpriced. The selected frontier and five framework assumptions are unchanged. No selected cold replay, native supplier/caller replay, rounded multiplier, Lean, Docker, independent human review or formal proof-kernel acceptance ran. Ruff and mypy were unavailable in the retained interpreter.

Open next questions

  1. Which smaller moduli admit stride N for useful general-radix families? Start with attainable total carries and the backward congruences; no necessity theorem is supplied here.
  2. Can one literal weighted Gaussian caller use the smaller layout profitably after packing, extraction, movement and precision are charged? Start with one actual recentered tile and preserve its exact ordering.

Related open work

  • PR6252 determines unsigned coefficient-digit carry capacity. This contribution filters mixed-radix coordinate-index overflow; it computes no common carry-capacity number and makes no comparison of those capacities.

Completion-time searches and this account's open PRs created since the advance CLAIM were refreshed. No additional open PR studying this carry-graded coordinate layout was identified in that coverage. PR6252 remains adjacent work on a different carry mechanism; no shared numerical result was recomputed or compared. PR524 and PR918 are merged predecessors. Main README/formula searches, open and merged PRs, active Discussions, recent account contributions and local reservations were checked before the advance CLAIM and again before committing. Cached sparse-note coverage remains incomplete and is not a novelty certificate. Canonical main remained 2485805a6d47f36ea83ddde6327d453ac82d44dc at the submission refresh.

CI notes

Both hosted checks, plan and replay (research/carry-closed-box-convolution), passed at commit 9d24fc23f03de096d10bdba5a8959a60f95cddd7 in run 41048456813. The completed checks were read once; run metadata confirms that exact head and successful conclusion. Both registered checks and required package/source-history checks also passed locally. Hosted replay certifies the registered finite checks. The all-shape construction rests on the written proof; independent human and formal proof-kernel review remain unclaimed.

Merge danger

Door: two-way. Blast radius: package. Six new files contain the proof, read-only verifier and metadata. Shared code, frozen evidence and selected records are unchanged.

@Mister-Meeseeks
Mister-Meeseeks merged commit 94ad794 into CrocSwap:main Oct 31, 2026
2 checks passed
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