status: COMPUTED provenance: cycle 43, Gate B line, script cycle43/gateb/uniform_check.py (the sanity gate / second path for every computed claim below; Rule 2 scan cycle43/gateb/uniform_check_scan.txt) recompute: cd ~/workspace/erdos-straus-pilot && python3 cycle43/gateb/uniform_check.py && python3 cycle43/gateb/rule2_scan.py cycle43/gateb/uniform_check.py cycle43/gateb/uniform_check_scan.txt # Cycle 43 — Gate B: the uniform square obstruction, attempted **Exact outcome label: outcome (iii) for the full uniform theorem, with a proved outcome-(ii) fragment and an exact reduction for the rest.** The single divisibility argument covering all square reps for both shapes was NOT found. What is proved uniformly, in full below: **Type I is impossible at every even integer** (Lemma A) — this decides the Type I half for 23 of the 36 square reps and for both non-square members 288 and 336 — and **every Type II witness at an even square descends, after finitely many both-even halvings, to one of two named terminal configurations** (Lemma B). The remaining obstruction is concentrated, for both shapes, at **odd squares**, and §5 files the complete derived system there, shows exactly why it does not close, and names the missing input. The per-rep status of the 38 is DECIDED (Cycle 42) and is not reopened by anything here: every statement below is about the Gate B witness machine only, and every one of the 38 has ordinary Erdős–Straus solutions. ## 1. Witness definitions as used (verbatim sources) From `wild5/I5_VARYING_SCOPING.md` §1.2 (closed-form search coordinates, Dahan Def 2.8) and §3 (Gate B), as restated in cycle42/gateb/FINDINGS.md §1: - **Type II** ⇔ ∃ u, v, e: **e | u+v and 4uv | n+e**. Verification: denominators through the π^II/ET form D = ((n+e)/4, nk(n+e)/(4v), nk(n+e)/(4u)), k = (u+v)/e, Fraction-checked to sum to exactly 4/n. Writing t = (n+e)/(4uv) ∈ ℕ, the denominators are (uvt, nukt, nvkt). - **Type I** ⇔ ∃ u, d, f: **f | 4u²d+1 and 4ud | n+f**. Verification: denominators through the Ia form D = (udn·b_I, (n+f)/4, dw·b_I), where w = (n+f)/(4ud), e₀ = (4u²d+1)/f, b_I = e₀w − u (requires b_I > 0), or the A1 S7 fallback D = (2udw, 2udw, nudw/f) (requires f | nudw), each Fraction-checked to sum to exactly 4/n. A "Gate B witness" below means a tuple satisfying the closed-form conditions AND verifying under one of the named forms — the Cycle 42 sense. Two of the arguments below (Lemma A, and the Type I system of §5) use only the closed-form divisibility conditions, so they exclude even unverified tuples; the descent (Lemma B) is stated for closed-form tuples and its verification step is checked mechanically where it is applied (S3). ## 2. Lemma A (proved, uniform): Type I ⇒ n is odd **Claim.** If (u, d, f) satisfies f | 4u²d+1 and 4ud | n+f for some integer n, then n is odd. **Proof.** 4u²d+1 is odd, so its divisor f is odd. 4ud | n+f implies 4 | n+f, in particular n+f is even. An odd f with n+f even forces n odd. ∎ **Consequences.** - No Type I witness (verified or not) exists at any even n. In particular the Type I half of the uniform theorem is **proved for all 23 even square reps** (s even: 4, 16, 36, 64, 100, 144, 196, 256, 324, 400, 484, 576, 676, 784, 900, 1024, 1156, 1296, 1444, 1600, 8464, 8836, 9216) **and for 288 and 336** (both even; §6). - The lemma is not square-specific and does not overreach: it kills one shape only. Mechanical confirmation over the whole Gate B population (script S1): of the 2,464 verified witnesses in the return, exactly **2 are Type I, both at odd n** (801 and 9121), and all **1,235 witnessed even reps are witnessed by Type II**. So Lemma A, applied to every even witnessed rep in the population, never touches that rep's actual witness — the mandatory sanity gate for this fragment passes population-wide, not just on a sample. ## 3. Lemma B (proved, uniform): Type II descent at even n **Claim.** Let (u, v, e) be a Type II closed-form tuple at n with 4 | n (so 4 | n+e and 4 | n give **4 | e**). Then u+v is divisible by 4, so u, v have the same parity; the mixed-parity case is impossible. If moreover u, v are both even, then (u/2, v/2, e/4) is a Type II closed-form tuple at n/4, with the same t = (n+e)/(4uv), and it verifies through the ET form whenever the original does. **Proof.** 4 | e and e | u+v give 4 | u+v; an odd u+v would have only odd divisors, contradicting 4 | e — and in any case 4 | u+v is even, so u, v share parity. For the halving: write u = 2u₁, v = 2v₁, e = 4e₁, n = 4n₁. Then e | u+v reads 4e₁ | 2(u₁+v₁), i.e. 2e₁ | u₁+v₁, hence e₁ | u₁+v₁. And n+e = 4uvt reads 4n₁+4e₁ = 16u₁v₁t, i.e. n₁+e₁ = 4u₁v₁t, so 4u₁v₁ | n₁+e₁ with the same t. The halved tuple is therefore a closed-form tuple at n₁, and closed-form tuples verify through the ET form (§1), so Fraction verification carries over. ∎ **Iteration at an even square.** Let n = s², s even. Apply the halving while the parameters are both even. The process terminates (u+v strictly decreases), at a tuple for N = (s/2ʲ)², some j ≥ 0, whose parameters are **not both even**. By the parity clause, at every stage with 4 | N the parameters have the same parity, so the terminal tuple is exactly one of: - **(T-odd) j = v₂(s)** (all factors of 2 divided out): N = r² with r odd — an odd-square Type II tuple; or - **(T-both-odd)** some j < v₂(s): N still an even square, U, V both odd, 4 | E, E | U+V, N+E = 4UVT. Dividing by 4: **UVT = N/4 + E/4 with E/4 | (U+V)/4** — a solution of the *relaxed* equation (the factor 4 missing from the divisibility) at the square N/4. So a uniform Type II proof for even squares is reduced, exactly, to ruling out (T-odd) and (T-both-odd). Neither is ruled out here. (T-both-odd) is not an artefact: both-odd Type II witnesses at n ≡ 0 (mod 4) are the common case in the population (script S3: at n ≡ 0 mod 4 there are 605 Type II witnesses — 565 both-odd, 40 both-even, **0 mixed parity** — and all 40 both-even ones descend as Lemma B states, 40/40 Fraction-verified at n/4). Any argument that "rules out" both-odd parameters at even n would refute witnessed reps such as n = 20, witness (1, 3, 4); it is refuted in advance, and no such argument is filed. ## 4. What the two lemmas settle, and what they do not | reps | Type I | Type II | |---|---|---| | 23 even squares | **excluded (Lemma A)** | reduced to (T-odd)/(T-both-odd) (Lemma B) | | 13 odd squares | open (§5 system) | open (§5 residues) | | 288, 336 | **excluded (Lemma A)** | explicitly excluded from this argument (§6) | The 13 odd squares are: 9, 25, 49, 81, 225, 441, 625, 729, 1089, 1225, 1521, 8649, 9025 (script S5 re-derives the 36-square list and the split from cycle42's compare_shapes.json). ## 5. The odd-square anatomy — the derived systems, and the exact missing input Let n = s², s odd, so n ≡ 1 (mod 4) (indeed mod 8). ### 5.1 Type I: the symmetric system Suppose (u, d, f) satisfies the Type I conditions. Put w = (n+f)/(4ud) ∈ ℕ and e₀ = (4u²d+1)/f ∈ ℕ. Then: 1. f ≡ 3 (mod 4) and e₀ ≡ 3 (mod 4): 4 | n+f and n ≡ 1 (mod 4) give f ≡ 3 (mod 4); fe₀ = 4u²d+1 ≡ 1 (mod 4) then gives e₀ ≡ 3 (mod 4). 2. f | w + nu: modulo f, 4udw ≡ n (from n+f = 4udw); multiply by u to get w·(4u²d) ≡ nu (mod f), and 4u²d ≡ −1 (mod f) (from fe₀ = 4u²d+1) gives −w ≡ nu (mod f). Write m = (w + nu)/f ∈ ℕ. 3. **n·e₀ + 1 = 4ud·m**: substitute w = mf − nu into n+f = 4udw: n+f = 4udmf − 4u²dn, so n(4u²d+1) + f = 4udmf; using 4u²d+1 = fe₀ and cancelling f gives the claim. 4. **e₀w = m + u**: m + u = (ne₀+1)/(4ud) + u = (ne₀ + 1 + 4u²d)/(4ud) = (ne₀ + fe₀)/(4ud) = e₀(n+f)/(4ud) = e₀w. Hence the Ia parameter is **b_I = e₀w − u = m**: the Ia denominators are (udn·m, udw, dw·m), all positive automatically — so for odd n the closed-form conditions already force the Ia form's positivity, and the S7 fallback is the only verification route not captured by this system. 5. gcd(s, u) = gcd(s, d) = 1: from fe₀ = 4u²d+1 with f = 4udw − s², expanding gives 4udwe₀ − s²e₀ = 4u²d+1, hence **s²e₀ ≡ −1 (mod u)** and **s²e₀ ≡ −1 (mod d)**. A prime dividing both s and u (resp. d) would divide s²e₀ and s²e₀+1, hence 1. 6. Square-specific residue content: by (5) and the gcds, **−e₀ is a quadratic residue mod u and mod d** (−e₀ ≡ (s⁻¹)² in each modulus). This condition really does use squareness: at the witnessed rep n = 9121, Type I witness (u, d, f) = (6, 78, 239), e₀ = 47, the analogue −e₀ ≡ 31 (mod 78) is a non-residue mod 13 (squares mod 13 are 1, 3, 4, 9, 10, 12; 31 ≡ 5) — so condition (6) fails at a witnessed rep and is not a disguised overreach. (All of (2)–(4), by contrast, hold at every Type I witness: script S4 verifies the identities on both Type I witnesses in the population, 2/2.) **Why (1)–(6) do not close.** The system (fe₀ = 4u²d+1, n+f = 4udw, ne₀+1 = 4udm, e₀w = m+u, fm = w+nu) is consistent as a system of divisibilities — it is satisfied, with n a non-square, at n = 801 and n = 9121 — and its square-specific content is the single residue condition (6) (plus f ≡ e₀ ≡ 3 mod 4, which the witnessed n = 801 also satisfies: 801 ≡ 1 mod 4, its f = 7 ≡ 3 mod 4). Residue conditions of type (6) are satisfiable in isolation (e.g. −e₀ ≡ (s⁻¹)² has solutions for every modulus), so no contradiction can be extracted from them alone. **Missing input (Type I, odd squares), named exactly:** a second, independent condition on the same data that conflicts with (6) — concretely, either (a) a prime divisor q of u or d at which −e₀ is forced to be a non-residue by an argument not among (1)–(6) (the natural candidate source is the S7 route / the second denominator dw·m, which the system above does not constrain beyond positivity), or (b) a descent: a construction, from (u, d, f) at s², of a Type I tuple at a strictly smaller square (the halving descent of Lemma B has no Type I analogue here, because (5) gives gcd(s, ud) = 1 — the parameters are already coprime to s, so there is nothing to divide out). ### 5.2 Type II: the residue condition Suppose (u, v, e) is a Type II tuple at n = s², s odd, t = (n+e)/(4uv). Then e ≡ 3 (mod 4) (from 4 | n+e, n ≡ 1 mod 4). Hence e has a prime divisor p ≡ 3 (mod 4) with v_p(e) odd (the p ≡ 3 mod 4 part of e is ≡ 3 mod 4, since all other prime-power factors are ≡ 1 mod 4). For such a p: - If p ∤ u (hence p ∤ v, since p | e | u+v and v ≡ −u (mod p); and p ∤ t): mod p the equation n+e = 4uvt gives s² ≡ −4u²t, i.e. **−t is a quadratic residue mod p**, and since −1 is a non-residue mod p (p ≡ 3 mod 4), **t is a quadratic non-residue mod p**. - If p | t (still p ∤ u): then p | s, and v_p(n+e) = min(2v_p(s), v_p(e)) (the two valuations have opposite parity, so no cancellation), which equals v_p(t) ≥ 1 — consistent, no contradiction. - If p | u: then p | v and p | s, a valuation branch (v_p(n+e) vs v_p(u)+v_p(v)+v_p(t)) that the per-rep enumerations of Cycle 42 kill case by case but which no congruence above excludes uniformly. **Missing input (Type II, odd squares), named exactly:** an independent condition forcing t to be a quadratic residue mod p, or excluding the p | t and p | u branches uniformly. Every residue fact derived here is a consequence of the single equation n+e = 4uvt read mod p; the system is consistent at that level (example: mod 7, t = 3 is a non-residue, and s² ≡ −4u²t (mod 7) is satisfiable — u = 1, s = 3: 9 ≡ −12 ≡ 2 (mod 7) — so the congruences alone admit solutions and cannot yield the contradiction). The same statement, with t in place of the parameters, is what (T-odd) of Lemma B needs, and (T-both-odd) needs in addition a handle on the relaxed equation UVT = N/4 + E/4, E/4 | (U+V)/4, at even squares. ### 5.3 Failure anatomy, in one paragraph The attempt's two shapes fail to unify for a structural reason the anatomy makes visible: Type I's obstruction at even n is a *parity of the divisor* fact (f must be odd, n+f must be divisible by 4) that evaporates at odd n, where the conditions reorganise into the symmetric, self-dual system of §5.1 — a system with genuine non-square solutions, distinguished from squares only by one residue condition. Type II's obstruction at even n is a *descent* that terminates exactly where Type I's begins (odd squares) or in a relaxed equation with no Gate B interpretation. Squareness enters both surviving systems only through quadratic-residue conditions (−e₀ mod u, d; −t mod p), and a single residue condition per modulus is never a contradiction. The next experiment aimed at the mechanism is therefore not another congruence: it is a search for the second condition — specifically, an analysis of the dw·m (Type I) and nk(n+e)/(4u), nk(n+e)/(4v) (Type II) denominators' residue behaviour at the same moduli, or a Vieta-jumping argument on the §5.1 system (treating ne₀+1 = 4udm and fe₀ = 4u²d+1 as a Vieta pair in (f, e₀) / (w, m)), neither of which was completed in this line. ## 6. Disposition of 288 and 336 - **288 = 2⁵·3² and 336 = 2⁴·3·7 are explicitly excluded from the uniform square argument**, for a stated reason: they are not squares, and the argument's Type II half (Lemma B iteration) is a descent on the exponent of 2 in a *square* — at 288, n/4 = 72 is not a square, at 336, n/4 = 84 is not a square, so the iteration leaves the class the theorem is about after one step and the terminal-case analysis of §3 does not apply. - **What does reach them:** Lemma A is n-parity only, so it **does** exclude Type I witnesses at 288 and 336 (both even), uniformly and completely. - Their Type II status stands exactly as Cycle 42 decided it (no witness at any B, by the B-independent forcing 4uv ≤ n+u+v and exhaustive enumeration of the forced finite set) — a per-rep proof, not a corollary of anything in this file. ## 7. Sanity gate (mandatory; script S1–S5, all PASS) File: `uniform_check.json` — verdict "ALL CHECKS PASS". - **S1 (population, Lemma A):** Type I witnesses in the full 2,502-rep return: 2 total, 0 at even n; witnessed even reps: 1,235, all witnessed by Type II. Lemma A therefore does not "prove" non-existence at any witnessed rep. - **S2 (sampled witnessed reps, headline hypothesis):** deterministic first-in-population sample by (shape, parity): n = 840 (non-squarefree non-square, even, Type II (1, 71, 12)), n = 845 (non-squarefree non-square, odd, Type II (1, 2, 3)), n = 2 (squarefree, even, Type II (1, 1, 2)), n = 3 (squarefree, odd, Type II (1, 1, 1)). For every sampled rep the headline hypothesis "n is a perfect square" is **false**, and for the even members Lemma A's hypothesis holds but their witnesses are Type II, which Lemma A does not address. No part of the filed argument applies to any sampled witnessed rep to exclude its witness. - **S3 (population, Lemma B):** at n ≡ 0 (mod 4): 605 Type II witnesses, e not divisible by 4: 0; mixed parity: 0; both-even: 40, of which descent-verified at n/4: 40; both-odd: 565 (the terminal case is populated, confirming §3 does not overclaim). - **S4 (Type I identities):** both Type I witnesses in the population (801: (2, 101, 7); 9121: (6, 78, 239)) satisfy fm = w + nu, ne₀ + 1 = 4udm, e₀w = m + u exactly — the §5.1 derivation steps are validated on real witnesses. - **S5 (the 38):** the unwitnessed list re-read from cycle42/gateb/compare_shapes.json: 36 squares (23 even, 13 odd, listed in §4) plus exactly {288, 336}, non-squares re-verified by exact square test. ## 8. Rule 2 scan, provenance, hashes - `uniform_check.py` — scan `uniform_check_scan.txt` (scanner `rule2_scan.py`, copied unchanged from cycle42/gateb): AST float literals none; the single Div node (reported as −1, the known AST line-number quirk) is the Fraction/Fraction division in the ET verification helper, on an exact path by construction. Grep float hits (10) are path strings, docstring text and `//` integer-division operators — none is floating-point arithmetic. Bounds hit (1): the trial-division loop of the squarefree test, a named exact helper. Truncation hits (13): ordinary returns, the ET helper's early `False` returns on failed divisibility (a check, not a search truncation), and one `continue` in the S3 loop skipping reps with n % 4 ≠ 0 (the stated S3 scope). Defaults hits: 0. No exception handlers, no environment reads, no randomness (the S2 sample is a fixed first-in-population rule). The script was not modified between its scored run and the scan; hashes below are of the scored bytes. - Files (SHA-256): uniform_check.py 031e7ac195ada9f2c9e6e67a6d55525af3ac22abf14eb29da9fed744e674d7fe (7,654 B); uniform_check.json a2d1f68eef5347454d0e87f6dc7fae1d37b2ee21927647c1e6c57b48899c86f0 (2,025 B); uniform_check_scan.txt 418daef315fba687bfbe7f5f67815c4bf927e5ac9b87809b44cdbd9677ff532c (1,317 B); rule2_scan.py c8876efc843637c75aa3b5c96554ea645addaac05f0fa3b0b11962bd39c2210 (copied from cycle42/gateb). - Fidelity (Mechanism Rule 1): status COMPUTED (header) — Lemmas A and B and the §5 derivations are proved in full in this file and can be checked without the code; the sanity gate and the population counts rest on the single deterministic computation above, whose inputs are Cycle 42's filed compare_shapes.json and the Cycle 37 Gate B return. No coordinator sign-off has been sought. UNSIGNED. - Novelty record: no novelty claim is made. Definitions relied on: wild5/I5_VARYING_SCOPING.md §1.2/§3, cycle41/gateb/FINDINGS.md, cycle42/gateb/FINDINGS.md §§1–3 (the per-rep any-B decision this line does not reopen). - Nothing public was made of any part of this work. No file outside cycle43/gateb/ was created or edited, and nothing was staged to the laptop. ## Proposed registry integration For the coordinator to integrate into CHECKPOINT.md (this line does not edit it): - **Uniform square theorem entry: NOT decided — re-scope per outcome (iii), with the following proved fragments and reduction recorded.** (a) Type I at even n is excluded by a uniform parity argument (Lemma A): the Type I half is decided for 23/36 square reps and for 288/336. (b) Type II at even squares reduces, by the halving descent (Lemma B), to two named terminal configurations: an odd-square tuple (T-odd) or a both-odd relaxed-equation solution (T-both-odd). (c) The uniform statement therefore stands or falls with the **odd-square case for both shapes**, where the complete derived systems are filed (Cycle 43 §5) and the missing input is named exactly: a second, independent residue/valuation condition conflicting with −e₀ being a QR mod u and mod d (Type I) resp. t being a non-residue mod p | e, p ≡ 3 (mod 4) (Type II), or a Vieta/descent argument on the §5.1 symmetric system. Suggested next experiment, in order: residue analysis of the remaining denominators at the same moduli; Vieta jumping on (fe₀ = 4u²d+1, ne₀+1 = 4udm). - **288/336 entry:** Type I excluded uniformly (Lemma A); Type II explicitly **not** reached by the uniform argument (descent leaves the square class: 288/4 = 72, 336/4 = 84 are not squares); their status remains the Cycle 42 per-rep decision. - The 38 reps' per-rep status is unchanged (Cycle 42, DECIDED); this line adds no witness, removes none, and makes no statement about Erdős–Straus at any n. fidelity: signed by coordinator (Cycle 43, 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 — matched against §1 of this file). Coordinator spot-checks: Lemma A's proof re-verified (f | odd ⇒ f odd; 4ud | n+f ⇒ n+f even ⇒ n odd); Lemma B's halving algebra re-verified line by line (4 | e from 4 | n and 4uv | n+e; 4e₁ | 2(u₁+v₁) ⇒ e₁ | u₁+v₁; n₁+e₁ = 4u₁v₁t with the same t); the §5.1 identities re-derived (ne₀+1 = 4udm by substituting w = mf − nu into n+f = 4udw and cancelling f; e₀w = m+u, hence b_I = m; s²e₀ ≡ −1 mod u and mod d, hence gcd(s,u) = gcd(s,d) = 1 and −e₀ a QR mod u, d); the §5.2 step re-checked (p | e, p ≡ 3 mod 4, v_p(e) odd, p ∤ u ⇒ s² ≡ −4u²t (mod p) ⇒ t a non-residue mod p). On this sign-off, Lemmas A and B and the §5 derivations stand PROVEN as written in-file (complete proofs, checkable without the code); the header's COMPUTED stands for the population counts and the sanity-gate tallies (single deterministic computation, uniform_check.py). The uniform theorem itself is NOT decided — outcome (iii) with the proved (ii) fragment, as labelled in-file.