Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
157 changes: 157 additions & 0 deletions research/selected-bit-parent-reserve/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
# An explicit parent reserve for the selected BIT bootstrap

Under the **retained full-cover and completed ordinary-leaf interfaces**, the selected PR589 nine-stage BIT stopped producer has the uniform parent-stock envelope

\[
\log_q S(e,w)\le 8194\,w(1+\log_2 e).
\]

This supplies the numerical coefficient in PR1965's H3 for the first native bootstrap stage. Its recorded cutoff passes that paper's sufficient stock-fit guard with `sigma=8194`. The result is a conditional space implication, not an implementation of the inherited interfaces, a proof of H2, a new supplier, a new exponent, or adoption of the outer proof.

The new step is the **selected-producer divisor/depth/restoration argument**, not another headroom calculation. The source pricer already contains the arithmetic `2*(64^2+1)=8194` as part of an outer row allowance. This package explains why that term bounds the stopped parent's stock when ordinary leaves are internally completed, and why the other outer allowances need not be inserted into it.

## Which producer is being bounded?

The source-pinned selected assembler in PR1094's `upstream1087.tar.gz`, member `code/assemble.py`, names PR589's ordinary BIT supplier, sets `BIT_L=9`, `BIT_T=32`, `BIT_M=1+7*BIT_L=64`, and binds the complete PR589 receipt by Git blob. The same file prices the **different** complex supplier at `m=73`. The bootstrap parameter is constrained by both savings, but the ordinary stopped producer is the BIT side.

| Source-bound quantity | Selected value |
|---|---:|
| Atom dimension `m=1+7L`, `L=9` | 64 |
| Live roles | 28,416 |
| Physical roles, including the nine additional work roles | 28,425 |
| Largest good child rank | 42 |
| Bad-class fallback child rank | at most 1 |
| Halving degree | 2, since `2*42^2=3528 < 4096=64^2` |
| Parent reserve coefficient | `2*(64^2+1)=8194` |

`research/e8-bit-p111-tuned/tune/EXPECTED.json` is the exact blob cited by the selected assembly. The vendored PR510 `assemble9.py` reads the hosted profile and computes `row=DEPTH*(m*m+1)+9909+252=18355`. The selected `adapt9p.py` changes the port/deficit binding, not this row formula. `emit_k.py` records `physical=LIVE+9`. These are authenticated source statements, not a new cold replay of PR589's circuit.

The historical five-stage `m=120` coefficient 57,604 is not used. Neither is 252 treated as a measured selected leaf reserve. PR1990 correctly leaves a selected binding open; the BIT/complex distinction is material when closing this particular ordinary-bootstrap obligation.

## Retained hypotheses and exact domain

Fix one eligible odd prime `q>2^80`, avoiding the selected recipe's finite denominator/rank exclusions, before choosing the widths. Let `e,w` be positive integers and let the coarse atom count satisfy `0<=n<=e`; at the native stage of interest `w=ceil(e^s)` and the body has at most `floor(e/w)` atoms.

The proof uses the following inherited interfaces explicitly:

1. **Selected full-cover realization.** The selected `m=64` finite physical recipe is realized over `GL_64(Z/q^w Z)`, with one fresh complete physical-role packet per active coarse level. Its role packet has `P=28425` slots, including work roles. A sufficient level divisor is
`W_q(w)=P*|GL_64(F_q)|*q^(4096*(w-1))`.
The selected all-size/compiler and hosting assumptions are still required to identify these packet slots with the physical word. A finite receipt alone does not construct that identification.
2. **Fixed atom width along a coarse call.** An internal child has atom count at most `r*floor(n/64)`, where `r<=42`; the conservative bad-class compiler has children at most `floor(n/64)`. Calls with `n<64`, peeled remainders, routing and high-part exchanges use completed ordinary operations, rather than another same-level coarse call.
3. **Fresh fields and restoration.** A child can use only the unused quotient of its parent's row packet; already exposed ancestor fields remain complete spectators. Every child returns its supplied row coordinate unchanged. Successive residuals, the two-call ordinary wrapper and other sequential calls reuse restored stock.
4. **Completed leaves.** The previous ordinary algorithm handles all required widths and complete spectators, borrows its own high digits internally and restores its row coordinate. It needs **no additional externally supplied row factor**. This is the reviewed PR185 contract retained by PR387, not an estimate of the leaf's internal memory or running time.

