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.StaticEulerGevrey |
| 2 | import Euler.StaticEulerParity |
| 3 | import Euler.BaseEulerFlowL2 |
| 4 | import Euler.ParentPacketLabelData |
| 5 | import Euler.BaseEulerParent |
| 6 | import Euler.ParentPacketParity |
| 7 | import Euler.ParentEulerState |
| 8 | |
| 9 | /-! The locally constructed ordinary Euler solution supplies a concrete |
| 10 | first parent, its label budget and its genuine particle inverse. All |
| 11 | constants and the positive common horizon depend only on the input |
| 12 | Gevrey envelope, not on the particular initial datum. -/ |
| 13 | |
| 14 | /-! ## From `Euler/BaseEulerLabelData.lean` |
| 15 | |
| 16 | The text of `Euler/BaseEulerLabelData.lean`, folded into this file, which was its only importer. -/ |
| 17 | |
| 18 | section |
| 19 | |
| 20 | /-! The three actual base-flow fields satisfy the source's fixed-H6 |
| 21 | label bound with one explicit constant, independent of derivative order. -/ |
| 22 | |
| 23 | noncomputable section |
| 24 | |
| 25 | namespace EulerBaseEulerParent.L2Data |
| 26 | |
| 27 | open EulerParentPacketFrames EulerLpTranslation EulerParameterWordGevrey |
| 28 | EulerPacketParentLabelBounds Set |
| 29 | |
| 30 | variable {I : Input} (L : L2Data I) |
| 31 | |
| 32 | def labelCost : ℝ := |
| 33 | 1 + sobolevCoefficientAmplitude (Fin 3) 6 L.velocityRadius (I.T*L.C) + |
| 34 | sobolevCoefficientAmplitude (Fin 3) 6 L.velocityRadius L.C + |
| 35 | sobolevCoefficientAmplitude (Fin 3) 6 L.accelerationRadius L.accelerationAmplitude + |
| 36 | sobolevCoefficientRadius (Fin 3) L.velocityRadius + |
| 37 | sobolevCoefficientRadius (Fin 3) L.accelerationRadius |
| 38 | |
| 39 | private theorem costs_nonneg : |
| 40 | 0 ≤ sobolevCoefficientAmplitude (Fin 3) 6 L.velocityRadius (I.T*L.C) ∧ |
| 41 | 0 ≤ sobolevCoefficientAmplitude (Fin 3) 6 L.velocityRadius L.C ∧ |
| 42 | 0 ≤ sobolevCoefficientAmplitude (Fin 3) 6 L.accelerationRadius L.accelerationAmplitude ∧ |
| 43 | 0 ≤ sobolevCoefficientRadius (Fin 3) L.velocityRadius ∧ |
| 44 | 0 ≤ sobolevCoefficientRadius (Fin 3) L.accelerationRadius := |
| 45 | ⟨sobolevCoefficientAmplitude_nonneg 6 L.velocityRadius (I.T*L.C) |
| 46 | L.velocityRadius_nonneg (mul_nonneg I.T_pos.le L.C_nonneg), |
| 47 | sobolevCoefficientAmplitude_nonneg 6 L.velocityRadius L.C L.velocityRadius_nonneg L.C_nonneg, |
| 48 | sobolevCoefficientAmplitude_nonneg 6 L.accelerationRadius L.accelerationAmplitude |
| 49 | L.accelerationRadius_nonneg L.accelerationAmplitude_nonneg, |
| 50 | sobolevCoefficientRadius_nonneg L.velocityRadius L.velocityRadius_nonneg, |
| 51 | sobolevCoefficientRadius_nonneg L.accelerationRadius L.accelerationRadius_nonneg⟩ |
| 52 | |
| 53 | theorem labelCost_one : 1 ≤ L.labelCost := by |
| 54 | obtain ⟨h1,h2,h3,h4,h5⟩ := L.costs_nonneg |
| 55 | dsimp [labelCost] |
| 56 | linarith |
| 57 | |
| 58 | theorem displacement_labelBound (t : Icc (0 : ℝ) I.T) : |
| 59 | HasLabelBound L.labelCost (L.displacementField t) := by |
| 60 | obtain ⟨h1,h2,h3,h4,h5⟩ := L.costs_nonneg |
| 61 | apply SmoothL2Field.hasLabelBound_of_jet_bound (L.displacementField t) |
| 62 | (I.T*L.C) L.velocityRadius L.labelCost (mul_nonneg I.T_pos.le L.C_nonneg) |
| 63 | L.velocityRadius_nonneg (L.displacementField_bound t) |
| 64 | · dsimp [labelCost]; linarith |
| 65 | · dsimp [labelCost]; linarith |
| 66 | |
| 67 | theorem velocity_labelBound (t : Icc (0 : ℝ) I.T) : |
| 68 | HasLabelBound L.labelCost (L.velocityField t) := by |
| 69 | obtain ⟨h1,h2,h3,h4,h5⟩ := L.costs_nonneg |
| 70 | apply SmoothL2Field.hasLabelBound_of_jet_bound (L.velocityField t) |
| 71 | L.C L.velocityRadius L.labelCost L.C_nonneg L.velocityRadius_nonneg (L.velocityField_bound t) |
| 72 | · dsimp [labelCost]; linarith |
| 73 | · dsimp [labelCost]; linarith |
| 74 | |
| 75 | theorem acceleration_labelBound (t : Icc (0 : ℝ) I.T) : |
| 76 | HasLabelBound L.labelCost (L.accelerationField t) := by |
| 77 | obtain ⟨h1,h2,h3,h4,h5⟩ := L.costs_nonneg |
| 78 | apply SmoothL2Field.hasLabelBound_of_jet_bound (L.accelerationField t) |
| 79 | L.accelerationAmplitude L.accelerationRadius L.labelCost L.accelerationAmplitude_nonneg |
| 80 | L.accelerationRadius_nonneg (L.accelerationField_bound t) |
| 81 | · dsimp [labelCost]; linarith |
| 82 | · dsimp [labelCost]; linarith |
| 83 | |
| 84 | def labelData (ell : ℝ) (hell : 0 < ell) (hell1 : ell ≤ 1) : |
| 85 | LabelData (I.parent ell hell hell1) where |
| 86 | K := L.labelCost |
| 87 | K_one := L.labelCost_one |
| 88 | displacement := L.displacementField |
| 89 | velocity := L.velocityField |
| 90 | acceleration := L.accelerationField |
| 91 | displacement_match _ _ := rfl |
| 92 | velocity_match := L.velocityField_apply |
| 93 | acceleration_match := L.accelerationField_apply |
| 94 | displacement_bound := L.displacement_labelBound |
| 95 | velocity_bound := L.velocity_labelBound |
| 96 | acceleration_bound := L.acceleration_labelBound |
| 97 | |
| 98 | end EulerBaseEulerParent.L2Data |
| 99 | end |
| 100 | |
| 101 | end |
| 102 | |
| 103 | /-! ## From `Euler/BaseEulerParity.lean` |
| 104 | |
| 105 | The text of `Euler/BaseEulerParity.lean`, folded into this file, which was its only importer. -/ |
| 106 | |
| 107 | section |
| 108 | |
| 109 | /-! Oddness of the genuine base velocity propagates through its actual |
| 110 | flow to the base parent, using ODE uniqueness. -/ |
| 111 | |
| 112 | noncomputable section |
| 113 | |
| 114 | namespace EulerBaseEulerParent.Input |
| 115 | |
| 116 | open Set EulerSmoothLimit EulerSmoothBanachFlow EulerParentPacketFrames |
| 117 | |
| 118 | variable (I : Input) |
| 119 | |
| 120 | theorem oddData (hodd : ∀ t, Function.Odd (I.field.field t : Space → Space)) |
| 121 | (ell : ℝ) (hell : 0 < ell) (hell1 : ell ≤ 1) : OddData (I.parent ell hell hell1) := by |
| 122 | have hd (t : Icc (0 : ℝ) I.T) : Function.Odd (I.displacement.field t : Space → Space) := by |
| 123 | intro x |
| 124 | rw [I.displacement_apply,I.displacement_apply,forward_odd I.T I.T_pos.le I.field hodd t] |
| 125 | abel |
| 126 | exact { displacement := hd } |
| 127 | |
| 128 | end EulerBaseEulerParent.Input |
| 129 | end |
| 130 | |
| 131 | end |
| 132 | |
| 133 | noncomputable section |
| 134 | |
| 135 | namespace EulerStaticEuler |
| 136 | |
| 137 | open Set EulerSmoothLimit EulerLpTranslation EulerParentPacketFrames |
| 138 | EulerTimeIntervalRestriction EulerParameterWordGevrey EulerSmoothFlowGevrey |
| 139 | open scoped ContDiff BoundedContinuousFunction |
| 140 | |
| 141 | variable (P : ℝ) [Fact (0 < P)] |
| 142 | |
| 143 | def baseTime (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : ℝ := |
| 144 | EulerBaseEulerParent.horizon (amplitude P C R hC hR) |
| 145 | (outputVelocitySize P C R) (outputRadius R) |
| 146 | |
| 147 | theorem baseTime_pos (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : |
| 148 | 0 < baseTime P C R hC hR := |
| 149 | EulerBaseEulerParent.horizon_pos _ _ _ (amplitude_pos P C R hC hR) |
| 150 | (outputVelocitySize_nonneg P C R hC hR) (outputRadius_pos R hR).le |
| 151 | |
| 152 | theorem baseTime_le (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : |
| 153 | baseTime P C R hC hR ≤ amplitude P C R hC hR := |
| 154 | EulerBaseEulerParent.horizon_le _ _ _ |
| 155 | |
| 156 | def baseInclusion (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : |
| 157 | C(Icc (0 : ℝ) (baseTime P C R hC hR), Icc (0 : ℝ) (amplitude P C R hC hR)) := |
| 158 | initialInclusion _ _ (baseTime_le P C R hC hR) |
| 159 | |
| 160 | def baseLabelConstant (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) : ℝ := |
| 161 | let T := baseTime P C R hC hR |
| 162 | let B := outputVelocitySize P C R |
| 163 | let S := outputRadius R |
| 164 | let C₁ := outputDerivativeSize P C R hC hR |
| 165 | let V := flowRadius B S T S |
| 166 | let M := C₁+3*(B*S)*B |
| 167 | let A := flowRadius B S T (4*S+S+S) |
| 168 | 1+sobolevCoefficientAmplitude (Fin 3) 6 V (T*B)+ |
| 169 | sobolevCoefficientAmplitude (Fin 3) 6 V B+ |
| 170 | sobolevCoefficientAmplitude (Fin 3) 6 A M+ |
| 171 | sobolevCoefficientRadius (Fin 3) V+sobolevCoefficientRadius (Fin 3) A |
| 172 | |
| 173 | variable (u : SmoothL2Field Space) (C R : ℝ) (hC : 0 ≤ C) (hR : 0 ≤ R) |
| 174 | (hu : u.HasJetBound C R) (hdiv : ∀ x, divergence u.field x=0) |
| 175 | |
| 176 | def baseInput : EulerBaseEulerParent.Input := |
| 177 | EulerBaseEulerParent.ofInterval (amplitude P C R hC hR) (amplitude_pos P C R hC hR) |
| 178 | (velocityCoefficient P u C R hC hR hu hdiv) |
| 179 | (derivativeCoefficient P u C R hC hR hu hdiv) |
| 180 | (coefficient_time P u C R hC hR hu hdiv) |
| 181 | (fun t x => by |
| 182 | have he : ((velocityCoefficient P u C R hC hR hu hdiv).field t : Space → Space)= |
| 183 | fun y => localVelocity P u C R hC hR hu hdiv (t,y) := |
| 184 | funext (velocityCoefficient_apply P u C R hC hR hu hdiv t) |
| 185 | rw [he] |
| 186 | exact localVelocity_divergence P u C R hC hR hu hdiv t x) |
| 187 | (outputVelocitySize P C R) (outputRadius R) |
| 188 | (outputVelocitySize_nonneg P C R hC hR) (outputRadius_pos R hR) |
| 189 | (velocityCoefficient_bound P u C R hC hR hu hdiv) |
| 190 | |
| 191 | theorem baseInput_field (t : Icc (0 : ℝ) (baseTime P C R hC hR)) (x : Space) : |
| 192 | (baseInput P u C R hC hR hu hdiv).field.field t x= |
| 193 | localVelocity P u C R hC hR hu hdiv (t,x) := |
| 194 | velocityCoefficient_apply P u C R hC hR hu hdiv (baseInclusion P C R hC hR t) x |
| 195 | |
| 196 | def baseL2Data : EulerBaseEulerParent.L2Data (baseInput P u C R hC hR hu hdiv) where |
| 197 | velocity t := localField P u C R hC hR hu hdiv (baseInclusion P C R hC hR t) |
| 198 | derivative t := localDerivativeField P u C R hC hR hu hdiv (baseInclusion P C R hC hR t) |
| 199 | velocity_match t x := |
| 200 | (localField_apply P u C R hC hR hu hdiv (baseInclusion P C R hC hR t) x).trans |
| 201 | (baseInput_field P u C R hC hR hu hdiv t x).symm |
| 202 | derivative_match t x := |
| 203 | localDerivativeField_apply P u C R hC hR hu hdiv (baseInclusion P C R hC hR t) x |
| 204 | C := outputVelocitySize P C R |
| 205 | S := outputRadius R |
| 206 | C₁ := outputDerivativeSize P C R hC hR |
| 207 | S₁ := outputRadius R |
| 208 | C_nonneg := outputVelocitySize_nonneg P C R hC hR |
| 209 | S_nonneg := (outputRadius_pos R hR).le |
| 210 | C₁_nonneg := outputDerivativeSize_nonneg P C R hC hR |
| 211 | S₁_nonneg := (outputRadius_pos R hR).le |
| 212 | velocity_bound t := localField_bound P u C R hC hR hu hdiv (baseInclusion P C R hC hR t) |
| 213 | derivative_bound t := localDerivativeField_bound P u C R hC hR hu hdiv |
| 214 | (baseInclusion P C R hC hR t) |
| 215 | |
| 216 | variable (ell : ℝ) (hell : 0 < ell) (hell1 : ell ≤ 1) |
| 217 | |
| 218 | def baseParent : Parent := (baseInput P u C R hC hR hu hdiv).parent ell hell hell1 |
| 219 | |
| 220 | def baseLabelData : LabelData (baseParent P u C R hC hR hu hdiv ell hell hell1) := |
| 221 | (baseL2Data P u C R hC hR hu hdiv).labelData ell hell hell1 |
| 222 | |
| 223 | def baseInverse : ParticleInverse (baseParent P u C R hC hR hu hdiv ell hell hell1) := |
| 224 | (baseInput P u C R hC hR hu hdiv).particleInverse ell hell hell1 |
| 225 | |
| 226 | theorem baseParent_velocity_match (t : Icc (0 : ℝ) (baseTime P C R hC hR)) (x : Space) : |
| 227 | (baseParent P u C R hC hR hu hdiv ell hell hell1).velocity.field t x= |
| 228 | localVelocity P u C R hC hR hu hdiv |
| 229 | (t,(baseParent P u C R hC hR hu hdiv ell hell hell1).position t x) := by |
| 230 | have h := (baseInput P u C R hC hR hu hdiv).parent_velocity ell hell hell1 t x |
| 231 | exact h.trans (baseInput_field P u C R hC hR hu hdiv t _) |
| 232 | |
| 233 | def baseEvolution : Evolution (baseParent P u C R hC hR hu hdiv ell hell hell1) where |
| 234 | inverse := baseInverse P u C R hC hR hu hdiv ell hell hell1 |
| 235 | velocity := localVelocity P u C R hC hR hu hdiv |
| 236 | pressure := localPressure P u C R hC hR hu hdiv |
| 237 | force t x := localForce P u C R hC hR hu hdiv (t,x) |
| 238 | force_continuous := by |
| 239 | have hc : Continuous (fun q : Icc (0 : ℝ) (baseTime P C R hC hR) × Space => |
| 240 | ((q.1 : ℝ),q.2)) := |
| 241 | (continuous_subtype_val.comp continuous_fst).prodMk continuous_snd |
| 242 | exact (localForce_joint_continuous P u C R hC hR hu hdiv).comp hc |
| 243 | velocity_match := baseParent_velocity_match P u C R hC hR hu hdiv ell hell hell1 |
| 244 | velocity_differentiable t ht x := localVelocity_differentiableAt P u C R hC hR hu hdiv t |
| 245 | ⟨ht.1,ht.2.trans_le (baseTime_le P C R hC hR)⟩ x |
| 246 | pressure_differentiable t x := |
| 247 | (localPressure_smooth P u C R hC hR hu hdiv t).differentiable (by simp) x |
| 248 | pressure_gradient t x := localPressure_gradient P u C R hC hR hu hdiv t x |
| 249 | momentum_zero t ht x := localMomentum P u C R hC hR hu hdiv t |
| 250 | ⟨ht.1,ht.2.trans_le (baseTime_le P C R hC hR)⟩ x |
| 251 | divergence_zero t _ x := localVelocity_divergence P u C R hC hR hu hdiv t x |
| 252 | |
| 253 | theorem baseParent_initial_velocity (x : Space) : |
| 254 | (baseParent P u C R hC hR hu hdiv ell hell hell1).velocity.field |
| 255 | ⟨0,le_rfl,(baseTime_pos P C R hC hR).le⟩ x=u.field x := by |
| 256 | have h := baseParent_velocity_match P u C R hC hR hu hdiv ell hell hell1 |
| 257 | ⟨0,le_rfl,(baseTime_pos P C R hC hR).le⟩ x |
| 258 | have hz : (baseParent P u C R hC hR hu hdiv ell hell hell1).position |
| 259 | ⟨0,le_rfl,(baseTime_pos P C R hC hR).le⟩ x=x := by |
| 260 | change x+(baseParent P u C R hC hR hu hdiv ell hell hell1).displacement.field _ x=x |
| 261 | rw [(baseParent P u C R hC hR hu hdiv ell hell hell1).initial,add_zero] |
| 262 | erw [hz,localVelocity_initial] at h |
| 263 | exact h |
| 264 | |
| 265 | theorem baseOddData (hodd : ∀ x, u.field (-x)= -u.field x) : |
| 266 | OddData (baseParent P u C R hC hR hu hdiv ell hell hell1) := by |
| 267 | apply (baseInput P u C R hC hR hu hdiv).oddData _ ell hell hell1 |
| 268 | intro t x |
| 269 | erw [baseInput_field,baseInput_field] |
| 270 | exact localVelocity_odd P u C R hC hR hu hdiv hodd t x |
| 271 | |
| 272 | end EulerStaticEuler |