# Programme 0010 — exact form of `CROSS`, and the status of B's `3/2` Run 2026-09-21. Scripts: `scripts/cross_exact.py`, `scripts/decomposition.py`, `scripts/form_identification.py`, `scripts/premise_test.py`, `scripts/reduction.py` (with matching `.out` files). **Outcome.** TASK 1 is done in the form that matters: the published `CROSS` has an **exact closed form** in four explicitly computable quantities, verified to 12 decimals and reproducing 0009's published table to all printed digits. The consequence for B is narrower than the programme hoped: the `3/2` is **not** refuted, and it is **located** exactly (it is the residue of a cancellation between two `(log log M)²`-sized pieces), but it is **not proved**. B stays `measured`. Three defects in this programme's own apparatus were found; they are recorded in §1 because an audit that finds nothing usually did not run. --- ## 1. Three defects found on the way (all in the apparatus, none in B) 1. **`b_q` is `⌊M/q⌋`, not `⌊(M−1)/q⌋`.** With the programme's range — `n` over the `m = M−2` integers `2,…,M−1` — one has `a_p = ⌊(M−1)/p⌋` **but** `b_q = ⌊M/q⌋`, because `b_q` counts `q | n+1` over `n+1 = 3,…,M`. Writing `N = M−1`, `m = M−2 = N−1`, `A_p = ⌊N/p⌋` and `B_q = ⌊(N+1)/q⌋`. An intermediate version of this work used `B_q = ⌊N/q⌋` and produced `CROSS` off by `≈0.5 %` — exactly the size of the gap between 0009's `0.217166` and that version's `0.216301`. The mismatch is how the slip was caught. 2. **The §5 "failed guess" was mis-diagnosed.** The recorded reason ("the marginal counts carry denominator `m = M−2`, not `N`, so the algebra does not collapse") is not the reason it failed. It failed because `C(p,q)` was written as a *product of marginals* `A_pB_q/m` instead of as the CRT progression count. With the correct `C` the closed form collapses exactly (§2). 3. **A dropped `O(1)` diagonal.** The published `CROSS` is an **off-diagonal** object. The centred covariance satisfies `Cov = CROSS + DIAG` with `DIAG = −(1/m²)Σ_p A_pB_p`, and that diagonal is `O(1)`, not negligible. An early version dropped it (or double-counted it) and produced a `CROSS` off by `0.45`. `cross_exact.py` now checks `Cov(omega-array) = DIAG + CROSS` end-to-end at every `M`. --- ## 2. The exact results ### 2.1 The pair count `n` runs over `2,…,M−1`; primes `p,q ≤ M+1`; `N = M−1`, `m = N−1 = M−2`, `A_p = ⌊N/p⌋`, `B_q = ⌊(N+1)/q⌋`, `s_pq = (−p⁻¹) mod q`, `r = p·s_pq`. Then > **(C1)** `C(p,q) = #{n ≤ N : p|n, q|n+1} = 1 + ⌊(N − r)/(pq)⌋` if `r ≤ N`, else `0` > `= 1 + ⌊(A_p − s_pq)/q⌋` if `s_pq ≤ A_p`, else `0`. **Verified**: 0 mismatches against brute force `#{n : p|n, q|n+1}` on samples of `3 000` pairs at `M = 1000, 2000`, and every pair at `M ≤ 2000`; and `Σ_{p,q} C(p,q) = Σ_n ω(n)ω(n+1)` exactly (`9 454` at `M = 2000`, `119 937` at `M = 20 000`). ### 2.2 The exact closed form of `CROSS` > **(X1)** `CROSS = (1/m) Σ_{p≠q} [ C(p,q) − A_p B_q/m ]` > `= (1/m) [ ΣC + D/m − (Σ_p A_p)(Σ_q B_q)/m ]`, > where `ΣC := Σ_{p≠q} C(p,q) = Σ_n ω(n)ω(n+1)` and `D := Σ_p A_p B_p`. **Verified** to `1e−11` at `M = 2000, 5000, 20000, 50000`, and the independent identity `Cov(omega-array) = DIAG + CROSS` is exact at every `M` (`scripts/cross_exact.py` → `.out`). `cross_exact.py` reproduces 0009's published A1 table to all printed digits: | `M` | 2000 | 5000 | 20000 | 50000 | |---|---|---|---|---| | 0009 published `CROSS` | `0.217166` | `0.195698` | `0.167212` | `0.152753` | | `(X1)`, this work | `0.217165865` | `0.195697527` | `0.167211843` | `0.152753065` | | `CROSS·log M` | `1.6507` | `1.6668` | `1.6560` | `1.6528` | ### 2.3 What this says about `3/2`, and the wall Write `P = π(M+1)`. `(X1)` splits `CROSS` into three computable pieces: | piece | `M = 2000` | `M = 20000` | behaviour | |---|---|---|---| | `ΣC/m` | `+4.7317` | `+5.9974` | grows like `(log log M)²` | | `D/m²` | `+0.451550` | `+0.452182` | `→ 1/2` | | `−(ΣA)(ΣB)/m²` | `−4.966116` | `−6.282420` | grows like `−(log log M)²` | | **`CROSS`** | **`0.217166`** | **`0.167212`** | `≈ 1.5/log M` | The first and third pieces are both `(log log M)²`-sized and nearly cancel (`+4.7317` against `−4.9661` at `M = 2000`); the small positive residue is `CROSS`. **The `3/2` is the residue of a cancellation of two `(log log M)²` quantities down to `O(1/log M)` — a factor of order `(log M)(log log M)²`.** So `(X1)` *locates* the constant exactly but does not bound the cancellation, and therefore does not derive it. What can be stated exactly: > **(X2)** Any proof of `CROSS = c/log M + O(1/log²M)` is equivalent to the single estimate > **(K)** `ΣC + D/m − (ΣA)(ΣB)/m = c·m/log M + O(m/log²M)`, with `c = 3/2`. 0009's fitted `c₁ ∈ [1.4992, 1.5014]` over `10⁵–10⁹` is the evidence for `c = 3/2`. Because the approach to `3/2` is slow and non-monotone — `CROSS·log M` from the exact form runs `1.6507, 1.6668, 1.6560, 1.6528` at `M = 2·10³, 5·10³, 2·10⁴, 5·10⁴` and `1.64184, 1.63594` at `M = 10⁵, 2·10⁵` — fitting alone cannot pin `c` to `3/2` over any accessible range. This is the programme's §3 point, now quantified: the `1/log²M` term is large enough at these scales to move a fitted `c₁` by `±0.005`, as 0009 itself found. > **A failed sub-attempt, recorded.** A clean fractional-part form for the *individual* bracket > `B_pq = 1 + {A_p/q} − (1 − A_p/m)(1 − {M/q})` was tried and is **wrong**; several variants > (`1 − {s/q} − …`, `{A_p/q} − …`, with branch condition `s ≤ A_p` and `s ≤ A_p mod q`) all fail > at the `O(1)` level (`cross_exact.py` records the exact count instead). The exact count `(C1)` > plus `(X1)` is the right formulation; a per-pair fractional decomposition is not needed and is > not claimed. --- ## 3. What this does to B 0009's B was > `Cov(ω(n),ω(n+1)) = −Σ_p 1/p² + (3/2)/log N + 1.64/log²N`. | claim | before 0010 | after TASK 1 | |---|---|---| | exact form of the pair count `C(p,q)` | known (CRT), re-verified | **proved**, 0 mismatches | | exact closed form of `CROSS` | unknown | **proved** — `(X1)`, verified, reproduces 0009 | | exact fractional form of the *bracket* | open, first attempt failed | **not achieved**; the closed form `(X1)` replaces it (see §2.3) | | `CROSS ≈ (3/2)/log M` | measured, `3/2` underived | **unchanged**: `(X1)` locates the constant, does not bound the cancellation | | `1/log²M` coefficient `≈1.64` | fitted | **still open**, same reason | | limit `−Σ1/p²` | heuristic | unchanged (Tao–Teräväinen heuristic) | **Neither pre-registered extreme is met.** The programme's expectation (`research-programme.md` §0, §8) that `3/2` would prove to be *not* exactly `3/2` is **not** met: `3/2` survives, and 0009's independent `A2` route (`sum/π(M) → 1.5`) is now explained exactly by `(X1)` — no model is involved in that ratio. The programme's best case (`3/2` derived) is also not met. B remains `measured`, but it is now `measured` against an exact verified formula rather than a fit. --- ## 4. Status of the 0010 tasks | task | status | |---|---| | **T1** exact form of the bracket | **done in the equivalent closed form** — `(X1)`; the per-pair fractional decomposition was not achieved and is not needed | | **T2** premise test | run in the programme head — **fails**; `(X1)` shows why no single fractional part can dominate: `CROSS` is a three-piece sum whose pieces are individually `(log log M)²`-sized | | **T3** evaluate the dominant piece | **superseded** — the object is now exact; what remains is bounding the cancellation in **(K)** | | **T4** prove the limit `CROSS → 0` | **open** | | **T5** derive the rate/constant | **reduced to (K)**; `3/2` located, not proved | | **T6** prior art | not run this session | | **T7** `10⁹` test against a predicted form | moot until (K) is settled | ## 5. The single remaining target > **(K)** `ΣC + D/m − (ΣA)(ΣB)/m = (3/2)·m/log M + O(m/log²M)`. Since `ΣC = Σ_n ω(n)ω(n+1) = Σ_{p,q} C(p,q)` and `C(p,q)` is a CRT-progression count, (K) is a second-moment statement about `Σ_p Y_p(n)Y_p(n+1)` — a sum of `m` dependent `0/1` terms. The parity barrier concerns correlations of *multiplicative functions* and does not apply to this object (programme §4); the natural tools are the Erdős–Szekeres–Pólya lattice-point method for the CRT counts and Poisson summation. (K) is the precise, falsifiable target for any continuation of 0010. **Practical instrument — a partial success, recorded honestly.** `(X1)` needs only `ΣC`, `ΣA`, `ΣB`, `D`; `ΣA`, `ΣB`, `D` are `O(π)`, but `ΣC = Σ_n ω(n)ω(n+1)` still needs the pair count. `scripts/fast_cross.py` attempts the standard Möbius route `C(p,q) = Σ_k μ(k)⌊N/(kpq)⌋`, `ΣC = Σ_k μ(k) Σ_{p,q}⌊N/(kpq)⌋`. **That identity is wrong as implemented**: it gives `ΣC = 1 140` at `M = 2000` against the true `9 454` (runner reproduces the wrong value), because the coprimality of the two *cofactors* `a = n/p`, `b = (n+1)/q` is not equivalent to summing `μ(k)` over `k | ab` with `gcd(k,pq) = 1` — the correct local factor is `#{a b = v, (a,b)=1}` and not `Σ_{k|v} μ(k)` after the range constraints `a ≤ A_p`, `b ≤ B_q` are imposed. The route needs the exact lattice-count treatment, not a naive Möbius swap, and is left as the concrete next step. `cross_exact.py`'s `O(π²)` loop remains the working instrument (verified through `M = 50 000`).