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.GainedMildFormula |
| 2 | import Euler.DuhamelPasting |
| 3 | |
| 4 | /-! Pasting actual high-order viscous mild solutions preserves the derivative-gaining Duhamel formula. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerGainedMildPasting |
| 9 | |
| 10 | open MeasureTheory Set EulerCylinderSobolevSpace EulerSobolevHeat EulerSobolevHeatGenerator |
| 11 | EulerVolterraConvolution EulerDuhamelDifferentiation EulerTimePathGluing EulerDuhamelPasting EulerGainedMildFormula |
| 12 | open scoped Topology |
| 13 | |
| 14 | /-- Applying an actual bounded spatial map commutes with matching-endpoint time pasting. -/ |
| 15 | theorem gluePath_map_apply {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 16 | [NormedAddCommGroup F] [NormedSpace ℝ F] (A : E →L[ℝ] F) |
| 17 | (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) |
| 18 | (u : C(Icc (0 : ℝ) a, E)) (v : C(Icc (0 : ℝ) b, E)) |
| 19 | (hmatch : u ⟨a,ha,le_rfl⟩ = v ⟨0,le_rfl,hb⟩) (t : Icc (0 : ℝ) (a+b)) : |
| 20 | A (gluePath a b ha hb u v hmatch t) = |
| 21 | gluePath a b ha hb (A.compLeftContinuous ℝ (Icc (0 : ℝ) a) u) |
| 22 | (A.compLeftContinuous ℝ (Icc (0 : ℝ) b) v) (congrArg A hmatch) t := by |
| 23 | change A (if t.val ≤ a then extendPath a ha u t.val else extendPath b hb v (t.val-a)) = |
| 24 | if t.val ≤ a then A (extendPath a ha u t.val) else A (extendPath b hb v (t.val-a)) |
| 25 | split <;> rfl |
| 26 | |
| 27 | variable (period : ℝ) [Fact (0 < period)] |
| 28 | |
| 29 | /-- Matching actual solutions on adjacent intervals give a genuine gained-derivative mild solution on the union. -/ |
| 30 | theorem glue_gained_mild {q : ℕ} (ν : ℝ) (hν : 0 < ν) (a b : ℝ) (ha : 0 ≤ a) (hb : 0 ≤ b) |
| 31 | (u : C(Icc (0 : ℝ) a, SobolevSpace period (q+1))) |
| 32 | (v : C(Icc (0 : ℝ) b, SobolevSpace period (q+1))) |
| 33 | (hmatch : u ⟨a,ha,le_rfl⟩ = v ⟨0,le_rfl,hb⟩) |
| 34 | (f : C(Icc (0 : ℝ) (a+b), SobolevSpace period q)) |
| 35 | (f1 : C(Icc (0 : ℝ) a, SobolevSpace period q)) |
| 36 | (f2 : C(Icc (0 : ℝ) b, SobolevSpace period q)) (u₀ : SobolevSpace period (q+1)) |
| 37 | (hF1 : ∀ r ∈ Icc 0 a, extendPath (a+b) (add_nonneg ha hb) f r = extendPath a ha f1 r) |
| 38 | (hF2 : ∀ r ∈ Icc 0 b, extendPath (a+b) (add_nonneg ha hb) f (a+r) = extendPath b hb f2 r) |
| 39 | (hsolu : ∀ t : Icc (0 : ℝ) a, u t = heatOperator period (q+1) (2*ν*t.val).toNNReal u₀+ |
| 40 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r (extendPath a ha f1 (t.val-r))) |
| 41 | (hsolv : ∀ t : Icc (0 : ℝ) b, v t = heatOperator period (q+1) (2*ν*t.val).toNNReal (u ⟨a,ha,le_rfl⟩)+ |
| 42 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r (extendPath b hb f2 (t.val-r))) : |
| 43 | ∀ t : Icc (0 : ℝ) (a+b), gluePath a b ha hb u v hmatch t = |
| 44 | heatOperator period (q+1) (2*ν*t.val).toNNReal u₀+ |
| 45 | ∫ r in (0 : ℝ)..t.val, heatKernel period q ν hν r (extendPath (a+b) (add_nonneg ha hb) f (t.val-r)) := by |
| 46 | let ul := (truncateOperator period q).compLeftContinuous ℝ (Icc (0 : ℝ) a) u |
| 47 | let vl := (truncateOperator period q).compLeftContinuous ℝ (Icc (0 : ℝ) b) v |
| 48 | have hml : ul ⟨a,ha,le_rfl⟩ = vl ⟨0,le_rfl,hb⟩ := congrArg (truncateOperator period q) hmatch |
| 49 | have hul := (gained_mild_iff period q ν hν a ha u₀ f1 u).mp hsolu |
| 50 | have hvl := (gained_mild_iff period q ν hν b hb (u ⟨a,ha,le_rfl⟩) f2 v).mp hsolv |
| 51 | have h := glue_ordinary_mild period ν hν.le a b ha hb ul vl hml f f1 f2 |
| 52 | (truncateOperator period q u₀) hF1 hF2 hul hvl |
| 53 | apply (gained_mild_iff period q ν hν (a+b) (add_nonneg ha hb) u₀ f |
| 54 | (gluePath a b ha hb u v hmatch)).mpr |
| 55 | intro t |
| 56 | exact (gluePath_map_apply (truncateOperator period q) a b ha hb u v hmatch t).trans (h t) |
| 57 | |
| 58 | end EulerGainedMildPasting |