Nelson's Theorem 38.3.1 (18480 | q0, d ≡ q0/2 − 1 mod q0 prime, ε > 0 give Rq0(y) ≤ y−1/2+ε for large real y) is New.eventually_primeRemainder_le_rpow in grh/ at 72fead1, as the sheet says: same hypotheses (NeZero, 18480 ∣ q₀, Fact d.Prime, d ≡ q₀/2 − 1 [MOD q₀], 0 < ε) and an ∀ᶠ y in atTop conclusion.
A theorem of Nelson's workbook states exactly what the Lean declaration it names proves.
1 numbered result: 1 not machine-checked.
- Theorem 38.3.1One-sided boundnot machine-checked
Lean marks come from matching the Lean names the paper gives for each result against the receipt. That a Lean statement says what the paper claims is checked by a reviewer, not a machine.
Account: Paul D. Nelson, GRH via exercises (CC BY 4.0), chapter "Theorem C and the main inequality". Source: 20261126T031100--theorem-c-and-the-main-inequality__workbook.tex at commit 4379c81. Theorem 38.3.1 is \label{thm:one-sided}; I took the number from the rendered sheet's HTML cross-references with my script sheet_numbers.py. The sheet's Lean paragraph (line 188) names the Lean declaration. Lean: lsernau/grh-lean at 72fead1, readable edition grh/.
Outcome: match.
Prose (verbatim)
Theorem 38.3.1 (One-sided bound). not machine-checked Let \(q_0 \ge 1\) be a multiple of \(18480\), let \(d \equiv q_0/2 - 1 \pmod{q_0}\) be a prime, and let \(\varepsilon > 0\). Then \(R_{q_0}(y) \le y^{-1/2 + \varepsilon}\) for all large real \(y\).
Here \(R_q\) is "the remainder \(R_{d,q}\)" of Chapter zr, written \(R_q\) for fixed d (line 51).
Lean
The sheet says Theorem 38.3.1 is New.eventually_primeRemainder_le_rpow, in grh/src/New/Reduction/OneSidedBound.lean. From OneSidedBound.lean, lines 197–202:
theorem eventually_primeRemainder_le_rpow {q₀ : ℕ} [NeZero q₀] (hq₀ : 18480 ∣ q₀) {d : ℕ}[hd_prime : Fact d.Prime] (hd : d ≡ q₀ / 2 - 1 [MOD q₀]) {ε : ℝ} (hε : 0 < ε) :∀ᶠ y : ℝ in atTop, primeRemainder d q₀ y ≤ y ^ (-1 / 2 + ε)
Comparison
- Modulus. "q₀ ≥ 1 a multiple of 18480" is
[NeZero q₀] (hq₀ : 18480 ∣ q₀). - The prime d. "d ≡ q₀/2 − 1 (mod q₀) a prime" is
Fact d.Primetogether withd ≡ q₀ / 2 - 1 [MOD q₀]. Natural-number division is exact here because q₀ is even. Since q₀/2 − 1 ≥ 9239 > 0, the truncated subtraction is harmless. - ε. "ε > 0" is
hε : 0 < ε. - Conclusion. "R_{q₀}(y) ≤ y^{−1/2+ε} for all large real y" is
∀ᶠ y : ℝ in atTop, primeRemainder d q₀ y ≤ y ^ (-1/2 + ε). The sheet's R_{d,q} isprimeRemainder d q. That correspondence is set up in the workbook's Chapter zr, whose one-sided criterion I checked as Theorem 1.4.1 (iis:2611.00278).
Scope
I compared the statement only. I did not check the proof (Problems 38.3.x).