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.OrdinaryRegularizedEquation |
| 2 | import Euler.OrdinaryStrongTime |
| 3 | import Euler.ContinuousTimeIntegral |
| 4 | |
| 5 | /-! The regularized L² flow has genuine smooth spatial representatives, |
| 6 | continuous jets of every order, and its true time derivative. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerOrdinarySobolev |
| 11 | |
| 12 | open Set Filter MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 13 | EulerLpTranslation EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal |
| 14 | EulerMeanClassical EulerVolterraConvolution EulerContinuousTimeIntegral Finset |
| 15 | open scoped ContDiff Topology |
| 16 | |
| 17 | namespace SmoothingOperator |
| 18 | |
| 19 | variable (S : SmoothingOperator) |
| 20 | |
| 21 | def rhs (u : L2) : SmoothL2Field Space := |
| 22 | fieldNeg (S.field (advectionField (S.field u) (S.field u)).toLp) |
| 23 | |
| 24 | theorem rhs_toLp (u : L2) : (S.rhs u).toLp=S.quadratic u u := by |
| 25 | simp only [rhs,toLp_fieldNeg,field_toLp,quadratic_apply] |
| 26 | |
| 27 | theorem rhs_continuous {K : Type*} [TopologicalSpace K] (u : K → L2) |
| 28 | (hu : Continuous u) (n : ℕ) : Continuous (fun t => (S.rhs (u t)).jetLp n) := by |
| 29 | apply continuous_jetLp_mapField |
| 30 | apply S.field_jet_continuous |
| 31 | exact (S.advection.continuous.comp hu).clm_apply hu |
| 32 | |
| 33 | end SmoothingOperator |
| 34 | |
| 35 | structure RegularizedEvolution (S : SmoothingOperator) (T : ℝ) (hT : 0 ≤ T) where |
| 36 | velocity : Icc (0 : ℝ) T → SmoothL2Field Space |
| 37 | velocity_continuous : ∀ n, Continuous (fun t => (velocity t).jetLp n) |
| 38 | solenoidal : ∀ t, (velocity t).toLp ∈ solenoidalSpace |
| 39 | time_law : ∀ t (ht : t ∈ Ioo 0 T), |
| 40 | HasDerivAt (fun r => (velocity (projIcc 0 T hT r)).toLp) |
| 41 | (S.quadratic (velocity ⟨t,ht.1.le,ht.2.le⟩).toLp (velocity ⟨t,ht.1.le,ht.2.le⟩).toLp) t |
| 42 | |
| 43 | namespace RegularizedEvolution |
| 44 | |
| 45 | variable {S : SmoothingOperator} {T : ℝ} {hT : 0 ≤ T} (U : RegularizedEvolution S T hT) |
| 46 | |
| 47 | def derivative (t : Icc (0 : ℝ) T) : SmoothL2Field Space := S.rhs (U.velocity t).toLp |
| 48 | |
| 49 | theorem derivative_continuous (n : ℕ) : Continuous (fun t => (U.derivative t).jetLp n) := |
| 50 | S.rhs_continuous _ (fieldPath U.velocity U.velocity_continuous).continuous n |
| 51 | |
| 52 | theorem pointwise_time (t : Icc (0 : ℝ) T) (x : Space) : |
| 53 | HasDerivWithinAt (fun r => (U.velocity (projIcc 0 T hT r)).field x) |
| 54 | ((U.derivative t).field x) (Icc (0 : ℝ) T) t := by |
| 55 | apply pointwise_derivative_of_l2 T hT U.velocity U.derivative |
| 56 | U.velocity_continuous U.derivative_continuous _ t x |
| 57 | intro r hr |
| 58 | simpa only [derivative,SmoothingOperator.rhs_toLp] using U.time_law r hr |
| 59 | |
| 60 | theorem l2_time (t : Icc (0 : ℝ) T) : |
| 61 | HasDerivWithinAt (fun r => (U.velocity (projIcc 0 T hT r)).toLp) |
| 62 | (U.derivative t).toLp (Icc (0 : ℝ) T) t := by |
| 63 | have h := ordinaryWord_hasDerivWithinAt T hT U.velocity U.derivative |
| 64 | U.velocity_continuous U.derivative_continuous |
| 65 | (fun r hr x => (U.pointwise_time ⟨r,hr.1.le,hr.2.le⟩ x).hasDerivAt (Icc_mem_nhds hr.1 hr.2)) |
| 66 | (n := 0) Fin.elim0 t |
| 67 | simpa only [wordField_zero] using h |
| 68 | |
| 69 | end RegularizedEvolution |
| 70 | |
| 71 | namespace SmoothingOperator |
| 72 | |
| 73 | variable (S : SmoothingOperator) (T : ℝ) (hT : 0 ≤ T) |
| 74 | |
| 75 | theorem exists_smooth (A : SmoothL2Field Space) (hA : A.toLp ∈ solenoidalSpace) : |
| 76 | ∃ U : RegularizedEvolution S T hT, U.velocity ⟨0,le_rfl,hT⟩=A := by |
| 77 | obtain ⟨u,hu0,hu,_huNorm⟩ := S.exists_global A.toLp |
| 78 | have huc : Continuous u := (show Differentiable ℝ u from fun t => (hu t).differentiableAt).continuous |
| 79 | let a : C(Icc (0 : ℝ) T,L2) := |
| 80 | ⟨fun t => S.advection (u t) (u t), |
| 81 | (S.advection.continuous.comp (huc.comp continuous_subtype_val)).clm_apply |
| 82 | (huc.comp continuous_subtype_val)⟩ |
| 83 | let z : C(Icc (0 : ℝ) T,L2) := -integral T hT a |
| 84 | let v : Icc (0 : ℝ) T → SmoothL2Field Space := fun t => addField A (S.field (z t)) |
| 85 | have hv : ∀ t, (v t).toLp=u t := by |
| 86 | intro t |
| 87 | have he := eq_initial_add_integral T hT |
| 88 | ((-S.op).compLeftContinuous ℝ (Icc (0 : ℝ) T) a) u |
| 89 | (fun s => by |
| 90 | change HasDerivWithinAt u (-S.op (S.advection (u s) (u s))) _ _ |
| 91 | exact (hu (s : ℝ)).hasDerivWithinAt) t |
| 92 | have hi : integral T hT ((-S.op).compLeftContinuous ℝ (Icc (0 : ℝ) T) a) t= |
| 93 | S.op (z t) := by |
| 94 | change (∫ r in (0 : ℝ)..(t : ℝ), (-S.op) (extendPath T hT a r))=S.op (z t) |
| 95 | rw [(-S.op).intervalIntegral_comp_comm |
| 96 | ((extendPath_continuous T hT a).intervalIntegrable 0 t)] |
| 97 | change -S.op (realIntegral T hT a t)=S.op (-realIntegral T hT a t) |
| 98 | rw [map_neg] |
| 99 | rw [hu0,hi] at he |
| 100 | simpa only [v,toLp_addField,field_toLp] using he.symm |
| 101 | have hvcont : ∀ n, Continuous (fun t => (v t).jetLp n) := |
| 102 | fun n => continuous_jetLp_addField _ _ (fun _ => continuous_const) |
| 103 | (S.field_jet_continuous z z.continuous) n |
| 104 | have hv0 : v ⟨0,le_rfl,hT⟩=A := by |
| 105 | apply smoothField_eq_of_toLp_eq |
| 106 | rw [hv,hu0] |
| 107 | refine ⟨{ velocity := v |
| 108 | velocity_continuous := hvcont |
| 109 | solenoidal := fun t => ?_ |
| 110 | time_law := fun t ht => ?_ },hv0⟩ |
| 111 | · simpa only [v,toLp_addField,field_toLp] using solenoidalSpace.add_mem hA (S.solenoidal (z t)) |
| 112 | · simp only [hv] |
| 113 | have he : (fun r => u (projIcc 0 T hT r : ℝ)) =ᶠ[𝓝 t] u := by |
| 114 | filter_upwards [Ioo_mem_nhds ht.1 ht.2] with r hr |
| 115 | simp only [projIcc_of_mem hT (show r ∈ Icc 0 T from ⟨hr.1.le,hr.2.le⟩)] |
| 116 | exact (hu t).congr_of_eventuallyEq he |
| 117 | |
| 118 | end SmoothingOperator |
| 119 | end EulerOrdinarySobolev |