Navier–Stokes: the Lean blow-up proof, cleaned up together
OpenAI's 2026 Lean proofs of blowup for forced Navier–Stokes and Euler, rerun by others, not refereed, no ruling from Clay; cleaned up together: more readable, faster to build

Merge pull request #202 from s1-ns-lifted-1
Browse fileschore(NavierStokes/Lifted): delete 5 declarations nothing uses
main s1-euler-all-2 s1-euler-all-3 s1-euler-base-2 s1-euler-bounded-2 s1-euler-child-2 s1-euler-common-2 s1-euler-constant-2 s1-euler-continuous-2 s1-euler-correction-2 s1-euler-correction-3 s1-euler-cylinder-2 s1-euler-cylinder-3 s1-euler-dirichlet-6 s1-euler-euler-1 s1-euler-euler-2 s1-euler-euler-6 s1-euler-exact-3 s1-euler-field-2 s1-euler-finite-3 s1-euler-flow-2 s1-euler-frozen-2 s1-euler-general-2 s1-euler-heat-2 s1-euler-hilbert-6 s1-euler-isometric-2 s1-euler-lp-2 s1-euler-lp-3 s1-euler-mean-2 s1-euler-ordinary-6 s1-euler-packet-2 s1-euler-packet-3 s1-euler-parent-2 s1-euler-quadratic-2 s1-euler-resolvent-2 s1-euler-separating-2 s1-euler-smooth-2 s1-euler-sobolev-2 s1-euler-source-6 s1-euler-time-2 s1-euler-transverse-1 s1-euler-transverse-2 s1-euler-transverse-6 s1-euler-volume-3 s1-euler-vorticity-2 s1-euler-weighted-2 s1-ns-activation-2 s1-ns-active-2 s1-ns-actual-2 s1-ns-actual-3 s1-ns-aligned-2 s1-ns-angular-2 s1-ns-annular-6 s1-ns-assembled-2 s1-ns-assembled-7 s1-ns-axis-2 s1-ns-axisymmetric-2 s1-ns-band-2 s1-ns-base-1 s1-ns-base-2 s1-ns-base-6 s1-ns-borel-2 s1-ns-borel-3 s1-ns-boundary-2 s1-ns-cauchy-2 s1-ns-closed-2 s1-ns-common-2 s1-ns-common-6 s1-ns-compact-2 s1-ns-constructed-2 s1-ns-constructed-3 s1-ns-copy-6 s1-ns-correction-2 s1-ns-correction-3 s1-ns-curl-2 s1-ns-curl-6 s1-ns-current-3 s1-ns-cycle-2 s1-ns-cycle-3 s1-ns-defect-2 s1-ns-direct-2 s1-ns-edge-6 s1-ns-entrance-2 s1-ns-error-2 s1-ns-error-3 s1-ns-even-2 s1-ns-even-3 s1-ns-exponent-2 s1-ns-final-2 s1-ns-final-6 s1-ns-first-2 s1-ns-first-3 s1-ns-flat-2 s1-ns-flat-3 s1-ns-flatness-2 s1-ns-fourier-2 s1-ns-fourier-3 s1-ns-future-2 s1-ns-gauge-2 s1-ns-gaussian-2 s1-ns-global-2 s1-ns-graph-6 s1-ns-harmonic-1 s1-ns-harmonic-6 s1-ns-heat-2 s1-ns-heat-3 s1-ns-initialized-2 s1-ns-integrated-1 s1-ns-joint-2 s1-ns-joint-3 s1-ns-label-1 s1-ns-label-6 s1-ns-linear-2 s1-ns-linear-6 s1-ns-local-2 s1-ns-localized-1 s1-ns-localized-2 s1-ns-localized-6 s1-ns-maximal-2 s1-ns-mean-1 s1-ns-mean-2 s1-ns-mixed-2 s1-ns-modulated-3 s1-ns-moment-6 s1-ns-native-2 s1-ns-natural-1 s1-ns-natural-2 s1-ns-nilpotent-2 s1-ns-offplane-1 s1-ns-offplane-2 s1-ns-offplane-6 s1-ns-oscillatory-2 s1-ns-parametric-2 s1-ns-parametric-6 s1-ns-particular-1 s1-ns-particular-2 s1-ns-particular-6 s1-ns-partitioned-6 s1-ns-past-2 s1-ns-periodic-2 s1-ns-periodic-3 s1-ns-periodized-2 s1-ns-periodized-6 s1-ns-phase-2 s1-ns-physical-2 s1-ns-physical-3 s1-ns-positive-2 s1-ns-prepared-6 s1-ns-pressure-2 s1-ns-primary-1 s1-ns-primary-2 s1-ns-primary-6 s1-ns-pulse-2 s1-ns-r3-2 s1-ns-radial-2 s1-ns-reference-2 s1-ns-regular-2 s1-ns-renormalized-2 s1-ns-residual-2 s1-ns-residual-3 s1-ns-scaled-3 s1-ns-scaling-2 s1-ns-schedule-2 s1-ns-sharp-2 s1-ns-signed-2 s1-ns-signed-3 s1-ns-similarity-2 s1-ns-slot-2 s1-ns-slow-2 s1-ns-slow-6 s1-ns-smooth-2 s1-ns-smooth-3 s1-ns-solenoidal-2 s1-ns-spacetime-3 s1-ns-spatial-2 s1-ns-squared-2 s1-ns-state-2 s1-ns-subcover-2 s1-ns-tail-2 s1-ns-temporal-2 s1-ns-temporal-3 s1-ns-terminal-1 s1-ns-terminal-6 s1-ns-time-2 s1-ns-torus-2 s1-ns-torus-3 s1-ns-transition-2 s1-ns-transport-2 s1-ns-true-1 s1-ns-uniform-2 s1-ns-variable-2 s1-ns-variable-3 s1-ns-viscous-6 s1-ns-volterra-2 s1-ns-wave-2 s1-ns-wave-3 s1-ns-weighted-2 s1-ns-weighted-3 s1-ns-whole-3 s1-ns-within-2 s1-ns-within-6
Checks
build Program · lake build and Comparator
Details
challenge Program · challenge files and build config
Details
+0 −49 NavierStokes/LiftedMeanResidual.lean View file
| @@ -508,9 +508,6 @@ omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | ||
| 508 | 508 | theorem avg_neg (f : D × ℝ → ℝ) (x : D) : avg (fun p => -f p) x = -avg f x := by |
| 509 | 509 | simp only [avg, intervalIntegral.integral_neg, neg_div] |
| 510 | 510 | |
| 511 | -omit [NormedAddCommGroup D] [NormedSpace ℝ D] in | |
| 512 | -theorem avg_zero (x : D) : avg (fun _ : D × ℝ => 0) x = 0 := by simp [avg] | |
| 513 | - | |
| 514 | 511 | theorem Regular.scalarLaplacian_smooth {U : Set D} {R : D → ℝ} {Vr Vz Vt : D → D} |
| 515 | 512 | (G : Regular U R Vr Vz Vt) {f : D × ℝ → ℝ} |
| 516 | 513 | (hf : ContDiffOn ℝ ∞ f (cylinder U)) : |
| @@ -1200,56 +1197,10 @@ theorem angularMean_fullGoodResidual {U : Set D} {c : CorrectionState.Context D} | ||
| 1200 | 1197 | H.avg_nonlinearField n hx i, avg_virtualDivergence, meanExpression_state H n hx i] |
| 1201 | 1198 | rfl |
| 1202 | 1199 | |
| 1203 | -theorem meanGoodResidual_errors (c : CorrectionState.Context D) (u : CorrectionState.State D) | |
| 1204 | - (n : ℕ) (x : D) (i : Fin 3) | |
| 1205 | - (hb : Continuous (fun θ : ℝ => u.errors.base n (x, θ) i)) | |
| 1206 | - (hg : Continuous (fun θ : ℝ => u.errors.gaussian n (x, θ) i)) | |
| 1207 | - (ha : Continuous (fun θ : ℝ => u.errors.aliasError n (x, θ) i)) : | |
| 1208 | - u.meanGoodResidual c n x i = u.reducedMeanResidual c n x i - | |
| 1209 | - CorrectionState.angularAverage (fun k p => u.errors.gaussian k p i) n x - | |
| 1210 | - CorrectionState.angularAverage (fun k p => u.errors.aliasError k p i) n x := by | |
| 1211 | - change u.reducedMeanResidual c n x i + avg (fun p => u.errors.base n p i) x - | |
| 1212 | - avg (fun p => u.errors.base n p i + u.errors.gaussian n p i + u.errors.aliasError n p i) x = | |
| 1213 | - u.reducedMeanResidual c n x i - avg (fun p => u.errors.gaussian n p i) x - | |
| 1214 | - avg (fun p => u.errors.aliasError n p i) x | |
| 1215 | - rw [avg_add (hb.add hg) ha, avg_add hb hg] | |
| 1216 | - ring | |
| 1217 | - | |
| 1218 | -theorem angularMean_fullGoodResidual_errors {U : Set D} {c : CorrectionState.Context D} {u : CorrectionState.State D} | |
| 1219 | - (H : MeanHypotheses U c u) (n : ℕ) {x : D} (hx : x ∈ U) (i : Fin 3) | |
| 1220 | - (hg : Continuous (fun θ : ℝ => u.errors.gaussian n (x, θ) i)) | |
| 1221 | - (ha : Continuous (fun θ : ℝ => u.errors.aliasError n (x, θ) i)) : | |
| 1222 | - angularMeanVector (fullGoodResidual c u) n x i = u.reducedMeanResidual c n x i - | |
| 1223 | - CorrectionState.angularAverage (fun k p => u.errors.gaussian k p i) n x - | |
| 1224 | - CorrectionState.angularAverage (fun k p => u.errors.aliasError k p i) n x := by | |
| 1225 | - rw [angularMean_fullGoodResidual H n hx i] | |
| 1226 | - exact meanGoodResidual_errors c u n x i (H.base_error_continuous n x hx i) hg ha | |
| 1227 | - | |
| 1228 | 1200 | section CanonicalGraph |
| 1229 | 1201 | |
| 1230 | 1202 | variable {S : Type} [NormedAddCommGroup S] [NormedSpace ℝ S] |
| 1231 | 1203 | |
| 1232 | -/-- The actual power-graph profile is smooth on every positive radial strip. -/ | |
| 1233 | -theorem graphOperators_profile_smooth (r : CorrectionState.ReconstructionData) | |
| 1234 | - (epsilon fast : ℕ → ℝ) (axial slowTime : S × PressureStream.Plane) (temporal : PressureStream.Plane) | |
| 1235 | - {U : Set (PressureStream.Lift S)} (hpos : ∀ x ∈ U, 0 < x.1) : | |
| 1236 | - ContDiffOn ℝ ∞ | |
| 1237 | - (CorrectionState.graphOperators r epsilon fast axial slowTime temporal).radialProfile U := by | |
| 1238 | - change ContDiffOn ℝ ∞ (fun x : PressureStream.Lift S => r.exponent * x.1 ^ (r.exponent - 1)) U | |
| 1239 | - exact contDiffOn_const.mul (contDiffOn_fst.rpow_const_of_ne (fun x hx => (hpos x hx).ne')) | |
| 1240 | - | |
| 1241 | -/-- Direct instantiation by the genuine graph operators used by the state. -/ | |
| 1242 | -theorem graphOperators_regular (r : CorrectionState.ReconstructionData) | |
| 1243 | - (epsilon fast : ℕ → ℝ) (axial slowTime : S × PressureStream.Plane) (temporal : PressureStream.Plane) | |
| 1244 | - {U : Set (PressureStream.Lift S)} (hU : IsOpen U) (hpos : ∀ x ∈ U, 0 < x.1) (n : ℕ) : | |
| 1245 | - let o := CorrectionState.graphOperators r epsilon fast axial slowTime temporal | |
| 1246 | - Regular U o.radius (radialVector o n) (axialVector o n) (temporalVector o n) := by | |
| 1247 | - let o := CorrectionState.graphOperators r epsilon fast axial slowTime temporal | |
| 1248 | - have hp : ContDiffOn ℝ ∞ o.radialProfile U := | |
| 1249 | - graphOperators_profile_smooth r epsilon fast axial slowTime temporal hpos | |
| 1250 | - refine ⟨hU, contDiffOn_fst, fun x hx => (hpos x hx).ne', ?_, contDiffOn_const, contDiffOn_const⟩ | |
| 1251 | - exact contDiffOn_const.add ((hp.const_smul (o.radialFrequency n)).smul contDiffOn_const) | |
| 1252 | - | |
| 1253 | 1204 | end CanonicalGraph |
| 1254 | 1205 | |
| 1255 | 1206 | end |
+31 −0 routes/s1-ns-lifted-1/README.md added View file
| @@ -0,0 +1,31 @@ | ||
| 1 | +--- | |
| 2 | +issue: 10 | |
| 3 | +status: working | |
| 4 | +--- | |
| 5 | +# s1-ns-lifted-1 | |
| 6 | + | |
| 7 | +One unit of S-1 (#10): dead declarations in the family `NavierStokes/Lifted*`. | |
| 8 | +I delete five declarations of `NavierStokes/LiftedMeanResidual.lean` that nothing | |
| 9 | +in the tree uses, leaving every statement and proof that stays untouched. | |
| 10 | + | |
| 11 | +Deleted: `avg_zero`, `meanGoodResidual_errors`, `angularMean_fullGoodResidual_errors`, | |
| 12 | +`graphOperators_profile_smooth`, `graphOperators_regular`. | |
| 13 | + | |
| 14 | +Left out of this branch: `angularMean_fullResidual`. The unit lists it, and nothing | |
| 15 | +uses it, but its docstring says it proves "the actual full residual averages to | |
| 16 | +equation (32)", the paper's equation, so the project's rule keeps it. It is back | |
| 17 | +in the file unchanged and is not part of this pull request. | |
| 18 | + | |
| 19 | +Checked at this head: `git grep -n -w` over `*.lean` finds no remaining use of any | |
| 20 | +of the five short names (nor of the qualified names), and no deleted docstring | |
| 21 | +names a numbered Lemma, Theorem, Proposition, Corollary, Section or Equation. | |
| 22 | +`python3 checks/challenge.py .` ends with `ok: 4 challenge files and the build | |
| 23 | +configuration as approved; 2590 Lean files, 617086 lines, toolchain | |
| 24 | +leanprover/lean4:v4.34.0-rc2`. | |
| 25 | + | |
| 26 | +## Next | |
| 27 | + | |
| 28 | +Nothing for this unit: the branch is ready to push and open. If `build` fails, the | |
| 29 | +next step is to read its log for the module `NavierStokes.LiftedMeanResidual` | |
| 30 | +(there should be no new error: the diff only removes declarations, and none is | |
| 31 | +named elsewhere in the tree). | |