Skip to content

research: pool the replica idle block; the two-unpaid premise is per-call-forbidden only - #3754

Merged
Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
petalas:research/w9-1018-moment-certificate
Oct 20, 2026
Merged

Mister-Meeseeks merged 2 commits into
CrocSwap:mainfrom
petalas:research/w9-1018-moment-certificate

Conversation

@petalas

@petalas petalas commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Summary

The selected complex local word is priced two different ways by two existing packages, and neither states which is binding:

Source What one unit of accounting covers Live families Calls
research/complex-local-word-ceiling one call w = 896/9 1
research/idle-packing-stability (#1685) one replica W = 14336 144

Both apply PR1012's coverage identity mass = 72·W + 64·N and both cap idle ranks at R = 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 remains a < 0.001690054109089"). Converting it:

Quantity Fractional relaxation Pooled integer optimum
Idle children 237024/51 = 4647.53… fractional {51:4647, 27:1}
a ceiling 0.001690054109089 0.001690044548223
κ cap κ < a/(1+a) 0.001687202645 0.001687193117
Headroom over selected κ +0.8694 % +0.8689 %

The 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.py advertises a "two unpaid coordinates per live family" lever at 3.77×, κ cap ≈ 0.00634. PR #3729, working per call, reports it unusable:

"With unpaid = 2 the per-call paid mass is 71·(896/9)+64 = 64192/9, so per-call idle mass is 13918/9, not an integer … under this per-call model that premise admits no integer packing at all."

That is true per call and false pooled. The denominator is 9, and a replica has exactly nine stage invocations:

Pooling level Calls unpaid = 2 idle mass Integer packing?
one call (incumbent, #3729) 1 13918/9 no
one replica (9 stage invocations) 9 13918 yes
sixteen replicas (#1685's model) 144 222688 yes
Pooling level Idle mass Exact integer optimum a ceiling κ cap Headroom over selected κ
one replica 13918 {51:272, 46:1} 0.006377826759129 0.00633741 +278.88 %
sixteen replicas 222688 {51:4366, 22:1} 0.006377945692541 0.00633753 +278.89 %

A premise already published in the lever table is admissible or inadmissible depending only on the accounting unit.

Two cautions, both load-bearing. unpaid = 2 is 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 % in a (per-call 0.001688603446527 from #3729; pooled 0.001690044548223 here), 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 = 1 word, 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 treat unpaid = 1, and #3729 states the unpaid = 2 premise 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). Base 20ecf2891d80b5acf18d980b2164fb44ea7faa90, canonical main, fetched at the round's checkpoint and re-fetched before submission, unchanged.

PASS_POOLED_IDLE_MODEL_RESCUE                          # verify.py, ~2 min 40 s
PASS_REGISTERED_RESEARCH_PACKAGE research/pooled-idle-model-rescue outcome=completed
PASS_RESEARCH_COMMIT_BYTES {"commit": "4bde35c0200e83fe27a08ec408a2ae59b490a03f", ...}

Reproduce:

python3 -I -B research/pooled-idle-model-rescue/verify.py
python3 -B scripts/research_package.py --package research/pooled-idle-model-rescue

verify.py --write regenerates RESULT.json. The package pins research/complex-local-word-ceiling/ceiling.py and research/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 guard 2R² < 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

  • Which accounting unit is contractual? Decisive, and a contract/documentation question rather than an arithmetic one: it changes the baseline ceiling by 0.085 % and decides the two-unpaid premise's admissibility. First step: read the PR1012 identity's statement on whether the centre charge and unpaid coordinate attach per call or per replica. Blocker: the sources do not settle it.
  • What ceiling survives owner and hosting legality? Research: near-ceiling idle packing stability and exact integer optimum #1685's own open question and the only route to a materially tighter bound. Blocker: no source-bound characterisation of legal idle groups exists.
  • Does the unit ambiguity hit the bit side? Not attempted; its profile and coverage law differ.

Produced by Nick Petalas with AI assistance. Apache-2.0. Independent human and formal proof-kernel review are unclaimed.

… 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants