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.PacketInitializedResidualEquation |
| 2 | import Euler.PacketInitializedCorrectionChoice |
| 3 | import Euler.PacketInitializedCorrectionData |
| 4 | import Euler.PacketInitializedProfiles |
| 5 | import Euler.PacketPrimarySourceRegularity |
| 6 | import Euler.PacketProfileParity |
| 7 | import Euler.PacketTerminalInitialData |
| 8 | import Euler.PacketJoinedSourceProfiles |
| 9 | import Euler.PacketFieldParityAlgebra |
| 10 | import Euler.PacketCorrectionCoefficientParity |
| 11 | |
| 12 | /-! Source budgets and the actual initialized residual construct exact |
| 13 | corrected lifted packets at every sufficiently large frequency. -/ |
| 14 | |
| 15 | /-! ## From `Euler/PacketPrimarySourceParity.lean` |
| 16 | |
| 17 | The text of `Euler/PacketPrimarySourceParity.lean`, folded into this file, which was its only importer. -/ |
| 18 | |
| 19 | section |
| 20 | |
| 21 | /-! Joint parity of the actual terminal-history primary and its continuation. |
| 22 | The compact terminal wave supplies the odd input without an additional |
| 23 | assumption on the constructed solution. -/ |
| 24 | |
| 25 | noncomputable section |
| 26 | |
| 27 | namespace EulerTransversePacketPrimary |
| 28 | |
| 29 | open Set EulerSmoothLimit EulerTransversePacketProvider EulerPacketCylinderField |
| 30 | EulerPacketProfileRecursion EulerLpCylinderTranslation EulerCylinderFieldReflection |
| 31 | |
| 32 | variable {P : ℝ} [Fact (0 < P)] |
| 33 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 34 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 35 | (B : HistoryData (D.initial τ hτ hτT.le)) (Y : InitialData P D) |
| 36 | (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector P) |
| 37 | (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 38 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| 39 | (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) |
| 40 | (hH : ∀ t x, B.H.field t (-x) = B.H.field t x) |
| 41 | (hY : reflection P (Y.value : CylinderL2 P U) = -(Y.value : CylinderL2 P U)) |
| 42 | |
| 43 | include hcorrector hSym hF hM hH hY |
| 44 | |
| 45 | theorem profileParity : |
| 46 | ProfileParity D.T (primaryProfile O (vector τ hτ hτT B Y) (scalar τ hτ hτT B Y)) where |
| 47 | high := vector_odd τ hτ hτT B Y hSym hF hM hH hY |
| 48 | mean := JointOdd.zero D.T |
| 49 | corrector := by |
| 50 | intro t x θ |
| 51 | change O.curlCorrector (vector τ hτ hτT B Y) (t,(-x,-θ)) = |
| 52 | -O.curlCorrector (vector τ hτ hτT B Y) (t,(x,θ)) |
| 53 | rw [hcorrector] |
| 54 | exact curlCorrector_odd τ hτ hτT B Y hSym hF hM hH hY t x θ |
| 55 | pressure := scalarGradient_odd τ hτ hτT B Y hSym hF hM hH hY |
| 56 | highPressure := scalar_even τ hτ hτT B Y hSym hF hM hH hY |
| 57 | meanPressure _ _ _ := rfl |
| 58 | |
| 59 | end EulerTransversePacketPrimary |
| 60 | |
| 61 | namespace EulerPacketTerminalDatum |
| 62 | |
| 63 | open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 64 | EulerPacketCylinderField EulerPacketProfileRecursion EulerTransversePacketPrimary |
| 65 | |
| 66 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 67 | {D : Data U} (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 68 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 69 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) |
| 70 | (O : Operators) (hcorrector : O.curlCorrector = D.curlCorrector period) |
| 71 | (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 72 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| 73 | (hM : ∀ t x, D.M.field t (-x) = D.M.field t x) |
| 74 | (hH : ∀ t x, B.H.field t (-x) = B.H.field t x) |
| 75 | |
| 76 | include hcorrector hSym hF hM hH |
| 77 | |
| 78 | theorem primary_profile_parity : |
| 79 | ProfileParity D.T (primaryProfile O |
| 80 | (vector τ hτ hτT B (initialData D δ hδ ξ hs)) |
| 81 | (scalar τ hτ hτT B (initialData D δ hδ ξ hs))) := |
| 82 | profileParity τ hτ hτT B (initialData D δ hδ ξ hs) O hcorrector hSym hF hM hH |
| 83 | (terminal_reflection δ hδ ξ) |
| 84 | |
| 85 | end EulerPacketTerminalDatum |
| 86 | end |
| 87 | |
| 88 | end |
| 89 | |
| 90 | /-! ## From `Euler/PacketInitializedProfilesParity.lean` |
| 91 | |
| 92 | The text of `Euler/PacketInitializedProfilesParity.lean`, folded into this file, which was its only importer. -/ |
| 93 | |
| 94 | section |
| 95 | |
| 96 | /-! Every initialized profile inherits reflection parity from the actual |
| 97 | terminal wave and the prescribed source coefficient symmetries. -/ |
| 98 | |
| 99 | noncomputable section |
| 100 | |
| 101 | namespace EulerPacketTerminalDatum |
| 102 | |
| 103 | open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 104 | EulerPacketCylinderField EulerPacketProfileRecursion |
| 105 | |
| 106 | variable (M : EulerMeanPacketProvider.Data) |
| 107 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 108 | (D : Data U) (hTime : M.T = D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 109 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 110 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 111 | |
| 112 | include hTime in |
| 113 | theorem initializedProfiles_parity (eM : EulerMeanPacketProvider.EvenData M) |
| 114 | (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 115 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| 116 | (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) |
| 117 | (hBH : ∀ t x, B.H.field t (-x) = B.H.field t x) (p : ℕ) : |
| 118 | ProfileParity M.T (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α p) := by |
| 119 | have hp := primary_profile_parity τ hτ hτT B δ hδ (α • ξ) hs |
| 120 | (joinedSourceOperators period M D τ hτ hτT B) rfl hSym hF hDM hBH |
| 121 | have hpM : ProfileParity M.T |
| 122 | (joinedTerminalPrimary period M D τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) := |
| 123 | hp.changeTime hTime.symm |
| 124 | exact joinedSourceProfiles_parity period M D hTime τ hτ hτT B |
| 125 | (joinedTerminalPrimary period M D τ hτ hτT B (initialData D δ hδ (α • ξ) hs)) |
| 126 | (joinedTerminalPrimaryWitness period M D hTime τ hτ hτT B |
| 127 | (initialData D δ hδ (α • ξ) hs)) |
| 128 | eM hSym hF hDM hBH hpM p |
| 129 | |
| 130 | end EulerPacketTerminalDatum |
| 131 | end |
| 132 | |
| 133 | end |
| 134 | |
| 135 | /-! ## From `Euler/PacketInitializedFieldParity.lean` |
| 136 | |
| 137 | The text of `Euler/PacketInitializedFieldParity.lean`, folded into this file, which was its only importer. -/ |
| 138 | |
| 139 | section |
| 140 | |
| 141 | /-! The literal initialized packet and its exact residual tail are odd |
| 142 | as actual cylinder L² paths, before and after coordinate normalization. -/ |
| 143 | |
| 144 | noncomputable section |
| 145 | |
| 146 | namespace EulerPacketTerminalDatum |
| 147 | |
| 148 | open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 149 | EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketPointJets |
| 150 | EulerCylinderFieldReflection |
| 151 | |
| 152 | variable (M : EulerMeanPacketProvider.Data) |
| 153 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 154 | (D : Data U) (hTime : M.T = D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 155 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 156 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 157 | (eM : EulerMeanPacketProvider.EvenData M) |
| 158 | (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 159 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| 160 | (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) |
| 161 | (hBH : ∀ t x, B.H.field t (-x) = B.H.field t x) |
| 162 | |
| 163 | include hTime eM hSym hF hDM hBH |
| 164 | |
| 165 | theorem initializedVelocity_odd (N : ℕ) (κ : ℝ) : |
| 166 | JointOdd M.T (fieldSum (N+1) κ |
| 167 | (assembledVelocity N (initializedProfiles M D τ hτ hτT B δ hδ ξ hs α))) := |
| 168 | ProfileParity.velocity_odd |
| 169 | (fun i _ => initializedProfiles_parity M D hTime τ hτ hτT B δ hδ ξ hs α |
| 170 | eM hSym hF hDM hBH i) κ |
| 171 | |
| 172 | theorem initializedPacketField_odd (N : ℕ) (κ : ℝ) : |
| 173 | (initializedPacketField M D hTime τ hτ hτT B δ hδ ξ hs α N κ).ReflectionOdd := by |
| 174 | apply Field.reflectionOdd_of_raw |
| 175 | exact (initializedVelocity_odd M D hTime τ hτ hτT B δ hδ ξ hs α |
| 176 | eM hSym hF hDM hBH N κ).matrix_apply _ |
| 177 | (joinedSourceCoefficientEven period M D τ hτ hτT B hF hDM).inverse |
| 178 | |
| 179 | theorem initializedNormalizedField_odd (N : ℕ) (k : ℝ) : |
| 180 | (initializedNormalizedField M D hTime τ hτ hτT B δ hδ ξ hs α N k).ReflectionOdd := |
| 181 | ((initializedPacketField_odd M D hTime τ hτ hτT B δ hδ ξ hs α |
| 182 | eM hSym hF hDM hBH N k⁻¹).smul k).changeTime hTime |
| 183 | |
| 184 | theorem initializedResidualField_odd (Cagree : SourceCoefficientAgreement M D) |
| 185 | (N : ℕ) (hN : 1 ≤ N) (κ : ℝ) (hκ : κ ≠ 0) : |
| 186 | (initializedResidualField M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN κ hκ).ReflectionOdd := by |
| 187 | let a := initializedProfiles M D τ hτ hτT B δ hδ ξ hs α |
| 188 | let G := fun (i : ℕ) (_ : i ≤ N) => |
| 189 | initializedProfileWitness M D hTime τ hτ hτT B δ hδ ξ hs α i |
| 190 | have H : ∀ i, i ≤ N → ProfileParity M.T (a i) := |
| 191 | fun i _ => initializedProfiles_parity M D hTime τ hτ hτT B δ hδ ξ hs α |
| 192 | eM hSym hF hDM hBH i |
| 193 | have ha : a 0 = 0 := profiles_zero _ _ |
| 194 | have htail := ProfileRegularity.residualTail_odd M.T_pos G H |
| 195 | (joinedSourceCoefficientData period M D τ hτ hτT B hTime) |
| 196 | (joinedSourceCoefficientEven period M D τ hτ hτT B hF hDM) ha κ |
| 197 | intro t |
| 198 | exact (ProfileRegularity.tailSumField M.T_pos G |
| 199 | (joinedSourceCoefficientData period M D τ hτ hτT B hTime) ha κ).reflection_neg_of_raw_odd |
| 200 | t (htail t) |
| 201 | |
| 202 | theorem initializedNormalizedResidualField_odd (Cagree : SourceCoefficientAgreement M D) |
| 203 | (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) : |
| 204 | (initializedNormalizedResidualField M D hTime τ hτ hτT B δ hδ ξ hs α |
| 205 | Cagree N hN k hk).ReflectionOdd := by |
| 206 | have h := initializedResidualField_odd M D hTime τ hτ hτT B δ hδ ξ hs α |
| 207 | eM hSym hF hDM hBH Cagree N hN k⁻¹ (inv_ne_zero (by linarith)) |
| 208 | exact ((h.multiply (joinedSourceCoefficientData period M D τ hτ hτT B hTime).inverse |
| 209 | (joinedSourceCoefficientEven period M D τ hτ hτT B hF hDM).inverse).smul k).changeTime hTime |
| 210 | |
| 211 | end EulerPacketTerminalDatum |
| 212 | end |
| 213 | |
| 214 | end |
| 215 | |
| 216 | /-! ## From `Euler/PacketInitializedCorrectionParity.lean` |
| 217 | |
| 218 | The text of `Euler/PacketInitializedCorrectionParity.lean`, folded into this file, which was its only importer. -/ |
| 219 | |
| 220 | section |
| 221 | |
| 222 | /-! The actual initialized correction data have all the joint parities |
| 223 | required by the drift-aware correction and pressure construction. -/ |
| 224 | |
| 225 | noncomputable section |
| 226 | |
| 227 | namespace EulerPacketTerminalDatum |
| 228 | |
| 229 | open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 230 | EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketCorrectionCoefficients |
| 231 | EulerCylinderFieldReflection |
| 232 | |
| 233 | variable (M : EulerMeanPacketProvider.Data) |
| 234 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 235 | (D : Data U) (hTime : M.T = D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 236 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 237 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 238 | |
| 239 | theorem initializedCorrectionParityData (eM : EulerMeanPacketProvider.EvenData M) |
| 240 | (hSym : ∀ x, -x ∈ D.support ↔ x ∈ D.support) |
| 241 | (hF : ∀ t x, D.F.field t (-x) = D.F.field t x) |
| 242 | (hDM : ∀ t x, D.M.field t (-x) = D.M.field t x) |
| 243 | (hBH : ∀ t x, B.H.field t (-x) = B.H.field t x) |
| 244 | (Cagree : SourceCoefficientAgreement M D) (N : ℕ) (hN : 1 ≤ N) |
| 245 | (k : ℝ) (hk : 4 ≤ k) : |
| 246 | EulerCorrectionAssembly.ParityData period |
| 247 | (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk) := by |
| 248 | refine { |
| 249 | metric := metricTower_even D hF period |
| 250 | linear := linearTower_even D hF hDM period |
| 251 | quadratic := quadraticTower_odd D hF period k⁻¹ |
| 252 | approximation := ?_ |
| 253 | residual := ?_ } |
| 254 | · intro t |
| 255 | change -reflection period |
| 256 | ((initializedNormalizedField M D hTime τ hτ hτT B δ hδ ξ hs α N k).path t) = _ |
| 257 | rw [initializedNormalizedField_odd M D hTime τ hτ hτT B δ hδ ξ hs α |
| 258 | eM hSym hF hDM hBH N k t,neg_neg] |
| 259 | rfl |
| 260 | · intro t |
| 261 | change -reflection period |
| 262 | ((initializedNormalizedResidualField M D hTime τ hτ hτT B δ hδ ξ hs α |
| 263 | Cagree N hN k hk).path t) = _ |
| 264 | rw [initializedNormalizedResidualField_odd M D hTime τ hτ hτT B δ hδ ξ hs α |
| 265 | eM hSym hF hDM hBH Cagree N hN k hk t,neg_neg] |
| 266 | rfl |
| 267 | |
| 268 | end EulerPacketTerminalDatum |
| 269 | end |
| 270 | |
| 271 | end |
| 272 | |
| 273 | noncomputable section |
| 274 | |
| 275 | namespace EulerAllOrderDriftCorrection |
| 276 | |
| 277 | open Set EulerAllOrderCorrectionData EulerLiftedGradientSpace EulerGevreyMetricEstimate |
| 278 | EulerCorrectionOperators EulerSobolevCoefficientPressure EulerVolterraConvolution |
| 279 | EulerCorrectionAssembly EulerCylinderReflection EulerCorrectionResidualCancellation |
| 280 | |
| 281 | variable (P : ℝ) [Fact (0 < P)] {T : ℝ} (hT : 0 < T) (A : Data P T) |
| 282 | |
| 283 | /-- The output fields and all their properties are conclusions of the |
| 284 | constructed correction and the verified approximate residual. -/ |
| 285 | structure ExactLiftedPacket (B : Budget P hT A) where |
| 286 | velocity : FieldTower P T |
| 287 | pressure : FieldTower P T |
| 288 | zero_initial_correction : ∀ q, |
| 289 | velocity.realization q ⟨0,le_rfl,hT.le⟩-A.approximation.realization q ⟨0,le_rfl,hT.le⟩=0 |
| 290 | divergence : ∀ t, velocity.field t ∈ divergenceFreeSpace P A.κ A.direction |
| 291 | gradient : ∀ t, pressure.field t ∈ gradientSpace P A.κ A.direction |
| 292 | energy : ∀ (n : ℕ) t, |
| 293 | energyNorm P n (by omega : n+6 ≤ (n+6)+1) (B.radius t) (B.metric.operatorPath P t) |
| 294 | (velocity.realization ((n+6)+1) t-A.approximation.realization ((n+6)+1) t) ≤ |
| 295 | 2*(B.spatial (n+6) (by omega)).full.residual*Real.exp (3*B.growthCoefficient*t.val) ∧ |
| 296 | energyNorm P n (by omega : n+6 ≤ (n+6)+1) (B.radius t) (B.metric.operatorPath P t) |
| 297 | (velocity.realization ((n+6)+1) t-A.approximation.realization ((n+6)+1) t) ≤ B.delta/2 |
| 298 | equation : ∀ (q : ℕ) (hq : 6 ≤ q) t (ht : t ∈ Ioo 0 T), |
| 299 | HasDerivAt (extendPath T hT.le (velocity.realization q)) |
| 300 | (-nonlinearity P (A.atOrder P q) hq ⟨t,ht.1.le,ht.2.le⟩ |
| 301 | (velocity.realization (q+1) ⟨t,ht.1.le,ht.2.le⟩)- |
| 302 | coefficientSobolevOperator P (A.metric.jet q ⟨t,ht.1.le,ht.2.le⟩) |
| 303 | (pressure.realization q ⟨t,ht.1.le,ht.2.le⟩)) t |
| 304 | |
| 305 | variable {hT A} |
| 306 | |
| 307 | def exactPacketOfResidual (B : Budget P hT A) (R : ApproximationResidual P hT A) : |
| 308 | ExactLiftedPacket P hT A B where |
| 309 | velocity := B.correctedFieldTower P |
| 310 | pressure := B.correctedPressureTower P R |
| 311 | zero_initial_correction q := by rw [B.correctedFieldTower_initial P q,sub_self] |
| 312 | divergence := B.correctedFieldTower_divergence P |
| 313 | gradient := B.correctedPressureTower_gradient P R |
| 314 | energy := B.correctedFieldTower_error_energy P |
| 315 | equation := B.correctedFieldTower_hasDerivAt P R |
| 316 | |
| 317 | theorem exactPacketOfResidual_velocity_odd (B : Budget P hT A) |
| 318 | (R : ApproximationResidual P hT A) (E : ParityData P A) (t : Icc (0 : ℝ) T) : |
| 319 | -reflection P ((exactPacketOfResidual P B R).velocity.field t) = |
| 320 | (exactPacketOfResidual P B R).velocity.field t := by |
| 321 | change -reflection P (A.approximation.field t+B.commonPath P t) = |
| 322 | A.approximation.field t+B.commonPath P t |
| 323 | rw [map_add,neg_add,E.approximation,B.commonPath_odd P E] |
| 324 | |
| 325 | end EulerAllOrderDriftCorrection |
| 326 | |
| 327 | namespace EulerPacketTerminalDatum |
| 328 | |
| 329 | open Set Filter EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 330 | EulerPacketCylinderField EulerPacketProfileRecursion EulerAllOrderDriftCorrection |
| 331 | EulerPacketCorrectionScalar EulerPacketSourceFrequency EulerCylinderReflection |
| 332 | open scoped ContDiff |
| 333 | |
| 334 | variable (M : EulerMeanPacketProvider.Data) |
| 335 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 336 | (D : Data U) (hTime : M.T = D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 337 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 338 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 339 | |
| 340 | def initializedExactPacket (Cagree : SourceCoefficientAgreement M D) |
| 341 | (N : ℕ) (hN : 1 ≤ N) (k : ℝ) (hk : 4 ≤ k) |
| 342 | (Q : Budget period D.T_pos |
| 343 | (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk)) : |
| 344 | ExactLiftedPacket period D.T_pos |
| 345 | (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk) Q := |
| 346 | exactPacketOfResidual period Q |
| 347 | (initializedApproximationResidual M D hTime τ hτ hτT B δ hδ ξ hs α Cagree N hN k hk) |
| 348 | |
| 349 | end EulerPacketTerminalDatum |