|
| 1 | +# Selected PR589 bit hosting: exact pending-projector audit |
| 2 | + |
| 3 | +**Finite geometric audit and scoped counterexample; no new kappa.** All |
| 4 | +126,432 helper occurrences of the selected PR589 nine-stage R439 bit supplier |
| 5 | +have disjoint physical pending supports, including 14,208 physical families |
| 6 | +that host helpers from more than one idle child. The complete paid histogram |
| 7 | +is independently recounted and agrees with the selected supplier receipt. |
| 8 | + |
| 9 | +An equal-rank coordinate substitution preserves the slot counts, within-child |
| 10 | +disjointness and borrowing windows, but changes the exact bit address operator. |
| 11 | +It is a counterexample to a deliberately weakened, count/window-only |
| 12 | +geometric implication, **not an input accepted by the production pipeline**. |
| 13 | +The source-bound level-to-axis interpretation supplies the missing constraint. |
| 14 | + |
| 15 | +Prepared for commdata2338 (@commdata2338), with substantial OpenAI Codex assistance. |
| 16 | + |
| 17 | +## Reproduce |
| 18 | + |
| 19 | +From the repository root, Python 3.12 and its standard library suffice: |
| 20 | + |
| 21 | +```sh |
| 22 | +python3 -I -B research/selected-bit-hosting-audit/verify.py |
| 23 | +python3 -I -B research/selected-bit-hosting-audit/test_verify.py |
| 24 | +python3 scripts/research_package.py --package research/selected-bit-hosting-audit --check-only |
| 25 | +python3 scripts/research_package.py --package research/selected-bit-hosting-audit |
| 26 | +``` |
| 27 | + |
| 28 | +The first command checks [RESULT.json](RESULT.json) without rewriting it and |
| 29 | +prints `PASS_SELECTED_BIT_HOSTING_AUDIT: 126432 helper occurrences; 111 port |
| 30 | +projectors; 12 controls rejected`. The second runs six tests, including an |
| 31 | +independent dense rational-matrix comparison. Both also work with `-O`. |
| 32 | +To review intentional receipt changes, `verify.py --write NEW_PATH` writes |
| 33 | +only a previously nonexistent file. No optimization, native build or download |
| 34 | +is required. |
| 35 | + |
| 36 | +## Exact object and source boundary |
| 37 | + |
| 38 | +Base: `dadfea6e8a78ff6ba901705f87532a71c6f5bbb8`. At this base the selected |
| 39 | +complex source is PR1094 `0fc329d0bec93ca7cd288eaea1295172e8789810`; its assembly |
| 40 | +explicitly retains bit PR589 `a5afc8c6169ea61ba7c51dfd3cade02cc7b13b46`, merged |
| 41 | +as `b3eb785ac5b4b1ca2beea0f80db078a505626a90`. The assembly's exact bit-receipt |
| 42 | +blob and selected manifest hashes bind the tuned word, frozen selection and |
| 43 | +receipt consumed here. Full pins are in [SOURCES.json](SOURCES.json). |
| 44 | + |
| 45 | +The finite domain is 111 live ports, 439 full-width-eight helper residuals per |
| 46 | +call, nine stages, four pairs, 32 replicas and 64 ambient axes. No pending PR |
| 47 | +is a code dependency. The scoped task card and next questions are also in |
| 48 | +[TASK.json](TASK.json). |
| 49 | + |
| 50 | +| Recount | Result | |
| 51 | +| --- | ---: | |
| 52 | +| Controller events / idle children | 29 / 10, including one zero-rank child | |
| 53 | +| Independently reconstructed slots per replica | 3,951 | |
| 54 | +| Physical calls / helper occurrences | 288 / 126,432 | |
| 55 | +| Physical families containing hosted helpers | 28,128 | |
| 56 | +| Families hosting helpers from multiple idle children | 14,208 | |
| 57 | +| Maximum helpers of one call sharing a physical family | 5 | |
| 58 | +| Helper occurrences containing the entire local q-perp block | 21,312 | |
| 59 | +| Live-port rational projectors / local frame dimensions | 111 / 636 | |
| 60 | +| Recounted rank mass / deficit | 1,808,352 / 10,272 | |
| 61 | + |
| 62 | +The nonzero idle remainders are `{2:13920, 4:14208, 6:14208, 7:21312, |
| 63 | +42:288}`. There are also 7,104 zero-rank remainders, all from the terminal |
| 64 | +zero-rank child. Adding local transitions and nine rank-seven COPY charges |
| 65 | +per call gives the complete histogram |
| 66 | +`{1:381024, 2:400416, 3:22752, 4:26880, 5:29376, 6:17376, 7:26784, 42:288}`. |
| 67 | +Reflection preserves each transition rank and COPY gap, so forward and |
| 68 | +reflected calls have the same rank histogram. This recount does not replay |
| 69 | +their scalar semantics or recertify the moment endpoint. |
| 70 | + |
| 71 | +## Pending-projector argument |
| 72 | + |
| 73 | +For any live root vector q, q^T q = 4. On the eight local coordinates put |
| 74 | +`P_q = q q^T / 4` and `K_q = I_8 - P_q`. Direct rational multiplication checks |
| 75 | +`K_q^2 = K_q`, `K_q q = 0` and `tr(K_q) = 7` at all 111 ports. Define exterior |
| 76 | +seven-dimensional blocks `E_j`, for `j=1,...,8`. In a chart with q/2 first, |
| 77 | +q-perp next, and the exterior coordinates last, the source level spaces are |
| 78 | + |
| 79 | +- `L_-1 = span(q)`; |
| 80 | +- `L_a = Q^8 + E_1 + ... + E_a`, for `0 <= a <= 8` (orthogonal direct sums). |
| 81 | + |
| 82 | +An idle advance `a -> b` therefore has projector `P(L_b)-P(L_a)`. Its chart |
| 83 | +axes are `[1, 8+7b)` when `a=-1`, and `[8+7a, 8+7b)` otherwise. Endpoints are |
| 84 | +half-open. Replaying the source recipe's pair levels produces this table: |
| 85 | + |
| 86 | +| Child | Pair | Levels | Pending axes | Eligible local stages | |
| 87 | +| ---: | ---: | --- | --- | --- | |
| 88 | +| 0 | 1 | -1 to 1 | [1,15) | 0,1 | |
| 89 | +| 1 | 1 | 1 to 2 | [15,22) | 2 | |
| 90 | +| 2 | 2 | -1 to 3 | [1,29) | 0,1,2,3 | |
| 91 | +| 3 | 2 | 3 to 4 | [29,36) | 4 | |
| 92 | +| 4 | 3 | -1 to 5 | [1,43) | 0,1,2,3,4,5 | |
| 93 | +| 5 | 3 | 5 to 6 | [43,50) | 6 | |
| 94 | +| 6 | 0 | 2 to 8 | [22,64) | 3,4,5,6,7,8 | |
| 95 | +| 7 | 1 | 4 to 8 | [36,64) | 5,6,7,8 | |
| 96 | +| 8 | 2 | 6 to 8 | [50,64) | 7,8 | |
| 97 | +| 9 | 3 | 8 to 8 | empty | none | |
| 98 | + |
| 99 | +For each physical family, distinct rows of this table have disjoint supports. |
| 100 | +Inside each row, the frozen slots partition a subset of its ordered axes; |
| 101 | +the remainder is the exact complement. This proves orthogonality of every |
| 102 | +pair of hosted supports and of each support with its remaining child factor. |
| 103 | + |
| 104 | +**No orthonormal completion has to be chosen for these slots.** Every selected |
| 105 | +slot contains either all seven q-perp axes or none of them; the same is true |
| 106 | +of every child and remainder. Thus its actual projector is either `K_q` plus |
| 107 | +an exterior coordinate projector, or just an exterior coordinate projector. |
| 108 | +Changing the orthonormal basis of q-perp cannot change any of these projectors. |
| 109 | +This observation is specific to this width-eight frozen selection; arbitrary |
| 110 | +mixed-width slots can split q-perp and need additional basis data. |
| 111 | + |
| 112 | +For a projector P the inherited exact bit address operator is |
| 113 | + |
| 114 | +``` |
| 115 | +D(P) = [ I-P P ] |
| 116 | + [ P I-P ]. |
| 117 | +``` |
| 118 | + |
| 119 | +If P and Q are orthogonal projectors, block multiplication gives |
| 120 | +`D(P)D(Q) = D(P+Q)`. Induction proves that each child's hosted factors and |
| 121 | +its remainder equal its original operator on **arbitrary head and tail |
| 122 | +vectors**, not just sampled inputs. For commuting coordinate projectors |
| 123 | +with overlap the formula is instead `D(P)D(Q) = D(P+Q-2PQ)`: repeated axes |
| 124 | +cancel. The separate dense rational tests cover all two-coordinate support |
| 125 | +pairs and show that noncommuting projectors cannot use the coordinate-set |
| 126 | +argument. These tests accompany, rather than replace, the algebra above. |
| 127 | + |
| 128 | +## Counterexample and production protection |
| 129 | + |
| 130 | +On pair 1, child 0 contains exterior axis 8, while child 7 contains axis 36. |
| 131 | +Conjugate **only child 7's realization**, including all its hosted slices and |
| 132 | +remainder, by the ambient permutation exchanging axes 8 and 36. Its rank |
| 133 | +stays 28; every slot width, relative offset, source stage, helper identity, |
| 134 | +within-child disjointness and remainder rank stays unchanged. Its support |
| 135 | +now overlaps child 0 at axis 8 and omits axis 36. |
| 136 | + |
| 137 | +The products of this family's idle factors before and after the substitution |
| 138 | +differ on exactly these two exterior axes. Applied to `(head=e_8, tail=0)`, |
| 139 | +the original product gives `(0,e_8)` and the modified product gives `(e_8,0)`. |
| 140 | +This is an exact address-operator witness, independent of the port q. It is |
| 141 | +not a replay of the whole interleaved supplier on that particular input; |
| 142 | +local calls and bridges also occur between idle deadlines. At an individual |
| 143 | +deadline the modified child operator already differs from the source operator. |
| 144 | + |
| 145 | +The production `audit_hosted_k.py` compares the schedule with the source |
| 146 | +parent and validates relative slots under each child; `global_k.py` and |
| 147 | +the geometry contract assign the actual pending subspaces from those levels. |
| 148 | +Neither accepts an arbitrary alternate chart field of the kind introduced |
| 149 | +in this adversarial fixture. `adapt9p.py` changes the live-port and COPY-rank |
| 150 | +accounting, and PR545's adapter substitutes the live labels; it does not |
| 151 | +grant arbitrary pending axes. These pinned constraints protect the selected |
| 152 | +construction. The counterexample explains why a replacement geometric |
| 153 | +compiler must preserve this binding, even if its rank and timing receipts |
| 154 | +are unchanged. |
| 155 | + |
| 156 | +## Independence, controls and limits |
| 157 | + |
| 158 | +The audit independently implements backwards window scanning, direct |
| 159 | +intervening-touch checks, finite allocation, ambient masks, all-replica |
| 160 | +family checks and exact frame-rank/profile recounting. It compares allocation |
| 161 | +and windows against the source's `expand` and `windows` functions. Only these |
| 162 | +named pure functions, the source `recipe`, and the literal idle-table |
| 163 | +construction are extracted with Python AST; entire producer modules, solvers |
| 164 | +and original acceptance checkers are never imported. The source recipe and |
| 165 | +geometric level convention are declared inputs, not independent discoveries. |
| 166 | + |
| 167 | +Twelve semantic controls reject equal-rank overlapping and wrong-disjoint |
| 168 | +charts, duplicate axes, missing/duplicate helpers, distinct-helper overlap, |
| 169 | +illegal stages, negative offsets, wrong width, out-of-replica copy indices, |
| 170 | +an intervening bridge with stale windows, and a nonempty zero-rank child. |
| 171 | +Six additional tests cover the positive receipt, independent dense matrix |
| 172 | +composition, the noncommuting boundary, a split-q-perp rejection, changed |
| 173 | +source bytes and a changed committed receipt. Checks remain active under `-O`. |
| 174 | + |
| 175 | +This is a finite geometric certificate with a written projector argument. |
| 176 | +It does not prove the inherited complete-call correlated-helper realization, |
| 177 | +injective cover-class compilation, local scalar correctness/H1-H5, all-size |
| 178 | +compiler, native lowered program, precision/tape, analytic transfer, or the |
| 179 | +full multiplication theorem. No complete cold replay, Lean proof, new moment |
| 180 | +endpoint, supplier adoption or selected-frontier change is claimed. |
| 181 | + |
| 182 | +Nearby work is retained: [PR1228](https://github.com/CrocSwap/integer-mult-bounds/pull/1228) |
| 183 | +and [PR1231](https://github.com/CrocSwap/integer-mult-bounds/pull/1231) derive two |
| 184 | +pending ranges for one historical PR442 R747 invocation; this audit covers the |
| 185 | +current PR589 R439 allocation and every idle child. [PR1209](https://github.com/CrocSwap/integer-mult-bounds/pull/1209) |
| 186 | +and Josie Elliston's retained T16 owner audit treat the complex supplier. |
| 187 | +[PR878](https://github.com/CrocSwap/integer-mult-bounds/pull/878) formalizes bit |
| 188 | +B boundaries, not this global geometric census. No priority is claimed for |
| 189 | +projector algebra, strict borrowing windows or the historical range formulas. |
| 190 | +Sagar Thakrar's [PR589 width-packing audit](../bit589-width-packing/README.md) |
| 191 | +already recounts the slot capacities and remainders and proves a restricted |
| 192 | +width-eight packing optimum. Those counts are consistency checks here; the |
| 193 | +added evidence is the current all-child projector census and the exact |
| 194 | +rank/window-preserving geometric counterexample. |
| 195 | + |
| 196 | +## Open next questions |
| 197 | + |
| 198 | +1. Can the all-call pending-projector statement be connected to a typed |
| 199 | + physical realization of the actual PR589 emitted word? This would reduce |
| 200 | + the remaining gap between finite placement and complete-call hosting. |
| 201 | + Start by exporting these source-bound slot masks into the PR540/PR1231 |
| 202 | + multi-host contract with the R439 word. The missing current-word extraction |
| 203 | + and correlated-helper realization remain blockers; historical Lean data |
| 204 | + cannot simply be renamed. |
| 205 | +2. Which mixed-width selected or proposed bit allocations split q-perp? |
| 206 | + The completion-free argument would then require explicit local projectors. |
| 207 | + First run the `mask & 255 in {0,254}` gate on one pinned candidate's slices; |
| 208 | + if it fails, obtain the actual source orthonormal complement before testing |
| 209 | + orthogonality. No such mixed-width source is admitted or excluded here. |
| 210 | + |
| 211 | +## Credit |
| 212 | + |
| 213 | +DreamingOfClouds / eumemic supplied PR589/555/545/543 and the punctured word, |
| 214 | +interleaved interface, parameter adapters and retained replica chain. Zhihao |
| 215 | +Chen supplied the PR386 bit geometry; DaysSky supplied PR442 idle-axis |
| 216 | +hosting; chafreaky and the earlier bank/replica contributors supplied its |
| 217 | +retained extensions. Their source notices and disclosed AI assistance remain |
| 218 | +intact. The PR1228/1231 auditors and Josie Elliston's independent complex |
| 219 | +owner audit provide nearby precedents. Rohan Arun's PR1094 supplies selected |
| 220 | +context; it is unchanged. New material is Apache-2.0. This is AI-assisted |
| 221 | +research and local checking, not independent human peer review. |
0 commit comments