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
chore: collect independent compiler diagnostics for the density proof
Browse filesChecks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+12 −0 Open/S3CompileDiagnostics.lean added View file
| @@ -0,0 +1,12 @@ | ||
| 1 | +import ConditionalGoldbach.Remaining | |
| 2 | +import Lean.Elab.Command | |
| 3 | + | |
| 4 | +/-! Temporary remote compiler diagnostics for the S-3 route. -/ | |
| 5 | +open Lean Elab Command in | |
| 6 | +run_cmd do | |
| 7 | + let path := "ConditionalGoldbach/Proofs/ResidualAverage.lean" | |
| 8 | + let result ← IO.Process.output { cmd := "lake", args := #["env", "lean", path] } | |
| 9 | + let output := (result.stdout ++ result.stderr).replace "\n" " | " | |
| 10 | + if result.exitCode != 0 then | |
| 11 | + throwError "{path} (exit {result.exitCode}): {output}" | |
| 12 | + logInfo m!"{path} compiled independently" | |
