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.FieldTowerVolumeSobolev |
| 2 | import Euler.PacketInverseFlowGevrey |
| 3 | import Euler.PacketContinuousInverse |
| 4 | import Euler.PacketVolumeDivergence |
| 5 | import Euler.SmoothL2CoefficientPath |
| 6 | import Euler.FieldTowerAlgebra |
| 7 | import Euler.FlowL2Transport |
| 8 | import Euler.PacketSourceCorrectionCoefficients |
| 9 | |
| 10 | /-! Actual Eulerian reconstructions have every spatial derivative in L², |
| 11 | continuously in time. Sobolev embedding also supplies bounded smooth |
| 12 | coefficient paths for the velocity and pressure force. -/ |
| 13 | |
| 14 | /-! ## From `Euler/PacketInverseFlowSobolevBound.lean` |
| 15 | |
| 16 | The text of `Euler/PacketInverseFlowSobolevBound.lean`, folded into this file, which was its only importer. -/ |
| 17 | |
| 18 | section |
| 19 | |
| 20 | /-! A finite-order Sobolev composition constant obtained from the actual |
| 21 | parent deformation. No inverse-flow derivative budget is assumed. -/ |
| 22 | |
| 23 | noncomputable section |
| 24 | |
| 25 | namespace EulerPacketInverseFlowGevrey |
| 26 | |
| 27 | open Set EulerSmoothLimit EulerGevrey EulerPacketPiola |
| 28 | open scoped ContDiff BoundedContinuousFunction |
| 29 | |
| 30 | def finiteOrderConstant (C R : ℝ) (n : ℕ) : ℝ := |
| 31 | 1+9*C^2*(sourceInverseRadius C R)^n*(n.factorial : ℝ)^2 |
| 32 | |
| 33 | theorem sourceInverseRadius_one_le (C R : ℝ) (hR : 0 ≤ R) : |
| 34 | 1 ≤ sourceInverseRadius C R := by |
| 35 | unfold sourceInverseRadius |
| 36 | have h : 0 ≤ 18*C^2*R := by positivity |
| 37 | linarith |
| 38 | |
| 39 | theorem finiteOrderConstant_one_le (C R : ℝ) (hR : 0 ≤ R) (n : ℕ) : |
| 40 | 1 ≤ finiteOrderConstant C R n := by |
| 41 | have hL := (sourceInverseRadius_pos C R hR).le |
| 42 | unfold finiteOrderConstant |
| 43 | have h : 0 ≤ 9*C^2*(sourceInverseRadius C R)^n*(n.factorial : ℝ)^2 := by positivity |
| 44 | linarith |
| 45 | |
| 46 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 47 | (D : EulerTransversePacketProvider.Data U) |
| 48 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 49 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 50 | (hY : ∀ t, Differentiable ℝ (Y t)) |
| 51 | (hXY : ∀ t x, X t (Y t x) = x) |
| 52 | (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) |
| 53 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det = 1) |
| 54 | (hF : ∀ n t x, |
| 55 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ C*majorant R 0 n) |
| 56 | |
| 57 | include hX hY hXY hR hC hdet hF in |
| 58 | theorem inverseFlow_finiteOrderBound (n i : ℕ) (hi : 1 ≤ i) (hin : i ≤ n) |
| 59 | (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 60 | ‖iteratedFDeriv ℝ i (Y t) x‖ ≤ (finiteOrderConstant C R n)^i := by |
| 61 | obtain ⟨j,rfl⟩ := Nat.exists_eq_succ_of_ne_zero (by omega : i ≠ 0) |
| 62 | have hjn : j ≤ n := by omega |
| 63 | have hL := sourceInverseRadius_one_le C R hR |
| 64 | have hD := finiteOrderConstant_one_le C R hR n |
| 65 | have hfac : (j.factorial : ℝ) ≤ (n.factorial : ℝ) := by |
| 66 | exact_mod_cast Nat.factorial_le hjn |
| 67 | have hbound : 9*C^2*(sourceInverseRadius C R)^j*(j.factorial : ℝ)^2 ≤ |
| 68 | 9*C^2*(sourceInverseRadius C R)^n*(n.factorial : ℝ)^2 := by |
| 69 | gcongr |
| 70 | calc |
| 71 | _ ≤ 9*C^2*(sourceInverseRadius C R)^j*(j.factorial : ℝ)^2 := |
| 72 | inverseFlow_gevrey D X Y hX hY hXY R C hR hC hdet hF j t x |
| 73 | _ ≤ finiteOrderConstant C R n := by |
| 74 | exact hbound.trans (by unfold finiteOrderConstant; linarith) |
| 75 | _ = (finiteOrderConstant C R n)^1 := (pow_one _).symm |
| 76 | _ ≤ _ := pow_le_pow_right₀ hD hi |
| 77 | |
| 78 | end EulerPacketInverseFlowGevrey |
| 79 | end |
| 80 | |
| 81 | end |
| 82 | |
| 83 | /-! ## From `Euler/PacketSourceVolumeSobolev.lean` |
| 84 | |
| 85 | The text of `Euler/PacketSourceVolumeSobolev.lean`, folded into this file, which was its only importer. -/ |
| 86 | |
| 87 | section |
| 88 | |
| 89 | /-! Spatial Sobolev paths for the actual inverse parent flow. Its |
| 90 | measure preservation, smoothness, derivative bounds and jet continuity |
| 91 | are all derived from the source deformation and inverse identities. -/ |
| 92 | |
| 93 | noncomputable section |
| 94 | |
| 95 | namespace EulerPacketSourceVolumeSobolev |
| 96 | |
| 97 | open Set MeasureTheory EulerSmoothLimit EulerAllOrderCorrectionData |
| 98 | EulerFlowL2Transport EulerPacketInverseFlowGevrey EulerPacketPiola |
| 99 | EulerCylinderPhysicalTensor EulerGraphPressurePotential EulerGevrey |
| 100 | open scoped ContDiff |
| 101 | |
| 102 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 103 | (D : EulerTransversePacketProvider.Data U) {P : ℝ} [Fact (0 < P)] |
| 104 | (Z : FieldTower P D.T) (k : ℝ) (m : Space) |
| 105 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 106 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 107 | (hYX : ∀ t, Function.LeftInverse (Y t) (X t)) |
| 108 | (hXY : ∀ t, Function.RightInverse (Y t) (X t)) |
| 109 | (hYjoint : Continuous (Function.uncurry Y)) |
| 110 | (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) |
| 111 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det = 1) |
| 112 | (hF : ∀ n t x, |
| 113 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ C*majorant R 0 n) |
| 114 | |
| 115 | include hX hYX hXY hYjoint hdet in |
| 116 | theorem inversePath_volume (t : Icc (0 : ℝ) D.T) : |
| 117 | MeasurePreserving (inversePath Y hYjoint t) volume volume := by |
| 118 | apply inversePath_measurePreserving X Y (fun s x => D.F.field s x) hX hYX hXY hYjoint |
| 119 | intro s x |
| 120 | rw [← EulerPacketVolumeDivergence.operatorMatrix_det] |
| 121 | exact hdet s x |
| 122 | |
| 123 | def tensorPath (n : ℕ) : |
| 124 | C(Icc (0 : ℝ) D.T,Lp (Space [×n]→L[ℝ] Space) 2 (volume : Measure Space)) := |
| 125 | Z.volumeTensorPath k m (inversePath Y hYjoint) |
| 126 | (inversePath_volume D X Y hX hYX hXY hYjoint hdet) n |
| 127 | (finiteOrderConstant C R n) (zero_le_one.trans (finiteOrderConstant_one_le C R hR n)) |
| 128 | (fun i _ _ => continuousInverse_jet_continuous D X Y hX hXY hYjoint i) |
| 129 | (fun i hi hin => inverseFlow_finiteOrderBound D X Y hX |
| 130 | (continuousInverse_differentiable D X Y hX hXY hYjoint) hXY R C hR hC hdet hF n i hi hin) |
| 131 | |
| 132 | theorem tensorPath_ae (n : ℕ) (t : Icc (0 : ℝ) D.T) : |
| 133 | (tensorPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n t : |
| 134 | Space → (Space [×n]→L[ℝ] Space)) =ᵐ[volume] |
| 135 | iteratedFDeriv ℝ n (fun x => Z.pointField t (cylinderGraph P k m (Y t x))) := |
| 136 | Z.volumeTensorPath_ae k m (inversePath Y hYjoint) |
| 137 | (inversePath_volume D X Y hX hYX hXY hYjoint hdet) n |
| 138 | (finiteOrderConstant C R n) (zero_le_one.trans (finiteOrderConstant_one_le C R hR n)) |
| 139 | (fun i _ _ => continuousInverse_jet_continuous D X Y hX hXY hYjoint i) |
| 140 | (fun i hi hin => inverseFlow_finiteOrderBound D X Y hX |
| 141 | (continuousInverse_differentiable D X Y hX hXY hYjoint) hXY R C hR hC hdet hF n i hi hin) |
| 142 | (continuousInverse_contDiff D X Y hX hXY hYjoint) t |
| 143 | |
| 144 | end EulerPacketSourceVolumeSobolev |
| 145 | end |
| 146 | |
| 147 | end |
| 148 | |
| 149 | /-! ## From `Euler/PacketSourceSmoothField.lean` |
| 150 | |
| 151 | The text of `Euler/PacketSourceSmoothField.lean`, folded into this file, which was its only importer. -/ |
| 152 | |
| 153 | section |
| 154 | |
| 155 | /-! The actual source-flow pullback is a smooth spatial L² field at |
| 156 | every time. Its tensor paths also give a bounded smooth coefficient |
| 157 | path, with continuity in the uniform norm at every spatial order. -/ |
| 158 | |
| 159 | noncomputable section |
| 160 | |
| 161 | namespace EulerPacketSourceVolumeSobolev |
| 162 | |
| 163 | open Set MeasureTheory EulerSmoothLimit EulerAllOrderCorrectionData |
| 164 | EulerFlowL2Transport EulerPacketInverseFlowGevrey EulerPacketPiola |
| 165 | EulerCylinderPhysicalTensor EulerGraphPressurePotential EulerGevrey |
| 166 | EulerLpTranslation EulerMeanCoefficients |
| 167 | open scoped ContDiff |
| 168 | |
| 169 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 170 | (D : EulerTransversePacketProvider.Data U) {P : ℝ} [Fact (0 < P)] |
| 171 | (Z : FieldTower P D.T) (k : ℝ) (m : Space) |
| 172 | (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 173 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 174 | (hYX : ∀ t, Function.LeftInverse (Y t) (X t)) |
| 175 | (hXY : ∀ t, Function.RightInverse (Y t) (X t)) |
| 176 | (hYjoint : Continuous (Function.uncurry Y)) |
| 177 | (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) |
| 178 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) |
| 179 | (hF : ∀ n t x, |
| 180 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ C*majorant R 0 n) |
| 181 | |
| 182 | def smoothField (t : Icc (0 : ℝ) D.T) : SmoothL2Field Space where |
| 183 | field x := Z.pointField t (cylinderGraph P k m (Y t x)) |
| 184 | smooth := (Z.physicalPointField_smooth k m t).comp |
| 185 | (continuousInverse_contDiff D X Y hX hXY hYjoint t) |
| 186 | integrable n := |
| 187 | (Lp.memLp (tensorPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n t)).ae_eq |
| 188 | (tensorPath_ae D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n t) |
| 189 | |
| 190 | theorem smoothField_jetLp (n : ℕ) (t : Icc (0 : ℝ) D.T) : |
| 191 | (smoothField D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF t).jetLp n = |
| 192 | tensorPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n t := by |
| 193 | apply Lp.ext |
| 194 | exact (SmoothL2Field.jetLp_ae _ n).trans |
| 195 | (tensorPath_ae D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n t).symm |
| 196 | |
| 197 | theorem smoothField_jetLp_continuous (n : ℕ) : |
| 198 | Continuous (fun t => (smoothField D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF t).jetLp n) := by |
| 199 | simp only [smoothField_jetLp] |
| 200 | exact (tensorPath D Z k m X Y hX hYX hXY hYjoint R C hR hC hdet hF n).continuous |
| 201 | |
| 202 | end EulerPacketSourceVolumeSobolev |
| 203 | end |
| 204 | |
| 205 | end |
| 206 | |
| 207 | /-! ## From `Euler/PacketPhysicalFieldTower.lean` |
| 208 | |
| 209 | The text of `Euler/PacketPhysicalFieldTower.lean`, folded into this file, which was its only importer. -/ |
| 210 | |
| 211 | section |
| 212 | |
| 213 | /-! Reconstruction W=κFz is a genuine all-order field tower. Its graph |
| 214 | restriction and its actual inverse-flow pullback are continuous spatial L² |
| 215 | paths, with no independent integrability assumption on the perturbation. -/ |
| 216 | |
| 217 | noncomputable section |
| 218 | |
| 219 | namespace EulerPacketPhysicalField |
| 220 | |
| 221 | open Set MeasureTheory EulerSmoothLimit EulerLiftedGradientSpace |
| 222 | EulerAllOrderCorrectionData EulerPacketCorrectionCoefficients |
| 223 | EulerCylinderPhysicalTensor EulerGraphPressurePotential EulerFlowL2Transport |
| 224 | |
| 225 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 226 | (D : EulerTransversePacketProvider.Data U) (P : ℝ) [Fact (0 < P)] |
| 227 | (κ : ℝ) (Z : FieldTower P D.T) |
| 228 | |
| 229 | def reconstructedTower : FieldTower P D.T := |
| 230 | (Z.multiply ((frameCoefficient D).toCoefficientTower P)).smul κ |
| 231 | |
| 232 | theorem reconstructedTower_pointField (t : Icc (0 : ℝ) D.T) (x : LiftDomain P) : |
| 233 | (reconstructedTower D P κ Z).pointField t x = |
| 234 | κ • D.F.field t x.1 (Z.pointField t x) := by |
| 235 | rw [reconstructedTower,FieldTower.smul_pointField,FieldTower.multiply_pointField] |
| 236 | rfl |
| 237 | |
| 238 | variable (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 239 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 240 | (hYX : ∀ t, Function.LeftInverse (Y t) (X t)) |
| 241 | (hXY : ∀ t, Function.RightInverse (Y t) (X t)) |
| 242 | (hY : Continuous (Function.uncurry Y)) |
| 243 | (hdet : ∀ t x, (D.F.field t x).det=1) |
| 244 | |
| 245 | end EulerPacketPhysicalField |
| 246 | end |
| 247 | |
| 248 | end |
| 249 | |
| 250 | noncomputable section |
| 251 | |
| 252 | namespace EulerPacketPhysicalField |
| 253 | |
| 254 | open Set MeasureTheory EulerSmoothLimit EulerAllOrderCorrectionData |
| 255 | EulerPacketCorrectionCoefficients EulerGraphPressurePotential EulerGevrey |
| 256 | EulerLpTranslation EulerMeanCoefficients EulerPacketPiola |
| 257 | |
| 258 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 259 | (D : EulerTransversePacketProvider.Data U) (P : ℝ) [Fact (0 < P)] |
| 260 | (κ : ℝ) (Z : FieldTower P D.T) |
| 261 | |
| 262 | def pressureForceTower : FieldTower P D.T := |
| 263 | (Z.multiply ((inverseCoefficient D).adjoint.toCoefficientTower P)).smul κ |
| 264 | |
| 265 | theorem pressureForceTower_pointField (t : Icc (0 : ℝ) D.T) |
| 266 | (x : EulerLiftedGradientSpace.LiftDomain P) : |
| 267 | (pressureForceTower D P κ Z).pointField t x = |
| 268 | κ • (D.FInv.field t x.1).adjoint (Z.pointField t x) := by |
| 269 | rw [pressureForceTower, FieldTower.smul_pointField, FieldTower.multiply_pointField] |
| 270 | rfl |
| 271 | |
| 272 | variable (k : ℝ) (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 273 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 274 | (hYX : ∀ t, Function.LeftInverse (Y t) (X t)) |
| 275 | (hXY : ∀ t, Function.RightInverse (Y t) (X t)) |
| 276 | (hY : Continuous (Function.uncurry Y)) |
| 277 | (R C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) |
| 278 | (hdet : ∀ t x, (operatorMatrix (D.F.field t x)).det=1) |
| 279 | (hF : ∀ n t x, |
| 280 | ‖iteratedFDeriv ℝ n (D.F.field t : Space → (Space →L[ℝ] Space)) x‖ ≤ C*majorant R 0 n) |
| 281 | |
| 282 | def eulerianSmoothField (t : Icc (0 : ℝ) D.T) : SmoothL2Field Space := |
| 283 | EulerPacketSourceVolumeSobolev.smoothField D (reconstructedTower D P κ Z) k D.m₀ |
| 284 | X Y hX hYX hXY hY R C hR hC hdet hF t |
| 285 | |
| 286 | theorem eulerianSmoothField_apply (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 287 | (eulerianSmoothField D P κ Z k X Y hX hYX hXY hY R C hR hC hdet hF t).field x = |
| 288 | κ • D.F.field t (Y t x) (Z.pointField t (cylinderGraph P k D.m₀ (Y t x))) := |
| 289 | reconstructedTower_pointField D P κ Z t (cylinderGraph P k D.m₀ (Y t x)) |
| 290 | |
| 291 | theorem eulerianSmoothField_jetLp_continuous (n : ℕ) : |
| 292 | Continuous (fun t => |
| 293 | (eulerianSmoothField D P κ Z k X Y hX hYX hXY hY R C hR hC hdet hF t).jetLp n) := |
| 294 | EulerPacketSourceVolumeSobolev.smoothField_jetLp_continuous D (reconstructedTower D P κ Z) |
| 295 | k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF n |
| 296 | |
| 297 | def pressureForceSmoothField (t : Icc (0 : ℝ) D.T) : SmoothL2Field Space := |
| 298 | EulerPacketSourceVolumeSobolev.smoothField D (pressureForceTower D P κ Z) k D.m₀ |
| 299 | X Y hX hYX hXY hY R C hR hC hdet hF t |
| 300 | |
| 301 | theorem pressureForceSmoothField_apply (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 302 | (pressureForceSmoothField D P κ Z k X Y hX hYX hXY hY R C hR hC hdet hF t).field x = |
| 303 | κ • (D.FInv.field t (Y t x)).adjoint |
| 304 | (Z.pointField t (cylinderGraph P k D.m₀ (Y t x))) := |
| 305 | pressureForceTower_pointField D P κ Z t (cylinderGraph P k D.m₀ (Y t x)) |
| 306 | |
| 307 | theorem pressureForceSmoothField_jetLp_continuous (n : ℕ) : |
| 308 | Continuous (fun t => |
| 309 | (pressureForceSmoothField D P κ Z k X Y hX hYX hXY hY R C hR hC hdet hF t).jetLp n) := |
| 310 | EulerPacketSourceVolumeSobolev.smoothField_jetLp_continuous D (pressureForceTower D P κ Z) |
| 311 | k D.m₀ X Y hX hYX hXY hY R C hR hC hdet hF n |
| 312 | |
| 313 | end EulerPacketPhysicalField |