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.PacketForwardUniformCosts |
| 2 | import Euler.PacketForwardInitializedAllOrderBudget |
| 3 | import Euler.PacketInitializedUniformBounds |
| 4 | import Euler.PacketProfileEnvelope |
| 5 | |
| 6 | /-! The actual zero-history correction from the same fixed polynomial |
| 7 | frequency comparison, together with its uniform weighted output bounds. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketTerminalDatum |
| 12 | |
| 13 | open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 14 | EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketTimeProfile |
| 15 | EulerPacketCorrectionConstants EulerPacketCorrectionScalar EulerPacketSourceFrequency |
| 16 | EulerPacketCorrectionCoefficients |
| 17 | open scoped ContDiff |
| 18 | |
| 19 | variable (M : EulerMeanPacketProvider.Data) |
| 20 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 21 | (D : Data U) (hTime : M.T=D.T) |
| 22 | (δ : ℝ) (hδ : 0 < δ) (hδ1 : δ ≤ 1) (ξ : U) |
| 23 | (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) (hα : 0 < α) |
| 24 | (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 25 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 26 | {Rm : ℝ} (LM : EulerMeanPacketProvider.Budget M 6 Rm) |
| 27 | (Cagree : SourceCoefficientAgreement M D) |
| 28 | (W : ℝ) |
| 29 | (hW : EulerPacketForwardRadius.RadiusPrimitives L LM NB |
| 30 | (forwardCoefficientBudget period M D hTime NB) δ ξ W) |
| 31 | (hprofile : ∀ t, α*L.g t ≤ W) |
| 32 | (k : ℝ) (hk : 4 ≤ k) (hX : 64 ≤ expansion k) (hlog : 1 ≤ Real.log k) |
| 33 | (hfrequency : EulerPacketInitializedCost.uniformConstant*W^EulerPacketInitializedCost.uniformPower ≤ |
| 34 | smallPower k) |
| 35 | (Ξ : Icc (0 : ℝ) D.T → Space → Space) (hΞ : ∀ t, ContDiff ℝ ∞ (Ξ t)) |
| 36 | (hF : ∀ t x, fderiv ℝ (Ξ t) x=D.F.field t x) |
| 37 | (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) |
| 38 | |
| 39 | def forwardUniformBudget : EulerAllOrderDriftCorrection.Budget period D.T_pos |
| 40 | (forwardInitializedCorrectionData M D hTime δ hδ ξ hs α Cagree |
| 41 | (truncation k) (truncation_bounds k (by linarith)).1 k hk) := by |
| 42 | let BC := forwardCoefficientBudget period M D hTime NB |
| 43 | let L' := forwardInitializedLinearBudget LM L NB BC δ ξ |
| 44 | let NB' := forwardInitializedNormalBudget LM L NB BC δ ξ |
| 45 | let LM' := forwardInitializedMeanBudget LM L NB BC δ ξ |
| 46 | have guards := forwardInitializedRadius_guards LM L NB BC δ ξ |
| 47 | let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα |
| 48 | have hH0 : S.H0 ≤ W := Scales.ofTimeProfile_H0_le L.g L.positive |
| 49 | hTime.symm α hα W hW.one hprofile |
| 50 | have hprofile' : timeProfileChange S.growth hTime=α • L'.g := by |
| 51 | change timeProfileChange S.growth hTime=α • L.g |
| 52 | exact Scales.ofTimeProfile_growth L.g L.positive hTime.symm α hα |
| 53 | let Kc := L.correctionCoefficients NB period |
| 54 | have costs := EulerPacketInitializedCost.forward_five_costs_bound |
| 55 | LM L NB BC δ ξ W S.H0 hδ hW S.H0_pos.le hH0 |
| 56 | exact forwardInitializedAllOrderBudget M D hTime δ hδ ξ hs α Cagree |
| 57 | L' NB' guards.1 LM' guards.2.1 BC guards.2.2.2.2.2 guards.2.2.2.2.1 |
| 58 | hδ1 hα guards.2.2.2.1 guards.2.2.1 S hprofile' Kc k hk hX hlog |
| 59 | (costs.1.trans hfrequency) (costs.2.1.trans hfrequency) (costs.2.2.1.trans hfrequency) |
| 60 | (costs.2.2.2.1.trans hfrequency) (costs.2.2.2.2.trans hfrequency) Ξ hΞ hF hdet |
| 61 | |
| 62 | theorem forwardUniformBudget_delta : |
| 63 | (forwardUniformBudget M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree |
| 64 | W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).delta=delta (expansion k) := rfl |
| 65 | |
| 66 | theorem forwardUniformBudget_initialRadius : |
| 67 | (forwardUniformBudget M D hTime δ hδ hδ1 ξ hs α hα L NB LM Cagree |
| 68 | W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet).initialRadius= |
| 69 | initialRadius |
| 70 | (forwardInitializedRadius LM L NB (forwardCoefficientBudget period M D hTime NB) δ ξ) |
| 71 | (L.correctionCoefficients NB period).M (L.correctionCoefficients NB period).Rc := rfl |
| 72 | |
| 73 | |
| 74 | open EulerPacketCorrectionOutput EulerSobolevGevreyOperators EulerAllOrderDriftCorrection |
| 75 | |
| 76 | local notation "Q" => forwardUniformBudget M D hTime δ hδ hδ1 ξ hs α hα |
| 77 | L NB LM Cagree W hW hprofile k hk hX hlog hfrequency Ξ hΞ hF hdet |
| 78 | |
| 79 | theorem forwardUniformBudget_weighted (s N : ℕ) (hN : N+6 ≤ s) (t : Icc (0 : ℝ) D.T) : |
| 80 | weightedNorm period 6 N ((Q).initialRadius/4) (((Q).fieldTower period).realization s t) ≤ |
| 81 | EulerPacketInitializedCost.weightSize W*delta (expansion k) ∧ |
| 82 | weightedNorm period 6 N ((Q).initialRadius/4) (((Q).pressureTower period).realization s t) ≤ |
| 83 | EulerPacketInitializedCost.weightSize W*delta (expansion k) ∧ |
| 84 | weightedNorm period 6 N ((Q).initialRadius/4) (((Q).timeDerivativeTower period).realization s t) ≤ |
| 85 | EulerPacketInitializedCost.weightSize W*delta (expansion k) := by |
| 86 | let BC := forwardCoefficientBudget period M D hTime NB |
| 87 | let R := forwardInitializedRadius LM L NB BC δ ξ |
| 88 | let S := Scales.ofTimeProfile L.g L.positive hTime.symm α hα |
| 89 | let Kc := L.correctionCoefficients NB period |
| 90 | have hH0 : S.H0 ≤ W := Scales.ofTimeProfile_H0_le L.g L.positive |
| 91 | hTime.symm α hα W hW.one hprofile |
| 92 | obtain ⟨_,hR,hH,hC,hK⟩ := EulerPacketInitializedCost.forward_actual_parameters LM L NB BC δ ξ |
| 93 | W S.H0 hδ hW hH0 |
| 94 | have hR0 : 0 ≤ R := zero_le_one.trans |
| 95 | (forwardInitializedLinearBudget LM L NB BC δ ξ).radius_one |
| 96 | obtain ⟨_,_,_,he,hp,ht⟩ := correction_output_bound period D Kc R S.H0 BC.multiplierCost |
| 97 | (EulerPacketInitializedCost.envelope W) hR0 S.H0_pos.le BC.multiplierCost_nonneg |
| 98 | hR hH hC hK.inverse hK.base hK.pressure hK.linear hK.quadratic hK.radius |
| 99 | have hsize : (Q).correctionSize period=correctionBase D*delta (expansion k) := by |
| 100 | change EulerGevreyMetricEstimate.metricAmplification D.inverseBound⁻¹*(delta (expansion k)/2)=_ |
| 101 | unfold correctionBase |
| 102 | ring |
| 103 | have hpressure : (Q).pressureCost period (N+6) (by omega)= |
| 104 | correctionPressureCost D period Kc R S.H0 BC.multiplierCost := by rfl |
| 105 | have htime : (Q).timeDerivativeCost period (N+6) (by omega)= |
| 106 | correctionTimeCost D period Kc R S.H0 BC.multiplierCost := by rfl |
| 107 | have hqe := (Q).fieldTower_reducedNorm period s N hN t |
| 108 | have hqp := (Q).pressureTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t |
| 109 | have hqt := (Q).timeDerivativeTower_reducedNorm_delta period (N+6) (by omega) N (by omega) s hN t |
| 110 | rw [hsize] at hqe |
| 111 | rw [hpressure] at hqp |
| 112 | rw [htime] at hqt |
| 113 | exact ⟨hqe.trans (mul_le_mul_of_nonneg_right he (delta_pos _).le), |
| 114 | hqp.trans (mul_le_mul_of_nonneg_right hp (delta_pos _).le), |
| 115 | hqt.trans (mul_le_mul_of_nonneg_right ht (delta_pos _).le)⟩ |
| 116 | |
| 117 | |
| 118 | end EulerPacketTerminalDatum |