Repository navigation
Mode-fiber rounding radius: 1 ≤ R ≤ 2; R = 1 reduces to zonotope filling (no κ) - #6320
Merged
Mister-Meeseeks merged 2 commits intoOct 31, 2026
Merged
Conversation
… R <= 6 Answers CrocSwap#6312's first open question in part. For the PR4933 mode matrix, L = M^T Z^112 is the Hamming construction of sqrt2*E8; R <= 1 iff every lattice point of the open zonotope is a 0/1 subset sum of rows; an explicit tau = 6 basis certificate with Beck-Fiala rounding gives R <= 6. 1,864 sampled interior near-face points are all subset sums (evidence only). No kappa or frontier change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each support block is one pinned coordinate plus every sign pattern on the other three, giving four disjoint row pairs equal to +-2e_j per coordinate. Rounding at a vertex of the fiber polytope leaves a lattice residual with |r_j| <= 4; one or two rows fix its parity and a Hall assignment of lightly damaged blocks pays the rest with intact pairs, so every coordinate moves by less than 2. rounder.py executes the construction exactly; verify.py checks the blocks, pairs, exhaustive Hall lemma and 120 rounder fixtures. A 12,000-input exact stress run found no failure. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mister-Meeseeks
pushed a commit
that referenced
this pull request
Oct 31, 2026
Theorem D: snapping a vertex of the centred fiber polytope to +-1/2 reduces exact mode-preserving rounding to a signed balancing problem that the block pair structure of the PR4933 mode matrix solves outright. With the #6312 lower bound this gives 1 <= R <= 3/2, superseding the R <= 2 of #6320. Standard-library exact verifier and constructive rounder included. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
A scoped partial answer to open question 1 of #6312 (
research/mode-preserving-rounding, head46593234). The question: what is the least uniform ℓ∞ radius R for exact mode-preserving integer rounding on all nonempty fibers of the PR4933 mode map M (112×8)? #6312 proves R ≥ 1 and gives no upper bound. This addsresearch/mode-fiber-radius-bounds:rounder.pyexecutes the construction in exact arithmetic.No κ, frontier, caller or framework-assumption change. Like #6312, this is a property of the exact-mode contract only.
Verification (macOS, Python 3.14.8, base
2485805a6)python3 -I -W error -B research/mode-fiber-radius-bounds/verify.pyand the same with-Oboth printPASS_MODE_FIBER_RADIUS_BOUNDSin about 5 s. Exact integer/rational checks cover:Nine rejection controls fail closed.
A separate exact stress run of the rounder on 12,000 random and sparse inputs found no failure; the worst error was 839/420 ≈ 1.998. So 2 is the limit of this construction, not evidence about R.
CI (
planand the 3.12 package replay) passed on the first push.scripts/research_package.py --check-only:PASS_PACKAGE_METADATA_AND_PINS. The registered replay pins Python 3.12, which isn't installed locally, so it is left to CI.The non-certifying search scripts (
search/, numpy/scipy) are included for regeneration.Remaining obligations / open next questions
Theorems A, B and C are written proofs (PROOF.md); no proof-assistant or independent human review is claimed.
Credit
Dillon Amburgey (PR4933) supplies M. Nick Petalas (#6312) supplies the contract, the radius-one witness and the question, and his predecessor credits carry over. Beck–Fiala rounding, Hall's theorem and the Hamming E8 construction are classical.
Prepared with substantial AI assistance (Claude Code, Anthropic). Apache-2.0.
🤖 Generated with Claude Code