The generic full-cover cardinality and fixed-width recurrence are in `three-stage-cover-bit.tex`, lines 197–218 and 253–264. That file's displayed geometry is historical `m=67`; its numerical parameters are **not** copied. The present proof derives the cardinality identity for general `m`, then instantiates the selected `m=64` recipe under hypothesis 1. The reviewed PR185 proof, paragraphs “Nested row restoration and fixed tapes”, provides hypothesis 4. The original rows note's inherited old-leaf factor must not be retained a second time when its use is replaced by this stronger completed interface.

## Reserve theorem

### 1. Charge the entire level divisor

Reduction modulo `q` maps `GL_m(Z/q^w Z)` onto `GL_m(F_q)`. Every invertible residue matrix has exactly `q^(m^2*(w-1))` lifts; a matrix over this local ring is invertible exactly when its reduction is. Consequently

\[
|GL_m(\mathbb Z/q^w\mathbb Z)|
=|GL_m(\mathbb F_q)|q^{m^2(w-1)}<q^{m^2w}.
\]

Because the selected physical-role count `P=28425` is smaller than `q`,

\[
\log_q W_q(w)<4096w+1\le4097w. \tag{1}
\]

The high-matrix cardinality does cancel in the normalized time moment, but **does not cancel here**. The nine additional physical roles are also included. The proof needs an actual divisible packet, not merely a numerical upper bound on its size: reserve powers below use `W_q(w)` itself. A substituted divisor with fewer high fibers is rejected by the controls.

### 2. Bound active depth, including floors and fallback

Write `D(n)` for the maximum number of internal coarse nodes on any root-to-leaf path; `D(n)=0` for `n<64`. Every child satisfies

\[
n'\le42\lfloor n/64\rfloor\le (42/64)n.
\]

A two-edge path therefore gives `n'' <= (42/64)^2*n < n/2`. Fallback children satisfy a stronger bound. After `2*ceil(log2 n)` edges a positive integer atom count would be below one, so the path has already stopped. For `n>=2`,

\[
D(n)\le2\lceil\log_2 n\rceil;
\]

for `n=0,1` it is zero. Thus in all cases with `n<=e`,

\[
D(n)\le2\lceil\log_2\max(1,e)\rceil
\le2(1+\log_2 e). \tag{2}
\]

No unnamed additive `O(1)` is used. One-level halving is false: `n=128` permits the selected rank-42 child `84>64`.

### 3. Construct divisible stock, not a product over all calls

For the same fixed `w`, define

\[
S(n,w)=W_q(w)^{D(n)}.
\]

At a coarse node with depth `d>0`, split a complete row index into its role remainder modulo `W_q(w)` and an unused quotient of size `W_q(w)^(d-1)`. Every child has depth at most `d-1`, so that quotient is divisible by its required reserve. Any excess quotient is an additional complete spectator. Because the child restores its row, the quotient can be reused for each later child. The node's complete endpoint restores its own exposed role field. Induction supplies all nested calls and restores the entire row.

At a leaf there is no external factor: the ordinary operation supplies its own borrowing under hypothesis 4. Consequently the recurrence is multiplication by **one level divisor along an active path**, not multiplication over siblings, residuals, the two wrapper calls, or bootstrap levels. This is also why the previous ordinary **time** constant does not enter the reserve. If a leaf instead needs external factor `B>1`, the base case becomes `S_leaf=B`; the zero-external conclusion no longer follows. That is a genuine hypothesis, not something finite examples can infer.

Combining (1) and (2), for the parent construction at every integer `e,w>=1`,

\[
\log_q S(n,w)<4097wD(n)
\le8194w(1+\log_2 e).
\]

Use non-strict `<=` to include the zero-depth case. This is PR1965's H3 with **sigma=8194** under the stated interfaces. At fixed completed bootstrap depth the same proof can be reused, but this package binds and checks only the first native stage. It does not claim a new implementation or all fourteen independently admitted stages.

## First native cutoff

From the selected assembly, with exact rational arithmetic,

```
s = min(bit_lower, (1-10^-24)*complex_lower) - 10^-27
a0 = 384599/10^10
a1 = (1-s)*s + s*a0
delta = min(s-a1, 1-a1-s, 1-a1-s*(1-a0), 1-s)
L = 4785575287428
```

