# Job #2094 — the bar by exact residual-hole repair: the instrument was unsound, and the corrected negatives Lane: measure. Type: explore (discovery). Attempt `c913647fca96dd9c1df70163c8f5840c`. Route 90. Input: the served n = 25 state, **unmodified** — `check-2043.out.json`, sha256 `0d77773d01631d9eb70b76b18588c13b1d76b2bca5a0e4ff22b52c5887630600`, the sha route 90 declares as its input. Re-fetched from the store this turn and re-hashed: **match**. The tuple is `[0,2,1,3,10,1,16,11,4,26,11,8,22,37,15,52,37,14,14,36,16,18,74,62,93]`, x = 9419…4186, recorded best covered run 2027 at start 227. The task was to reach the base-10 bar (covered run ≥ 2454 at n = 25, bar 27000/11 = 2454.5455) by exact residual-hole repair of that state. **No witness was produced**, and the reason is new: the instrument that carries route 90's negatives has a coverage update that is not sound, and once it is corrected the bar is still nine holes away with a measured rate of about one hole per reassignment. Semantics are the project's own everywhere: a window is covered when every one of its integers is ≡ 1 or −1 mod at least one of the first n primes. Nothing here re-defines the object. --- ## 1. The instrument is unsound: XOR does not remove a prime `repair90b.py` — the implementation that produced #1121's K = 4 exhaustion and its 10-level calibration, and the one whose docstring justifies the design — maintains coverage as a single OR-mask `U` and moves one prime at a time with Up = (U ^ mask(k, cur_residue_k)) | mask(k, new_residue_k) The justification given is that masks of a *fixed* prime at different residues are pairwise disjoint, so XOR removes that prime's contribution. Intra-prime disjointness is true — and it is also not sufficient. `U` is the OR over **all** primes, and masks of different primes overlap freely: offset i is covered by prime p exactly when i ≡ ±1 − v (mod p), which many primes satisfy at once. XOR-ing prime k's mask therefore also clears bits that other primes are still supplying. `audit-xor-update.py` measures it on the served state. For every prime k and every residue v ≠ res[k], it compares the incremental mask against `reference_U`, the OR over all 25 primes recomputed from scratch: | window | moves compared | inconsistent | of those, understating coverage | |---|---|---|---| | [227, 2296) R=2069 | 1035 | **1035** | 1035 | | [17, 2506) R=2489 | 1035 | **1035** | 1035 | Every move is wrong, every one in the same direction, and by a lot. Moving prime 2 from residue 0 to 1 in [227, 2296) makes the engine see **1035 holes where 43 are real**; in the bar window, **1245 where 54 are real**. The whole window turns into holes, because prime 2 is the only prime carrying the odd offsets and XOR hands all of them to the hole set at once. The direction matters more than the size. Understated coverage means invented holes, and "holes == 0" is the only success test the search has: a state that genuinely covers the window still reports holes, so the DFS can return **`exhausted` — "no reassignment of ≤ K primes covers this window" — for a window that is in fact covered**. #1121's K = 4 row is the decisive one and its own table shows impl. A unrun at that depth, so that verdict rested entirely on this code. The randomised min-conflicts repair and the beam search in the same file update `U` the same way, so the "reduced the 9-hole bar window from 9 to **6** holes" and the beam's "best 42 holes" are unreliable in both directions rather than merely imprecise. `repair90.py` (impl. A) uses incremental coverage *counts* and is not exposed to this. Its K ≤ 3 verdicts are consistent with everything measured here, and its published damage figures survive: perturbing prime 2 off its residue really does create 42 holes in [227, 2254) — the control in §3 reproduces exactly that number. So the defect is impl. B's internal state, not the project's semantics and not the damage arithmetic. ## 2. A correct engine, and what it is `repair90c.py` maintains coverage as a **per-offset count** over the window — one counter per offset, incremented on entry and decremented on exit, which is the definition itself — so no move can erase another prime's contribution and no OR-mask is ever XOR-ed. Two of its modes do not share the DFS's branching rule at all: * `k1` — every single-prime move, **all** residue values, no "must cover a hole" restriction: 1035 states. * `k2` — every pair of moves on **distinct** primes, all residues, no restriction: 535 095 states. Those two are complete at their depth and independent of any branching heuristic, so a negative there cannot be an artefact of the tree. Above them the DFS of the record is used (MRV hole choice, chained moves, every candidate that covers an uncovered offset with an unmoved prime), with the corrected counter update. ## 3. Controls, including one that convicts the search of a bias I had to disclose * **Already-covered window**: `[227, 2254)` (R = 2027, the recorded best run) has 0 holes and the DFS returns solved with no moves. Sanity only. * **Positive control**: perturb the recorded state by one move (prime 2: 0 → 1) against that same window. 42 holes appear and the DFS finds the undo move `(k=0, v=0)` at depth 1 in 3 nodes. The search does find solutions that exist, which is the whole licence for believing its negatives; and K = 0 on the same instance correctly fails, so the check is not vacuous. * **Tree-dependence control, and it failed.** K = 3 gives **106 130 nodes for the 1-hole window and 106 130 for the 9-hole bar window** — identical, which cannot happen if the tree depends on the window. Cause, established by instrumenting the depth histogram: a hole is uncovered by *every* unmoved prime, so every hole has exactly 2·25 − 1 = **49** covering moves, and that stays uniform at depth d (2·(25 − d) − 1). The MRV rule therefore always ties, and the `cs == []` pruning that would kill a branch cannot fire before depth 25. So this DFS is a **blind uniform enumeration of all move-sets of size ≤ K** — complete, and structurally incapable of being window-dependent. That makes its node count a *price*, not a measure of search quality, and it is disclosed here rather than presented as a search. ## 4. The corrected negatives Window geometry first, computed from the served tuple by the corrected engine and matching #1121's independently: **1 hole** for [227, 2028) and [227, 2069) (the single recorded hole at offset 2254), **9 holes** for the bar window [17, 2489) (offsets 196, 226, 2254, 2296, 2302, 2326, 2374, 2386, 2452 → local 179, 209, 2237, 2279, 2285, 2309, 2357, 2369, 2435). | depth | window | mode | states/nodes | verdict | best remaining | |---|---|---|---|---|---| | K=1 | [227,2028) | exhaustive, all 1035 moves | 1035 | **no solution** | 1 hole | | K=1 | [227,2069) | exhaustive, all 1035 moves | 1035 | **no solution** | 1 hole | | K=1 | [17,2489) bar | exhaustive, all 1035 moves | 1035 | **no solution** | 8 holes | | K=2 | [227,2028) | exhaustive, all pairs | 535 095 | **no solution** | 1 hole | | K=2 | [227,2069) | exhaustive, all pairs | 535 095 | **no solution** | 1 hole | | K=2 | [17,2489) bar | exhaustive, all pairs | 535 095 | **no solution** | 7 holes | | K=3 | [227,2028) | complete DFS | 106 130 | **exhausted** | — | | K=3 | [17,2489) bar | complete DFS | 106 130 | **exhausted** | — | | K=4 | [227,2028) | complete DFS (158 s) | 4 575 122 | **exhausted** | — | | K=4 | [17,2489) bar | complete DFS (195 s) | 4 575 122 | **exhausted** | — | Three things follow. 1. **The bar is not reachable by exact residual-hole repair of this state at depth ≤ 4.** That is a complete negative over reassignments (distinct primes, chains allowed, every residue value at the first two depths by unrestricted enumeration), and it is a claim the record did not have: the bar window [17, 2489) had never been targeted, and the record's only K = 4 was computed with the unsound updater. 2. **#1121's K ≤ 4 negative on the 1-hole window is confirmed by a correct engine**, at 158 s and with the same verdict. So the defect, real and soundness-relevant in principle, did not change that verdict — which is worth stating plainly rather than leaving the audit to imply more than it shows. The one thing it did corrupt is the corroborating evidence (impl. B's node counts and damage figures) that was offered to support it. 3. **The bar's price is now measured in moves, not guessed.** The 9-hole window goes 9 → 8 → 7 across the first two depths: about **one hole per reassignment**, so reaching the bar needs roughly nine, and the corrected DFS grows by the uniform factor (49, 47, 45, 43, 41, …), i.e. K = 5 is 4 575 122 × 43 ≈ 2.0·10⁸ nodes ≈ **1.9 h** single-process at the measured 28 935 nodes/s (K = 4, 4 575 122 nodes in 158.1 s). That is the corrected counterpart of the route's ~1 h K = 5 estimate, and it is larger because the corrected engine prunes less than the unsound one appeared to. ## 5. Verdict against the assignment * **Goal (an explicit covered run ≥ 2454 at n = 25): NOT achieved.** No witness was produced, so nothing goes to `verify-2043.py`, and the recorded a(25) ≥ 2027 from #1098 stands. The base-10 floor stays at ln(30/11) = 1.0033019. * **What is new and checkable**: an unsoundness proof for the instrument behind the route's negatives (1035/1035 moves, with the mechanism), a correct engine that reproduces the record's hole geometry exactly, complete negatives at K ≤ 2 by unrestricted enumeration, and complete negatives at K ≤ 4 on the bar window — the assignment's own target — by a correct engine. * **What is NOT established**: any depth ≥ 5 (priced above, not run); any statement about states reachable by more descent rather than by reassignment of this one; maximality anywhere (a(25) ≤ 2453 stays open); and any claim that the producer or the route is wrong — impl. A's results are not contradicted, and the route's own semantics are used throughout. The audit convicts one implementation, not the mathematics. ## 6. What would change the answer The measured gap is narrow and named. (a) **K = 5 on the widest single-hole window [227, 2296)** (R = 2069, the same 1-hole target): ~2.0·10⁸ nodes ≈ 1.9 h at the measured rate, affordable in one 2 CPU-h assignment, and it closes the single-hole branch at the widest target rather than at the smallest deficit. (b) **Re-run the randomised repair with a sound update** (~10 min): the record's "9 → 6 holes" on the bar window and the beam's "best 42 holes" were produced by the broken update, so the mechanism's hill-climbing power is currently unmeasured in the direction that matters; a sound min-conflicts run gives the bar's *attainable* hole count with many moves, which is the number that decides whether any chain of this mechanism can reach zero. Two honesty notes. (1) The #1105 producer defect (per-trial residue tuples not stored) is still unfixed and still blocks per-trial re-analysis of #1098. (2) The identical node counts in §3 are a property of the DFS's uniformity, not evidence that the windows are equivalent; the *verdicts* are window-dependent because the success test is, and that is the sense in which these negatives are about the bar window specifically.