Repository navigation
Decide #4100 CRT.md's guard premise: mod-K coloring needs (K-1)-bit guards; vacuous on #4174's production plans (no new κ) - #4329
Merged
Mister-Meeseeks merged 2 commits intoOct 21, 2026
Conversation
Window lemma: with position-mod-K coloring, (K-1)-bit guards are disjoint and free of active targets for every descriptor; K-bit guards contain another active target exactly at spacing K. CrocSwap#4100's own gadget fails on good addresses with K-bit guards (3,888 / 2,388 of 2^20) and is exact with the (K-1)-bit guards its code and 8B/2^K term use. On all 104,864 of CrocSwap#4174's production plans (allocator vendored, byte-checked) no two active targets can share a color for any Benes schedule. No new kappa. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pinterbanget
pushed a commit
to pinterbanget/integer-mult-bounds
that referenced
this pull request
Oct 21, 2026
…p#4100 map Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pinterbanget
pushed a commit
to pinterbanget/integer-mult-bounds
that referenced
this pull request
Oct 21, 2026
…p#4100 map Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…p#4329 Blocked (both ways), uniform 24, uniform 23, three random and ell=32 patterns all have zero possible same-color pairs. Uniform 24 misses a multiple of K by one bit, and the admitted pattern with ell-1 axes 16384..16407 puts aligned same-color targets exactly K apart at 24 layers, where literal K-bit guards fail and (K-1)-bit windows are checked target-free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pinterbanget
pushed a commit
to pinterbanget/integer-mult-bounds
that referenced
this pull request
Oct 21, 2026
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
This adds
research/pr4100-guard-coloring/. It decides the disjoint-guard premise in Cinna Davis's #4100 CRT.md §4: "a margin 2B from both ends of each K-bit guard … Color targets by current position modulo K, so guard intervals are disjoint". It also checks that premise on #4174's actual placement descriptors.Three audits take the premise as given. #4321 (unpaidmoon) assumes "the
K-bit guards are pairwise disjoint" and notes that no audit decides it. #4328's exactr-target density needs it. #4174 (kumagi) supplies the descriptors.Claim type: a scoped proof audit with a counterexample to the literal text, plus a census of #4174's production descriptors. No new κ.
Result
Lemma. Under position-mod-
Kcoloring,(K−1)-bit guards are pairwise disjoint and free of active targets for every descriptor.K-bit guards are pairwise disjoint too, but one contains another active target exactly when two same-color targets areKapart.The literal
K-bit reading fails on Propose unconditional κ = 0.00173097911567079247276057 via batched CRT #4100's own gadget. I ran all2^20addresses of its two-target fixture (targets 0 and 6, so exactlyK = 6apart).good(…, guard=6)uses,S = Ton all 82,944 good addresses for both sources.S ≠ Ton 3,888 and 2,388 good addresses, andTleaves the good set on 31,104 and 15,552. For example,(0,1,1086)goes to(0,5,1087)instead of(0,1,1087): a carry in one target's window flips the other target.(K−1)-bit guards", orK-bit guards with coloring modK+1.8B/2^Kdensity term, which counts4Bbad values inK−1bits. It is a presentational correction to CRT.md's "K-bit guard" and to Audit the compact-switch coefficient and guard contract. #4321's wording. No bound changes.Audit CRT reservoir placement and split-axis coordinate descriptors #4174's production descriptors. I censused all 104,864 plans of Audit CRT reservoir placement and split-axis coordinate descriptors #4174's own production layout:
d = 65,536,ell = 24, widths alternating 24/23,K = 196,608,r_max = 5. That is 524,288 active-axis visits.yafter placement.K. The aligned schedule confirms this over 12.3M target visits: maximum multiplicity 1, and no exact-Kpair.r ≥ 2density, are not exercised there.Kbranch is material. 16,225 plans (15.5%) have active axes in the topK−1bits ofy, and up to all 5 targets of a layer can be exceptions (Audit conditional CRT last-K two-slice streaming tariff #4187 audits that branch).Update: eight more width patterns, two adversarial ones (head
a3b9095c536c404e11d2ed868699fc4fcd4d4f57)The census now runs all 11 patterns at
d = 65,536, each accepted by #4174'sLayout:r_max = 4, 131,072 plans), three seeded random patterns, and alternating 32/31 atK = 229,376. Last-Kexception axes appear in 13–16% of plans throughout.Kby one bit. At level 14, batch 1638 pairs axes 16383 and 24576, which straddle a skipped left half and lie 8,193 axes =K + 24bits apart.ell−1axes 16384..16407 puts two active targets of one color exactlyKapart under the aligned schedule, at 24 layers. LiteralK-bit guards fail there, which is the §2 gadget failure; the(K−1)-bit windows are checked directly to be target-free. A single short axis at 20000 reaches exactKonly for some other bit schedule.K−1correction is needed on admitted layouts, not just in principle.The runtime is now about 2 minutes. The registered replay and committed-byte preflight pass at the new head.
Evidence
verify.pyuses only the standard library and takes about 18 seconds. It covers 3,266 exhaustive lemma cases, the gadget on2^20addresses for two sources and two window lengths, and the full production census.Source bindings: SHA256 pins of CRT.md and
check_batched_crt.py, CRT.md phrases,good()'sguard−1window expression, and the byte hash of the vendored allocator.#4174's
allocator.pyis vendored unmodified, with a byte check and avendor/NOTICE.md(head5fec853f, blob4b3ad896, Apache-2.0, Hiroki KUMAZAKI). It is vendored because that PR head is not reachable from main, and package pins resolve only against reachable objects.Not covered
d = 65,536andell ∈ {24, 32}are censused (11 patterns). The lemma covers every descriptor with(K−1)-bit guards.Kbranch (Audit conditional CRT last-K two-slice streaming tariff #4187).Task and overlap
uniform-transfer-audit, refined to this guard premise (recorded in TASK.json), priority revision 7.12fa8c5c844be21bfefb38a19503fbd867a11244. Propose unconditional κ = 0.00173097911567079247276057 via batched CRT #4100 is pinned at337d04939571a637aeab54a0f58f54fde811663a. Audit CRT reservoir placement and split-axis coordinate descriptors #4174 is read at5fec853f0c048871de3b8098d1e30d4ee19cda23.Credit
The construction and audited text are Cinna Davis's #4100 (OpenAI Codex assistance). The placement descriptors are kumagi's #4174, vendored unmodified. #4321 (unpaidmoon) states the hypothesis decided here. Prepared by Ryanson Jonathan with substantial Claude Code (Claude Opus 5.5) assistance. Apache-2.0.
🤖 Generated with Claude Code