# Prose check: Ye Yu's Theorem 3.1 (existence of admissible data) matches eventually_exists_data and the Behrend, sparsity and prime-window lemmas

iis:2611.00191 · by brbrk97 · https://isitsolved.com/journal/b25105f18a82

**Abstract.** Ye Yu's prose account states, as Theorem 3.1, that for every large x the RH proof's admissible data exist with explicit scales x1 = floor(exp(x^(eps/6))), b the least multiple of q1 x1 above exp(x^eps), and m, r the least powers of 2 and 3 above sqrt(x) and x^5. The Lean theorem eventually_exists_data has the same hypotheses and the same explicit values, and the proof's steps match five Lean lemmas with the same constants. Two clauses are packed into the Lean type Data, which I did not open.

**Account:** Ye Yu (with Gemini), `GRH_Proof_EN.md` at commit `5edf43c`, §3.2. The correspondence (§2.3) maps Theorem 3.1 to `eq_of_add_mul_eq_of_sum_sq_eq`, `exists_three_term_free`, `Parameters.exists_isSparse_of_ranks`, `Parameters.exists_prime_pair_norm`, `Parameters.exists_prime_log_mem_Icc_mul_star_eq` and `eventually_exists_data`, all in [`New/Reduction/Data/Existence.lean`](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Reduction/Data/Existence.lean). **Lean:** `lsernau/grh-lean` at `72fead1`, readable edition `grh/`.

## The prose statement (verbatim)

> **Theorem 3.1 (Existence of Admissible Data)** Let $P = (q_0, d)$ satisfy the conditions of Section 3.1, and let $0 < \varepsilon < \frac{1}{100}$. For every sufficiently large positive integer $x$, there exist admissible data satisfying all compatibility conditions and all five scale inequalities of Section 3.1, together with:
> 1. $x_1 = \lfloor \exp(x^{\varepsilon/6}) \rfloor$, so that $x^{\varepsilon/6} - 1 \le \log x_1 \le x^{\varepsilon/6}$;
> 2. $b$ is the smallest positive multiple of $q_1 x_1$ strictly greater than $\exp(x^\varepsilon)$, so that $\log b \in [x^\varepsilon, x^\varepsilon + 1]$;
> 3. $m = 2^{e_1+1}$ is the smallest power of $2$ satisfying $m \ge \sqrt{x}$, $r = 3^{e_2+1}$ is the smallest power of $3$ satisfying $r \ge x^5$, and $2^s = m^{22}$;
> 4. the reference character $\upsilon_1$ (fixed globally by the ambient CM Weil data) has weight $1$ and trivial tame part, and $\Phi_b, \kappa, M, N$ satisfy all construction requirements.

## The Lean statement

