Repository navigation
research: pool the replica idle block; the two-unpaid premise is per-call-forbidden only - #3754
Merged
Mister-Meeseeks merged 2 commits intoOct 20, 2026
Conversation
… units The selected complex local word is priced two different ways by two existing packages and neither states which is binding: research/complex-local-word-ceiling prices one call (w = 896/9), while PR CrocSwap#1685 prices one replica (W = 14336, N = 144). This adds the pooled per-replica model and reports what the difference does. Two results, both scoped obstructions on planning numbers: - PR CrocSwap#1685 proves the unrestricted integer idle optimum {51:4647, 27:1} and explicitly declines to state the ceiling it implies. Converting it gives a < 0.001690044548223 and kappa cap 0.001687193117, against the incumbent fractional relaxation 0.001690054109089. The pooled optimum reproduces CrocSwap#1685's published partition exactly, which cross-checks the shared closed form. - The two-unpaid-coordinates lever in levers.py is integrality-forbidden only because the incumbent prices a single call. Per call the residual is 13918/9; pooling the replica's nine stage invocations clears the denominator and an integer packing exists ({51:272, 46:1} at one replica, {51:4366, 22:1} at sixteen). A premise already published in the lever table is admissible or inadmissible depending only on the accounting unit. The baseline ceilings differ by 0.085 percent in a between the two units, which is the cost of leaving the contract unstated. This package does not decide the contract; it certifies both readings and shows the difference is material. unpaid = 2 is a what-if that changes the coverage law, so this is not a supplier and not a kappa improvement. No packing is realised, owner and hosting legality are not imposed as in CrocSwap#1685, and the selected result is unchanged. Exact rational interval arithmetic is imported from the credited ceiling module rather than reimplemented. Controls: 328 exhaustive DP integer-optimum cases, 240 randomised pooled-vs-per-call ordering cases across widths 9..73, five semantic rejections, and both published realised packings excluded at the pooled ceiling. A suboptimal-remainder mutation is caught by the CrocSwap#1685 cross-check.
PRs CrocSwap#3737, CrocSwap#3747 and CrocSwap#3749 independently reach the same aggregate-versus-per-call contrast on the baseline unpaid=1 word, so credit for that observation is theirs. Note the overlap and state plainly that the unpaid=2 integrality rescue in Result 2 is the part none of them covers: CrocSwap#3729 reports that premise as admitting no integer packing at all, which holds per call and fails pooled.
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
The selected complex local word is priced two different ways by two existing packages, and neither states which is binding:
research/complex-local-word-ceilingw = 896/9research/idle-packing-stability(#1685)W = 14336Both apply PR1012's coverage identity
mass = 72·W + 64·Nand both cap idle ranks atR = 51. They differ only in what they pool. This package adds the pooled per-replica model and reports what the difference does. Scoped obstruction and a model-discrimination result. No new κ, no supplier, no selected-frontier change.Result 1 — #1685's proved optimum implies a ceiling
#1685 proves the exact unrestricted integer idle optimum
{51:4647, 27:1}for pooled idle mass 237024, then explicitly declines to convert it ("the predecessor's fixed-word cap remainsa < 0.001690054109089"). Converting it:237024/51 = 4647.53…fractional{51:4647, 27:1}aceiling0.0016900541090890.001690044548223κ < a/(1+a)0.0016872026450.001687193117The pooled optimum reproduces #1685's published partition exactly, which independently cross-checks the shared closed form. The tightening is only 0.0006 % because pooling lets 144 calls share one remainder child. That is the honest reading: integrality is not where the real obstruction lives in this model.
Result 2 — the two-unpaid premise is forbidden only by per-call accounting
levers.pyadvertises a "two unpaid coordinates per live family" lever at 3.77×, κ cap ≈ 0.00634. PR #3729, working per call, reports it unusable:That is true per call and false pooled. The denominator is 9, and a replica has exactly nine stage invocations:
unpaid = 2idle mass13918/913918222688aceiling{51:272, 46:1}0.0063778267591290.00633741{51:4366, 22:1}0.0063779456925410.00633753A premise already published in the lever table is admissible or inadmissible depending only on the accounting unit.
Two cautions, both load-bearing.
unpaid = 2is a what-if that changes the coverage law, which is a hypothesis of the whole ceiling model, and the incumbent README labels it as such. This is not a supplier and not a κ improvement; it is priced only to show the premise is not integrality-forbidden. And the two baseline ceilings differ by 0.085 % ina(per-call0.001688603446527from #3729; pooled0.001690044548223here), so a candidate supplier is billed against a different number depending on an unstated contract choice.How to use each model
Pooling only relaxes, so the pooled ceiling is always at least the per-call ceiling. Per-call is the conservative screen, to reject a packing claim. Pooled is the permissive screen, to decide whether a premise is worth building at all. A premise that is integrality-forbidden per call but admissible pooled has been mis-screened — which is the actionable finding, independent of whether the two-unpaid premise is ever built.
Overlap and credit
Overlap was rechecked immediately before pushing. PRs #3737, #3747 and #3749 independently reach the same aggregate-versus-per-call contrast on the baseline
unpaid = 1word, so credit for that observation is theirs, not mine. Their aggregate bracket and this package's pooled ceiling are the same quantity reached independently; the conversion here was written before their PRs were visible. Not covered by any of them: all three treatunpaid = 1, and #3729 states theunpaid = 2premise admits no integer packing at all. That is Result 2.Predecessor credit, unchanged: the coverage identity is PR1012's; the ceiling engine and exact rational interval arithmetic are Douglas Colkitt's, imported here rather than re-derived; the integer idle optimum and its concavity proof are #1685 by Penguin for Maximus Putnam, whose closed form is reused and re-checked; the per-call integrality ceiling is #3729's. The idle closed form is also independently re-checked by dynamic programming in this package.
Verification (run locally)
Interpreter
~/git/integer-mult-bounds/.venv/bin/python3.12(CPython 3.12.15, not on PATH). Base20ecf2891d80b5acf18d980b2164fb44ea7faa90, canonical main, fetched at the round's checkpoint and re-fetched before submission, unchanged.Reproduce:
verify.py --writeregeneratesRESULT.json. The package pinsresearch/complex-local-word-ceiling/ceiling.pyandresearch/idle-packing-stability/*as live inputs and imports rather than copies them, so the repository's registered replay job can certify the same arithmetic in CI.Controls: 328 exhaustive DP integer-optimum cases (mass ≤ 40, cap ≤ 9, no partition skipped); 240 randomised pooled-vs-per-call ordering cases across widths 9…73; five semantic rejections; both published realised packings excluded at the pooled ceiling (certified moments 1.0000043 and 1.0000044). Both sides of every bracket are certified and non-vacuous. A suboptimal-remainder mutation is caught by the #1685 cross-check.
Not run: Python 3.14, Linux, Windows, CI, full selected cold replay, any proof-assistant check.
Scope
One fixed paid local profile,
m = 73, 112 ports, the nine-stage four-pair template, the coverage law, the halving guard2R² < m². Not a bound for other local words, port counts, templates, coverage laws, centre charges or outer recipes. Idle ranks are integers≤ R; owner, hosting and width legality are not imposed, exactly as in #1685, so the bound stays valid. No packing is realised —{51:4647, 27:1}needs 4648 idle children per replica against 492 published hosted helpers.κ < a/(1+a)is the retained balanced reduction's planning ceiling, not a theorem about multiplication. The selected result and its obligations are unchanged.Open next questions
Produced by Nick Petalas with AI assistance. Apache-2.0. Independent human and formal proof-kernel review are unclaimed.