Repository navigation
Record the uniform reservoir constant 3 r_max / p (no new κ) - #4923
Merged
Mister-Meeseeks merged 1 commit intoOct 23, 2026
Merged
Mister-Meeseeks merged 1 commit into
Mister-Meeseeks merged 1 commit into
Conversation
Every layout the CrocSwap#4174 constructor accepts has G >= 256, so the factored window term is strictly less than 3. Then C = 3 r_max / p suffices at r = r_max. No new kappa. Co-authored-by: Cursor <cursoragent@cursor.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.
Change and mathematical scope
Scoped comparison. No new κ. The selected conditional exponent stays
60403/20000000, and PR #4100 is not accepted.Every layout accepted by the #4174 constructor has
G ≥ 256. The constructor requiresp ≥ 1andell ≥ max(2, ceil(log2(p+2))), andceil(log2(p+2)) ≥ 2, soThe floor is achieved at
p = 1,ell = 2, and 65,536 widths of 1:G = 256,L = 65536,r_max = 2.For
G ≥ 256the factored sharp term2 + 2^{1−62G} − 2^{2−63G}is strictly less than 3. Atr = r_max,The same bound covers the published window term. On the equality case the constant is 6, and both
C = 1andC = 1/6400fail. When the layout also hasL ≤ p,3 r_max / p ≤ 3/25600 < 1/6400, so the older constant still covers those layouts. The production planr_max = 5,p = 9240576satisfies the tighter majorant.Task and overlap
624de9dc66858af0945e5f8a0942488d62280d43, fetched 2026-10-22T23:52:56Z, priority revision 7.formal-interface-lemma, scope refined. This is the open question of PR Record the constant 3 on the longer reservoir layout (no new κ) #4921.p = 2.research/crt-reservoir-uniform-constant/.G ≥ 256for every accepted layout.Validation
Python 3.12, standard library only:
Observed
PASS_CRT_RESERVOIR_UNIFORM_CONSTANT G_min=256 equality_p=1 equality_r=2 integer_factor=3, thenPASS_REGISTERED_RESEARCH_PACKAGE research/crt-reservoir-uniform-constant outcome=completed.Not run: a layout census, the 104,864-plan schedule, the
Eproduct, Lean, and Docker.Credit
Hiroki KUMAZAKI, PR #4174, for the constructor. PR #4646 for the factored window term. PR #4921 for the constant 3 on one layout. Cinna Davis, PR #4100, for the CRT parameters.
Prepared by James Reed with substantial Cursor Grok 4.7 assistance. Apache-2.0. No independent human review and no formal-kernel acceptance are claimed.
Open next questions
p = 1,ell = 2,r_max = 2,G = 256, what does3 r_max 2^{-G}times the printedEenvelope become? First step: multiply6 · 2^{-256}by2^{4 ell} (p+2)^{16}and compare with2^{-60 ell} (p+2)^{-48}.