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.ParentEulerChild |
| 2 | import Euler.ParentEulerSobolev |
| 3 | import Euler.ParentPacketScaledBounds |
| 4 | import Euler.ParentParticleInverse |
| 5 | import Euler.PacketEulerianRegularity |
| 6 | import Euler.SmoothL2ScalingContinuity |
| 7 | import Euler.ParentEulerState |
| 8 | import Euler.ParentPacketParity |
| 9 | import Euler.ParentPacketJoinedInput |
| 10 | import Euler.PacketLiftedParity |
| 11 | import Euler.PacketForwardInitializedCorrectionParity |
| 12 | |
| 13 | /-! The recursive physical state consists of the actual Euler solution, |
| 14 | its all-order Sobolev fields, its particle-label bounds, and its symmetry. |
| 15 | Restriction and the exact packet construction preserve these data. -/ |
| 16 | |
| 17 | /-! ## From `Euler/ParentPacketSobolevFields.lean` |
| 18 | |
| 19 | The text of `Euler/ParentPacketSobolevFields.lean`, folded into this file, which was its only importer. -/ |
| 20 | |
| 21 | section |
| 22 | |
| 23 | /-! Actual physical L² fields of a packet over a parent. The genuine |
| 24 | inverse and the proved parent label bound supply all reconstruction |
| 25 | regularity, and the physical spatial scale is retained exactly. -/ |
| 26 | |
| 27 | noncomputable section |
| 28 | |
| 29 | namespace EulerParentPacketFrames |
| 30 | |
| 31 | open Set EulerSmoothLimit EulerLpTranslation EulerLpTranslation.SmoothL2Field |
| 32 | EulerPacketPhysicalField EulerAllOrderCorrectionData EulerPacketParentLabelBounds |
| 33 | EulerTransverseFrameCoordinates EulerGraphPressurePotential |
| 34 | |
| 35 | namespace ParticleInverse |
| 36 | |
| 37 | variable {A : Parent} (I : ParticleInverse A) |
| 38 | |
| 39 | theorem normalized_scaled (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 40 | I.normalized t (A.ell⁻¹ • x)=A.ell⁻¹ • I.field t x := by |
| 41 | simp only [normalized,Parent.packetInverse,projIcc_of_mem A.T_pos.le t.property, |
| 42 | smul_smul,mul_inv_cancel₀ A.ell_pos.ne',one_smul] |
| 43 | |
| 44 | end ParticleInverse |
| 45 | |
| 46 | namespace LabelData |
| 47 | |
| 48 | variable {A : Parent} (L : LabelData A) (I : ParticleInverse A) |
| 49 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 50 | (m : Space) (hm : ‖m‖=1) (J : U ≃ₗᵢ[ℝ] referencePlane m) |
| 51 | (support : Set Space) (hSupport : IsCompact support) |
| 52 | (P : ℝ) [Fact (0 < P)] (κ : ℝ) (Z : FieldTower P A.T) (k : ℝ) |
| 53 | |
| 54 | def packetVelocityField (t : Icc (0 : ℝ) A.T) : SmoothL2Field Space := |
| 55 | scaleField A.ell A.ell_pos |
| 56 | (eulerianSmoothField (A.transverseData m hm J support hSupport) P κ Z k |
| 57 | (fun s x => A.packetPosition (s,x)) I.normalized A.packetPosition_spatial |
| 58 | I.normalized_left I.normalized_right I.normalized_continuous |
| 59 | L.scaledRadius (frameAmplitude L.K) L.scaledRadius_nonneg (frameAmplitude_nonneg L.K) |
| 60 | A.frame_det L.frame_scaled_bound t) |
| 61 | |
| 62 | def packetForceField (t : Icc (0 : ℝ) A.T) : SmoothL2Field Space := |
| 63 | scaleField A.ell A.ell_pos |
| 64 | (pressureForceSmoothField (A.transverseData m hm J support hSupport) P κ Z k |
| 65 | (fun s x => A.packetPosition (s,x)) I.normalized A.packetPosition_spatial |
| 66 | I.normalized_left I.normalized_right I.normalized_continuous |
| 67 | L.scaledRadius (frameAmplitude L.K) L.scaledRadius_nonneg (frameAmplitude_nonneg L.K) |
| 68 | A.frame_det L.frame_scaled_bound t) |
| 69 | |
| 70 | theorem packetVelocityField_apply (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 71 | (L.packetVelocityField I m hm J support hSupport P κ Z k t).field x = |
| 72 | A.ell • (κ • A.frame.field t (A.ell⁻¹ • I.field t x) |
| 73 | (Z.pointField t (cylinderGraph P k m (A.ell⁻¹ • I.field t x)))) := by |
| 74 | rw [packetVelocityField,scaleField_apply] |
| 75 | erw [eulerianSmoothField_apply,I.normalized_scaled] |
| 76 | rfl |
| 77 | |
| 78 | theorem packetForceField_apply (t : Icc (0 : ℝ) A.T) (x : Space) : |
| 79 | (L.packetForceField I m hm J support hSupport P κ Z k t).field x = |
| 80 | A.ell • (κ • (A.inverse.field t (A.ell⁻¹ • I.field t x)).adjoint |
| 81 | (Z.pointField t (cylinderGraph P k m (A.ell⁻¹ • I.field t x)))) := by |
| 82 | rw [packetForceField,scaleField_apply] |
| 83 | erw [pressureForceSmoothField_apply,I.normalized_scaled] |
| 84 | rfl |
| 85 | |
| 86 | theorem packetVelocityField_continuous (n : ℕ) : |
| 87 | Continuous (fun t => (L.packetVelocityField I m hm J support hSupport P κ Z k t).jetLp n) := |
| 88 | continuous_jetLp_scaleField A.ell A.ell_pos A.ell_le_one _ |
| 89 | (eulerianSmoothField_jetLp_continuous (A.transverseData m hm J support hSupport) P κ Z k |
| 90 | (fun s x => A.packetPosition (s,x)) I.normalized A.packetPosition_spatial |
| 91 | I.normalized_left I.normalized_right I.normalized_continuous |
| 92 | L.scaledRadius (frameAmplitude L.K) L.scaledRadius_nonneg (frameAmplitude_nonneg L.K) |
| 93 | A.frame_det L.frame_scaled_bound) n |
| 94 | |
| 95 | theorem packetForceField_continuous (n : ℕ) : |
| 96 | Continuous (fun t => (L.packetForceField I m hm J support hSupport P κ Z k t).jetLp n) := |
| 97 | continuous_jetLp_scaleField A.ell A.ell_pos A.ell_le_one _ |
| 98 | (pressureForceSmoothField_jetLp_continuous (A.transverseData m hm J support hSupport) P κ Z k |
| 99 | (fun s x => A.packetPosition (s,x)) I.normalized A.packetPosition_spatial |
| 100 | I.normalized_left I.normalized_right I.normalized_continuous |
| 101 | L.scaledRadius (frameAmplitude L.K) L.scaledRadius_nonneg (frameAmplitude_nonneg L.K) |
| 102 | A.frame_det L.frame_scaled_bound) n |
| 103 | |
| 104 | end LabelData |
| 105 | end EulerParentPacketFrames |
| 106 | end |
| 107 | |
| 108 | end |
| 109 | |
| 110 | /-! ## From `Euler/ParentPacketCorrectionParity.lean` |
| 111 | |
| 112 | The text of `Euler/ParentPacketCorrectionParity.lean`, folded into this file, which was its only importer. -/ |
| 113 | |
| 114 | section |
| 115 | |
| 116 | /-! Actual odd parent fields supply the parity data for both initialized |
| 117 | packet branches. The resulting corrected coefficient, and hence the |
| 118 | actual next particle map, retain oddness without a new symmetry premise. -/ |
| 119 | |
| 120 | noncomputable section |
| 121 | |
| 122 | namespace EulerParentPacketFrames.OddData |
| 123 | |
| 124 | open Set EulerSmoothLimit EulerSpatialCutoffs EulerPacketTerminalDatum |
| 125 | EulerPacketCylinderField EulerPacketProfileRecursion EulerCorrectionAssembly |
| 126 | EulerTimeIntervalRestriction EulerGraphInvariantFlow EulerAllOrderCorrectionData |
| 127 | EulerAllOrderDriftCorrection |
| 128 | |
| 129 | variable {A : Parent} (O : OddData A) (H : LowBounds A) |
| 130 | {U : Type} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 131 | (m : Space) (hm : ‖m‖=1) (R : U ≃ₗᵢ[ℝ] EulerTransverseFrameCoordinates.referencePlane m) |
| 132 | (S : Set Space) (hS : IsCompact S) (hSym : ∀ x, -x ∈ S ↔ x ∈ S) |
| 133 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ S) (α : ℝ) |
| 134 | |
| 135 | include O hSym |
| 136 | |
| 137 | theorem forwardCorrectionParity (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) : |
| 138 | ParityData period |
| 139 | (forwardInitializedCorrectionData (A.meanData H) (A.transverseData m hm R S hS) rfl |
| 140 | δ hδ ξ hs α (A.sourceAgreement m hm R S hS H) N hN k hk) := |
| 141 | forwardInitializedCorrectionParityData (A.meanData H) (A.transverseData m hm R S hS) rfl |
| 142 | δ hδ ξ hs α (O.meanEvenData H) hSym O.frame_even O.strain_even |
| 143 | (A.sourceAgreement m hm R S hS H) N hN k hk |
| 144 | |
| 145 | theorem joinedCorrectionParity (τ : ℝ) (hτ : 0 < τ) (hτT : τ < A.T) |
| 146 | (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) : |
| 147 | ParityData period |
| 148 | (initializedCorrectionData (A.meanData H) (A.transverseData m hm R S hS) rfl |
| 149 | τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α |
| 150 | (A.sourceAgreement m hm R S hS H) N hN k hk) := by |
| 151 | apply initializedCorrectionParityData (A.meanData H) (A.transverseData m hm R S hS) rfl |
| 152 | τ hτ hτT (A.historyOn H m hm R S hS τ hτ hτT) δ hδ ξ hs α |
| 153 | (O.meanEvenData H) hSym O.frame_even O.strain_even |
| 154 | _ (A.sourceAgreement m hm R S hS H) N hN k hk |
| 155 | intro t x |
| 156 | exact O.curvature_even (initialInclusion A.T τ hτT.le t) x |
| 157 | |
| 158 | omit hSym [CompleteSpace U] in |
| 159 | theorem childOfPacket {P : ℝ} [Fact (0 < P)] {C : EulerAllOrderCorrectionData.Data P A.T} |
| 160 | (B : Budget P A.T_pos C) (E : ParityData P C) |
| 161 | {raw : VectorField} (V : Field P A.T raw) (hV : C.approximation=V.toFieldTower) |
| 162 | (G : EulerPhysicalGraphFlowBounds.Data P A.T) (hG : G.A=B.liftedPacketCoefficient P V) |
| 163 | (k : ℝ) (hgraph : ∀ t z, graphConstraint k C.direction (G.A.field t z)=0) |
| 164 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) : |
| 165 | OddData (A.child G k C.direction hgraph nextEll hnext hnext1) := by |
| 166 | apply O.child G _ k C.direction hgraph nextEll hnext hnext1 |
| 167 | intro t |
| 168 | rw [hG] |
| 169 | exact B.liftedPacketCoefficient_odd P V hV E t |
| 170 | |
| 171 | end EulerParentPacketFrames.OddData |
| 172 | end |
| 173 | |
| 174 | end |
| 175 | |
| 176 | /-! ## From `Euler/ParentEulerSobolevChild.lean` |
| 177 | |
| 178 | The text of `Euler/ParentEulerSobolevChild.lean`, folded into this file, which was its only importer. -/ |
| 179 | |
| 180 | section |
| 181 | |
| 182 | /-! The constructed child Euler evolution remains in the actual |
| 183 | all-order spatial Sobolev class. Its fields are the parent fields plus |
| 184 | the very same exact packet used in the particle-map construction. -/ |
| 185 | |
| 186 | noncomputable section |
| 187 | |
| 188 | namespace EulerParentPacketFrames.SobolevData |
| 189 | |
| 190 | open Set EulerSmoothLimit EulerTransverseFrameCoordinates |
| 191 | EulerAllOrderCorrectionData EulerAllOrderDriftCorrection EulerPacketCorrectionCoefficients |
| 192 | EulerGraphInvariantFlow EulerLpTranslation EulerLpTranslation.SmoothL2Field |
| 193 | |
| 194 | variable {A : Parent} {E : Evolution A} (F : SobolevData E) (L : LabelData A) |
| 195 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 196 | (m : Space) (hm : ‖m‖=1) (J : U ≃ₗᵢ[ℝ] referencePlane m) |
| 197 | (support : Set Space) (hSupport : IsCompact support) |
| 198 | {P : ℝ} [Fact (0 < P)] {κ : ℝ} {hκ : |κ| ≤ 1} |
| 199 | {Z R : FieldTower P A.T} |
| 200 | (B : Budget P A.T_pos (correctionData (A.transverseData m hm J support hSupport) P κ hκ Z R)) |
| 201 | (residual : ApproximationResidual P A.T_pos |
| 202 | (correctionData (A.transverseData m hm J support hSupport) P κ hκ Z R)) |
| 203 | {raw : EulerPacketProfileRecursion.VectorField} |
| 204 | (V : EulerPacketCylinderField.Field P A.T raw) (hV : Z=V.toFieldTower) |
| 205 | (G : EulerPhysicalGraphFlowBounds.Data P A.T) (hG : G.A=B.liftedPacketCoefficient P V) |
| 206 | (k : ℝ) (hk : k*κ=1) (hgraph : ∀ t q, graphConstraint k m (G.A.field t q)=0) |
| 207 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 208 | |
| 209 | def child : SobolevData |
| 210 | (E.child m hm J support hSupport B residual V hV G hG k hk hgraph nextEll hnext hnext1) where |
| 211 | velocity t := addField (F.velocity t) |
| 212 | (L.packetVelocityField E.inverse m hm J support hSupport P κ |
| 213 | (exactPacketOfResidual P B residual).velocity k t) |
| 214 | force t := addField (F.force t) |
| 215 | (L.packetForceField E.inverse m hm J support hSupport P κ |
| 216 | (exactPacketOfResidual P B residual).pressure k t) |
| 217 | velocity_match t x := by |
| 218 | erw [Evolution.child_velocity,A.exactPacketVelocity_eq_corrected] |
| 219 | erw [addField_field,L.packetVelocityField_apply] |
| 220 | change E.velocity (t,x)+_=(F.velocity t).field x+_ |
| 221 | erw [F.velocity_match] |
| 222 | rfl |
| 223 | force_match t x := by |
| 224 | erw [Evolution.child_force] |
| 225 | erw [Parent.exactPacketForce,addField_field,F.force_match,L.packetForceField_apply] |
| 226 | simp only [ExactLiftedPacket.graphPressure,map_smul] |
| 227 | rfl |
| 228 | velocity_continuous := continuous_jetLp_addField _ _ F.velocity_continuous |
| 229 | (L.packetVelocityField_continuous E.inverse m hm J support hSupport P κ |
| 230 | (exactPacketOfResidual P B residual).velocity k) |
| 231 | force_continuous := continuous_jetLp_addField _ _ F.force_continuous |
| 232 | (L.packetForceField_continuous E.inverse m hm J support hSupport P κ |
| 233 | (exactPacketOfResidual P B residual).pressure k) |
| 234 | |
| 235 | end EulerParentPacketFrames.SobolevData |
| 236 | end |
| 237 | |
| 238 | end |
| 239 | |
| 240 | /-! ## From `Euler/ParentEulerParity.lean` |
| 241 | |
| 242 | The text of `Euler/ParentEulerParity.lean`, folded into this file, which was its only importer. -/ |
| 243 | |
| 244 | section |
| 245 | |
| 246 | /-! The physical velocity and pressure force inherit the genuine |
| 247 | particle symmetry, so their values vanish at the fixed origin. -/ |
| 248 | |
| 249 | noncomputable section |
| 250 | |
| 251 | namespace EulerParentPacketFrames.Evolution |
| 252 | |
| 253 | open Set EulerSmoothLimit |
| 254 | |
| 255 | variable {A : Parent} (E : Evolution A) (O : OddData A) |
| 256 | |
| 257 | include O |
| 258 | |
| 259 | theorem strain_origin (t : Icc (0 : ℝ) A.T) : |
| 260 | A.strain.field t 0=fderiv ℝ (fun y => E.velocity (t,y)) 0 := by |
| 261 | rw [E.strain_eq,smul_zero,O.position_zero] |
| 262 | |
| 263 | end EulerParentPacketFrames.Evolution |
| 264 | end |
| 265 | |
| 266 | end |
| 267 | |
| 268 | /-! ## From `Euler/ParentEulerEndpoints.lean` |
| 269 | |
| 270 | The text of `Euler/ParentEulerEndpoints.lean`, folded into this file, which was its only importer. -/ |
| 271 | |
| 272 | section |
| 273 | |
| 274 | /-! The physical gradient is continuous up to the endpoints in the |
| 275 | actual Sobolev class. Incompressibility therefore holds at time zero |
| 276 | and the final time as well as in the open Euler interval. -/ |
| 277 | |
| 278 | noncomputable section |
| 279 | |
| 280 | namespace EulerParentPacketFrames.SobolevData |
| 281 | |
| 282 | open Set EulerSmoothLimit EulerLpTranslation EulerLpTranslation.SmoothL2Field |
| 283 | EulerMeanSobolevBoundedField EulerMeanCoefficients |
| 284 | open scoped Topology |
| 285 | |
| 286 | variable {A : Parent} {E : Evolution A} (S : SobolevData E) |
| 287 | |
| 288 | include S |
| 289 | |
| 290 | end EulerParentPacketFrames.SobolevData |
| 291 | end |
| 292 | |
| 293 | end |
| 294 | |
| 295 | noncomputable section |
| 296 | |
| 297 | namespace EulerParentPacketFrames |
| 298 | |
| 299 | open Set EulerSmoothLimit EulerTransverseFrameCoordinates |
| 300 | EulerAllOrderCorrectionData EulerAllOrderDriftCorrection EulerPacketCorrectionCoefficients |
| 301 | EulerGraphInvariantFlow EulerCorrectionAssembly |
| 302 | |
| 303 | structure SmoothState (A : Parent) where |
| 304 | evolution : Evolution A |
| 305 | regularity : SobolevData evolution |
| 306 | labels : LabelData A |
| 307 | odd : OddData A |
| 308 | |
| 309 | namespace SmoothState |
| 310 | |
| 311 | variable {A : Parent} (S : SmoothState A) |
| 312 | |
| 313 | def restrictTime (T : ℝ) (hT : 0 < T) (hTA : T ≤ A.T) : |
| 314 | SmoothState (A.restrictTime T hT hTA) where |
| 315 | evolution := S.evolution.restrictTime T hT hTA |
| 316 | regularity := S.regularity.restrictTime T hT hTA |
| 317 | labels := S.labels.restrictTime T hT hTA |
| 318 | odd := S.odd.restrictTime T hT hTA |
| 319 | |
| 320 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 321 | (m : Space) (hm : ‖m‖=1) (J : U ≃ₗᵢ[ℝ] referencePlane m) |
| 322 | (support : Set Space) (hSupport : IsCompact support) |
| 323 | {P : ℝ} [Fact (0 < P)] {κ : ℝ} {hκ : |κ| ≤ 1} |
| 324 | {Z R : FieldTower P A.T} |
| 325 | (B : Budget P A.T_pos (correctionData (A.transverseData m hm J support hSupport) P κ hκ Z R)) |
| 326 | (residual : ApproximationResidual P A.T_pos |
| 327 | (correctionData (A.transverseData m hm J support hSupport) P κ hκ Z R)) |
| 328 | {raw : EulerPacketProfileRecursion.VectorField} |
| 329 | (V : EulerPacketCylinderField.Field P A.T raw) (hV : Z=V.toFieldTower) |
| 330 | (symmetry : ParityData P (correctionData (A.transverseData m hm J support hSupport) P κ hκ Z R)) |
| 331 | (G : EulerPhysicalGraphFlowBounds.Data P A.T) (hG : G.A=B.liftedPacketCoefficient P V) |
| 332 | (k : ℝ) (hk : k*κ=1) (hgraph : ∀ t q, graphConstraint k m (G.A.field t q)=0) |
| 333 | (nextEll : ℝ) (hnext : 0 < nextEll) (hnext1 : nextEll ≤ 1) |
| 334 | |
| 335 | def packetChild (labels : LabelData (A.child G k m hgraph nextEll hnext hnext1)) : |
| 336 | SmoothState (A.child G k m hgraph nextEll hnext hnext1) where |
| 337 | evolution := S.evolution.child m hm J support hSupport B residual V hV G hG k hk hgraph |
| 338 | nextEll hnext hnext1 |
| 339 | regularity := S.regularity.child S.labels m hm J support hSupport B residual V hV G hG k hk hgraph |
| 340 | nextEll hnext hnext1 |
| 341 | labels := labels |
| 342 | odd := S.odd.childOfPacket B symmetry V hV G hG k hgraph nextEll hnext hnext1 |
| 343 | |
| 344 | end SmoothState |
| 345 | end EulerParentPacketFrames |