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.OrdinaryEulerSobolevClass |
| 2 | |
| 3 | /-! The reverse bridge from ordinary scalar-pressure Euler to the |
| 4 | projected equation. The only regularity inputs are the velocity and its |
| 5 | actual strong time derivative in all spatial Sobolev orders. Neither a |
| 6 | pressure-force regularity hypothesis nor a projected equation is assumed. |
| 7 | The scalar pressure may be changed by an arbitrary function of time. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerOrdinarySobolev |
| 12 | |
| 13 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLpTranslation |
| 14 | EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal EulerMeanClassical |
| 15 | EulerMeanOrdinaryLift EulerMeanSmoothRepresentative EulerSmoothFieldSobolevTime |
| 16 | EulerCylinderSobolevSpace EulerLiftedGradientSpace EulerVolterraConvolution |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | private local instance : Fact (0 < (1 : ℝ)) := ⟨by norm_num⟩ |
| 20 | |
| 21 | variable {T : ℝ} {hT : 0 ≤ T} |
| 22 | |
| 23 | /-- The force obtained from the actual velocity and its actual time derivative. -/ |
| 24 | def scalarEulerForce (A B : SmoothL2Field Space) : SmoothL2Field Space := |
| 25 | fieldNeg (addField B (advectionField A A)) |
| 26 | |
| 27 | theorem scalarEulerForce_field (A B : SmoothL2Field Space) (x : Space) : |
| 28 | (scalarEulerForce A B).field x = -((B.field x)+fderiv ℝ A.field x (A.field x)) := by |
| 29 | simp only [scalarEulerForce,fieldNeg_field,addField_field,advectionField_field] |
| 30 | |
| 31 | /-- An ordinary scalar Euler equation implies the actual projected L² equation. |
| 32 | Spatial differentiability of pressure is used only at interior times. -/ |
| 33 | theorem isSmoothProjectedEuler_of_scalarEuler |
| 34 | (A B : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 35 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) |
| 36 | (hd : ∀ t (ht : t ∈ Ioo 0 T), |
| 37 | HasDerivAt (fun r => (A (projIcc 0 T hT r)).toLp) |
| 38 | (B ⟨t,ht.1.le,ht.2.le⟩).toLp t) |
| 39 | (p : ℝ → Space → ℝ) |
| 40 | (hdiv : ∀ t x, divergence (A t).field x=0) |
| 41 | (hp : ∀ t ∈ Ioo 0 T, Differentiable ℝ (p t)) |
| 42 | (he : ∀ t (ht : t ∈ Ioo 0 T) x, |
| 43 | (B ⟨t,ht.1.le,ht.2.le⟩).field x+ |
| 44 | fderiv ℝ (A ⟨t,ht.1.le,ht.2.le⟩).field x |
| 45 | ((A ⟨t,ht.1.le,ht.2.le⟩).field x)+gradient (p t) x=0) : |
| 46 | IsSmoothProjectedEuler (hT := hT) A := by |
| 47 | have hs (t : Icc (0 : ℝ) T) : (A t).toLp ∈ solenoidalSpace := |
| 48 | smooth_mem_solenoidal (A t).field (A t).smooth (A t).memLp (hdiv t) |
| 49 | refine ⟨hA,hs,?_⟩ |
| 50 | intro t ht |
| 51 | let s : Icc (0 : ℝ) T := ⟨t,ht.1.le,ht.2.le⟩ |
| 52 | let G := scalarEulerForce (A s) (B s) |
| 53 | have hg (x : Space) : G.field x=gradient (p t) x := by |
| 54 | rw [scalarEulerForce_field] |
| 55 | exact (eq_neg_of_add_eq_zero_right (he t ht x)).symm |
| 56 | have hG : G.toLp ∈ EulerMeanSolenoidal.gradientSpace := |
| 57 | gradient_mem G (p t) (potential_smooth G (p t) (hp t ht) hg) hg |
| 58 | have hproj := solenoidalProjection.hasFDerivAt.comp_hasDerivAt t (hd t ht) |
| 59 | have hfix : (fun r => solenoidalProjection (A (projIcc 0 T hT r)).toLp)= |
| 60 | (fun r => (A (projIcc 0 T hT r)).toLp) := by |
| 61 | funext r |
| 62 | exact solenoidalSpace.starProjection_eq_self_iff.mpr (hs _) |
| 63 | simp only [Function.comp_def] at hproj |
| 64 | rw [hfix] at hproj |
| 65 | have hB : solenoidalProjection (B s).toLp=(B s).toLp := hproj.unique (hd t ht) |
| 66 | have hzero := (solenoidalProjection_eq_zero_iff G.toLp).mpr hG |
| 67 | change solenoidalProjection (fieldNeg (addField (B s) (advectionField (A s) (A s)))).toLp=0 at hzero |
| 68 | rw [toLp_fieldNeg,toLp_addField,map_neg,map_add,hB] at hzero |
| 69 | have hR : (B s).toLp=(projectedRhs (A s)).toLp := by |
| 70 | rw [projectedRhs_toLp] |
| 71 | exact eq_neg_of_add_eq_zero_left (neg_eq_zero.mp hzero) |
| 72 | exact hR ▸ hd t ht |
| 73 | |
| 74 | def evolutionOfScalarEuler |
| 75 | (A B : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 76 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) |
| 77 | (hd : ∀ t (ht : t ∈ Ioo 0 T), |
| 78 | HasDerivAt (fun r => (A (projIcc 0 T hT r)).toLp) |
| 79 | (B ⟨t,ht.1.le,ht.2.le⟩).toLp t) |
| 80 | (p : ℝ → Space → ℝ) |
| 81 | (hdiv : ∀ t x, divergence (A t).field x=0) |
| 82 | (hp : ∀ t ∈ Ioo 0 T, Differentiable ℝ (p t)) |
| 83 | (he : ∀ t (ht : t ∈ Ioo 0 T) x, |
| 84 | (B ⟨t,ht.1.le,ht.2.le⟩).field x+ |
| 85 | fderiv ℝ (A ⟨t,ht.1.le,ht.2.le⟩).field x |
| 86 | ((A ⟨t,ht.1.le,ht.2.le⟩).field x)+gradient (p t) x=0) : Evolution T hT := |
| 87 | evolutionOfProjectedEquation A (isSmoothProjectedEuler_of_scalarEuler A B hA hd p hdiv hp he) |
| 88 | |
| 89 | section Identification |
| 90 | |
| 91 | variable (A B : Icc (0 : ℝ) T → SmoothL2Field Space) |
| 92 | (hA : ∀ n, Continuous (fun t => (A t).jetLp n)) |
| 93 | (hB : ∀ n, Continuous (fun t => (B t).jetLp n)) |
| 94 | (hd : ∀ t (ht : t ∈ Ioo 0 T), |
| 95 | HasDerivAt (fun r => (A (projIcc 0 T hT r)).toLp) |
| 96 | (B ⟨t,ht.1.le,ht.2.le⟩).toLp t) |
| 97 | (p : ℝ → Space → ℝ) |
| 98 | (hdiv : ∀ t x, divergence (A t).field x=0) |
| 99 | (hp : ∀ t ∈ Ioo 0 T, Differentiable ℝ (p t)) |
| 100 | (he : ∀ t (ht : t ∈ Ioo 0 T) x, |
| 101 | (B ⟨t,ht.1.le,ht.2.le⟩).field x+ |
| 102 | fderiv ℝ (A ⟨t,ht.1.le,ht.2.le⟩).field x |
| 103 | ((A ⟨t,ht.1.le,ht.2.le⟩).field x)+gradient (p t) x=0) |
| 104 | |
| 105 | end Identification |
| 106 | |
| 107 | /-- The scalar-pressure form of the smooth ordinary Euler class. The |
| 108 | all-order spatial paths represent `C H^m` for every finite `m`. A single |
| 109 | strong L² time law and the continuous all-order derivative paths imply |
| 110 | the strong time law in every Sobolev order by `sobolev_derivative_of_l2`. |
| 111 | No norm, time regularity, or normalization is imposed on the scalar pressure. -/ |
| 112 | def IsSmoothScalarEuler (A : Icc (0 : ℝ) T → SmoothL2Field Space) : Prop := |
| 113 | (∀ n, Continuous (fun t => (A t).jetLp n)) ∧ |
| 114 | ∃ (B : Icc (0 : ℝ) T → SmoothL2Field Space) (p : ℝ → Space → ℝ), |
| 115 | (∀ n, Continuous (fun t => (B t).jetLp n)) ∧ |
| 116 | (∀ t (ht : t ∈ Ioo 0 T), |
| 117 | HasDerivAt (fun r => (A (projIcc 0 T hT r)).toLp) |
| 118 | (B ⟨t,ht.1.le,ht.2.le⟩).toLp t) ∧ |
| 119 | (∀ t x, divergence (A t).field x=0) ∧ |
| 120 | (∀ t ∈ Ioo 0 T, Differentiable ℝ (p t)) ∧ |
| 121 | (∀ t (ht : t ∈ Ioo 0 T) x, |
| 122 | (B ⟨t,ht.1.le,ht.2.le⟩).field x+ |
| 123 | fderiv ℝ (A ⟨t,ht.1.le,ht.2.le⟩).field x |
| 124 | ((A ⟨t,ht.1.le,ht.2.le⟩).field x)+gradient (p t) x=0) |
| 125 | |
| 126 | theorem scalarEuler_iff_projected (A : Icc (0 : ℝ) T → SmoothL2Field Space) : |
| 127 | IsSmoothScalarEuler (hT := hT) A ↔ IsSmoothProjectedEuler (hT := hT) A := by |
| 128 | constructor |
| 129 | · rintro ⟨hA,B,p,_hB,hd,hdiv,hp,he⟩ |
| 130 | exact isSmoothProjectedEuler_of_scalarEuler A B hA hd p hdiv hp he |
| 131 | · intro hA |
| 132 | let U := evolutionOfProjectedEquation A hA |
| 133 | refine ⟨hA.1,U.derivative,(fun r => U.scalarPressure (projIcc 0 T hT r)), |
| 134 | U.derivative_continuous,?_,?_,?_,?_⟩ |
| 135 | · intro t ht |
| 136 | have h := U.velocityPath_hasDerivWithinAt ⟨t,ht.1.le,ht.2.le⟩ |
| 137 | rw [U.velocityPath_extend] at h |
| 138 | exact h.hasDerivAt (Icc_mem_nhds ht.1 ht.2) |
| 139 | · intro t x |
| 140 | exact solenoidal_representative_divergence _ (hA.2.1 t) _ (A t).smooth (A t).toLp_ae x |
| 141 | · intro t ht |
| 142 | exact (U.scalarPressure_spec (projIcc 0 T hT t)).1.differentiable (by simp) |
| 143 | · intro t ht x |
| 144 | dsimp only |
| 145 | rw [projIcc_of_mem hT ⟨ht.1.le,ht.2.le⟩, |
| 146 | (U.scalarPressure_spec ⟨t,ht.1.le,ht.2.le⟩).2.2 x,U.derivative_field] |
| 147 | change (-fderiv ℝ (A ⟨t,ht.1.le,ht.2.le⟩).field x |
| 148 | ((A ⟨t,ht.1.le,ht.2.le⟩).field x)- |
| 149 | (U.pressureForce ⟨t,ht.1.le,ht.2.le⟩).field x)+_+_=0 |
| 150 | abel |
| 151 | |
| 152 | theorem exists_evolution_iff_scalar (hpos : 0 < T) |
| 153 | (A : Icc (0 : ℝ) T → SmoothL2Field Space) : |
| 154 | (∃ U : Evolution T hT, U.velocity=A) ↔ IsSmoothScalarEuler (hT := hT) A := |
| 155 | (exists_evolution_iff_projected hpos A).trans (scalarEuler_iff_projected A).symm |
| 156 | |
| 157 | end EulerOrdinarySobolev |