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.PacketInitializedRadiusPolynomial |
| 2 | import Euler.PacketSourcePrimitiveBounds |
| 3 | import Euler.PacketFiveCostGuards |
| 4 | |
| 5 | /-! A fixed polynomial bounds all five costs for the literal canonical |
| 6 | initialized packet radius. No arbitrary radius witness is used. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerPacketInitializedCost |
| 11 | |
| 12 | open EulerPacketTerminalDatum EulerPacketProfileRecursion EulerPacketCylinderField |
| 13 | EulerPacketCorrectionCoefficients EulerPacketCorrectionConstants EulerPacketCorrectionScalar |
| 14 | EulerPacketCoarseMajorant EulerPolynomialCost |
| 15 | |
| 16 | def envelope (W : ℝ) : ℝ := 1+W+EulerPacketRadiusPolynomial.radiusEnvelope W+ |
| 17 | EulerPacketCorrectionPrimitive.primitiveEnvelope period W |
| 18 | |
| 19 | def polynomial : Polynomial ℝ := |
| 20 | Polynomial.C (EulerPacketFiveCost.costConstant period)* |
| 21 | (1+Polynomial.X+EulerPacketRadiusPolynomial.radiusPolynomial+ |
| 22 | EulerPacketCorrectionPrimitive.primitivePolynomial period)^(EulerPacketFiveCost.costPower period) |
| 23 | |
| 24 | def uniformConstant : ℝ := coefficientCost polynomial |
| 25 | def uniformPower : ℕ := polynomial.natDegree |
| 26 | |
| 27 | theorem uniformConstant_pos : 0 < uniformConstant := coefficientCost_pos _ |
| 28 | |
| 29 | theorem polynomial_eval (W : ℝ) : polynomial.eval W= |
| 30 | EulerPacketFiveCost.costConstant period*(envelope W)^EulerPacketFiveCost.costPower period := by |
| 31 | unfold polynomial envelope |
| 32 | simp only [Polynomial.eval_mul,Polynomial.eval_C,Polynomial.eval_pow, |
| 33 | Polynomial.eval_add,Polynomial.eval_one,Polynomial.eval_X, |
| 34 | EulerPacketRadiusPolynomial.radiusPolynomial_eval, |
| 35 | EulerPacketCorrectionPrimitive.primitivePolynomial_eval] |
| 36 | |
| 37 | theorem envelope_bound (W : ℝ) (hW : 1 ≤ W) : |
| 38 | EulerPacketFiveCost.costConstant period*(envelope W)^EulerPacketFiveCost.costPower period ≤ |
| 39 | uniformConstant*W^uniformPower := by |
| 40 | rw [← polynomial_eval] |
| 41 | exact (le_abs_self _).trans (eval_bound polynomial W hW) |
| 42 | |
| 43 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 44 | {D : EulerTransversePacketProvider.Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} |
| 45 | {B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)} |
| 46 | {M : EulerMeanPacketProvider.Data} {Rm Tc : ℝ} {O : Operators} |
| 47 | {C : CoefficientData period Tc O} |
| 48 | (LM : EulerMeanPacketProvider.Budget M 6 Rm) |
| 49 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 50 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 51 | (BC : CoefficientBudget C) (δ : ℝ) (ξ : U) |
| 52 | |
| 53 | theorem initialized_five_costs_bound (W H0 : ℝ) (hδ : 0 < δ) |
| 54 | (H : EulerPacketRadiusPolynomial.RadiusPrimitives LM L NB BC δ ξ W) |
| 55 | (hH0 : 0 ≤ H0) (hHW : H0 ≤ W) : |
| 56 | let R := initializedRadius LM L NB BC δ ξ |
| 57 | let Kc := L.correctionCoefficients NB period |
| 58 | tailPolynomialConstant R H0 BC.termCost ≤ uniformConstant*W^uniformPower ∧ |
| 59 | BC.multiplierCost ≤ uniformConstant*W^uniformPower ∧ |
| 60 | 12*growth D period Kc R H0 BC.multiplierCost*D.T ≤ uniformConstant*W^uniformPower ∧ |
| 61 | 8*growth D period Kc R H0 BC.multiplierCost*D.T*drift R H0 BC.multiplierCost/ |
| 62 | initialRadius R Kc.M Kc.Rc ≤ uniformConstant*W^uniformPower ∧ |
| 63 | 8*growth D period Kc R H0 BC.multiplierCost*D.T/ |
| 64 | initialRadius R Kc.M Kc.Rc ≤ uniformConstant*W^uniformPower := by |
| 65 | have hW0 := zero_le_one.trans H.one |
| 66 | have hR1 : 1 ≤ initializedRadius LM L NB BC δ ξ := |
| 67 | (initializedJoinedBudget LM L NB BC δ ξ).radius_bounds.1 |
| 68 | have hR := EulerPacketRadiusPolynomial.initializedRadius_le_envelope LM L NB BC δ ξ W hδ H |
| 69 | have hRE : 0 ≤ EulerPacketRadiusPolynomial.radiusEnvelope W := |
| 70 | (zero_le_one.trans hR1).trans hR |
| 71 | have hPE := (EulerPacketCorrectionPrimitive.primitive_components period W hW0).1 |
| 72 | have hEW : W ≤ envelope W := by unfold envelope; linarith |
| 73 | have hER : EulerPacketRadiusPolynomial.radiusEnvelope W ≤ envelope W := by |
| 74 | unfold envelope |
| 75 | linarith |
| 76 | have hEP : EulerPacketCorrectionPrimitive.primitiveEnvelope period W ≤ envelope W := by |
| 77 | unfold envelope |
| 78 | linarith |
| 79 | have hE : 1 ≤ envelope W := H.one.trans hEW |
| 80 | have hK := (L.correctionCoefficients_primitive_bound NB period W H.one H.joined_radius |
| 81 | H.normal_radius H.joined_frame H.joined_first H.normal_amplitude).mono D period hEP |
| 82 | have hmult : BC.multiplierCost ≤ W := by |
| 83 | have ht := BC.twice_multiplierCost_le |
| 84 | have hn := BC.multiplierCost_nonneg |
| 85 | linarith only [ht,hn,H.coefficient_cost] |
| 86 | obtain ⟨h₁,h₂,h₃,h₄,h₅⟩ := EulerPacketFiveCost.five_costs_bound period D |
| 87 | (L.correctionCoefficients NB period) (initializedRadius LM L NB BC δ ξ) |
| 88 | H0 BC.multiplierCost BC.termCost (envelope W) hE (zero_le_one.trans hR1) hH0 |
| 89 | BC.multiplierCost_nonneg (hR.trans hER) (hHW.trans hEW) (hmult.trans hEW) |
| 90 | (H.coefficient_cost.trans hEW) hK.inverse hK.metric hK.first hK.time hK.base hK.pressure |
| 91 | hK.linear hK.quadratic hK.radius (H.total_time.trans (H.one.trans hEW)) |
| 92 | have he := envelope_bound W H.one |
| 93 | exact ⟨h₁.trans he,h₂.trans he,h₃.trans he,h₄.trans he,h₅.trans he⟩ |
| 94 | |
| 95 | end EulerPacketInitializedCost |