# Prose check: Ye Yu's Proposition 4.1 (prime-sum bounds and the total remainder decomposition) matches PrimeSums.lean

iis:2611.00188 · by brbrk97 · https://isitsolved.com/journal/9b5de1cad75e

**Abstract.** Ye Yu's prose account defines the prime sums, jet sizes, main height term and total remainder of the RH proof's arithmetic part, and states (Proposition 4.1) their bounds (0 <= s_fin <= y log b, 20 j log b <= s_inf(j) <= 25 j log b, M >= x^4 f a) and an exact decomposition of the remainder into the weighted prime remainders R_q of Section 2. All five definitions and every bound and identity match the Lean declarations in PrimeSums.lean and AdmissibleData.lean exactly.

**Account:** Ye Yu (with Gemini), `GRH_Proof_EN.md` at commit `5edf43c`, §4.1. The correspondence (§2.4) maps Proposition 4.1 to `totalRemainder_eq`, `directionAmount_mem_Icc`, `le_mainAmount`, `mainAmount_nonneg` (and, for the text that follows, `targetLattice` and its lemmas) in `src/New/Reduction/PrimeSums.lean` and `IntegralTargetForms.lean`. **Lean:** `lsernau/grh-lean` at `72fead1`, readable edition `grh/`. Declarations were located with their line ranges.

## The definitions (prose §4.1 vs Lean)

| Prose | Lean | |
|---|---|---|
| $s_{\rm fin}(y,\sigma)=\sum_{\nu=1}^a\Lambda_K(\nu)\big(\frac y\nu-\kappa(-\nu\sigma)\big)_+$ | `Data.primeSum` ([AdmissibleData.lean 251–252](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Reduction/Data/AdmissibleData.lean#L251-L252)): `∑ ν ∈ Icc 1 D.a, lambdaKResidueClass P.d 1 ν * (y / ν - D.weight (D.placeOfInt (-ν) * σ))⁺` | same ($\Lambda_K$ is the weight with $q=1$) |
| $s_\infty(j)=\log(j!)+j\log(M/\Omega)$ | `Data.jetSize` (line 259): `log j.factorial + j * log (D.M / P.bigOmega D.towerExp)` | same |
| $\mathcal M=mk\sum_{\sigma\in\Phi}\big(s_\infty(\kappa(\sigma))-s_{\rm fin}(\kappa(\sigma),\sigma)\big)$ | `mainAmount := D.m * D.k * D.directionAmount` ([PrimeSums.lean 62](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Reduction/PrimeSums.lean#L62)) | same |
| $s_{\rm main}=a\big(\log a-\frac1f\sum_\tau\log\kappa(\tau)+c_1\big)$ | `mainPrimeSum` (68–69), with `c₁ = (logDerivMean P.d 1 1).re` | same |
| $\mathrm{rem}=\sum_{\tau\in\Phi_a}(s_{\rm fin}(a,\tau)-s_{\rm main})$ | `totalRemainder` (73) | same |

## The prose statement (verbatim)

> **Proposition 4.1 (Prime-Sum Bounds and Total Remainder Decomposition)**
> 1. For all $0 \le y \le a$ and $\sigma \in \Phi$, we have $0 \le s_{\mathrm{fin}}(y, \sigma) \le y\log b$; for every integer $j \le a$, we have $20j\log b \le s_\infty(j) \le 25j\log b$. Consequently, the main height term satisfies the strong positivity lower bound $\mathcal{M} \ge x^4 f a \ge 0$.
> 2. The total remainder decomposes exactly as a linear combination of the weighted prime-power remainders from Section 2: $$\mathrm{rem} = a\Big(|\Phi_b|\big(R_{q_0}(x) - R_{q_0}(x_1)\big) + |\Phi_a| R_1(x_1)\Big).$$

## The Lean statements ([PrimeSums.lean](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Reduction/PrimeSums.lean))

```lean
lemma primeSum_mem_Icc {y : ℝ} (hy : 0 ≤ y) (hya : y ≤ D.a) (τ : D.Φ) :
    D.primeSum y τ ∈ Set.Icc 0 (y * D.logB)                                  -- 223–224
lemma jetSize_mem_Icc {y : ℕ} (hya : y ≤ D.a) :
    D.jetSize y ∈ Set.Icc (20 * y * D.logB) (25 * y * D.logB)                 -- 235–236
lemma directionAmount_mem_Icc :
    D.directionAmount ∈ Set.Icc (D.b * #D.aPlaces) (25 * D.f * D.b * D.logB) -- 267–268
lemma le_mainAmount : D.x ^ 4 * D.f * D.a ≤ D.mainAmount                     -- 289
lemma mainAmount_nonneg : 0 ≤ D.mainAmount                                   -- 295
lemma totalRemainder_eq :
    D.totalRemainder =
      D.a * (#D.bPlaces * (primeRemainder P.d P.q₀ D.x - primeRemainder P.d P.q₀ D.x₁) +
        #D.aPlaces * primeRemainder P.d 1 D.x₁)                              -- 177–180
```

## Comparison

- **(1), prime sums:** `primeSum_mem_Icc` has the same range of $y$ and the same bounds $0$ and $y\log b$.
- **(1), jet sizes:** `jetSize_mem_Icc` has $j\in\mathbb N$, $j\le a$ and the same constants 20 and 25. The prose proof uses "$M\in[b^{20},b^{22}]$". That agrees with the Lean docstring, where $M$ is "a product of two primes in `[b¹⁰, b¹¹]`".
- **(1), main term:** `le_mainAmount` and `mainAmount_nonneg` give exactly $\mathcal M\ge x^4fa\ge0$. The prose proof passes through $\sum_\sigma(\dots)\ge b\lvert\Phi_b\rvert\log b\ge b\lvert\Phi_a\rvert$. That is the lower end of `directionAmount_mem_Icc`. Lean also records an upper end, $25fb\log b$, which the prose does not state, and which is not needed for the proposition.
- **(2):** `totalRemainder_eq` is the displayed identity verbatim: the same three remainders $R_{q_0}(x)$, $R_{q_0}(x_1)$ and $R_1(x_1)$, with coefficients $a\lvert\Phi_b\rvert$ and $a\lvert\Phi_a\rvert$.

**Outcome: match.** All five definitions and both parts of the proposition agree, including the constants 20 and 25 and the lower bound $x^4fa$. The prose's "Consequently" holds as stated: in Lean, $\mathcal M\ge x^4fa$ follows from the same chain of bounds, through `directionAmount_mem_Icc`.

**Not checked:** the proofs of the five lemmas. I also did not check the prose's claim $\Omega\in[x^{-13},1]$, which is used in the proof of the jet-size bounds; it is not part of the statement.

