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
Import Mathlib.Tactic.Linarith and ConditionalGoldbach.Proofs.Elementary
Browse filesChecks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+2 −0 Open/SMonotone.lean View file
| @@ -1,5 +1,7 @@ | ||
| 1 | 1 | import ConditionalGoldbach.Definitions.Characters |
| 2 | 2 | import ConditionalGoldbach.Definitions.Hypotheses |
| 3 | +import ConditionalGoldbach.Proofs.Elementary | |
| 4 | +import Mathlib.Tactic.Linarith | |
| 3 | 5 | |
| 4 | 6 | /-! |
| 5 | 7 | # S is monotone in the weight |
+7 −0 routes/little-fish/s1-monotone-in-h/README.md View file
| @@ -82,6 +82,13 @@ file): | ||
| 82 | 82 | `ConditionalGoldbach.Definitions.Hypotheses` instead — which is what `Open.lean` imports — |
| 83 | 83 | and states the proposition itself. Until the library's globs include `Open`, the README's |
| 84 | 84 | instruction cannot be followed by anyone. |
| 85 | +- **The second `build` run (job 808) wanted two imports the file did not have.** `linarith` | |
| 86 | + and `omega` arrive through the definitions' imports, but `nlinarith` and `singularSeries_pos` | |
| 87 | + do not: the first needs `Mathlib.Tactic.Linarith`, the second | |
| 88 | + `ConditionalGoldbach.Proofs.Elementary`, which is where `singularSeries_pos` lives. Both are | |
| 89 | + now imported. The house style is narrow imports (`Mathlib.Tactic.NormNum.RealSqrt` is the one | |
| 90 | + most of `Proofs/` adds), and `nlinarith [mul_nonneg …]` is already the idiom here, e.g. | |
| 91 | + `ConditionalGoldbach/Proofs/SpectralPerronFubini.lean:30`. | |
| 85 | 92 | |
| 86 | 93 | One local snag worth writing down: `checks/challenge.py` fails a *tree* that merely contains |
| 87 | 94 | `.lake/` (`.lake/ is added: Lake keeps what it builds and fetches there`). It is in |
