What the Lean target says
ZetaWindowBound states the one-sided estimate on every point of arbitrarily large intervals. The separate theorem rh_of_zeta_windows takes that statement as a hypothesis and concludes Mathlib’s RiemannHypothesis. It constructs the singleton family containing the character modulo one, simplifies its weighted sum to G, and applies the analytic criterion and reflection.
theorem rh_of_zeta_windows (windows : ZetaWindowBound) :
RiemannHypothesisDownload ZetaWindow.lean · Read the mathematical derivation
The arithmetic companion
ZetaArithmetic.lean isolates the family needed at modulus one, constructs the window estimate from the submitted arithmetic inputs, and feeds it to the conditional target. The candidate’s final statement has no window hypothesis. It has been traced against the pinned source and its import tree has been measured. Its full build and axiom report remain outstanding.
Download ZetaArithmetic.lean · Trace the arithmetic inputs
Measured source dependencies
| Import root | Project files | Source lines |
|---|---|---|
| General analytic window criterion | 30 | 2,475 |
| Zeta reflection | 1 | 62 |
| Both imports of the conditional target | 31 | 2,537 |
| Both files together, including arithmetic | 175,174 | 17,373,725 |
| Original Main, including the arithmetic proof | 175,187 | 17,374,215 |
We counted original project files reachable by following imports, including each root, from the checksum-matched release. The counts exclude external libraries and both new Lean files. Including the arithmetic reduces the original import tree by only 13 files and 490 lines. Most of the shortening so far is in how a person can read the argument. The 31-file figure applies to the implication from windows to RH. The work of establishing the hypothesis is in the arithmetic construction. An exact census of constants used by an elaborated proof requires its compiled proof term.
Read the counts and the full module list (JSON) · Download the counting script
Reproduce the import counts
Use Python 3 and the joined original archive from the archive page. Put the arithmetic file beside the script. The script checks the pinned SHA-256 and reports the original, conditional and combined import counts.
python3 measure-imports.py lean.tar.gz --arithmetic ZetaArithmetic.leanVerification record
The source baseline is the original submission at 40e56bab. It pins Lean 4.33.1 and Mathlib revision 0df444a360ea. The source census and its resolved imports have been checked. A native compilation of the conditional target is in progress. This edition has no kernel or axiom result for either new file.
Check the conditional target on the pinned source
Download the Lean file into the root of the pinned project. From that directory, fetch the pinned Mathlib cache, build the two imported modules, then run the file. Its final command prints the axioms of the conditional theorem.
lake exe cache get
lake build +Development.AutomorphicArithmetic.DedekindLFunctions.LandauTheorems.ZeroFreeOfRpowWindow +Formalism.GammaFactorNonvanishing.RhOfRight
lake env lean ZetaWindow.leanCheck the arithmetic companion on a built checkout
Place both downloads in one directory outside the archive’s source tree. From the root of the pinned project, build the original modules first. In the commands below, replace /path/to/review with the directory containing both files. The arithmetic file prints the axioms of its window theorem and its RH conclusion.
lake build Main
lake env lean --root /path/to/review -o .lake/build/lib/lean/ZetaWindow.olean /path/to/review/ZetaWindow.lean
lake env lean --root /path/to/review /path/to/review/ZetaArithmetic.leanThe original proof has a separate independent verification record. Replaying a conditional theorem establishes an implication. Verifying the full claim also requires a proof of its window hypothesis and comparison with the independently stated RH target.