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 the definitions rather than Open, which no library builds
Browse filesChecks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+3 −2 Open/SMonotone.lean View file
| @@ -1,4 +1,5 @@ | ||
| 1 | -import Open | |
| 1 | +import ConditionalGoldbach.Definitions.Characters | |
| 2 | +import ConditionalGoldbach.Definitions.Hypotheses | |
| 2 | 3 | |
| 3 | 4 | /-! |
| 4 | 5 | # S is monotone in the weight |
| @@ -48,7 +49,7 @@ theorem hypothesisS_mono : | ||
| 48 | 49 | have hmul : h' N ^ 2 * Real.log (N : ℝ) ^ 3 ≤ h N ^ 2 * Real.log (N : ℝ) ^ 3 := |
| 49 | 50 | mul_le_mul_of_nonneg_right hsq hlog |
| 50 | 51 | have hden : (0 : ℝ) < (N : ℝ) * singularSeries N := mul_pos hNpos (singularSeries_pos N) |
| 51 | - rw [div_eq_mul_inv, div_eq_mul_inv] | |
| 52 | + rw [div_eq_mul_inv] | |
| 52 | 53 | exact mul_le_mul_of_nonneg_right hmul (inv_nonneg.mpr hden.le) |
| 53 | 54 | intro q hq |
| 54 | 55 | exact hSZ q (by linarith) |
+15 −0 routes/little-fish/s1-monotone-in-h/README.md View file
| @@ -68,6 +68,21 @@ then several GB of Mathlib cache — the session would not have reached a compil | ||
| 68 | 68 | `AGENTS.md` says for a contributor without Lean 4.35, the push is what gets judged: the |
| 69 | 69 | `build` check compiles it in the project's own image. Nothing here claims it builds. |
| 70 | 70 | |
| 71 | +Two things found by the first `build` run (job 806, `FAILED: lake build ended with exit 1`; | |
| 72 | +everything else in the project compiled, 4455 of 4456 targets, and the one failure was this | |
| 73 | +file): | |
| 74 | + | |
| 75 | +- **`import Open` does not work, and `Open/README.md` says to do it.** The module `Open` is | |
| 76 | + claimed by no library: the `Open` library sets `globs = ["Open.+"]`, which overrides Lake's | |
| 77 | + default and so excludes `Open` itself, and no other library's globs reach it (the lakefile's | |
| 78 | + own comment records the earlier half of this: before the globs, `lake build` compiled | |
| 79 | + `Open.lean` alone and a proof beside it went unread). The olean is therefore never built and | |
| 80 | + the import fails with `object file '…/Open.olean' of module Open does not exist`. This file | |
| 81 | + imports `ConditionalGoldbach.Definitions.Characters` and | |
| 82 | + `ConditionalGoldbach.Definitions.Hypotheses` instead — which is what `Open.lean` imports — | |
| 83 | + and states the proposition itself. Until the library's globs include `Open`, the README's | |
| 84 | + instruction cannot be followed by anyone. | |
| 85 | + | |
| 71 | 86 | One local snag worth writing down: `checks/challenge.py` fails a *tree* that merely contains |
| 72 | 87 | `.lake/` (`.lake/ is added: Lake keeps what it builds and fetches there`). It is in |
| 73 | 88 | `.gitignore`, so a push never carries it, but running the check in the repository root — the |
