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.StrongOperatorDerivative |
| 2 | import Euler.MetricHeatEnergy |
| 3 | |
| 4 | /-! The genuine cylinder heat semigroup solves the Laplacian evolution equation. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerGaussianCylinderHeat |
| 9 | |
| 10 | open MeasureTheory EulerLiftedGradientSpace EulerPressureSpatialRegularity EulerSpatialSobolevInverse |
| 11 | EulerCylinderSobolev EulerMetricHeatEnergy EulerStrongOperatorDerivative |
| 12 | open scoped ENNReal NNReal Topology |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | /-- The real extension of a finite commuting heat product. -/ |
| 17 | def realHeatList (directions : List LiftTangent) (t : ℝ) (f : LiftL2 period) : LiftL2 period := |
| 18 | match directions with |
| 19 | | [] => f |
| 20 | | a :: tail => realLineHeat period a t (realHeatList tail t f) |
| 21 | |
| 22 | theorem realLineHeat_add (a : LiftTangent) (t : ℝ) (f g : LiftL2 period) : |
| 23 | realLineHeat period a t (f+g) = realLineHeat period a t f + realLineHeat period a t g := by |
| 24 | simp only [realLineHeat_eq_toNNReal, lineHeat_add] |
| 25 | |
| 26 | theorem realLineHeat_smul (a : LiftTangent) (t c : ℝ) (f : LiftL2 period) : |
| 27 | realLineHeat period a t (c • f) = c • realLineHeat period a t f := by |
| 28 | simp only [realLineHeat_eq_toNNReal, lineHeat_smul] |
| 29 | |
| 30 | theorem realHeatList_add (directions : List LiftTangent) (t : ℝ) (f g : LiftL2 period) : |
| 31 | realHeatList period directions t (f+g) = realHeatList period directions t f + realHeatList period directions t g := by |
| 32 | induction directions with |
| 33 | | nil => rfl |
| 34 | | cons a tail ih => simp only [realHeatList, ih, realLineHeat_add] |
| 35 | |
| 36 | @[simp] theorem realHeatList_zero_field (directions : List LiftTangent) (t : ℝ) : |
| 37 | realHeatList period directions t 0 = 0 := by |
| 38 | induction directions with |
| 39 | | nil => rfl |
| 40 | | cons a tail ih => simp only [realHeatList, ih, realLineHeat_eq_toNNReal, ← lineHeatOperator_apply, map_zero] |
| 41 | |
| 42 | @[simp] theorem realHeatList_zero_time (directions : List LiftTangent) (f : LiftL2 period) : |
| 43 | realHeatList period directions 0 f = f := by |
| 44 | induction directions with |
| 45 | | nil => rfl |
| 46 | | cons a tail ih => simp only [realHeatList, realLineHeat_zero, ih] |
| 47 | |
| 48 | theorem realHeatList_eq_toNNReal (directions : List LiftTangent) (t : ℝ) (f : LiftL2 period) : |
| 49 | realHeatList period directions t f = heatList period directions t.toNNReal f := by |
| 50 | induction directions with |
| 51 | | nil => rfl |
| 52 | | cons a tail ih => |
| 53 | change realLineHeat period a t (realHeatList period tail t f) = |
| 54 | lineHeat period a t.toNNReal (heatList period tail t.toNNReal f) |
| 55 | rw [realLineHeat_eq_toNNReal, ih] |
| 56 | |
| 57 | /-- Every strong coordinate derivative commutes with every finite heat product. -/ |
| 58 | theorem realHeatList_strongDerivative (directions : List LiftTangent) (a : LiftTangent) (t : ℝ) |
| 59 | (f g : LiftL2 period) (hD : HasDerivAt (lineOrbit period a f) g 0) : |
| 60 | HasDerivAt (lineOrbit period a (realHeatList period directions t f)) |
| 61 | (realHeatList period directions t g) 0 := by |
| 62 | induction directions with |
| 63 | | nil => exact hD |
| 64 | | cons b tail ih => |
| 65 | simp only [realHeatList, realLineHeat_eq_toNNReal] |
| 66 | exact lineHeat_strongDerivative period b a t.toNNReal _ _ ih |
| 67 | |
| 68 | /-- The finite directional heat product has the sum of its actual second derivatives as generator. -/ |
| 69 | theorem realHeatList_generator_pos {ι : Type*} (indices : List ι) (direction : ι → LiftTangent) |
| 70 | (f : LiftL2 period) (df ddf : ι → LiftL2 period) |
| 71 | (hD : ∀ i ∈ indices, HasDerivAt (lineOrbit period (direction i) f) (df i) 0) |
| 72 | (hDD : ∀ i ∈ indices, HasDerivAt (lineOrbit period (direction i) (df i)) (ddf i) 0) |
| 73 | {t : ℝ} (ht : 0 < t) : |
| 74 | HasDerivAt (fun s => realHeatList period (indices.map direction) s f) |
| 75 | ((1/2 : ℝ) • realHeatList period (indices.map direction) t ((indices.map ddf).sum)) t := by |
| 76 | induction indices with |
| 77 | | nil => simpa only [List.map_nil, List.sum_nil, realHeatList, smul_zero] using hasDerivAt_const t f |
| 78 | | cons i tail ih => |
| 79 | have htailD := fun j hj => hD j (List.mem_cons_of_mem i hj) |
| 80 | have htailDD := fun j hj => hDD j (List.mem_cons_of_mem i hj) |
| 81 | have hinput := ih htailD htailDD |
| 82 | have hfirst := realHeatList_strongDerivative period (tail.map direction) (direction i) t f (df i) |
| 83 | (hD i (List.mem_cons_self ..)) |
| 84 | have hsecond := realHeatList_strongDerivative period (tail.map direction) (direction i) t (df i) (ddf i) |
| 85 | (hDD i (List.mem_cons_self ..)) |
| 86 | have h := realLineHeat_varying_input period (direction i) |
| 87 | (fun s => realHeatList period (tail.map direction) s f) t _ _ _ ht hinput hfirst hsecond |
| 88 | have halg : realLineHeat period (direction i) t |
| 89 | ((1/2 : ℝ) • realHeatList period (tail.map direction) t ((tail.map ddf).sum)) + |
| 90 | (1/2 : ℝ) • realLineHeat period (direction i) t (realHeatList period (tail.map direction) t (ddf i)) = |
| 91 | (1/2 : ℝ) • realHeatList period ((i::tail).map direction) t (((i::tail).map ddf).sum) := by |
| 92 | rw [realLineHeat_smul, ← smul_add, ← realLineHeat_add, ← realHeatList_add] |
| 93 | simp only [List.map_cons, List.sum_cons, realHeatList] |
| 94 | rw [add_comm ((tail.map ddf).sum)] |
| 95 | rw [halg] at h |
| 96 | exact h |
| 97 | |
| 98 | end EulerGaussianCylinderHeat |