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.PacketInitializedSpatialBudget |
| 2 | import Euler.PacketInitializedSolenoidal |
| 3 | import Euler.PacketSourceFrequency |
| 4 | |
| 5 | /-! The literal initialized packet supplies a complete drift-aware |
| 6 | all-order correction budget, from fixed source data and explicit scalar |
| 7 | frequency guards. No solution or energy estimate is assumed. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerPacketCorrectionConstants |
| 12 | |
| 13 | open EulerPacketCorrectionCoefficients |
| 14 | |
| 15 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] |
| 16 | (D : EulerTransversePacketProvider.Data U) (P : ℝ) [Fact (0 < P)] |
| 17 | (Kc : CorrectionCoefficientBudget D P) |
| 18 | |
| 19 | def growth (R H C : ℝ) : ℝ := |
| 20 | growthCoefficient D P Kc (2*velocity R H C) (12*velocity R H C*(4*R)) |
| 21 | |
| 22 | theorem growth_pos (R H C : ℝ) (hR : 0 ≤ R) (hC : 0 ≤ C) : |
| 23 | 0 < growth D P Kc R H C := by |
| 24 | have hv := velocity_nonneg R H C hR hC |
| 25 | exact growthCoefficient_pos D P Kc _ _ (by positivity) (by positivity) |
| 26 | |
| 27 | end EulerPacketCorrectionConstants |
| 28 | |
| 29 | namespace EulerPacketTerminalDatum |
| 30 | |
| 31 | open Set EulerSmoothLimit EulerSpatialCutoffs EulerTransversePacketProvider |
| 32 | EulerPacketCylinderField EulerPacketProfileRecursion EulerPacketTimeProfile |
| 33 | EulerParameterWordGevrey EulerPacketCoarseMajorant EulerPacketCorrectionConstants |
| 34 | EulerPacketCorrectionCoefficients EulerPacketCorrectionScalar EulerPacketSourceFrequency |
| 35 | open scoped ContDiff |
| 36 | |
| 37 | variable (M : EulerMeanPacketProvider.Data) |
| 38 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 39 | (D : Data U) (hTime : M.T=D.T) (τ : ℝ) (hτ : 0 < τ) (hτT : τ < D.T) |
| 40 | (B : HistoryData (D.initial τ hτ hτT.le)) |
| 41 | (δ : ℝ) (hδ : 0 < δ) (ξ : U) |
| 42 | (hs : tsupport innerCutoff ⊆ D.support) (α : ℝ) |
| 43 | (Cagree : SourceCoefficientAgreement M D) |
| 44 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 45 | (H : EulerTransversePacketPrimary.Budget L) |
| 46 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 47 | (W : EulerTransversePacketJoin.Budget.GradeGuards (P := period) L NB) |
| 48 | (LM : EulerMeanPacketProvider.Budget M 6 L.R) |
| 49 | (WM : EulerMeanPacketProvider.Budget.GradeGuards LM) |
| 50 | (BC : CoefficientBudget (joinedSourceCoefficientData period M D τ hτ hτT B hTime)) |
| 51 | (hRc : sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L.R) (hcost : BC.termCost ≤ L.R) |
| 52 | (hδ1 : δ ≤ 1) (hα : 0 < α) (hR : wordRadius (Fin 4) δ ≤ L.R) |
| 53 | (WP : EulerTransversePacketPrimary.Budget.GradeGuards (P := period) H NB (wordCost (Fin 4) 6 δ*‖ξ‖)) |
| 54 | (S : Scales (Icc (0 : ℝ) M.T)) |
| 55 | (hgrowth : timeProfileChange S.growth hTime=α • L.fullProfile) |
| 56 | (Kc : CorrectionCoefficientBudget D period) |
| 57 | |
| 58 | local notation "cg" => growth D period Kc L.R S.H0 BC.multiplierCost |
| 59 | local notation "dg" => drift L.R S.H0 BC.multiplierCost |
| 60 | local notation "ρg" => initialRadius L.R Kc.M Kc.Rc |
| 61 | |
| 62 | /-- Explicit scalar guards suffice because every analytic input to the |
| 63 | all-order correction theorem is supplied by the constructed packet. -/ |
| 64 | def initializedAllOrderBudget (k : ℝ) (hk : 4 ≤ k) |
| 65 | (hX : 64 ≤ expansion k) (hlog : 1 ≤ Real.log k) |
| 66 | (htail : tailPolynomialConstant L.R S.H0 BC.termCost ≤ smallPower k) |
| 67 | (hcoefficient : BC.multiplierCost ≤ smallPower k) |
| 68 | (hgrowthCost : 12*cg*D.T ≤ smallPower k) |
| 69 | (hdriftCost : 8*cg*D.T*dg/ρg ≤ smallPower k) |
| 70 | (herrorCost : 8*cg*D.T/ρg ≤ smallPower k) |
| 71 | (Ξ : Icc (0 : ℝ) D.T → Space → Space) (hΞ : ∀ t, ContDiff ℝ ∞ (Ξ t)) |
| 72 | (hF : ∀ t x, fderiv ℝ (Ξ t) x = D.F.field t x) |
| 73 | (hdet : ∀ t x, (EulerPacketPiola.operatorMatrix (D.F.field t x)).det=1) : |
| 74 | EulerAllOrderDriftCorrection.Budget period D.T_pos |
| 75 | (initializedCorrectionData M D hTime τ hτ hτT B δ hδ ξ hs α Cagree |
| 76 | (truncation k) (truncation_bounds k (by linarith)).1 k hk) := by |
| 77 | have hk1 : 1 ≤ k := by linarith |
| 78 | have hk0 : 0 < k := by linarith |
| 79 | have hn := (truncation_bounds k hk1).1 |
| 80 | have hnx := (truncation_bounds k hk1).2.1 |
| 81 | have hR0 := zero_le_one.trans L.radius_bounds.1 |
| 82 | have hM0 := zero_le_one.trans Kc.M_one_le |
| 83 | have hb := tailBase_frequency L.R S.H0 BC.termCost k BC.termCost_nonneg hk1 htail |
| 84 | have hc := hcoefficient.trans (smallPower_le_gradeCap k hk1) |
| 85 | have hx6 : 6 ≤ expansion k := by linarith |
| 86 | have hcg := growth_pos D period Kc L.R S.H0 BC.multiplierCost hR0 BC.multiplierCost_nonneg |
| 87 | have hdg := drift_nonneg L.R S.H0 BC.multiplierCost hR0 BC.multiplierCost_nonneg |
| 88 | have hinit := initialRadius_bounds L.R Kc.M Kc.Rc hR0 hM0 Kc.Rc_nonneg |
| 89 | have hscalar := correction_guards cg D.T dg ρg k hk1 hinit.1 hX hlog |
| 90 | hgrowthCost hdriftCost herrorCost |
| 91 | let ρ := radius D.T cg dg ρg k (expansion k) |
| 92 | have hρbounds (t : Icc (0 : ℝ) D.T) : ρg/2 ≤ ρ t ∧ ρ t ≤ ρg := |
| 93 | radius_bounds D.T cg dg ρg k (expansion k) hcg.le hdg hk0 hscalar.2 t |
| 94 | have hρ (t : Icc (0 : ℝ) D.T) : 0 < ρ t := |
| 95 | (half_pos hinit.1).trans_le (hρbounds t).1 |
| 96 | have hpacket (t : Icc (0 : ℝ) D.T) : ρ t*(4*L.R) ≤ 1/2 := |
| 97 | (mul_le_mul_of_nonneg_right (hρbounds t).2 (by positivity)).trans hinit.2.1 |
| 98 | have hpressure (t : Icc (0 : ℝ) D.T) : 4*Kc.M*(ρ t*Kc.Rc) ≤ 1 := |
| 99 | (mul_le_mul_of_nonneg_left |
| 100 | (mul_le_mul_of_nonneg_right (hρbounds t).2 Kc.Rc_nonneg) (by positivity)).trans hinit.2.2.1 |
| 101 | refine { |
| 102 | metric := initializedMetricBudget M D hTime τ hτ hτT B δ hδ ξ hs α Cagree (truncation k) hn k hk 0 |
| 103 | radius := ρ |
| 104 | growthCoefficient := cg |
| 105 | delta := delta (expansion k) |
| 106 | initialRadius := ρg |
| 107 | spatial := fun q hq => initializedDriftBudget M D hTime τ hτ hτT B δ hδ ξ hs α Cagree |
| 108 | (truncation k) hn k hk L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth hb |
| 109 | (expansion k) hc hx6 hnx Kc ρ hρ hpacket hpressure q hq |
| 110 | growth_bound := ?_ |
| 111 | delta_pos := delta_pos (expansion k) |
| 112 | delta_le_one := delta_le_one (expansion k) |
| 113 | radius_pos := hinit.1 |
| 114 | decay := ?_ |
| 115 | scale := ?_ |
| 116 | small := ?_ |
| 117 | radius_eq := ?_ |
| 118 | divergence := ?_ } |
| 119 | · intro q hq |
| 120 | exact (initializedDriftBudget_growth M D hTime τ hτ hτT B δ hδ ξ hs α Cagree |
| 121 | (truncation k) hn k hk L H NB W LM WM BC hRc hcost hδ1 hα hR WP S hgrowth hb |
| 122 | (expansion k) hc hx6 hnx Kc ρ hρ hpacket hpressure q hq).le |
| 123 | · intro q hq |
| 124 | exact hscalar.2 |
| 125 | · intro q hq |
| 126 | exact hinit.2.2.2 |
| 127 | · intro q hq |
| 128 | exact hscalar.1 |
| 129 | · intro q hq t |
| 130 | rfl |
| 131 | · exact initializedCorrectionData_divergence M D hTime τ hτ hτT B δ hδ ξ hs α Cagree |
| 132 | (truncation k) hn k hk Ξ hΞ hF hdet |
| 133 | |
| 134 | end EulerPacketTerminalDatum |