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.PacketForwardCanonicalRadius |
| 2 | import Euler.PacketInitializedParameterBounds |
| 3 | |
| 4 | /-! The direct-forward branch uses the identical fixed polynomial cost |
| 5 | envelope as the positive-history branch. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerPacketInitializedCost |
| 10 | |
| 11 | open EulerPacketTerminalDatum EulerPacketProfileRecursion EulerPacketCylinderField |
| 12 | EulerPacketCorrectionCoefficients EulerPacketCorrectionConstants EulerPacketCorrectionScalar |
| 13 | EulerPacketCoarseMajorant EulerPolynomialCost EulerPacketCorrectionPrimitive |
| 14 | |
| 15 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 16 | {D : EulerTransversePacketProvider.Data U} |
| 17 | {M : EulerMeanPacketProvider.Data} {Rm Tc : ℝ} {O : Operators} |
| 18 | {C : CoefficientData period Tc O} |
| 19 | (LM : EulerMeanPacketProvider.Budget M 6 Rm) |
| 20 | (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 21 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 22 | (BC : CoefficientBudget C) (δ : ℝ) (ξ : U) |
| 23 | |
| 24 | theorem forward_actual_parameters (W H0 : ℝ) (hδ : 0 < δ) |
| 25 | (H : EulerPacketForwardRadius.RadiusPrimitives L LM NB BC δ ξ W) (hH0 : H0 ≤ W) : |
| 26 | 1 ≤ envelope W ∧ forwardInitializedRadius LM L NB BC δ ξ ≤ envelope W ∧ |
| 27 | H0 ≤ envelope W ∧ BC.multiplierCost ≤ envelope W ∧ |
| 28 | CorrectionBounds D period (L.correctionCoefficients NB period) (envelope W) := by |
| 29 | obtain ⟨h1,hW,hR,hP⟩ := envelope_bounds W (zero_le_one.trans H.one) |
| 30 | have hr := (EulerPacketForwardRadius.canonicalRadius_le_envelope L LM NB BC δ ξ W hδ H).trans hR |
| 31 | have hc : BC.multiplierCost ≤ W := by |
| 32 | have ht := BC.twice_multiplierCost_le |
| 33 | have hn := BC.multiplierCost_nonneg |
| 34 | linarith only [ht,hn,H.coefficient_cost] |
| 35 | exact ⟨h1,hr,hH0.trans hW,hc.trans hW, |
| 36 | (L.correctionCoefficients_primitive_bound NB period W H.one H.forward_radius H.normal_radius |
| 37 | H.forward_frame H.forward_first H.normal_amplitude).mono D period hP⟩ |
| 38 | |
| 39 | theorem forward_five_costs_bound (W H0 : ℝ) (hδ : 0 < δ) |
| 40 | (H : EulerPacketForwardRadius.RadiusPrimitives L LM NB BC δ ξ W) |
| 41 | (hH0 : 0 ≤ H0) (hHW : H0 ≤ W) : |
| 42 | let R := forwardInitializedRadius LM L NB BC δ ξ |
| 43 | let Kc := L.correctionCoefficients NB period |
| 44 | tailPolynomialConstant R H0 BC.termCost ≤ uniformConstant*W^uniformPower ∧ |
| 45 | BC.multiplierCost ≤ uniformConstant*W^uniformPower ∧ |
| 46 | 12*growth D period Kc R H0 BC.multiplierCost*D.T ≤ uniformConstant*W^uniformPower ∧ |
| 47 | 8*growth D period Kc R H0 BC.multiplierCost*D.T*drift R H0 BC.multiplierCost/ |
| 48 | initialRadius R Kc.M Kc.Rc ≤ uniformConstant*W^uniformPower ∧ |
| 49 | 8*growth D period Kc R H0 BC.multiplierCost*D.T/ |
| 50 | initialRadius R Kc.M Kc.Rc ≤ uniformConstant*W^uniformPower := by |
| 51 | obtain ⟨he,hr,hh,hc,hK⟩ := forward_actual_parameters LM L NB BC δ ξ W H0 hδ H hHW |
| 52 | have hR0 := zero_le_one.trans (forwardInitializedLinearBudget LM L NB BC δ ξ).radius_one |
| 53 | have hEW := (envelope_bounds W (zero_le_one.trans H.one)).2.1 |
| 54 | obtain ⟨h₁,h₂,h₃,h₄,h₅⟩ := EulerPacketFiveCost.five_costs_bound period D |
| 55 | (L.correctionCoefficients NB period) (forwardInitializedRadius LM L NB BC δ ξ) |
| 56 | H0 BC.multiplierCost BC.termCost (envelope W) he hR0 hH0 BC.multiplierCost_nonneg hr hh hc |
| 57 | (H.coefficient_cost.trans hEW) hK.inverse hK.metric hK.first hK.time hK.base hK.pressure |
| 58 | hK.linear hK.quadratic hK.radius (H.total_time.trans (H.one.trans hEW)) |
| 59 | have h := envelope_bound W H.one |
| 60 | exact ⟨h₁.trans h,h₂.trans h,h₃.trans h,h₄.trans h,h₅.trans h⟩ |
| 61 | |
| 62 | end EulerPacketInitializedCost |