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.HeatMaximalEstimate |
| 2 | import Euler.QuadraticCauchy |
| 3 | |
| 4 | /-! Strong L²-time H² Cauchy convergence from genuine heat energy, avoiding weak compactness. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerHeatMaximalCauchy |
| 9 | |
| 10 | open MeasureTheory Set EulerLiftedGradientSpace EulerCylinderSobolevSpace EulerSobolevLaplacian |
| 11 | EulerHeatMaximalEstimate EulerTimeLp EulerVolterraConvolution |
| 12 | open scoped Topology |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | /-- A bounded linear observation preserves the difference form of the forced heat right hand side. -/ |
| 17 | theorem linear_heat_rhs_sub {X Y Z : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 18 | [NormedAddCommGroup Y] [NormedSpace ℝ Y] [NormedAddCommGroup Z] [NormedSpace ℝ Z] |
| 19 | (L : Y →L[ℝ] Z) (A : X →L[ℝ] Y) (ν : ℝ) (u v : X) (f g : Y) : |
| 20 | L (ν • A (u-v)+(f-g)) = L (ν • A u+f)-L (ν • A v+g) := by |
| 21 | rw [map_sub A, smul_sub, sub_add_sub_comm, map_sub L] |
| 22 | |
| 23 | /-- The difference of two actual differentiated heat equations is the same linear equation with difference source. -/ |
| 24 | theorem first_derivative_difference (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) |
| 25 | (u v : C(Icc (0 : ℝ) T, SobolevSpace period 3)) |
| 26 | (f g : C(Icc (0 : ℝ) T, SobolevSpace period 1)) (t : ℝ) (i : Fin 4) |
| 27 | (hu : HasDerivAt (fun s => value period (derivativeOperator period 2 i (extendPath T hT u s))) |
| 28 | (value period (derivativeOperator period 0 i |
| 29 | (ν • laplacianOperator period 1 (extendPath T hT u t) + extendPath T hT f t))) t) |
| 30 | (hv : HasDerivAt (fun s => value period (derivativeOperator period 2 i (extendPath T hT v s))) |
| 31 | (value period (derivativeOperator period 0 i |
| 32 | (ν • laplacianOperator period 1 (extendPath T hT v t) + extendPath T hT g t))) t) : |
| 33 | HasDerivAt (fun s => value period (derivativeOperator period 2 i (extendPath T hT (u-v) s))) |
| 34 | (value period (derivativeOperator period 0 i |
| 35 | (ν • laplacianOperator period 1 (extendPath T hT (u-v) t) + extendPath T hT (f-g) t))) t := by |
| 36 | have h := hu.fun_sub hv |
| 37 | have he : (fun s => value period (derivativeOperator period 2 i (extendPath T hT (u-v) s))) = |
| 38 | fun s => value period (derivativeOperator period 2 i (extendPath T hT u s)) - |
| 39 | value period (derivativeOperator period 2 i (extendPath T hT v s)) := by |
| 40 | funext s |
| 41 | exact map_sub ((valueOperator period 2).comp (derivativeOperator period 2 i)) |
| 42 | (u (projIcc 0 T hT s)) (v (projIcc 0 T hT s)) |
| 43 | have hr : value period (derivativeOperator period 0 i |
| 44 | (ν • laplacianOperator period 1 (extendPath T hT (u-v) t) + extendPath T hT (f-g) t)) = |
| 45 | value period (derivativeOperator period 0 i |
| 46 | (ν • laplacianOperator period 1 (extendPath T hT u t) + extendPath T hT f t)) - |
| 47 | value period (derivativeOperator period 0 i |
| 48 | (ν • laplacianOperator period 1 (extendPath T hT v t) + extendPath T hT g t)) := by |
| 49 | exact linear_heat_rhs_sub ((valueOperator period 0).comp (derivativeOperator period 0 i)) |
| 50 | (laplacianOperator period 1) ν (u (projIcc 0 T hT t)) (v (projIcc 0 T hT t)) |
| 51 | (f (projIcc 0 T hT t)) (g (projIcc 0 T hT t)) |
| 52 | rw [he, hr] |
| 53 | exact h |
| 54 | |
| 55 | /-- Restrict a regularized path to its actual H¹ topology. -/ |
| 56 | def lowerPath (T : ℝ) (u : C(Icc (0 : ℝ) T, SobolevSpace period 3)) : |
| 57 | C(Icc (0 : ℝ) T, SobolevSpace period 1) := |
| 58 | (restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ (Icc (0 : ℝ) T) u |
| 59 | |
| 60 | /-- Embed the actual H² restriction of a regularized path into L² time. -/ |
| 61 | def higherTime (T : ℝ) (hT : 0 ≤ T) (u : C(Icc (0 : ℝ) T, SobolevSpace period 3)) : |
| 62 | TimeLp T (SobolevSpace period 2) := |
| 63 | pathLp T hT ((truncateOperator period 2).compLeftContinuous ℝ (Icc (0 : ℝ) T) u) |
| 64 | |
| 65 | /-- Embed the actual undifferentiated forcing into L² time. -/ |
| 66 | def sourceTime (T : ℝ) (hT : 0 ≤ T) (f : C(Icc (0 : ℝ) T, SobolevSpace period 1)) : |
| 67 | TimeLp T (LiftL2 period) := |
| 68 | pathLp T hT ((valueOperator period 1).compLeftContinuous ℝ (Icc (0 : ℝ) T) f) |
| 69 | |
| 70 | /-- The lower path restriction preserves differences. -/ |
| 71 | theorem lowerPath_sub (T : ℝ) (u v : C(Icc (0 : ℝ) T, SobolevSpace period 3)) : |
| 72 | lowerPath period T (u-v) = lowerPath period T u-lowerPath period T v := |
| 73 | map_sub ((restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ (Icc (0 : ℝ) T)) u v |
| 74 | |
| 75 | /-- The actual higher time embedding preserves differences. -/ |
| 76 | theorem higherTime_sub (T : ℝ) (hT : 0 ≤ T) (u v : C(Icc (0 : ℝ) T, SobolevSpace period 3)) : |
| 77 | higherTime period T hT (u-v) = higherTime period T hT u-higherTime period T hT v := by |
| 78 | let A := (truncateOperator period 2).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 79 | exact (congrArg (pathLp T hT) (map_sub A u v)).trans (pathLp_sub T hT (A u) (A v)) |
| 80 | |
| 81 | /-- The actual source time embedding preserves differences. -/ |
| 82 | theorem sourceTime_sub (T : ℝ) (hT : 0 ≤ T) (f g : C(Icc (0 : ℝ) T, SobolevSpace period 1)) : |
| 83 | sourceTime period T hT (f-g) = sourceTime period T hT f-sourceTime period T hT g := by |
| 84 | let A := (valueOperator period 1).compLeftContinuous ℝ (Icc (0 : ℝ) T) |
| 85 | exact (congrArg (pathLp T hT) (map_sub A f g)).trans (pathLp_sub T hT (A f) (A g)) |
| 86 | |
| 87 | /-- The true linear heat equation controls actual H² time differences by lower path and source differences. -/ |
| 88 | theorem heat_H2_difference_bound (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) |
| 89 | (u v : C(Icc (0 : ℝ) T, SobolevSpace period 3)) |
| 90 | (f g : C(Icc (0 : ℝ) T, SobolevSpace period 1)) |
| 91 | (hd : ∀ t ∈ Ioo 0 T, ∀ i : Fin 4, |
| 92 | HasDerivAt (fun s => value period (derivativeOperator period 2 i (extendPath T hT (u-v) s))) |
| 93 | (value period (derivativeOperator period 0 i |
| 94 | (ν • laplacianOperator period 1 (extendPath T hT (u-v) t) + extendPath T hT (f-g) t))) t) : |
| 95 | ‖higherTime period T hT u-higherTime period T hT v‖^2 ≤ |
| 96 | (T+4*ν⁻¹)*‖lowerPath period T u-lowerPath period T v‖^2 + |
| 97 | (ν⁻¹)^2*‖sourceTime period T hT f-sourceTime period T hT g‖^2 := by |
| 98 | exact EulerQuadraticCauchy.transport_quadratic_bound (T+4*ν⁻¹) ((ν⁻¹)^2) |
| 99 | (higherTime period T hT (u-v)) (higherTime period T hT u-higherTime period T hT v) |
| 100 | (lowerPath period T (u-v)) (lowerPath period T u-lowerPath period T v) |
| 101 | (sourceTime period T hT (f-g)) (sourceTime period T hT f-sourceTime period T hT g) |
| 102 | (higherTime_sub period T hT u v) (lowerPath_sub period T u v) (sourceTime_sub period T hT f g) |
| 103 | (heat_time_H2_bound period T hT ν hν (u-v) (f-g) hd) |
| 104 | |
| 105 | /-- Actual regularized heat solutions which converge in H¹ and have Cauchy L² sources converge strongly in L² time with two full derivatives. -/ |
| 106 | theorem heat_H2_cauchy (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) |
| 107 | (u : ℕ → C(Icc (0 : ℝ) T, SobolevSpace period 3)) |
| 108 | (f : ℕ → C(Icc (0 : ℝ) T, SobolevSpace period 1)) |
| 109 | (hd : ∀ n t, t ∈ Ioo 0 T → ∀ i : Fin 4, |
| 110 | HasDerivAt (fun s => value period (derivativeOperator period 2 i (extendPath T hT (u n) s))) |
| 111 | (value period (derivativeOperator period 0 i |
| 112 | (ν • laplacianOperator period 1 (extendPath T hT (u n) t) + extendPath T hT (f n) t))) t) |
| 113 | (hu : CauchySeq (fun n => (restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ |
| 114 | (Icc (0 : ℝ) T) (u n))) |
| 115 | (hf : CauchySeq (fun n => pathLp T hT ((valueOperator period 1).compLeftContinuous ℝ |
| 116 | (Icc (0 : ℝ) T) (f n)))) : |
| 117 | CauchySeq (fun n => pathLp T hT ((truncateOperator period 2).compLeftContinuous ℝ |
| 118 | (Icc (0 : ℝ) T) (u n))) := by |
| 119 | change CauchySeq (fun n => higherTime period T hT (u n)) |
| 120 | change CauchySeq (fun n => lowerPath period T (u n)) at hu |
| 121 | change CauchySeq (fun n => sourceTime period T hT (f n)) at hf |
| 122 | apply EulerQuadraticCauchy.cauchy_of_quadratic_bound |
| 123 | (fun n => lowerPath period T (u n)) (fun n => sourceTime period T hT (f n)) |
| 124 | (fun n => higherTime period T hT (u n)) (T+4*ν⁻¹) ((ν⁻¹)^2) hu hf |
| 125 | intro n m |
| 126 | apply heat_H2_difference_bound period T hT ν hν (u n) (u m) (f n) (f m) |
| 127 | intro t ht i |
| 128 | exact first_derivative_difference period T hT ν (u n) (u m) (f n) (f m) t i |
| 129 | (hd n t ht i) (hd m t ht i) |
| 130 | |
| 131 | /-- Completeness constructs a genuine Bochner L²-time H² limit of the regularized heat solutions. -/ |
| 132 | theorem exists_heat_H2_limit (T : ℝ) (hT : 0 ≤ T) (ν : ℝ) (hν : 0 < ν) |
| 133 | (u : ℕ → C(Icc (0 : ℝ) T, SobolevSpace period 3)) |
| 134 | (f : ℕ → C(Icc (0 : ℝ) T, SobolevSpace period 1)) |
| 135 | (hd : ∀ n t, t ∈ Ioo 0 T → ∀ i : Fin 4, |
| 136 | HasDerivAt (fun s => value period (derivativeOperator period 2 i (extendPath T hT (u n) s))) |
| 137 | (value period (derivativeOperator period 0 i |
| 138 | (ν • laplacianOperator period 1 (extendPath T hT (u n) t) + extendPath T hT (f n) t))) t) |
| 139 | (hu : CauchySeq (fun n => (restrictOperator period (by norm_num : 1 ≤ 3)).compLeftContinuous ℝ |
| 140 | (Icc (0 : ℝ) T) (u n))) |
| 141 | (hf : CauchySeq (fun n => pathLp T hT ((valueOperator period 1).compLeftContinuous ℝ |
| 142 | (Icc (0 : ℝ) T) (f n)))) : |
| 143 | ∃ U : TimeLp T (SobolevSpace period 2), |
| 144 | Filter.Tendsto (fun n => pathLp T hT ((truncateOperator period 2).compLeftContinuous ℝ |
| 145 | (Icc (0 : ℝ) T) (u n))) Filter.atTop (𝓝 U) := |
| 146 | cauchySeq_tendsto_of_complete (heat_H2_cauchy period T hT ν hν u f hd hu hf) |
| 147 | |
| 148 | end EulerHeatMaximalCauchy |