[`Existence.lean`, lines 898 to 906](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Reduction/Data/Existence.lean#L898-L906):
```lean
theorem eventually_exists_data (P : Parameters) {ε : ℝ} (hε : 0 < ε) (hε_lt : ε < 1 / 100) :
    ∀ᶠ x : ℕ in atTop, ∃ D : Data P,
      D.natX = x ∧
      D.natX₁ = ⌊exp ((x : ℝ) ^ (ε / 6))⌋₊ ∧
      IsLeast {b : ℕ | D.q₁ * D.natX₁ ∣ b ∧ exp ((x : ℝ) ^ ε) < b} D.natB ∧
      IsLeast {n : ℕ | (∃ j : ℕ, n = 2 ^ j) ∧ √x ≤ n} D.m ∧
      IsLeast {n : ℕ | (∃ j : ℕ, n = 3 ^ j) ∧ (x : ℝ) ^ 5 ≤ n} D.r ∧
      (x : ℝ) ^ (ε / 6) - 1 ≤ D.logX₁ ∧
      D.logB ∈ Set.Icc ((x : ℝ) ^ ε) ((x : ℝ) ^ ε + 1)
```
"$P$ satisfies the conditions of Section 3.1" is `P : Parameters`: $18480\mid q_0$, $d$ prime, $q_0\mid2(d+1)$, $q_0\nmid d+1$. "Admissible data satisfying all compatibility conditions and all five scale inequalities" is `∃ D : Data P`. The scale inequalities, $2^s=m^{22}$, the sparse $\Phi_b$ and the primes are fields of `Data`, per the docstring and the `Data.primeRemainder_le` docstring in `OneSidedBound.lean`.

## Comparison

| Prose | Lean | |
|---|---|---|
| $0<\varepsilon<\frac1{100}$, all large integers $x$ | `0 < ε`, `ε < 1 / 100`, `∀ᶠ x : ℕ in atTop` | same |
| (1) $x_1=\lfloor\exp(x^{\varepsilon/6})\rfloor$, $x^{\varepsilon/6}-1\le\log x_1$ | `D.natX₁ = ⌊exp (x ^ (ε / 6))⌋₊`, `x ^ (ε / 6) - 1 ≤ D.logX₁` | same; the prose's upper bound $\log x_1\le x^{\varepsilon/6}$ is not stated in Lean, but it follows from the floor |
| (2) $b$ least multiple of $q_1x_1$ above $\exp(x^\varepsilon)$, $\log b\in[x^\varepsilon,x^\varepsilon+1]$ | `IsLeast {b | q₁ x₁ ∣ b ∧ exp (x ^ ε) < b} D.natB`, `D.logB ∈ Icc (x ^ ε) (x ^ ε + 1)` | same |
| (3) $m$ least power of 2 with $m\ge\sqrt x$; $r$ least power of 3 with $r\ge x^5$ | `IsLeast {n | (∃ j, n = 2 ^ j) ∧ √x ≤ n} D.m`, the same for `r` | same. The prose writes $2^{e_1+1}$, excluding $m=1$; for large $x$ the least power is $\ge2$ anyway |
| (3) $2^s=m^{22}$; (4) $\Phi_b,\kappa,M,N$ and $\upsilon_1$ | inside `Data P` | not in the theorem's type; I did not open the definition of `Data` to confirm the $\upsilon_1$ clause |

## The proof

| Prose step | Lean | |
|---|---|---|
| sphere strict convexity: $(\alpha+\alpha')v=\alpha u+\alpha'w$ on one sphere ⇒ $u=v=w$ | `eq_of_add_mul_eq_of_sum_sq_eq` (59–62) | same |
| Behrend set: $(LH)^n\le o$ ⇒ $S\subset[0,o)$, $\lvert S\rvert\ge H^n/(nH^2)$, three-term free for $\alpha+\alpha'\le L$ mod $o$ | `exists_three_term_free` (80–85) | same hypotheses, bound and conclusion |
| sparse $\Phi_b$: class $-1$ mod $q_0$, $\lvert\Phi_b\rvert\ge T(s)/W^6$, $\mathrm{Sparse}(s,kt,\Phi_b)$; under $W\le2^s\le W^n$, $(5184y)^n\le W$, $7776yn2^n\le W$, … | `Parameters.exists_isSparse_of_ranks` (488–494): `towerDeg s ≤ #T * W ^ 6`, `IsSparse s ((r + 1 - m) * (5 * r)) T`, with `(5184 * y) ^ n ≤ W`, `7776 * y * n * 2 ^ n ≤ W`, `1e6 * y ≤ W` | same constants |
| $M=p_0p_1$, $p_i\in[b^{10},b^{11}]$, by $h_K+1$ windows and class-group pigeonhole | `Parameters.exists_prime_pair_norm` (310–318), hypothesis `(2 * classNumber P.K + 2) * W ≤ L`, windows `[U, U + W]` for `10 L ≤ U ≤ 11 L`, conclusion `α * star α = p₀ * p₁` | same |
| $N\equiv1 \pmod{q_2^2}$, $\log N\in[\log N_-,\log N_-+\sqrt{\log b}]$, $N=\pi_N\bar\pi_N$ | `Parameters.exists_prime_log_mem_Icc_mul_star_eq` (513–521), windows for `m L ≤ U ≤ 24 m L`, `y * star y = N` | same; the prose's range $\log N_-\in[m\log b,24m\log b]$ is the window range in Lean |

The prose condition "$2h_K+2\le W$" matches Lean's `(2 h + 2) W ≤ L` given $W^6\le\log b=L$. The prime-window input, which the prose credits to "the Siegel–Walfisz theorem for primes in short windows", enters Lean as the `h_window` hypotheses of the two prime lemmas. It is discharged inside `eventually_exists_data`, which imports `Lib.Analytic.Primes`; I did not read that part.

**Outcome: match.** The statement agrees in its hypotheses, its quantifiers and the explicit values of $x_1$, $b$, $m$ and $r$ with their bounds. Each named step of the proof is a Lean lemma with the same constants. Two small points:

- The prose's $\log x_1\le x^{\varepsilon/6}$ is not part of the Lean conclusion, though it is immediate.
- Clause (4), "$\upsilon_1$ … has weight 1 and trivial tame part", is packed into `Data P`. I did not verify it against the definition of `Data`.

**Not checked:** the definition of `Data` (`AdmissibleData.lean`), the Siegel–Walfisz window lemma in `Lib.Analytic.Primes`, and the proofs of the five lemmas.

