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.WindowSource |
| 2 | |
| 3 | /-! Exact continuation-by-pasting for the actual projected quadratic viscous equation. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerQuadraticMildPasting |
| 8 | |
| 9 | open MeasureTheory Set EulerCylinderSobolevSpace EulerSobolevHeat EulerVolterraConvolution |
| 10 | EulerUniformHeatLocal EulerQuadraticSource EulerTimePathGluing EulerGainedMildPasting EulerWindowSource |
| 11 | open scoped Topology |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | |
| 15 | /-- The local solver's actual quadratic Duhamel formula is exactly the literal zero-offset nonlinear source formula. -/ |
| 16 | theorem quadratic_mild_window_iff {q : ℕ} (ν : ℝ) (hν : 0 < ν) {S T : ℝ} (hT : 0 ≤ T) (hTS : T ≤ S) |
| 17 | (C : Coefficients (Icc (0 : ℝ) S) (SobolevSpace period (q+1)) (SobolevSpace period q)) |
| 18 | (u₀ : SobolevSpace period (q+1)) (u : C(Icc (0 : ℝ) T, SobolevSpace period (q+1))) : |
| 19 | (∀ t, u t = quadraticDuhamel period ν hν hT hTS C u₀ u t) ↔ |
| 20 | (∀ t : Icc (0 : ℝ) T, u t = heatOperator period (q+1) (2*ν*t.val).toNNReal u₀+ |
| 21 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r |
| 22 | (extendPath T hT (windowSource C 0 T le_rfl (by simpa using hTS) u) (t.val-r))) := by |
| 23 | have he (t : Icc (0 : ℝ) T) : quadraticDuhamel period ν hν hT hTS C u₀ u t = |
| 24 | heatOperator period (q+1) (2*ν*t.val).toNNReal u₀+ |
| 25 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r |
| 26 | (extendPath T hT (windowSource C 0 T le_rfl (by simpa using hTS) u) (t.val-r)) := by |
| 27 | unfold quadraticDuhamel |
| 28 | apply congrArg (fun x => heatOperator period (q+1) (2*ν*t.val).toNNReal u₀+x) |
| 29 | apply intervalIntegral.integral_congr |
| 30 | intro r _ |
| 31 | exact congrArg (heatKernel period q ν hν r) (windowSource_zero C hT hTS u (t.val-r)).symm |
| 32 | constructor |
| 33 | · intro h t |
| 34 | exact (h t).trans (he t) |
| 35 | · intro h t |
| 36 | exact (h t).trans (he t).symm |
| 37 | |
| 38 | /-- The actual projected quadratic mild equation is preserved when a genuine local restart is appended. -/ |
| 39 | theorem glue_quadratic_mild {q : ℕ} (ν : ℝ) (hν : 0 < ν) {S : ℝ} |
| 40 | (C : Coefficients (Icc (0 : ℝ) S) (SobolevSpace period (q+1)) (SobolevSpace period q)) |
| 41 | (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) (haS : a ≤ S) (habS : a+b ≤ S) |
| 42 | (u : C(Icc (0 : ℝ) a, SobolevSpace period (q+1))) |
| 43 | (v : C(Icc (0 : ℝ) b, SobolevSpace period (q+1))) |
| 44 | (hmatch : u ⟨a,ha,le_rfl⟩ = v ⟨0,le_rfl,hb⟩) (u₀ : SobolevSpace period (q+1)) |
| 45 | (hsolu : ∀ t, u t = quadraticDuhamel period ν hν ha haS C u₀ u t) |
| 46 | (hsolv : ∀ t : Icc (0 : ℝ) b, v t = heatOperator period (q+1) (2*ν*t.val).toNNReal (u ⟨a,ha,le_rfl⟩)+ |
| 47 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r |
| 48 | (C.apply (timeWindow a b ha habS (projIcc 0 b hb (t.val-r))) (v (projIcc 0 b hb (t.val-r))))) : |
| 49 | ∀ t, gluePath a b ha hb u v hmatch t = quadraticDuhamel period ν hν (add_nonneg ha hb) habS C u₀ |
| 50 | (gluePath a b ha hb u v hmatch) t := by |
| 51 | apply (quadratic_mild_window_iff period ν hν (add_nonneg ha hb) habS C u₀ |
| 52 | (gluePath a b ha hb u v hmatch)).mpr |
| 53 | exact glue_gained_mild period ν hν a b ha hb u v hmatch |
| 54 | (windowSource C 0 (a+b) le_rfl (by simpa using habS) (gluePath a b ha hb u v hmatch)) |
| 55 | (windowSource C 0 a le_rfl (by simpa using haS) u) (windowSource C a b ha habS v) u₀ |
| 56 | (windowSource_glue_left C a b ha hb habS u v hmatch) |
| 57 | (windowSource_glue_right C a b ha hb habS u v hmatch) |
| 58 | ((quadratic_mild_window_iff period ν hν ha haS C u₀ u).mp hsolu) hsolv |
| 59 | |
| 60 | end EulerQuadraticMildPasting |