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.PacketCorrectionPrimitiveBounds |
| 2 | import Euler.PacketJoinedCoefficientBudgets |
| 3 | import Euler.PacketForwardCoefficientBudgets |
| 4 | |
| 5 | /-! The actual joined and forward source budgets retain the polynomial |
| 6 | correction envelope. Only their original coefficient leaves enter it. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerTransversePacketJoin.Budget |
| 11 | |
| 12 | open EulerTransversePacketProvider EulerPacketCorrectionPrimitive |
| 13 | |
| 14 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 15 | {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} |
| 16 | {B : HistoryData (D.initial τ hτ hτT.le)} |
| 17 | (L : Budget D τ hτ hτT B (Fin 4) 6) (NB : NormalBudget D 6 L.R) |
| 18 | (P : ℝ) [Fact (0 < P)] |
| 19 | |
| 20 | theorem correctionCoefficients_primitive_bound (X : ℝ) (hX : 1 ≤ X) |
| 21 | (hLR : L.Rc ≤ X) (hNR : NB.Rc ≤ X) (hC0 : L.C₀ ≤ X) |
| 22 | (hC1 : L.C₁ ≤ X) (hCI : NB.C ≤ X) : |
| 23 | CorrectionBounds D P (L.correctionCoefficients NB P) (primitiveEnvelope P X) := by |
| 24 | unfold correctionCoefficients |
| 25 | apply correctionBudget_bounds |
| 26 | · exact hX |
| 27 | · exact max_le hLR hNR |
| 28 | · exact hC0 |
| 29 | · exact hC1 |
| 30 | · exact hCI |
| 31 | |
| 32 | theorem correctionCoefficients_primitive_power (X : ℝ) (hX : 1 ≤ X) |
| 33 | (hLR : L.Rc ≤ X) (hNR : NB.Rc ≤ X) (hC0 : L.C₀ ≤ X) |
| 34 | (hC1 : L.C₁ ≤ X) (hCI : NB.C ≤ X) : |
| 35 | CorrectionBounds D P (L.correctionCoefficients NB P) (primitiveConstant P*X^primitivePower P) := |
| 36 | (L.correctionCoefficients_primitive_bound NB P X hX hLR hNR hC0 hC1 hCI).mono D P |
| 37 | (primitiveEnvelope_power P X hX) |
| 38 | |
| 39 | end EulerTransversePacketJoin.Budget |
| 40 | |
| 41 | namespace EulerTransversePacketForward.Budget |
| 42 | |
| 43 | open EulerTransversePacketProvider EulerPacketCorrectionPrimitive |
| 44 | |
| 45 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 46 | {D : Data U} (L : Budget D (Fin 4) 6) |
| 47 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 48 | (P : ℝ) [Fact (0 < P)] |
| 49 | |
| 50 | theorem correctionCoefficients_primitive_bound (X : ℝ) (hX : 1 ≤ X) |
| 51 | (hLR : L.Rc ≤ X) (hNR : NB.Rc ≤ X) (hC0 : L.C₀ ≤ X) |
| 52 | (hC1 : L.C₁ ≤ X) (hCI : NB.C ≤ X) : |
| 53 | CorrectionBounds D P (L.correctionCoefficients NB P) (primitiveEnvelope P X) := by |
| 54 | unfold correctionCoefficients |
| 55 | apply correctionBudget_bounds |
| 56 | · exact hX |
| 57 | · exact max_le hLR hNR |
| 58 | · exact hC0 |
| 59 | · exact hC1 |
| 60 | · exact hCI |
| 61 | |
| 62 | theorem correctionCoefficients_primitive_power (X : ℝ) (hX : 1 ≤ X) |
| 63 | (hLR : L.Rc ≤ X) (hNR : NB.Rc ≤ X) (hC0 : L.C₀ ≤ X) |
| 64 | (hC1 : L.C₁ ≤ X) (hCI : NB.C ≤ X) : |
| 65 | CorrectionBounds D P (L.correctionCoefficients NB P) (primitiveConstant P*X^primitivePower P) := |
| 66 | (L.correctionCoefficients_primitive_bound NB P X hX hLR hNR hC0 hC1 hCI).mono D P |
| 67 | (primitiveEnvelope_power P X hX) |
| 68 | |
| 69 | end EulerTransversePacketForward.Budget |