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.OrdinaryEulerLifespan |
| 2 | |
| 3 | /-! One actual Euler field on the half-open maximal interval. Values are |
| 4 | chosen on intermediate horizons, and genuine Euler uniqueness removes |
| 5 | the dependence on that choice. No continuation criterion is assumed. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerOrdinarySobolev.FiniteLifespan |
| 10 | |
| 11 | open Set Filter MeasureTheory EulerSmoothLimit EulerLpTranslation |
| 12 | EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal EulerMeanClassical |
| 13 | open scoped Topology ContDiff |
| 14 | |
| 15 | variable {A : SmoothL2Field Space} (L : FiniteLifespan A) |
| 16 | |
| 17 | abbrev Time : Type := Ico (0 : ℝ) L.duration |
| 18 | |
| 19 | def initialTime : L.Time := ⟨0,le_rfl,L.duration_pos⟩ |
| 20 | |
| 21 | def intermediateHorizon (t : L.Time) : ℝ := ((t : ℝ)+L.duration)/2 |
| 22 | |
| 23 | theorem intermediateHorizon_pos (t : L.Time) : 0 < L.intermediateHorizon t := by |
| 24 | have ht := t.property.1 |
| 25 | have hL := L.duration_pos |
| 26 | dsimp [intermediateHorizon] |
| 27 | linarith |
| 28 | |
| 29 | theorem time_lt_intermediateHorizon (t : L.Time) : |
| 30 | (t : ℝ) < L.intermediateHorizon t := by |
| 31 | have ht := t.property.2 |
| 32 | dsimp [intermediateHorizon] |
| 33 | linarith |
| 34 | |
| 35 | theorem intermediateHorizon_lt (t : L.Time) : L.intermediateHorizon t < L.duration := by |
| 36 | have ht := t.property.2 |
| 37 | dsimp [intermediateHorizon] |
| 38 | linarith |
| 39 | |
| 40 | def intermediateTime (t : L.Time) : Icc (0 : ℝ) (L.intermediateHorizon t) := |
| 41 | ⟨t,t.property.1,(L.time_lt_intermediateHorizon t).le⟩ |
| 42 | |
| 43 | def shorterTime (S : ℝ) (hSL : S < L.duration) (t : Icc (0 : ℝ) S) : L.Time := |
| 44 | ⟨t,t.property.1,t.property.2.trans_lt hSL⟩ |
| 45 | |
| 46 | def maximalField (t : L.Time) : SmoothL2Field Space := |
| 47 | (L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) |
| 48 | (L.intermediateHorizon_lt t)).velocity (L.intermediateTime t) |
| 49 | |
| 50 | def maximalPressureField (t : L.Time) : SmoothL2Field Space := |
| 51 | (L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) |
| 52 | (L.intermediateHorizon_lt t)).pressureForce (L.intermediateTime t) |
| 53 | |
| 54 | theorem maximalFields_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 55 | (t : Icc (0 : ℝ) S) : |
| 56 | L.maximalField (L.shorterTime S hSL t)=(L.evolution S hS hSL).velocity t ∧ |
| 57 | L.maximalPressureField (L.shorterTime S hSL t)= |
| 58 | (L.evolution S hS hSL).pressureForce t := by |
| 59 | let u := L.shorterTime S hSL t |
| 60 | let M := L.intermediateHorizon u |
| 61 | by_cases hSM : S ≤ M |
| 62 | · exact L.evolution_agrees S M hS (L.intermediateHorizon_pos u) hSL |
| 63 | (L.intermediateHorizon_lt u) hSM t |
| 64 | · have hMS : M ≤ S := (lt_of_not_ge hSM).le |
| 65 | have h := L.evolution_agrees M S (L.intermediateHorizon_pos u) hS |
| 66 | (L.intermediateHorizon_lt u) hSL hMS (L.intermediateTime u) |
| 67 | exact ⟨h.1.symm,h.2.symm⟩ |
| 68 | |
| 69 | theorem maximalField_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 70 | (t : Icc (0 : ℝ) S) : |
| 71 | L.maximalField (L.shorterTime S hSL t)=(L.evolution S hS hSL).velocity t := |
| 72 | (L.maximalFields_eq_evolution S hS hSL t).1 |
| 73 | |
| 74 | theorem maximalPressureField_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 75 | (t : Icc (0 : ℝ) S) : |
| 76 | L.maximalPressureField (L.shorterTime S hSL t)=(L.evolution S hS hSL).pressureForce t := |
| 77 | (L.maximalFields_eq_evolution S hS hSL t).2 |
| 78 | |
| 79 | /-- Continuous restrictions on all shorter initial intervals determine a |
| 80 | continuous curve on the actual half-open lifespan. -/ |
| 81 | theorem continuous_of_shorter_restrictions {E : Type*} [TopologicalSpace E] |
| 82 | (f : L.Time → E) |
| 83 | (hf : ∀ S (_hS : 0 < S) (hSL : S < L.duration), |
| 84 | Continuous (fun t : Icc (0 : ℝ) S => f (L.shorterTime S hSL t))) : |
| 85 | Continuous f := by |
| 86 | apply continuous_iff_continuousAt.mpr |
| 87 | intro t |
| 88 | let M := L.intermediateHorizon t |
| 89 | have hM : 0 < M := L.intermediateHorizon_pos t |
| 90 | have hML : M < L.duration := L.intermediateHorizon_lt t |
| 91 | have hg : Continuous (fun s : L.Time => |
| 92 | f (L.shorterTime M hML (projIcc 0 M hM.le (s : ℝ)))) := |
| 93 | (hf M hM hML).comp (continuous_projIcc.comp continuous_subtype_val) |
| 94 | apply hg.continuousAt.congr_of_eventuallyEq |
| 95 | have hn : ∀ᶠ s : L.Time in 𝓝 t, (s : ℝ) < M := |
| 96 | continuous_subtype_val.continuousAt (Iio_mem_nhds (L.time_lt_intermediateHorizon t)) |
| 97 | filter_upwards [hn] with s hs |
| 98 | rw [projIcc_of_mem hM.le ⟨s.property.1,hs.le⟩] |
| 99 | rfl |
| 100 | |
| 101 | theorem maximalField_jet_continuous (n : ℕ) : |
| 102 | Continuous (fun t : L.Time => (L.maximalField t).jetLp n) := by |
| 103 | apply L.continuous_of_shorter_restrictions |
| 104 | intro S hS hSL |
| 105 | have he : (fun t : Icc (0 : ℝ) S => |
| 106 | (L.maximalField (L.shorterTime S hSL t)).jetLp n)= |
| 107 | (fun t => ((L.evolution S hS hSL).velocity t).jetLp n) := by |
| 108 | funext t |
| 109 | rw [L.maximalField_eq_evolution S hS hSL t] |
| 110 | rw [he] |
| 111 | exact (L.evolution S hS hSL).velocity_continuous n |
| 112 | |
| 113 | theorem maximalPressureField_jet_continuous (n : ℕ) : |
| 114 | Continuous (fun t : L.Time => (L.maximalPressureField t).jetLp n) := by |
| 115 | apply L.continuous_of_shorter_restrictions |
| 116 | intro S hS hSL |
| 117 | have he : (fun t : Icc (0 : ℝ) S => |
| 118 | (L.maximalPressureField (L.shorterTime S hSL t)).jetLp n)= |
| 119 | (fun t => ((L.evolution S hS hSL).pressureForce t).jetLp n) := by |
| 120 | funext t |
| 121 | rw [L.maximalPressureField_eq_evolution S hS hSL t] |
| 122 | rw [he] |
| 123 | exact (L.evolution S hS hSL).pressure_continuous n |
| 124 | |
| 125 | theorem maximalField_initial : L.maximalField L.initialTime=A := |
| 126 | L.evolution_initial (L.intermediateHorizon L.initialTime) |
| 127 | (L.intermediateHorizon_pos L.initialTime) (L.intermediateHorizon_lt L.initialTime) |
| 128 | |
| 129 | theorem maximalField_solenoidal (t : L.Time) : (L.maximalField t).toLp ∈ solenoidalSpace := |
| 130 | (L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) |
| 131 | (L.intermediateHorizon_lt t)).solenoidal (L.intermediateTime t) |
| 132 | |
| 133 | theorem maximalPressureField_gradient (t : L.Time) : |
| 134 | (L.maximalPressureField t).toLp ∈ gradientSpace := |
| 135 | (L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) |
| 136 | (L.intermediateHorizon_lt t)).gradient (L.intermediateTime t) |
| 137 | |
| 138 | def maximalVelocity (t : L.Time) : Space → Space := (L.maximalField t).field |
| 139 | |
| 140 | def maximalPressure (t : L.Time) : Space → ℝ := |
| 141 | EulerCanonicalGraphPotential.radialPotential (L.maximalPressureField t).field |
| 142 | |
| 143 | theorem maximalVelocity_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 144 | (t : Icc (0 : ℝ) S) : |
| 145 | L.maximalVelocity (L.shorterTime S hSL t)=((L.evolution S hS hSL).velocity t).field := by |
| 146 | exact congrArg SmoothL2Field.field (L.maximalField_eq_evolution S hS hSL t) |
| 147 | |
| 148 | theorem maximalPressure_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 149 | (t : Icc (0 : ℝ) S) : |
| 150 | L.maximalPressure (L.shorterTime S hSL t)=(L.evolution S hS hSL).scalarPressure t := by |
| 151 | simp only [maximalPressure,Evolution.scalarPressure, |
| 152 | L.maximalPressureField_eq_evolution S hS hSL t] |
| 153 | |
| 154 | theorem maximalVelocity_initial : L.maximalVelocity L.initialTime=A.field := |
| 155 | congrArg SmoothL2Field.field L.maximalField_initial |
| 156 | |
| 157 | theorem maximalVelocity_smooth (t : L.Time) : ContDiff ℝ ∞ (L.maximalVelocity t) := |
| 158 | (L.maximalField t).smooth |
| 159 | |
| 160 | theorem maximalVelocity_joint_continuous : |
| 161 | Continuous (fun z : L.Time × Space => L.maximalVelocity z.1 z.2) := by |
| 162 | have h : Continuous (fun z : L.Time × Space => |
| 163 | EulerMeanSobolevBoundedField.finiteField (L.maximalField z.1)) := |
| 164 | (EulerMeanSobolevBoundedField.continuous_finiteField L.maximalField |
| 165 | L.maximalField_jet_continuous).comp continuous_fst |
| 166 | simpa only [EulerMeanSobolevBoundedField.finiteField_apply,maximalVelocity] using |
| 167 | h.eval continuous_snd |
| 168 | |
| 169 | theorem maximalPressureField_joint_continuous : |
| 170 | Continuous (fun z : L.Time × Space => (L.maximalPressureField z.1).field z.2) := by |
| 171 | have h : Continuous (fun z : L.Time × Space => |
| 172 | EulerMeanSobolevBoundedField.finiteField (L.maximalPressureField z.1)) := |
| 173 | (EulerMeanSobolevBoundedField.continuous_finiteField L.maximalPressureField |
| 174 | L.maximalPressureField_jet_continuous).comp continuous_fst |
| 175 | simpa only [EulerMeanSobolevBoundedField.finiteField_apply] using h.eval continuous_snd |
| 176 | |
| 177 | theorem maximalVelocity_divergence (t : L.Time) (x : Space) : |
| 178 | divergence (L.maximalVelocity t) x=0 := |
| 179 | solenoidal_representative_divergence _ (L.maximalField_solenoidal t) _ |
| 180 | (L.maximalField t).smooth (L.maximalField t).toLp_ae x |
| 181 | |
| 182 | theorem maximalPressure_spec (t : L.Time) : |
| 183 | ContDiff ℝ ∞ (L.maximalPressure t) ∧ L.maximalPressure t 0=0 ∧ |
| 184 | ∀ x, _root_.gradient (L.maximalPressure t) x=(L.maximalPressureField t).field x := |
| 185 | (L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) |
| 186 | (L.intermediateHorizon_lt t)).scalarPressure_spec (L.intermediateTime t) |
| 187 | |
| 188 | /-- Every compact initial subinterval is exactly an actual Euler evolution, |
| 189 | with both its velocity and its pressure force equal to the maximal fields. -/ |
| 190 | theorem maximal_restriction_is_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) : |
| 191 | ∃ U : Evolution S hS.le, |
| 192 | U.velocity=(fun t => L.maximalField (L.shorterTime S hSL t)) ∧ |
| 193 | U.pressureForce=(fun t => L.maximalPressureField (L.shorterTime S hSL t)) ∧ |
| 194 | U.velocity ⟨0,le_rfl,hS.le⟩=A := |
| 195 | ⟨L.evolution S hS hSL, |
| 196 | funext (fun t => (L.maximalField_eq_evolution S hS hSL t).symm), |
| 197 | funext (fun t => (L.maximalPressureField_eq_evolution S hS hSL t).symm), |
| 198 | L.evolution_initial S hS hSL⟩ |
| 199 | |
| 200 | theorem maximalVelocity_time_law (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 201 | (t : ℝ) (ht : t ∈ Ioo 0 S) (x : Space) : |
| 202 | HasDerivAt (fun r => L.maximalVelocity |
| 203 | (L.shorterTime S hSL (projIcc 0 S hS.le r)) x) |
| 204 | (-fderiv ℝ (L.maximalVelocity (L.shorterTime S hSL ⟨t,ht.1.le,ht.2.le⟩)) x |
| 205 | (L.maximalVelocity (L.shorterTime S hSL ⟨t,ht.1.le,ht.2.le⟩) x)- |
| 206 | _root_.gradient (L.maximalPressure (L.shorterTime S hSL ⟨t,ht.1.le,ht.2.le⟩)) x) t := by |
| 207 | rw [(L.maximalPressure_spec (L.shorterTime S hSL ⟨t,ht.1.le,ht.2.le⟩)).2.2 x, |
| 208 | L.maximalPressureField_eq_evolution S hS hSL] |
| 209 | simpa only [L.maximalVelocity_eq_evolution S hS hSL] using |
| 210 | (L.evolution S hS hSL).time_law t ht x |
| 211 | |
| 212 | end EulerOrdinarySobolev.FiniteLifespan |