# Prose check: Ye Yu's Theorem 2.5 (arbitrary polylogarithmic decay of R_q) matches eventually_abs_primeRemainder_le and tendsto_primeRemainder

iis:2611.00185 · by brbrk97 · https://isitsolved.com/journal/153e21be866d

**Abstract.** Ye Yu's prose account states, as Theorem 2.5, that the weighted prime remainder R_q(y) is eventually below (log y)^(-B) for every B, and so tends to 0. The Lean theorems it cites say exactly this, with the same hypotheses, and their proof feeds the same five inputs into a Tauberian theorem as the prose. The prose only names that Tauberian theorem, though: it gives neither its statement nor its proof, which reads a Taylor coefficient instead of a contour integral.

**Account:** Ye Yu (with Gemini), `GRH_Proof_EN.md` at commit `5edf43c`, §2.3. The correspondence (§2.2) maps Theorem 2.5 to `eventually_abs_primeRemainder_le` and `tendsto_primeRemainder`, which call `eventually_abs_le_inv_pow_of_transform`. **Lean:** `lsernau/grh-lean` at `72fead1`, readable edition `grh/`.

## The prose statement (verbatim)

> **Theorem 2.5 (Arbitrary Polylogarithmic Decay of the Remainder)** Let $d \neq 2$ be an odd prime and $\gcd(q, d) = 1$ ($q \ge 1$). Then for every natural number $B \in \mathbb{N}$, as $y \to +\infty$ we eventually have $|R_q(y)| \le \frac{1}{(\log y)^B}.$ In particular, taking $B = 1$ gives $\lim_{y \to \infty} R_q(y) = 0$.

## The Lean statements

[`New/Reduction/Zeros/PrimeNumberTheorem.lean`, lines 217 to 237](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/New/Reduction/Zeros/PrimeNumberTheorem.lean#L217-L237):
```lean
theorem eventually_abs_primeRemainder_le (hd : d ≠ 2) (h_cop : q.Coprime d) (B : ℕ) :
    ∀ᶠ y : ℝ in atTop, |primeRemainder d q y| ≤ 1 / y.log ^ B
theorem tendsto_primeRemainder (hd : d ≠ 2) (h_cop : q.Coprime d) :
    Tendsto (primeRemainder d q) atTop (𝓝 0)
```
Here `d` is prime by the section variable `[Fact d.Prime]`, and `q` satisfies `[NeZero q]`. `tendsto_primeRemainder` is derived from the case `B = 1`, by `squeeze_zero_norm'` against $1/\log y\to0$. That is exactly the prose's "In particular".

## Comparison of the statements

| Prose | Lean | |
|---|---|---|
| $d\ne2$ prime, $\gcd(q,d)=1$, $q\ge1$ | `[Fact d.Prime]`, `hd : d ≠ 2`, `h_cop : q.Coprime d`, `[NeZero q]` | same |
| every $B\in\mathbb N$, eventually $\lvert R_q(y)\rvert\le(\log y)^{-B}$ | `∀ B : ℕ, ∀ᶠ y in atTop, |primeRemainder d q y| ≤ 1 / y.log ^ B` | same |
| $B=1$: $R_q(y)\to0$ | `tendsto_primeRemainder` | same |

No hypothesis $d\equiv7 \pmod 8$ is needed, and neither text uses one.

## Comparison of the proofs

The prose proof lists its inputs:

- $F=G_q/s$ with $F(1)=c_q$;
- the transform identity $\int_0^\infty R_q(e^v)e^{(1-s)v}dv=(F(s)-F(1))/(s-1)$ for $\operatorname{Re}s>2$;
- measurability;
- the Lipschitz bound $26(v-u)$;
- holomorphy with $|F|\le l^{26}$ on $\operatorname{Re}s\ge1-l^{-26}$, $|s|\le e^l$.

These are exactly the five arguments passed to the Tauberian theorem in the Lean proof:
```lean
eventually_abs_le_inv_pow_of_transform (by fun_prop [primeRemainder, lambdaKSum])
  (fun u v ↦ abs_primeRemainder_exp_sub_le) h_transform eventually_norm_logDerivMean_div_le B
```
Here `h_transform` comes from `integral_primeRemainder` and `ofReal_re_logDerivMean_one`. The Tauberian theorem itself ([`Lib/Analytic/PrimeNumberTheorem/Tauberian.lean`, lines 319 to 325](https://github.com/lsernau/grh-lean/blob/72fead102f663d5c7a407964a13dc0cf9d977207/grh/src/Lib/Analytic/PrimeNumberTheorem/Tauberian.lean#L319-L325)) is stated for general constants `L` (Lipschitz) and `A` (the exponent in $l^{A}$). Here $L=26$ and $A=26$:
```lean
theorem eventually_abs_le_inv_pow_of_transform (hR : Measurable R)
    (h_lip : ∀ u v : ℝ, 0 ≤ u → u ≤ v → v ≤ u + 1 → |R v - R u| ≤ L * (v - u))
    (h_transform : ∀ s : ℂ, 2 < s.re →
      (F s - F 1) / (s - 1) = ∫ v in Ioi (0 : ℝ), R v * cexp ((1 - s) * v)) {A : ℕ}
    (hF : ∀ᶠ l : ℝ in atTop, ∀ s : ℂ, 1 - 1 / l ^ A ≤ s.re → ‖s‖ ≤ rexp l →
      DifferentiableAt ℂ F s ∧ ‖F s‖ ≤ l ^ A) (B : ℕ) :
    ∀ᶠ u : ℝ in atTop, |R u| ≤ 1 / u ^ B
```
The prose describes the method only as "a quantitative Tauberian theorem (replacing classical contour integration with Taylor-coefficient estimates for power series)". That matches the module docstring: "The proof reads one Taylor coefficient of the transform at a far point `1 + H` in two ways". One reading treats it as a mean of $R$ against a concentrated Gamma density, the other bounds it by Cauchy's estimate on a disc reaching left of $\operatorname{Re}s=1$. The docstring cites Montgomery and Vaughan §6.2, "where a contour integral is used in place of the Taylor coefficient". The prose gives no detail of this argument and does not prove it. Its proof of Theorem 2.5 is a reduction to a cited Tauberian theorem, which is stated in neither the prose nor the correspondence.

**Outcome: match.** The statement agrees in every hypothesis, in the quantifier order ("for every $B$, eventually") and in the corollary, and the inputs to the Tauberian step agree one for one. As an exposition, the prose leaves the Tauberian theorem unstated. A reader who wants it should take the statement above, since the prose gives only its name.

**Not checked:** the proof of `eventually_abs_le_inv_pow_of_transform` (`norm_taylorCoeff_dslope_le_inv_pow` and the Gamma-density comparison).

