Repository navigation
Write the #4174 reservoir placement as six ordinary width-H calls with a 6x interchange bill; cites #4942 for the branch threshold (no new κ) - #4944
Merged
Mister-Meeseeks merged 4 commits intoOct 23, 2026
Conversation
… wrapper branch at H = r_max G
… content to the six-call placement bill
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.
Result
Scoped counting proof, conditional on BIT.md's ordinary interchange as stated. No new κ. The selected exponent stays 60403/20000000.
This answers open question 1 of pending #4938. Does one ordinary H-bit interchange of
research/unconditional-batched-crt/CRT.md§3–§4 fit its billO(V H^{1-a} + V)at the actual #4174 widthH = r_max G? CRT.md's callee is BIT.md's machine. It exchanges two complete equal e-bit fields with arbitrary spectators inO(V e^(1-a2)), and its §4 wrapper falls back to elementary q-digit swaps (q = 2^89 - 1) at small widths.Relation to #4942. James Reed's pending PR #4942 already evaluates BIT.md §4's wrapper branch at the reservoir width. It is elementary exactly for q-ary
E <= 311308(binaryh < 27706412), withD = 19andk = 155654. It givesE = 121atH = 10752andE = 173atH = 15360, and proves that every larger width is recursive. Parts (iii)–(iv) below are an independent recomputation that agrees with #4942, which is their predecessor; no novelty is claimed for the threshold. The new content here is parts (i)–(ii): the write-up of the placement as ordinary calls, and the count of placement and restoration calls with the resulting 6x bill. Also new are the padding ranges (v) and aD-independent elementary bound.For every layout the #4174 constructor accepts,
research/crt-reservoir-interchange-bill/PROOF.mdproves the following:Plan.placement(three sources to frontu, frontt, backb) is three ordinary calls of width exactlyH, in any order. Restoration is the same three calls. That is six calls per batch, and every dirty record is restored.6 C_BIT V H^{1-a} + 6 c_own V. This is CRT.md's bill with multiplicity 6.E = floor(H/89) + 1. It is elementary for everyH < 27,706,412and body atH = 27,706,412(E = 311309,D = 19,k = 155654). SinceH <= L/100, every layout withL < 2,770,641,200runs all six calls, and all twelve §4 shuttles, on the elementary branch.E <= H^{1-a}, so the elementary stage alone meets the bill, with constantC_0 q^2. AlsoH^a < 2^{1/20}, so thea2saving is numerically absent.(q^E/2^H)^2. This is in(2^33, 2^34)at the minimal layout and in(2^73, 2^74)at production.Minimal layout:
p = 1310720,ell = 21,d = 2^16, widths 20, soH = 10752. ThenE = 121,w = 2,D = 1,k = 8193and2k >= E, so the branch is elementary. Production layout:p = 9240576,ell = 24,H = 15360. ThenE = 173,D = 2,k = 16385, also elementary. These values agree with #4942. As an extra check of this package, anyD >= 1keepsH <= 1,458,353elementary, so both layout results hold under any reading ofD.Answer: yes, the bill fits with multiplicity 6. At these widths the elementary fallback meets it, not the body word. The constant includes a real padding factor of up to
2^34(minimal) or2^74(production) per call.Not proved:
Task and overlap
Card
uniform-transfer-audit, scope refined to the ordinary-callee bill of the #4174 placement. It continues the reservoir remainder of open question 2 in #4377 and #4650. Base: canonical maincef4b52f2a59009865bf8eabde1be3f159063703, priority revision 7. Main was rechecked unchanged before submission.Overlap:
scripts/find_overlap.py(interchange/callee/placement/elementary terms; complete local inventory, 313 open PRs, 4015 discussion records) and open CRT PRs #4187, #4192, #4938. #4174 counts six width-Hexchanges per batch and leaves the callee open.Crossed claims. James Reed's CLAIM for #4942 (comment 19136868) was posted one minute before this package's CLAIM. Both answer #4938's open question 1. #4942 delivers the wrapper-branch evaluation and lists the three-field placement as not covered. James Reed's overlap note confirms that the placement write-up and call count were still open on that side. This PR therefore cites #4942 for (iii)–(iv) and contributes (i)–(ii) and (v).
The branch is based on main, not on #4938. #4938 is cited as a pending predecessor.
Test plan
All of these pass:
verify.pytakes about 8 s. It authenticates its four input pins and quoted phrases, and executes the authenticated #4174 allocator bytes. It checks:Placementfixtures.1 - 2/q < |GL_64(F_q)|/q^4096 < 1and thej(D)table.E <= 311309.E <= H^{1-a}and both padding ranges.Its branch checks independently recompute #4942's values. The plan census, the six-call fixtures and the padding ranges are this package's own checks. It also runs 13 rejection controls. Separately, 10 source mutations of sharp claims were tested (
E_MIN,H_MIN, thejtable, the radix formula, the branch label, the call counts, the padding range, a dropped restoration call and the caller threshold). Each makes the verifier fail.Open next questions
Hsingle-bit swaps meet the same bill on fixed tapes without the(q^E/2^H)^2padding? First step: one bit swap as a single fixed-tape pass with a bounded buffer.C_0for one elementary q-digit swap? At every CRT layout withL < 2.77e9it is the whole callee constant. It is blocked because BIT.md does not detail the elementary algorithm.Credit
E/kvalues at both layouts, recomputed here.Prepared by JoyboyBrian with substantial Anthropic Claude (Claude Code, Opus 5.5) assistance. Apache-2.0. No independent human review or formal-kernel acceptance is claimed.
🤖 Generated with Claude Code