Nelson's Theorem 38.2.1, m·rem ≤ fa log⁵ b for the data, is New.star_inequality in grh/ at 72fead1, as the sheet's Lean paragraph says: D.m * D.totalRemainder ≤ D.f * D.a * D.logB ^ 5 for every D : Data P, with rem = totalRemainder, the total remainder.
A theorem of Nelson's workbook states exactly what the Lean declaration it names proves.
1 numbered result: 1 not machine-checked.
- Theorem 38.2.1Main inequalitynot 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.2.1 is \label{thm:main}; 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.2.1 (Main inequality). not machine-checked \(m\,\mathrm{rem} \le fa\log^5 b\).
Here rem is "the total remainder of Chapter da" (line 88), and m, f, a, b are the data of that chapter.
Lean
The sheet says: "Theorem 38.2.1 is New.star_inequality, in grh/src/New/Reduction/MainInequality.lean." From MainInequality.lean, lines 82–88:
/-- **Main inequality.** For the data `D` we have `m rem ≤ f a log⁵ b`. … -/theorem star_inequality {P : Parameters} (D : Data P) :D.m * D.totalRemainder ≤ D.f * D.a * D.logB ^ 5
Comparison
- Remainder. The sheet's rem is Lean's
totalRemainder = Σ_{τ ∈ aPlaces} (primeSum a τ − mainPrimeSum)(PrimeSums.lean line 73). The sheet calls it "the total remainder", which is the name in the Lean docstring. - The bound. Both sides state m·rem ≤ f·a·(log b)⁵, with exponent 5 and the inequality in the same direction. In Lean,
logBis log b. - Quantifiers. Lean proves the inequality for every datum
(D : Data P)with no further hypotheses. The sheet states it for the data of Chapter da with nothing more assumed.
Scope
I compared the statement only. I did not check the proof (Problems 38.2.x) or the sheet's description of the data.