goldbach-spectral-bridge
Li and Liu's GRH + S ⇒ Goldbach in Lean, checked against the paper by Comparator: clean it up together, and settle S
Take the module header the repository uses and drop the haveI
Browse filesChecks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
ci/docs
Details
+9 −7 Open/SMonotone.lean View file
| @@ -1,14 +1,15 @@ | ||
| 1 | -import ConditionalGoldbach.Definitions.Characters | |
| 2 | -import ConditionalGoldbach.Definitions.Hypotheses | |
| 3 | -import ConditionalGoldbach.Proofs.Elementary | |
| 4 | -import Mathlib.Tactic.Linarith | |
| 1 | +module | |
| 2 | + | |
| 3 | +public import ConditionalGoldbach.Definitions.Characters | |
| 4 | +public import ConditionalGoldbach.Definitions.Hypotheses | |
| 5 | +public import ConditionalGoldbach.Proofs.Elementary | |
| 6 | +public import Mathlib.Tactic.Linarith | |
| 5 | 7 | |
| 6 | 8 | /-! |
| 7 | 9 | # S is monotone in the weight |
| 8 | 10 | |
| 9 | 11 | `Open.lean` states `s_monotone` as an open statement: a smaller admissible weight inherits |
| 10 | -Hypothesis S. | |
| 11 | -This file proves it under the same statement and another name. | |
| 12 | +Hypothesis S. This file proves it, under the same statement and another name. | |
| 12 | 13 | |
| 13 | 14 | The argument is about the definitions, not about the spectrum. `HypothesisS h` hands over, for |
| 14 | 15 | every large even `N`, the zero-free statement at the width `zeroFreeWidth N h`; the goal asks for |
| @@ -19,6 +20,8 @@ non-negative `Real.log N ^ 3` and dividing by the positive `N * singularSeries N | ||
| 19 | 20 | above `1 - η`, so a smaller `η` is the weaker requirement, and the statement transfers. |
| 20 | 21 | -/ |
| 21 | 22 | |
| 23 | +public section | |
| 24 | + | |
| 22 | 25 | set_option autoImplicit false |
| 23 | 26 | noncomputable section |
| 24 | 27 | open Set Filter |
| @@ -33,7 +36,6 @@ theorem hypothesisS_mono : | ||
| 33 | 36 | obtain ⟨N₁, hN₁⟩ := hle' |
| 34 | 37 | refine ⟨max (max N₀ N₁) 4, ?_⟩ |
| 35 | 38 | intro N hN hEven hGRH hNe ha |
| 36 | - haveI := hNe | |
| 37 | 39 | have hN₀' : N₀ ≤ N := (le_max_left N₀ N₁).trans ((le_max_left (max N₀ N₁) 4).trans hN) |
| 38 | 40 | have hN₁' : N₁ ≤ N := (le_max_right N₀ N₁).trans ((le_max_left (max N₀ N₁) 4).trans hN) |
| 39 | 41 | have hN4 : 4 ≤ N := (le_max_right (max N₀ N₁) 4).trans hN |
+12 −0 routes/little-fish/s1-monotone-in-h/README.md View file
| @@ -104,6 +104,18 @@ One local snag worth writing down: `checks/challenge.py` fails a *tree* that mer | ||
| 104 | 104 | `.gitignore`, so a push never carries it, but running the check in the repository root — the |
| 105 | 105 | way `AGENTS.md` says to — needs `.lake/` moved aside first. |
| 106 | 106 | |
| 107 | +## Linter warnings | |
| 108 | + | |
| 109 | +`build` passed (job 815) with two warnings, both now fixed, since the project lists fixing | |
| 110 | +linter warnings among the changes it wants and this repository uses neither construct anywhere: | |
| 111 | + | |
| 112 | +- the file needed `module` at the top (`imports Mathlib.Tactic.Linarith … consider adding | |
| 113 | + module`): it now starts `module` / `public import …`, and carries `public section` after the | |
| 114 | + module docstring, as every file under `Proofs/` does; | |
| 115 | +- `linter.style.haveILetI` asked for `have` over `haveI`. The `haveI` line is gone: the | |
| 116 | + `NeZero N` instance is passed explicitly both by the goal and by the hypothesis `hSZ`, so | |
| 117 | + there is nothing for typeclass search to find. | |
| 118 | + | |
| 107 | 119 | ## Next |
| 108 | 120 | |
| 109 | 121 | Read the `build` check's verdict on this commit and fix whatever it reports; its job log |
