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.PacketExactPhysicalEuler |
| 2 | import Euler.PacketEulerianRegularity |
| 3 | |
| 4 | /-! Literal agreement between the exact physical Euler fields and their |
| 5 | constructed smooth L² representatives, including the scalar pressure. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketPhysicalTransform |
| 10 | |
| 11 | open Set EulerSmoothLimit EulerAllOrderCorrectionData EulerAllOrderDriftCorrection |
| 12 | EulerPacketCorrectionCoefficients EulerGraphPressurePotential EulerLiftedGradientSpace |
| 13 | EulerPacketInverseFlowGevrey EulerPacketPhysicalField |
| 14 | open scoped ContDiff |
| 15 | |
| 16 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 17 | (D : EulerTransversePacketProvider.Data U) {P : ℝ} [Fact (0 < P)] |
| 18 | {κ : ℝ} {hκ : |κ| ≤ 1} {Z R : FieldTower P D.T} |
| 19 | {B : Budget P D.T_pos (correctionData D P κ hκ Z R)} |
| 20 | (S : ExactLiftedPacket P D.T_pos (correctionData D P κ hκ Z R) B) |
| 21 | |
| 22 | theorem exact_physicalVelocity_eq (k : ℝ) |
| 23 | (F : ℝ × Space → Space →L[ℝ] Space) (Y : ℝ × Space → Space) |
| 24 | (hF : ∀ (t : Icc (0 : ℝ) D.T) x, F (t,x)=D.F.field t x) |
| 25 | (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 26 | physicalVelocity κ k D.m₀ F S.rawVelocity Y (t,x) = |
| 27 | κ • D.F.field t (Y (t,x)) |
| 28 | (S.velocity.pointField t (cylinderGraph P k D.m₀ (Y (t,x)))) := by |
| 29 | simp only [physicalVelocity,inverseCoordinates,graphVelocity,spaceTimeGraph_apply, |
| 30 | ExactLiftedPacket.rawVelocity,FieldTower.rawField,projIcc_of_mem D.T_pos.le t.property, |
| 31 | hF,cylinderGraph,coveringMap] |
| 32 | |
| 33 | variable (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 34 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 35 | (hXY : ∀ t, Function.RightInverse (Y t) (X t)) |
| 36 | (hY : Continuous (Function.uncurry Y)) |
| 37 | |
| 38 | include hX hXY hY in |
| 39 | theorem exact_physicalPressure_gradient (k : ℝ) (hk : k*κ=1) |
| 40 | (Yraw : ℝ × Space → Space) |
| 41 | (hYraw : ∀ (t : Icc (0 : ℝ) D.T) x, Yraw (t,x)=Y t x) |
| 42 | (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 43 | gradient (fun y => physicalPressure (S.rawGraphPotential k) Yraw (t,y)) x = |
| 44 | κ • (D.FInv.field t (Y t x)).adjoint |
| 45 | (S.pressure.pointField t (cylinderGraph P k D.m₀ (Y t x))) := by |
| 46 | have he : (fun y => physicalPressure (S.rawGraphPotential k) Yraw (t,y)) = |
| 47 | S.graphPotential k t ∘ Y t := by |
| 48 | funext y |
| 49 | simp only [physicalPressure,inverseCoordinates,ExactLiftedPacket.rawGraphPotential, |
| 50 | projIcc_of_mem D.T_pos.le t.property,Function.comp_def,hYraw] |
| 51 | rw [he,EulerLagrangian.gradient_pullback _ _ _ _ |
| 52 | (continuousInverse_hasFDerivAt D X Y hX hXY hY t x) |
| 53 | ((S.graphPotential_smooth k hk t).differentiable (by simp) (Y t x)), |
| 54 | S.graphPotential_gradient k hk t (Y t x),map_smul] |
| 55 | rfl |
| 56 | |
| 57 | include hX hXY hY in |
| 58 | theorem exact_physicalPressure_smooth (k : ℝ) (hk : k*κ=1) |
| 59 | (Yraw : ℝ × Space → Space) |
| 60 | (hYraw : ∀ (t : Icc (0 : ℝ) D.T) x, Yraw (t,x)=Y t x) |
| 61 | (t : Icc (0 : ℝ) D.T) : |
| 62 | ContDiff ℝ ∞ (fun y => physicalPressure (S.rawGraphPotential k) Yraw (t,y)) := by |
| 63 | have he : (fun y => physicalPressure (S.rawGraphPotential k) Yraw (t,y)) = |
| 64 | S.graphPotential k t ∘ Y t := by |
| 65 | funext y |
| 66 | simp only [physicalPressure,inverseCoordinates,ExactLiftedPacket.rawGraphPotential, |
| 67 | projIcc_of_mem D.T_pos.le t.property,Function.comp_def,hYraw] |
| 68 | rw [he] |
| 69 | exact (S.graphPotential_smooth k hk t).comp (continuousInverse_contDiff D X Y hX hXY hY t) |
| 70 | |
| 71 | end EulerPacketPhysicalTransform |