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