The independently derived coefficient needs only `ell=ceil(log2(8*8194))=17`. The exact checks prove

```
L >= 2
L*delta^2 >= 36
L*delta >= 2*(4+17) = 42
0 < delta <= 1-s
```

These are PR1965's sufficient fit premises, so `k=ceil(log_q S(e,w))<e/2` for every `e>=2^L`, with `w=ceil(e^s)`. The inherited sufficient-headroom value `floor(L*delta/2)-4=6562783` is included only to show the comparison; it is predecessor arithmetic, not the novelty. The powers `2^L` and huge stock sizes are not materialized.

This closes the *numerical parent-stock coefficient implication* at this stage under the explicit full-cover/completed-leaf assumptions. H2's cutoff-independent stopped time bound, any other primitive fit condition, and all selected all-size/compiler, common-label, mutable-source, hosting, precision/tape, exact-recovery and analytic obligations remain. The selected result and frozen proofs are unchanged.

## Reproduction and evidence

From the repository root, using standard-library CPython 3.12:

```sh
uv run --python 3.12 --no-project python -I -B research/selected-bit-parent-reserve/verify.py
uv run --python 3.12 --no-project python -I -O -B research/selected-bit-parent-reserve/test_verify.py
uv run --python 3.12 --no-project python scripts/research_package.py --package research/selected-bit-parent-reserve
```

The verifier authenticates every external input before reading its semantic fields and authenticates the archive member before parsing it. No predecessor Python is imported or executed. It derives the selected parameters, complete level charge, exact halving and cutoff comparison; independently checks the floor-depth recurrence over 20,001 atom counts; and uses small exact local-ring matrices and row permutations as finite controls for the proof's failure modes. Acceptance uses explicit exceptions, not removable `assert` statements. The regenerated `RESULT.json` payload must compare canonically with the committed one. `--write-result PATH` creates an external receipt and refuses overwrite.

The finite fixtures support the argument but do not prove its all-width quantifiers; those are proved above. Neither a complete selected cold replay nor a formal kernel is run here. See [TASK.json](TASK.json) for scope, provenance and open questions, [SELECTION.json](SELECTION.json) for the unchanged selection, and [SOURCES.json](SOURCES.json) for exact byte pins.

## Open next questions

1. **Realize the retained interfaces.** Construct the selected all-size GL64 role-packet/compiler map with fresh descendant fields and complete spectator preservation. Begin with one parent/child split and the common-label/mutable-source mapping. This would replace hypothesis 1's inherited implementation assumption; the finite cardinality proof cannot do so.
2. **Complete the time implication.** Trace every routing, padding, weighted-leaf, descriptor and high-part-exchange toll to prove H2 whenever stock fits with a cutoff-independent constant. The first step is an explicit quantified stopped recurrence. H3 alone cannot adopt PR1965's outer-proof repair.

## Attribution and limits

DreamingOfClouds supplied the selected tuned P111 word and parameterized PR589 pipeline, on eumemic's PR555 base and DreamingOfClouds' PR510 nine-stage work, with the credited geometry, whole-call hosting and compiler lineage. The finite-cover/local-ring and reviewed PR185/PR387 completed-leaf sources supply the retained interfaces. Josie Elliston's PR1956 and PR1965 isolate the carried-constant problem and time/space repair; ToikY's PR1990 independently checks the headroom and insists on the missing selected-source coefficient. Rohan Arun supplied the selected PR1094 assembly on Jeremy Kothe's PR1087 predecessor. Their results and numerical receipts are not claimed as new.

