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.CorrectionDifference |
| 2 | |
| 3 | /-! Fixed, actual coefficient budgets for L² viscosity stability. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerCorrectionStabilityConstants |
| 8 | |
| 9 | open MeasureTheory EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerCorrectionOperators |
| 10 | EulerCorrectionDifference EulerSobolevL2Product |
| 11 | open scoped Topology |
| 12 | |
| 13 | /-- The fixed L² Lipschitz coefficient of all non-top-transport difference terms. -/ |
| 14 | def lowerConstant (period : ℝ) [Fact (0 < period)] (q : ℕ) (A0 A2 Z R : ℝ) : ℝ := |
| 15 | A0+(4+2*A2)*sobolevEmbeddingConstant period q*(Z+R) |
| 16 | |
| 17 | /-- A fixed pointwise bound for the actual background-plus-error advecting velocity. -/ |
| 18 | def velocityBound (period : ℝ) [Fact (0 < period)] (q : ℕ) (Z R : ℝ) : ℝ := |
| 19 | sobolevEmbeddingConstant period q*(Z+R) |
| 20 | |
| 21 | /-- The squared-metric growth coefficient after the genuine transport and heat cancellations. -/ |
| 22 | def growthConstant (c Kb Kx Kt V L : ℝ) : ℝ := |
| 23 | (Kt+2*Kx*V+4*Kx^2/c^2+2*Kb*L+1)/c^2 |
| 24 | |
| 25 | /-- The fixed coefficient of the squared viscosity difference. -/ |
| 26 | def defectConstant (Kb R : ℝ) : ℝ := (Kb*(4*R))^2 |
| 27 | |
| 28 | variable (period : ℝ) [Fact (0 < period)] |
| 29 | |
| 30 | /-- Nonnegative actual coefficient and norm budgets give a nonnegative lower-order Lipschitz constant. -/ |
| 31 | theorem lowerConstant_nonneg (q : ℕ) (A0 A2 Z R : ℝ) |
| 32 | (hA0 : 0 ≤ A0) (hA2 : 0 ≤ A2) (hZ : 0 ≤ Z) (hR : 0 ≤ R) : |
| 33 | 0 ≤ lowerConstant period q A0 A2 Z R := by |
| 34 | unfold lowerConstant |
| 35 | have := sobolevEmbeddingConstant_nonneg period q |
| 36 | positivity |
| 37 | |
| 38 | /-- The actual pointwise velocity budget is nonnegative. -/ |
| 39 | theorem velocityBound_nonneg (q : ℕ) (Z R : ℝ) (hZ : 0 ≤ Z) (hR : 0 ≤ R) : |
| 40 | 0 ≤ velocityBound period q Z R := |
| 41 | mul_nonneg (sobolevEmbeddingConstant_nonneg period q) (add_nonneg hZ hR) |
| 42 | |
| 43 | /-- Actual higher Sobolev and coefficient bounds give the lower-order difference estimate in L². -/ |
| 44 | theorem differenceRemainder_uniform {q : ℕ} {T : Type*} [TopologicalSpace T] |
| 45 | (D : CorrectionData period q T) (hq : 6 ≤ q) (t : T) |
| 46 | (u v : SobolevSpace period (q+1)) (A0 A2 Z R : ℝ) |
| 47 | (hA0 : ((D.linear.coefficient t).bound : ℝ) ≤ A0) |
| 48 | (hA2 : (∑ i : Fin 3, (((D.quadratic i).coefficient t).bound : ℝ)) ≤ A2) |
| 49 | (hZ : ‖D.approximation t‖ ≤ Z) (hu : ‖u‖ ≤ R) (hv : ‖v‖ ≤ R) : |
| 50 | ‖value period (differenceRemainder period D hq t u v)‖ ≤ |
| 51 | lowerConstant period q A0 A2 Z R*‖value period (u-v)‖ := by |
| 52 | have hz0 := (norm_nonneg (D.approximation t)).trans hZ |
| 53 | have hr0 := (norm_nonneg u).trans hu |
| 54 | have ha20 : 0 ≤ A2 := (Finset.sum_nonneg (fun i _ => ((D.quadratic i).coefficient t).bound.coe_nonneg)).trans hA2 |
| 55 | have hzu : ‖D.approximation t+u‖ ≤ Z+R := (norm_add_le _ _).trans (add_le_add hZ hu) |
| 56 | have hzv : ‖D.approximation t+v‖ ≤ Z+R := (norm_add_le _ _).trans (add_le_add hZ hv) |
| 57 | apply (differenceRemainder_norm period D hq t u v).trans |
| 58 | apply mul_le_mul_of_nonneg_right _ (norm_nonneg _) |
| 59 | have h1 := mul_le_mul_of_nonneg_left hzv (mul_nonneg (by norm_num : (0 : ℝ) ≤ 4) |
| 60 | (sobolevEmbeddingConstant_nonneg period q)) |
| 61 | have h2 := mul_le_mul (mul_le_mul_of_nonneg_right hA2 (sobolevEmbeddingConstant_nonneg period q)) |
| 62 | (add_le_add hzu hzv) (add_nonneg (norm_nonneg _) (norm_nonneg _)) |
| 63 | (mul_nonneg ha20 (sobolevEmbeddingConstant_nonneg period q)) |
| 64 | unfold lowerConstant |
| 65 | nlinarith |
| 66 | |
| 67 | omit [Fact (0 < period)] in |
| 68 | /-- The actual fixed growth coefficient is nonnegative. -/ |
| 69 | theorem growthConstant_nonneg (c Kb Kx Kt V L : ℝ) |
| 70 | (hKb : 0 ≤ Kb) (hKx : 0 ≤ Kx) (hKt : 0 ≤ Kt) (hV : 0 ≤ V) (hL : 0 ≤ L) : |
| 71 | 0 ≤ growthConstant c Kb Kx Kt V L := by unfold growthConstant; positivity |
| 72 | |
| 73 | end EulerCorrectionStabilityConstants |