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

| 1 | import Euler.CorrectionViscosityStability |
| 2 | |
| 3 | /-! Genuine Cauchy convergence of uniformly bounded nonlinear viscous corrections in continuous cylinder L². -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerViscosityCauchy |
| 8 | |
| 9 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCorrectionOperators |
| 10 | EulerQuadraticSource EulerCorrectionStabilityBudget EulerCorrectionViscosityStability |
| 11 | open scoped Topology |
| 12 | |
| 13 | /-- An actual Lipschitz comparison transfers Cauchy convergence between normed-valued sequences. -/ |
| 14 | theorem cauchySeq_of_norm_le {X : Type*} [NormedAddCommGroup X] |
| 15 | (u : ℕ → X) (a : ℕ → ℝ) (C : ℝ) (hC : 0 ≤ C) (ha : CauchySeq a) |
| 16 | (hbound : ∀ m n, ‖u m-u n‖ ≤ C*|a m-a n|) : CauchySeq u := by |
| 17 | apply Metric.cauchySeq_iff.mpr |
| 18 | intro ε hε |
| 19 | have hd : 0 < ε/(C+1) := div_pos hε (by linarith) |
| 20 | obtain ⟨N,hN⟩ := Metric.cauchySeq_iff.mp ha (ε/(C+1)) hd |
| 21 | refine ⟨N,fun m hm n hn => ?_⟩ |
| 22 | rw [dist_eq_norm] |
| 23 | have hdist : |a m-a n| < ε/(C+1) := by simpa only [Real.dist_eq] using hN m hm n hn |
| 24 | have h := mul_le_mul_of_nonneg_left hdist.le hC |
| 25 | have hlast : C*(ε/(C+1)) < ε := by |
| 26 | have hh : C/(C+1) < 1 := (div_lt_one (by linarith : 0 < C+1)).mpr (by linarith) |
| 27 | have hm := mul_lt_mul_of_pos_right hh hε |
| 28 | calc |
| 29 | C*(ε/(C+1)) = (C/(C+1))*ε := by ring |
| 30 | _ < 1*ε := hm |
| 31 | _ = ε := one_mul ε |
| 32 | exact (hbound m n).trans_lt (h.trans_lt hlast) |
| 33 | |
| 34 | variable (period : ℝ) [Fact (0 < period)] |
| 35 | |
| 36 | /-- The genuine continuous L² path underlying a finite-Sobolev correction path. -/ |
| 37 | def valuePath {q : ℕ} (T : ℝ) (u : C(Icc (0 : ℝ) T,SobolevSpace period q)) : |
| 38 | C(Icc (0 : ℝ) T,LiftL2 period) := |
| 39 | (valueOperator period q).compLeftContinuous ℝ (Icc (0 : ℝ) T) u |
| 40 | |
| 41 | /-- The actual pointwise comparison controls the full continuous L² path norm. -/ |
| 42 | theorem correction_viscosity_norm {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) |
| 43 | (D : CorrectionData period q (Icc (0 : ℝ) T)) (B : StabilityBudget period hT D) |
| 44 | (ν μ : ℝ) (hν : 0 < ν) (hμ : 0 < μ) (hν1 : ν ≤ 1) |
| 45 | (u v : C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) (R : ℝ) |
| 46 | (huR : ‖u‖ ≤ R) (hvR : ‖v‖ ≤ R) |
| 47 | (hu : ∀ t, u t = quadraticDuhamel period ν hν hT le_rfl (D.coefficients period hq) 0 u t) |
| 48 | (hv : ∀ t, v t = quadraticDuhamel period μ hμ hT le_rfl (D.coefficients period hq) 0 v t) |
| 49 | (hz : ∀ t, value period (D.approximation t) ∈ divergenceFreeSpace period D.κ D.direction) |
| 50 | (hud : ∀ t, value period (u t) ∈ divergenceFreeSpace period D.κ D.direction) |
| 51 | (hvd : ∀ t, value period (v t) ∈ divergenceFreeSpace period D.κ D.direction) : |
| 52 | ‖valuePath period T u-valuePath period T v‖ ≤ B.comparisonConstant period R*|ν-μ| := by |
| 53 | apply (ContinuousMap.norm_le _ (mul_nonneg (B.comparisonConstant_nonneg period R) (abs_nonneg _))).mpr |
| 54 | exact correction_viscosity_pointwise period hq T hT D B ν μ hν hμ hν1 u v R huR hvR hu hv hz hud hvd |
| 55 | |
| 56 | /-- Every actual uniformly Sobolev-bounded correction family with Cauchy viscosities is Cauchy in continuous cylinder L². |
| 57 | Both the nonlinear difference equation and its metric estimate are proved internally. -/ |
| 58 | theorem correction_family_cauchy {q : ℕ} (hq : 6 ≤ q) (T : ℝ) (hT : 0 ≤ T) |
| 59 | (D : CorrectionData period q (Icc (0 : ℝ) T)) (B : StabilityBudget period hT D) |
| 60 | (ν : ℕ → ℝ) (hν : ∀ n, 0 < ν n) (hν1 : ∀ n, ν n ≤ 1) (hνc : CauchySeq ν) |
| 61 | (u : ℕ → C(Icc (0 : ℝ) T,SobolevSpace period (q+1))) (R : ℝ) |
| 62 | (huR : ∀ n, ‖u n‖ ≤ R) |
| 63 | (hu : ∀ n t, u n t = quadraticDuhamel period (ν n) (hν n) hT le_rfl (D.coefficients period hq) 0 (u n) t) |
| 64 | (hz : ∀ t, value period (D.approximation t) ∈ divergenceFreeSpace period D.κ D.direction) |
| 65 | (hud : ∀ n t, value period (u n t) ∈ divergenceFreeSpace period D.κ D.direction) : |
| 66 | CauchySeq (fun n => valuePath period T (u n)) := by |
| 67 | apply cauchySeq_of_norm_le _ ν (B.comparisonConstant period R) (B.comparisonConstant_nonneg period R) hνc |
| 68 | intro m n |
| 69 | exact correction_viscosity_norm period hq T hT D B (ν m) (ν n) (hν m) (hν n) (hν1 m) |
| 70 | (u m) (u n) R (huR m) (huR n) (hu m) (hu n) hz (hud m) (hud n) |
| 71 | |
| 72 | end EulerViscosityCauchy |