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.ParentCoefficientPolynomial |
| 2 | import Euler.PacketCorrectionPrimitiveBounds |
| 3 | |
| 4 | /-! Composing the actual coefficient envelope with the parent label |
| 5 | polynomial gives a single fixed polynomial in the parent size K. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerParentCorrectionCost |
| 10 | |
| 11 | open EulerParentCoefficientPolynomial EulerPacketCorrectionPrimitive EulerPolynomialCost |
| 12 | |
| 13 | variable (P : ℝ) [Fact (0 < P)] |
| 14 | |
| 15 | def parentEnvelope (K : ℝ) : ℝ := |
| 16 | 1+leafEnvelope K+primitiveEnvelope P (leafEnvelope K) |
| 17 | |
| 18 | def parentPolynomial : Polynomial ℝ := |
| 19 | 1+leafPolynomial+(primitivePolynomial P).comp leafPolynomial |
| 20 | |
| 21 | def parentConstant : ℝ := coefficientCost (parentPolynomial P) |
| 22 | def parentPower : ℕ := (parentPolynomial P).natDegree |
| 23 | |
| 24 | theorem parentConstant_pos : 0 < parentConstant P := coefficientCost_pos _ |
| 25 | |
| 26 | theorem parentPolynomial_eval (K : ℝ) : (parentPolynomial P).eval K=parentEnvelope P K := by |
| 27 | simp only [parentPolynomial,parentEnvelope,Polynomial.eval_add,Polynomial.eval_one, |
| 28 | Polynomial.eval_comp,leafPolynomial_eval,primitivePolynomial_eval] |
| 29 | |
| 30 | theorem parentEnvelope_power (K : ℝ) (hK : 1 ≤ K) : |
| 31 | parentEnvelope P K ≤ parentConstant P*K^parentPower P := by |
| 32 | rw [← parentPolynomial_eval] |
| 33 | exact (le_abs_self _).trans (eval_bound (parentPolynomial P) K hK) |
| 34 | |
| 35 | theorem parentEnvelope_bounds (K : ℝ) (hK : 0 ≤ K) : |
| 36 | 1 ≤ parentEnvelope P K ∧ leafEnvelope K ≤ parentEnvelope P K ∧ |
| 37 | primitiveEnvelope P (leafEnvelope K) ≤ parentEnvelope P K := by |
| 38 | have hl := (leaf_bounds K hK).1 |
| 39 | have hp := (primitive_components P (leafEnvelope K) (zero_le_one.trans hl)).1 |
| 40 | unfold parentEnvelope |
| 41 | exact ⟨by linarith,by linarith,by linarith⟩ |
| 42 | |
| 43 | end EulerParentCorrectionCost |
| 44 | |
| 45 | namespace EulerPacketCylinderField.CoefficientBudget |
| 46 | |
| 47 | open EulerParentCorrectionCost EulerParentCoefficientPolynomial |
| 48 | |
| 49 | variable {P T : ℝ} [Fact (0 < P)] {O : EulerPacketProfileRecursion.Operators} |
| 50 | {C : CoefficientData P T O} (B : CoefficientBudget C) |
| 51 | |
| 52 | theorem parent_primitive_bound (K : ℝ) (hK : 0 ≤ K) |
| 53 | (hR : B.Rc ≤ leafEnvelope K) (hC : B.amplitude ≤ leafEnvelope K) : |
| 54 | B.multiplierCost ≤ parentEnvelope P K ∧ B.termCost ≤ parentEnvelope P K := by |
| 55 | have h := B.primitive_bound (leafEnvelope K) (zero_le_one.trans (leaf_bounds K hK).1) hR hC |
| 56 | have he := (parentEnvelope_bounds P K hK).2.2 |
| 57 | exact ⟨h.1.trans he,h.2.trans he⟩ |
| 58 | |
| 59 | end EulerPacketCylinderField.CoefficientBudget |