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.PacketPrimaryGradeBounds |
| 2 | import Euler.TransversePacketPrimaryRadius |
| 3 | import Euler.PacketCommonRadius |
| 4 | |
| 5 | /-! One source-dependent radius accommodates the literal terminal wave, the |
| 6 | primary endpoint solve, all later linear solves, and every recursive grade. -/ |
| 7 | |
| 8 | /-! ## From `Euler/PacketPrimaryCommonRadius.lean` |
| 9 | |
| 10 | The text of `Euler/PacketPrimaryCommonRadius.lean`, folded into this file, which was its only importer. -/ |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! The primary grade imposes only finitely many fixed lower bounds on the |
| 15 | external radius. Enlarging it leaves the time profile and every source cost |
| 16 | unchanged, including the terminal amplitude before its scalar multiplier. -/ |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | namespace EulerTransversePacketPrimary.Budget |
| 21 | |
| 22 | open EulerTransversePacketProvider |
| 23 | |
| 24 | variable {P : ℝ} |
| 25 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 26 | {D : Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} |
| 27 | {B : HistoryData (D.initial τ hτ hτT.le)} |
| 28 | {L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6} |
| 29 | (H : Budget L) (N : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 30 | (C : ℝ) |
| 31 | |
| 32 | def gradeRadius : ℝ := |
| 33 | max L.R (max (H.commonCost*C) (max (H.correctorAmplitude (P := P) N*C) |
| 34 | (max (H.correctorTimeAmplitude (P := P) N*C) (3*H.pressureAmplitude (P := P) N*C)))) |
| 35 | |
| 36 | theorem gradeRadius_bounds : |
| 37 | L.R ≤ H.gradeRadius (P := P) N C ∧ |
| 38 | H.commonCost*C ≤ H.gradeRadius (P := P) N C ∧ |
| 39 | H.correctorAmplitude (P := P) N*C ≤ H.gradeRadius (P := P) N C ∧ |
| 40 | H.correctorTimeAmplitude (P := P) N*C ≤ H.gradeRadius (P := P) N C ∧ |
| 41 | 3*H.pressureAmplitude (P := P) N*C ≤ H.gradeRadius (P := P) N C := by |
| 42 | unfold gradeRadius |
| 43 | exact ⟨le_max_left _ _, (le_max_left _ _).trans (le_max_right _ _), |
| 44 | (le_max_left _ _).trans ((le_max_right _ _).trans (le_max_right _ _)), |
| 45 | (le_max_left _ _).trans ((le_max_right _ _).trans |
| 46 | ((le_max_right _ _).trans (le_max_right _ _))), |
| 47 | (le_max_right _ _).trans ((le_max_right _ _).trans |
| 48 | ((le_max_right _ _).trans (le_max_right _ _)))⟩ |
| 49 | |
| 50 | theorem gradeRadius_guards (hC : 0 ≤ C) (R' : ℝ) |
| 51 | (hR : H.gradeRadius (P := P) N C ≤ R') : |
| 52 | ∃ h : L.R ≤ R', GradeGuards (P := P) (H.enlargeRadius R' h) |
| 53 | (N.enlargeRadius R' h) C := by |
| 54 | have hb := H.gradeRadius_bounds (P := P) N C |
| 55 | refine ⟨hb.1.trans hR, ?_⟩ |
| 56 | exact ⟨hC, hb.2.1.trans hR, hb.2.2.1.trans hR, |
| 57 | hb.2.2.2.1.trans hR, hb.2.2.2.2.trans hR⟩ |
| 58 | |
| 59 | namespace GradeGuards |
| 60 | |
| 61 | variable {H N C} |
| 62 | |
| 63 | end GradeGuards |
| 64 | end EulerTransversePacketPrimary.Budget |
| 65 | end |
| 66 | |
| 67 | end |
| 68 | |
| 69 | noncomputable section |
| 70 | |
| 71 | namespace EulerPacketTerminalDatum |
| 72 | |
| 73 | open EulerPacketCylinderField EulerPacketProfileRecursion EulerParameterWordGevrey |
| 74 | |
| 75 | variable {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 76 | {D : EulerTransversePacketProvider.Data U} {τ : ℝ} {hτ : 0 < τ} {hτT : τ < D.T} |
| 77 | {B : EulerTransversePacketProvider.HistoryData (D.initial τ hτ hτT.le)} |
| 78 | {M : EulerMeanPacketProvider.Data} {Rm Tc : ℝ} {O : Operators} |
| 79 | {C : CoefficientData period Tc O} |
| 80 | (LM : EulerMeanPacketProvider.Budget M 6 Rm) |
| 81 | (L : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 82 | (NB : EulerTransversePacketJoin.NormalBudget D 6 L.R) |
| 83 | (BC : CoefficientBudget C) (δ : ℝ) (ξ : U) |
| 84 | |
| 85 | include LM NB |
| 86 | |
| 87 | /-- The terminal amplitude and the recursive grade do not enter this radius |
| 88 | choice. The original time profile is preserved exactly. -/ |
| 89 | theorem exists_initialized_budgets : |
| 90 | ∃ (L' : EulerTransversePacketJoin.Budget D τ hτ hτT B (Fin 4) 6) |
| 91 | (H' : EulerTransversePacketPrimary.Budget L') |
| 92 | (N' : EulerTransversePacketJoin.NormalBudget D 6 L'.R) |
| 93 | (M' : EulerMeanPacketProvider.Budget M 6 L'.R), |
| 94 | L'.fullProfile = L.fullProfile ∧ |
| 95 | EulerTransversePacketJoin.Budget.GradeGuards (P := period) L' N' ∧ |
| 96 | EulerMeanPacketProvider.Budget.GradeGuards M' ∧ |
| 97 | EulerTransversePacketPrimary.Budget.GradeGuards (P := period) H' N' |
| 98 | (wordCost (Fin 4) 6 δ*‖ξ‖) ∧ |
| 99 | wordRadius (Fin 4) δ ≤ L'.R ∧ BC.termCost ≤ L'.R ∧ |
| 100 | sobolevCoefficientRadius (Fin 4) BC.Rc ≤ L'.R := by |
| 101 | let Lp := EulerTransversePacketPrimary.enlargeForPrimary L (wordRadius (Fin 4) δ) |
| 102 | have hLp : L.R ≤ Lp.R := EulerTransversePacketPrimary.le_requiredRadius L _ |
| 103 | let Np := NB.enlargeRadius Lp.R hLp |
| 104 | let Hp := EulerTransversePacketPrimary.requiredBudget L (wordRadius (Fin 4) δ) |
| 105 | let terminalCost := wordCost (Fin 4) 6 δ*‖ξ‖ |
| 106 | have ht : 0 ≤ terminalCost := mul_nonneg (wordCost_nonneg 6 δ) (norm_nonneg ξ) |
| 107 | let R' := max (EulerPacketCommonRadius.commonRadius LM Lp Np BC) |
| 108 | (Hp.gradeRadius (P := period) Np terminalCost) |
| 109 | obtain ⟨hm,hl,wm,wl,hc,hrc⟩ := |
| 110 | EulerPacketCommonRadius.commonRadius_guards LM Lp Np BC R' (le_max_left _ _) |
| 111 | obtain ⟨hl',wp⟩ := Hp.gradeRadius_guards Np terminalCost ht R' (le_max_right _ _) |
| 112 | refine ⟨Lp.enlargeRadius R' hl, Hp.enlargeRadius R' hl, |
| 113 | Np.enlargeRadius R' hl, LM.enlargeRadius R' hm, rfl, wl, wm, ?_, ?_, hc, hrc⟩ |
| 114 | · exact wp |
| 115 | · exact (EulerTransversePacketPrimary.extra_le_requiredRadius L (wordRadius (Fin 4) δ)).trans hl |
| 116 | |
| 117 | end EulerPacketTerminalDatum |