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.PacketForwardInitializedExactLifted |
| 2 | import Euler.ExactLiftedGraphPressure |
| 3 | import Euler.PacketPhysicalCorrectionPotential |
| 4 | import Euler.PacketPressureCovector |
| 5 | import Euler.PacketFieldGraphBounds |
| 6 | import Euler.AllOrderDriftFieldDecomposition |
| 7 | import Euler.PacketPhysicalGevrey |
| 8 | |
| 9 | /-! The exact zero-history packet has its literal finite velocity and scalar |
| 10 | pressure plus the actual correction. These identities use the canonical |
| 11 | pressure potential and therefore also identify its Hessian. -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | namespace EulerPacketTerminalDatum |
| 16 | |
| 17 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit EulerSpatialCutoffs |
| 18 | EulerTransversePacketProvider EulerPacketCylinderField EulerPacketProfileRecursion |
| 19 | EulerPacketPointJets EulerPacketTimeProfile EulerParameterWordGevrey |
| 20 | EulerPacketCoarseMajorant EulerCylinderPhysicalTensor EulerCylinderSobolevSpace |
| 21 | EulerLiftedGradientSpace EulerGraphPressurePotential EulerAllOrderDriftCorrection |
| 22 | EulerPacketCoordinates EulerPacketCorrectionCoefficients EulerPacketPhysicalGevrey |
| 23 | EulerPacketPressure EulerPacketGraphHessian EulerGraphPullback EulerPacketInverseFlowGevrey |
| 24 | open scoped ContDiff |
| 25 | |
| 26 | variable (M : EulerMeanPacketProvider.Data) |
| 27 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 28 | (D : Data U) (hTime : M.T = D.T) |
| 29 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 30 | (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 31 | (Q : Budget period D.T_pos |
| 32 | (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree N hN k hk)) |
| 33 | |
| 34 | def forwardInitializedExactPhysicalVelocity (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : Space := |
| 35 | k⁻¹ • D.F.field t (Y x) |
| 36 | ((forwardInitializedExactPacket M D hTime δ hδ ξ hs α Cagree N hN k hk Q).velocity.pointField |
| 37 | t (cylinderGraph period k D.m₀ (Y x))) |
| 38 | |
| 39 | /-- The approximation is exactly the finite physical velocity after |
| 40 | undoing its true normalized coordinate transformation. -/ |
| 41 | theorem forwardInitializedExactPhysicalVelocity_eq (t : Icc (0 : ℝ) D.T) (Y : Space → Space) (x : Space) : |
| 42 | forwardInitializedExactPhysicalVelocity M D hTime δ hδ ξ hs α Cagree N hN k hk Q t Y x = |
| 43 | forwardInitializedVelocity M D δ hδ ξ hs α N k⁻¹ |
| 44 | (t,(Y x,k*inner ℝ D.m₀ (Y x))) + |
| 45 | k⁻¹ • D.F.field t (Y x) (Q.pointField period t (cylinderGraph period k D.m₀ (Y x))) := by |
| 46 | have hk0 : k ≠ 0 := by linarith |
| 47 | have ha : (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree N hN k hk).approximation = |
| 48 | (coordinateField D (forwardInitializedVelocityField M D hTime δ hδ ξ hs α N k⁻¹) k).toFieldTower := |
| 49 | forwardInitializedNormalizedField_tower_eq M D hTime δ hδ ξ hs α N k |
| 50 | change k⁻¹ • D.F.field t (Y x) |
| 51 | ((exactPacketOfResidual period Q |
| 52 | (forwardInitializedApproximationResidual M D hTime δ hδ ξ hs α Cagree N hN k hk)).velocity.pointField |
| 53 | t (cylinderGraph period k D.m₀ (Y x))) = _ |
| 54 | rw [exactPacketOfResidual_velocity_pointField,ha,map_add,smul_add] |
| 55 | congr 1 |
| 56 | have he := (coordinateField D (forwardInitializedVelocityField M D hTime δ hδ ξ hs α N k⁻¹) k).toFieldTower_pointField_raw |
| 57 | t (Y x) (k*inner ℝ D.m₀ (Y x)) |
| 58 | rw [show cylinderGraph period k D.m₀ (Y x) = |
| 59 | (Y x,((k*inner ℝ D.m₀ (Y x) : ℝ) : AddCircle period)) from rfl,he] |
| 60 | simp only [coordinate,rawInverse,Data.clamp_coe,map_smul,D.inverse_right, |
| 61 | smul_smul,inv_mul_cancel₀ hk0,one_smul] |
| 62 | |
| 63 | theorem forwardInitializedExactPhysicalVelocity_fderiv (t : Icc (0 : ℝ) D.T) |
| 64 | (Y : Space → Space) (x : Space) (hY : DifferentiableAt ℝ Y x) : |
| 65 | fderiv ℝ (forwardInitializedExactPhysicalVelocity M D hTime δ hδ ξ hs α |
| 66 | Cagree N hN k hk Q t Y) x = |
| 67 | fderiv ℝ (fun y => forwardInitializedVelocity M D δ hδ ξ hs α N k⁻¹ |
| 68 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) x + |
| 69 | fderiv ℝ (fun y => k⁻¹ • D.F.field t (Y y) |
| 70 | (Q.pointField period t (cylinderGraph period k D.m₀ (Y y)))) x := by |
| 71 | have hw : DifferentiableAt ℝ (fun y => forwardInitializedVelocity M D δ hδ ξ hs α N k⁻¹ |
| 72 | (t,(Y y,k*inner ℝ D.m₀ (Y y)))) x := by |
| 73 | simpa only [Function.comp_def] using |
| 74 | (((forwardInitializedVelocityField M D hTime δ hδ ξ hs α N k⁻¹).raw_graph_contDiff |
| 75 | t k D.m₀).differentiable (by simp) (Y x)).comp x hY |
| 76 | have he : DifferentiableAt ℝ (fun y => k⁻¹ • D.F.field t (Y y) |
| 77 | (Q.pointField period t (cylinderGraph period k D.m₀ (Y y)))) x := by |
| 78 | simpa only [Function.comp_def,graphReconstruction,physicalField] using |
| 79 | ((graphReconstruction_contDiff D period k⁻¹ k (Q.pointField period) |
| 80 | (Q.pointField_smooth period) t).differentiable (by simp) (Y x)).comp x hY |
| 81 | have hfun := funext (forwardInitializedExactPhysicalVelocity_eq M D hTime δ hδ ξ hs α |
| 82 | Cagree N hN k hk Q t Y) |
| 83 | rw [hfun] |
| 84 | exact fderiv_fun_add hw he |
| 85 | |
| 86 | def forwardInitializedExactPhysicalPressure (t : Icc (0 : ℝ) D.T) (Y : Space → Space) : Space → ℝ := |
| 87 | (forwardInitializedExactPacket M D hTime δ hδ ξ hs α Cagree N hN k hk Q).graphPotential k t ∘ Y |
| 88 | |
| 89 | variable (X Y : Icc (0 : ℝ) D.T → Space → Space) |
| 90 | (hX : ∀ t x, HasFDerivAt (X t) (D.F.field t x) x) |
| 91 | (hXY : ∀ t x, X t (Y t x)=x) (hY : Continuous (Function.uncurry Y)) |
| 92 | |
| 93 | include hX hXY hY in |
| 94 | theorem forwardInitializedExactPhysicalPressure_gradient |
| 95 | (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 96 | gradient (forwardInitializedExactPhysicalPressure M D hTime δ hδ ξ hs α |
| 97 | Cagree N hN k hk Q t (Y t)) x = |
| 98 | gradient (fun y => forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹ |
| 99 | (t,(Y t y,k*⟪D.m₀,Y t y⟫_ℝ))) x + |
| 100 | gradient (Q.physicalPotential D period k Y t) x := by |
| 101 | have hk0 : k ≠ 0 := by linarith |
| 102 | have hkk : k*(forwardInitializedCorrectionData M D hTime δ hδ ξ hs α |
| 103 | Cagree N hN k hk).κ=1 := mul_inv_cancel₀ hk0 |
| 104 | let S := forwardInitializedExactPacket M D hTime δ hδ ξ hs α Cagree N hN k hk Q |
| 105 | let R := forwardInitializedApproximationResidual M D hTime δ hδ ξ hs α Cagree N hN k hk |
| 106 | have hpressure : S.pressure.pointField t (cylinderGraph period k D.m₀ (Y t x)) = |
| 107 | R.pressure.pointField t (cylinderGraph period k D.m₀ (Y t x)) + |
| 108 | Q.pointPressure period t (cylinderGraph period k D.m₀ (Y t x)) := |
| 109 | exactPacketOfResidual_pressure_pointField period Q R t _ |
| 110 | have hactual : R.pressure.pointField t (cylinderGraph period k D.m₀ (Y t x)) = |
| 111 | coordinatePressure D k (forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹) |
| 112 | (t,(Y t x,k*⟪D.m₀,Y t x⟫_ℝ)) := |
| 113 | (forwardInitializedCoordinatePressureField M D hTime δ hδ ξ hs α N k hk0).toFieldTower_pointField_raw |
| 114 | t (Y t x) (k*⟪D.m₀,Y t x⟫_ℝ) |
| 115 | have hp := ((forwardInitializedPressureWitness M D hTime δ hδ ξ hs α N k⁻¹).changeTime hTime).smooth t |
| 116 | change gradient (S.graphPotential k t ∘ Y t) x = _ |
| 117 | rw [EulerLagrangian.gradient_pullback _ _ _ _ |
| 118 | (continuousInverse_hasFDerivAt D X Y hX hXY hY t x) |
| 119 | ((S.graphPotential_smooth k hkk t).differentiable (by simp) (Y t x)), |
| 120 | S.graphPotential_gradient k hkk t (Y t x),map_smul] |
| 121 | change k⁻¹ • (D.FInv.field t (Y t x)).adjoint |
| 122 | (S.pressure.pointField t (cylinderGraph period k D.m₀ (Y t x))) = _ |
| 123 | rw [hpressure,hactual,map_add,smul_add, |
| 124 | Q.physicalPotential_gradient D period X Y hX hXY hY k hkk t x, |
| 125 | gradient_physical_covector k D.m₀ _ t (Y t) _ x |
| 126 | (continuousInverse_hasFDerivAt D X Y hX hXY hY t x) (hp.differentiable (by simp) _)] |
| 127 | congr 1 |
| 128 | simp only [coordinatePressure,covector,angularPressure,Pi.add_apply,Pi.smul_apply, |
| 129 | map_add,map_smul,smul_add,smul_smul] |
| 130 | match_scalars <;> field_simp |
| 131 | |
| 132 | include hX hXY hY in |
| 133 | theorem forwardInitializedExactPhysicalPressure_hessian |
| 134 | (t : Icc (0 : ℝ) D.T) (x : Space) : |
| 135 | fderiv ℝ (gradient (forwardInitializedExactPhysicalPressure M D hTime δ hδ ξ hs α |
| 136 | Cagree N hN k hk Q t (Y t))) x = |
| 137 | fderiv ℝ (gradient (fun y => forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹ |
| 138 | (t,(Y t y,k*⟪D.m₀,Y t y⟫_ℝ)))) x + |
| 139 | fderiv ℝ (gradient (Q.physicalPotential D period k Y t)) x := by |
| 140 | have hk0 : k ≠ 0 := by linarith |
| 141 | have hkk : k*(forwardInitializedCorrectionData M D hTime δ hδ ξ hs α |
| 142 | Cagree N hN k hk).κ=1 := mul_inv_cancel₀ hk0 |
| 143 | have hp := ((forwardInitializedPressureWitness M D hTime δ hδ ξ hs α N k⁻¹).changeTime hTime).smooth t |
| 144 | have hYc := continuousInverse_contDiff D X Y hX hXY hY t |
| 145 | have hfinite : ContDiff ℝ ∞ (fun y => forwardInitializedPressure M D δ hδ ξ hs α N k⁻¹ |
| 146 | (t,(Y t y,k*⟪D.m₀,Y t y⟫_ℝ))) := hp.comp ((graphMap k D.m₀).contDiff.comp hYc) |
| 147 | have hc := Q.physicalPotential_smooth D period X Y hX hXY hY k hkk t |
| 148 | have he := funext (forwardInitializedExactPhysicalPressure_gradient M D hTime δ hδ ξ hs α |
| 149 | Cagree N hN k hk Q X Y hX hXY hY t) |
| 150 | rw [he] |
| 151 | exact fderiv_fun_add |
| 152 | ((EulerMeanSolenoidal.contDiff_gradient hfinite).differentiable (by simp) x) |
| 153 | ((EulerMeanSolenoidal.contDiff_gradient hc).differentiable (by simp) x) |
| 154 | |
| 155 | end EulerPacketTerminalDatum |