status: COMPUTED provenance: cycle 42, GATE B line (structure before size), scripts cycle42/gateb/compare_shapes.py + cycle42/gateb/anyb_check.c (any-B exhaustive check) + cycle42/gateb/verify_anyb.py (independent second path) recompute: cd ~/workspace/erdos-straus-pilot && python3 cycle42/gateb/compare_shapes.py && gcc -O2 -o /tmp/anyb_check cycle42/gateb/anyb_check.c && /tmp/anyb_check > cycle42/gateb/anyb_check_output.txt && python3 cycle42/gateb/verify_anyb.py # Cycle 42 — Gate B: the structural account DECIDES the 38 **Exact outcome label: STRUCTURAL VERDICT — PROVEN (per-rep, proof in-file §3, subject to the Rule 1 sign-off recorded at the end; header stays COMPUTED until that sign-off). For each of the 38 named reps there is NO Gate B witness at ANY bound B — not merely none ≤ 400. The B = 1000 v2 kernel is therefore NOT needed and was NOT built; no staging entry was appended.** Scope discipline: this is a statement about the Gate B closed-form machine (the two witness shapes of §1) at these 38 integers. It is NOT a statement about Erdős–Straus for those n: every one of the 38 has ordinary ES solutions (§3, counts 3 to 14,069 per rep), consistent with their classes being covered classes whose H pieces Fraction-verify at these reps (the Gate A anchor). No "still open" language is used for the 38 any more — they are decided, in the negative, for this machine at every B. ## 1. What a witness for one of the 38 reps must satisfy (verbatim from the spec) From `wild5/I5_VARYING_SCOPING.md` §1.2 (closed-form search coordinates, Def 2.8) and §3 (Gate B), as executed by `cycle37/varying/gate_a.py`, the Gate B kernel, and Cycle 41's `raised_search.py`: - **Type II** ⇔ ∃ u, v, e: **e | u+v and 4uv | n+e**, with u, v ≤ B and e ranging over the divisors of u+v. Verification: denominators reconstructed through the π^II/ET form D = ((n+e)/4, nk(n+e)/(4v), nk(n+e)/(4u)), k = (u+v)/e, and Fraction-checked to sum to exactly 4/n. - **Type I** ⇔ ∃ u, d, f: **f | 4u²d+1 and 4ud | n+f**, with u, d ≤ B and f ranging over the divisors of 4u²d+1. Verification: denominators reconstructed through the Ia form (A1 S7 form as fallback) and Fraction-checked to sum to exactly 4/n. A rep is "witnessed at B" if such a tuple with parameters ≤ B exists and verifies; "still open at B" (T3) means no witness ≤ B — a statement about B only. The question this cycle was charged with: is the 38 reps' failure at B = 200 (Cycle 37/40) and at B = 400 (Cycle 41) a bounded phenomenon at all, or is there an obstruction at every B? ## 2. The factorisation comparison — the scarcity is SQUARE, not non-squarefree From the full Gate B return (`laptop_returns/c37_gateb_out/ gateB.json`, all 2,502 reps; `compare_shapes.py`, exact factorisation of every rep): | shape | reps | witnessed at B=200 | rate | |---|---|---|---| | squarefree | 1,529 | 1,529 | 1529/1529 | | non-squarefree, non-square | 937 | 935 | 935/937 | | **square** | **36** | **0** | **0/36** | | all | 2,502 | 2,464 | 2464/2502 | - **Non-squarefree is NOT an obstruction**: 935 non-squarefree reps were witnessed at B = 200 — 935 counterexamples to any divisibility/parity/modular condition that merely reads "non-squarefree". Any proved obstruction must read the finer shape. - The 38 unwitnessed reps are exactly: **all 36 square reps in the population** (4, 9, …, 9216) **plus 288 = 2⁵·3² and 336 = 2⁴·3·7** (the only non-square misses). Squarefree reps were witnessed 100% of the time; non-square non-squarefree reps 99.8% of the time; squares 0%. ## 3. The any-B proof (per rep) The witness conditions force B-independent finiteness, in different ways for the two types. Both arguments are complete for **verified** witnesses (the spec's §1 criterion: closed-form conditions + Fraction-verified reconstruction). **Type II — finite by the prune, which is exact at every B.** A hit needs 4uv | n+e with 1 ≤ e ≤ u+v (e is a positive divisor of u+v), hence 4uv ≤ n+e ≤ n+u+v. So every Type II witness, at any B, lies in the finite pair set {(u,v) : 4uv ≤ n+u+v} (for u = 1 this gives v ≤ (n+1)/3; the set has O(n log n) pairs). `anyb_check.c` enumerates that set and every divisor e of u+v, with the ET reconstruction and an exact (__int128) sum check. **Result: no Type II witness for any of the 38, at any B.** **Type I — finite because its denominators are an ES solution.** A verified Type I witness's denominator triple is a triple of positive integers summing to exactly 4/n — an ES solution for n — and 3-term Egyptian expansions of a fixed rational are finite and completely enumerable: the smallest denominator x satisfies n/4 < x ≤ 3n/4; for fixed x the remainder R = 4/n − 1/x = p/q forces q/p < y ≤ 2q/p; then z is forced and checked. `anyb_check.c` enumerates **all** ES solutions per rep (counts: n=4: 3; n=36: 79; n=400: 1,106; n=9216: 14,069; full table in `anyb_check_output.txt` — ES itself holds at all 38, as their covered classes require). Parameter recovery is then forced: - Ia form: the second denominator is D = (n+f)/4 = udw (w = (n+f)/(4ud) ∈ ℕ by the hit condition 4ud | n+f), so D is one of the enumerated ES denominators, f = 4D − n is forced, and u, d, w range over the finitely many factorisations udw = D — all tested against the hit conditions and the Ia Fraction check. - S7 fallback: the first denominator is X = 2udw with the same w ∈ ℕ, so X is an enumerated ES denominator, f = 2X − n is forced, and ud | X/2 — all factorisations tested against the hit conditions and the S7 Fraction check. **Result: no Type I witness for any of the 38, at any B.** **Checker validation (the zeros are not a dead checker).** The same C binary, in argv mode, finds witnesses where they exist: Type II for every one of 25 randomly sampled witnessed reps (seed 42: 46, 158, 198, 311, …, 9224) and for the S0 reps 37, 241, 409; Type I for 801 (the Gate A record's one Type I class rep, kernel hit (2,101,7)), 37, 241, 409, 311, 315, 707, 883, 973, 8545, 8745, 8991, 9029, 3, 5. **Independent second path** (`verify_anyb.py`, pure Python, Fraction arithmetic, separate code): Type II any-B enumeration agrees with the C result for **all 38** reps (none anywhere); complete Python ES enumeration + Type I recovery agrees for the **17 reps ≤ 400** (ES counts identical to the C counts, rep by rep; Type I none). `verify_anyb.json`: AGREE: True. (The Python ES path is not VM-honest above n = 400 — named bound, filed in its header; the C path covers all 38 and the Type II second path covers all 38.) **Uniform-square question — evidence, not a claim.** The same checker on 13 squares outside the population (121, 169, 289, 361, 529, 841, 961, 2209, 3481, 5041, 13225, plus 25, 49 re-checked) also finds ES solutions but no witness of either type at any B, 13/13. Together with §2 (36/36 population squares witnessless, 935 non-squarefree non-squares witnessed) this is consistent with a uniform theorem "no Gate B witness for any square n", but **no uniform proof is filed here** — the missing input is a single argument from the two divisibility systems to a contradiction at n = s² (the per-rep proofs above are finite enumerations, not that argument), and 288/336 show squareness is not the whole story at the non-square end either. Label for the uniform statement: UNDECIDED, missing input named. It is not needed to decide the 38. ## 4. Consequence for the B = 1000 kernel — NOT built, by the task's own branch Task step 2 was conditional on the structural line not deciding the 38. It decides them: a B = 1000 run (space 644,278,296 triples over the 38 reps, Cycle 41 recount — re-verified as filed there; this cycle's proof makes the recount moot for these reps) would return 0/38 with certainty, a strictly weaker statement than §3. Building/staging that kernel would spend laptop time re-deriving a bounded corollary of a proved any-B result. **No kernel was built, nothing was staged, `kaggle/laptop_staging.md` is untouched.** The Cycle 40 report-criterion fix and the Cycle 41 prime-table sizing point remain on record for any future v2 kernel on OTHER reps; they have no object here. ## 5. Failure rule — anatomy and named next experiment Anatomy of the whole Gate B miss phenomenon, now closed at the rep level: the closed-form machine's two shapes both require a divisibility coincidence (e | u+v with 4uv | n+e; f | 4u²d+1 with 4ud | n+f) that the ES solutions of these 38 integers never realise — their solution sets are non-empty (3–14,069 triples each) but lie entirely outside both parametric families, and §2 shows the failure tracks squareness (36/36) plus two highly composite non-squares, not non-squarefreeness (935 witnessed counterexamples). The B-ladder's two doublings (200, 400) were bound artefacts in appearance only; the underlying fact is B-independent. Named next experiments: (i) the uniform-square theorem — find the single divisibility argument at n = s² (missing input named in §3), with 288/336 as the control cases any such argument must also explain or explicitly exclude; (ii) a denominator-shape anatomy of the enumerated ES solutions at square n (which gcd/divisibility property do all their triples share that both families forbid?) — the enumerations in `anyb_check_output.txt` are the input. Coverage of the 66 lift subclasses is unchanged at 30/66: this line found no identity and per-rep results never moved that number. ## 6. Rule 2 scans, provenance, hashes - `compare_shapes.py` — scan `compare_shapes_scan.txt` (scanner `rule2_scan.py`, copied from cycle41/gateb): AST float literals none, Div nodes none; grep hits are path strings, the trial-division loop bound, ordinary returns, and dict.get() counting — all named, none on an exact path. The witness "rate" is stored as an exact [wit, tot] pair, never a float quotient. - `verify_anyb.py` — scan `verify_anyb_scan.txt`, run before its scored run: AST float literals none; the single Div node (scanner reports it as -1, the Cycle 41-noted AST line-number quirk) is the Fraction/Fraction division in frac_ok, on an exact path by construction. Bounds hits: the named 38-rep list, the n ≤ 400 second-path cut, and the enumeration bounds proved in §3. Truncation hits: ordinary returns/continues and the x-loop break at 4x > 3n (the proved ES bound). Defaults hits: dict.get() for reporting only. - `anyb_check.c` — not AST-scannable (C); grep check filed: no `double`, `float`, `sqrt`, or `pow(` anywhere in code (the one grep hit is the header comment's words "floating point"); all arithmetic is int64/__int128. Its named bounds are the §3 completeness bounds. The scored default run (the 38) was executed before the argv validation mode was added; that addition is dispatch-only (argc > 1) and the default path is byte-identical in behaviour — the validation runs in §3 used the edited binary. - Files (SHA-256): compare_shapes.py cdfade91303f9f1b148648be269714eef8ed8ee0346d138833994e39cafc7b08; compare_shapes.json 226b9805085dfe21dd7e045e3a90c070b6a807478999341dfcc4ca0c1a764f4d; anyb_check.c 1139e232008898f53e25c869648b7e92ebccdfdaec4c5dd651a3613a9356b276; anyb_check_output.txt 8842ea4675774c615a0ca87d097af17314b334ea73184140cb7db8968de836cf; verify_anyb.py 1e7d2c2ac8bcfc6008fe50fa6fd8b3c7bd208be64f39c832292ac2b3d72c469b; verify_anyb.json d4d9f6ced93231176098e94301be2d0accfa8bf95de843be7989c3f47a0cb905; scans as above. Run walls: C any-B run 203.9 s (throttled VM); Python second path 37.6 s. - Novelty record: no novelty claim is made. Definitions relied on: wild5/I5_VARYING_SCOPING.md §1.2/§3 (witness shapes, Gate B), cycle37/varying/FINDINGS.md §§1–2 (the machine and verification forms), cycle40/harvests/ FINDINGS.md §3 (anatomy), cycle41/gateb/FINDINGS.md (B = 400 outcome, recount). - Nothing public was made of any part of this work. No file outside cycle42/gateb/ was created or edited. fidelity: signed by coordinator (Cycle 42, non-author checker), definitions at wild5/I5_VARYING_SCOPING.md §1.2/§3 (Type II ⇔ ∃ u, v, e: e | u+v and 4uv | n+e; Type I ⇔ ∃ u, d, f: f | 4u²d+1 and 4ud | n+f — read verbatim by the coordinator and matched against §1 of this file) + cycle37/varying/FINDINGS.md §5 (the Gate B machine as executed). Coordinator spot-checks: the Type II finiteness is the spec's own prune made exact (e | u+v, e ≥ 1 ⇒ e ≤ u+v; 4uv | n+e ⇒ 4uv ≤ n+u+v — a B-independent finite set, enumerated exhaustively); the Type I reduction runs over the finitely many 3-term Egyptian expansions of 4/n per rep with the Ia parameters forced; the checker validation (25/25 sampled witnessed reps found + Type I at n = 801) guards against a definition slip in the negative direction; verify_anyb.json read directly — agree_with_C_all_compared = True, Type I/II zero on all compared reps. With this sign-off the per-rep verdict stands at PROVEN as labelled in-file; the header's COMPUTED is superseded by this line for the §3 verdict only (the §2 comparison table stays COMPUTED). The uniform square theorem remains UNDECIDED in-file and enters the registry as its own entry.