Prepared by Adam Gall with substantial OpenAI Codex assistance. No independent human review or unconditional multiplication theorem is claimed. Apache-2.0, following the repository and retained source notices.
89 changes: 89 additions & 0 deletions research/selected-bit-parent-reserve/RESULT.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"archive_member_sha256": "15f6986a476bac76bcdc0bfcf51da115389b46f1950d2766b6822f757888b13a",
"claim": "Conditional selected BIT parent stock; not all-size implementation or H2",
"finite_floor_depth": {
"atom_counts": 20001,
"maximum": 20000,
"maximum_observed_depth": 12,
"minimum": 0,
"one_level_halving_counterexample": {
"child": 84,
"half": 64,
"parent": 128
}
},
"finite_local_rings": [
{
"invertible": 48,
"m": 2,
"q": 3,
"roles": 2,
"w": 1
},
{
"invertible": 3888,
"m": 2,
"q": 3,
"roles": 2,
"w": 2
},
{
"invertible": 480,
"m": 2,
"q": 5,
"roles": 2,
"w": 1
}
],
"finite_row_reuse": {
"all_rows_restored": true,
"complete_wrapper_calls": 2,
"depth": 3,
"divisor": 3,
"external_leaf_factor": 1,
"rows": 27
},
"first_native_cutoff": {
"branch": "native",
"cutoff_log2": 4785575287428,
"exponent": "2676351903605968510955225199374139336419692211991205809803291212685832779316802617926399111/1600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"fit": "k < e/2 for every integer e >= 2^L, under the stated interfaces",
"gap": "4388379286997125724770519885577770614671108008794190196708787314167220683197382073600889/1600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"guard_headroom": 6562783,
"required_log2_8sigma": 17,
"s": "67018507072324140916999892981492927675859083/40000000000000000000000000000000000000000000000",
"sigma": 8194,
"stage": 1
},
"selected": {
"halving_degree": 2,
"halving_inequality": [
4096,
3528
],
"inherited_outer_row": 18355,
"live": 28416,
"m": 64,
"maxchild": 42,
"parent_sigma": 8194,
"per_level_constant": 1,
"per_level_linear": 4096,
"physical": 28425
},
"source_sha256": {
"certificates/selected-result.json": "10b9e340fd8e354a37a0c4813c90e5de1dd42044b5f6aca4a3fc5a42b685fa32",
"research/bootstrap-cutoff-time-space-split/README.md": "e7f215a11a81c02b657bac9ebb904f346d1ae95446f32fda74a4084360c79a86",
"research/bootstrap-depth-audit/sources/pr387/bootstrap-sources/research/community-round8-audit/pr185-proof-reviewed.md": "bbac6ec77f315dd76324f4595b8c7a9b0ec719f3903d0c56c61f23990326e8fa",
"research/community-frontier1094-audit/ASSEMBLY.json": "1122cb3a575f8c788345fc1bf4c108ac7c3250fb81a5988671f5eb04b3ab3045",
"research/complex-t16-rare-pattern-exchanges/SOURCE.json": "4cfd44cebfe88f4450294239fbea8feecb564338dc3027b76065227f5d19cb6f",
"research/complex-t16-rare-pattern-exchanges/upstream1087.tar.gz": "d4acf04daef85d4514f80ec5fcd2492d0c60e5d6c49fa71b3e6523f8db2dea86",
"research/e8-bit-p111-tuned/code/adapt9p.py": "14365d0eb8f4a7352edd28816196148fd28d5bbcb36044ebeeb15ca051bca9de",
"research/e8-bit-p111-tuned/tune/EXPECTED.json": "b9f0e5ca038abe837b0007c8fe006f366a6f02009244ac57705a8a200e2301f4",
"research/e8-bit-p111-tuned/vendor/pr510/e8-r480-nine-stage/code/assemble9.py": "4bf6768224a3fac81ccda26df24f3763f9a4fbc35ad62bef2888595cdae519fe",
"research/e8-bit-p111-tuned/vendor/pr510/e8-r480-nine-stage/vendor/e8-r715-eleven-stage-whole/code/emit_k.py": "298b16c3d4f58a468ad1a64564c8500cb281414a3f3c0428fd467908eeb4a4b4",
"research/five-stage-source527-banks/proof/three-stage-cover-bit.tex": "47123a756f823c83a0d48cca2bf5add6472cd88410b13aed345e70c8834fb511",
"research/five-stage-source527-banks/proof/three-stage-cover-rows.tex": "6ad97a5cd7d6aecf978a81226e1c2763d37840caca130c61f3bf5c4ac111c5c8",
"research/selected-bootstrap-stock-audit/README.md": "0f3cda98c8382d41dc4f5d905460a4b4ed2854d6f94f20035b150e14825827c6"
},
"status": "PASS_SELECTED_BIT_PARENT_RESERVE"
}
Loading
Loading