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.TransversePacketForwardGradeBounds |
| 2 | import Euler.PacketCommonRadius |
| 3 | |
| 4 | /-! One finite source radius accommodates the zero-history primary, every |
| 5 | forced direct-forward grade, the mean solve and the nonlinear coefficients. |
| 6 | Neither the positive packet amplitude nor the recursive grade enters it. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace EulerTransversePacketForward.Budget |
| 11 | |
| 12 | open EulerTransversePacketProvider |
| 13 | |
| 14 | variable {P : ℝ} |
| 15 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 16 | {D : Data U} (L : Budget D (Fin 4) 6) |
| 17 | (N : EulerTransversePacketJoin.NormalBudget D 6 L.R) (C : ℝ) |
| 18 | |
| 19 | def gradeRadius : ℝ := |
| 20 | max L.R (max (L.commonCost*C) (max (L.correctorAmplitude (P := P) N*C) |
| 21 | (max (L.correctorTimeAmplitude (P := P) N*C) (3*L.pressureAmplitude (P := P) N*C)))) |
| 22 | |
| 23 | theorem gradeRadius_bounds : |
| 24 | L.R ≤ L.gradeRadius (P := P) N C ∧ |
| 25 | L.commonCost*C ≤ L.gradeRadius (P := P) N C ∧ |
| 26 | L.correctorAmplitude (P := P) N*C ≤ L.gradeRadius (P := P) N C ∧ |
| 27 | L.correctorTimeAmplitude (P := P) N*C ≤ L.gradeRadius (P := P) N C ∧ |
| 28 | 3*L.pressureAmplitude (P := P) N*C ≤ L.gradeRadius (P := P) N C := by |
| 29 | unfold gradeRadius |
| 30 | exact ⟨le_max_left _ _, (le_max_left _ _).trans (le_max_right _ _), |
| 31 | (le_max_left _ _).trans ((le_max_right _ _).trans (le_max_right _ _)), |
| 32 | (le_max_left _ _).trans ((le_max_right _ _).trans |
| 33 | ((le_max_right _ _).trans (le_max_right _ _))), |
| 34 | (le_max_right _ _).trans ((le_max_right _ _).trans |
| 35 | ((le_max_right _ _).trans (le_max_right _ _)))⟩ |
| 36 | |
| 37 | theorem gradeRadius_guards (hC : 0 ≤ C) (R' : ℝ) |
| 38 | (hR : L.gradeRadius (P := P) N C ≤ R') : |
| 39 | ∃ h : L.R ≤ R', GradeGuards (P := P) (L.enlargeRadius R' h) |
| 40 | (N.enlargeRadius R' h) C := by |
| 41 | have hb := L.gradeRadius_bounds (P := P) N C |
| 42 | refine ⟨hb.1.trans hR, ?_⟩ |
| 43 | exact ⟨hC,hb.2.1.trans hR,hb.2.2.1.trans hR,hb.2.2.2.1.trans hR,hb.2.2.2.2.trans hR⟩ |
| 44 | |
| 45 | theorem exists_grade_radius (hC : 0 ≤ C) (extra : ℝ) : |
| 46 | ∃ R' : ℝ, extra ≤ R' ∧ ∃ h : L.R ≤ R', |
| 47 | GradeGuards (P := P) (L.enlargeRadius R' h) (N.enlargeRadius R' h) C := |
| 48 | ⟨max extra (L.gradeRadius (P := P) N C),le_max_left _ _, |
| 49 | L.gradeRadius_guards N C hC _ (le_max_right _ _)⟩ |
| 50 | |
| 51 | end EulerTransversePacketForward.Budget |
| 52 | |
| 53 | namespace EulerPacketForwardCommonRadius |
| 54 | |
| 55 | open EulerPacketCylinderField EulerPacketProfileRecursion EulerParameterWordGevrey |
| 56 | |
| 57 | variable {P Tc : ℝ} [Fact (0 < P)] {O : Operators} {C : CoefficientData P Tc O} |
| 58 | {DM : EulerMeanPacketProvider.Data} {Rm : ℝ} (M : EulerMeanPacketProvider.Budget DM 6 Rm) |
| 59 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 60 | {D : EulerTransversePacketProvider.Data U} (L : EulerTransversePacketForward.Budget D (Fin 4) 6) |
| 61 | (N : EulerTransversePacketJoin.NormalBudget D 6 L.R) (CB : CoefficientBudget C) |
| 62 | (terminalCost extra : ℝ) |
| 63 | |
| 64 | def commonRadius : ℝ := |
| 65 | Rm+L.R+CB.termCost+sobolevCoefficientRadius (Fin 4) CB.Rc+ |
| 66 | M.velocityCost+M.derivativeCost+M.pressureGradientCost+ |
| 67 | L.gradeRadius (P := P) N 1+L.gradeRadius (P := P) N terminalCost+max 0 extra |
| 68 | |
| 69 | theorem commonRadius_bounds : |
| 70 | Rm ≤ commonRadius M L N CB terminalCost extra ∧ |
| 71 | L.R ≤ commonRadius M L N CB terminalCost extra ∧ |
| 72 | CB.termCost ≤ commonRadius M L N CB terminalCost extra ∧ |
| 73 | sobolevCoefficientRadius (Fin 4) CB.Rc ≤ commonRadius M L N CB terminalCost extra ∧ |
| 74 | M.velocityCost ≤ commonRadius M L N CB terminalCost extra ∧ |
| 75 | M.derivativeCost ≤ commonRadius M L N CB terminalCost extra ∧ |
| 76 | M.pressureGradientCost ≤ commonRadius M L N CB terminalCost extra ∧ |
| 77 | L.gradeRadius (P := P) N 1 ≤ commonRadius M L N CB terminalCost extra ∧ |
| 78 | L.gradeRadius (P := P) N terminalCost ≤ commonRadius M L N CB terminalCost extra ∧ |
| 79 | extra ≤ commonRadius M L N CB terminalCost extra := by |
| 80 | have hm : 0 ≤ Rm := zero_le_one.trans M.radius_bounds.1 |
| 81 | have hl : 0 ≤ L.R := zero_le_one.trans L.radius_one |
| 82 | have hc := CB.termCost_nonneg |
| 83 | have hrc := sobolevCoefficientRadius_nonneg (ι := Fin 4) CB.Rc CB.Rc_nonneg |
| 84 | have hmv := M.costs_nonneg.1 |
| 85 | have hmt := M.costs_nonneg.2.1 |
| 86 | have hmp := M.costs_nonneg.2.2.2 |
| 87 | have hlf := hl.trans (L.gradeRadius_bounds (P := P) N 1).1 |
| 88 | have hlp := hl.trans (L.gradeRadius_bounds (P := P) N terminalCost).1 |
| 89 | have he := le_max_left (0 : ℝ) extra |
| 90 | have he' := le_max_right (0 : ℝ) extra |
| 91 | dsimp only [commonRadius] |
| 92 | refine ⟨?_,?_,?_,?_,?_,?_,?_,?_,?_,?_⟩ <;> linarith |
| 93 | |
| 94 | theorem commonRadius_guards (hC : 0 ≤ terminalCost) (R' : ℝ) |
| 95 | (hR : commonRadius M L N CB terminalCost extra ≤ R') : |
| 96 | ∃ (hM : Rm ≤ R') (hL : L.R ≤ R'), |
| 97 | EulerMeanPacketProvider.Budget.GradeGuards (M.enlargeRadius R' hM) ∧ |
| 98 | EulerTransversePacketForward.Budget.GradeGuards (P := P) |
| 99 | (L.enlargeRadius R' hL) (N.enlargeRadius R' hL) 1 ∧ |
| 100 | EulerTransversePacketForward.Budget.GradeGuards (P := P) |
| 101 | (L.enlargeRadius R' hL) (N.enlargeRadius R' hL) terminalCost ∧ |
| 102 | CB.termCost ≤ R' ∧ sobolevCoefficientRadius (Fin 4) CB.Rc ≤ R' ∧ extra ≤ R' := by |
| 103 | obtain ⟨hm,hl,hc,hrc,hmv,hmt,hmp,hlf,hlp,he⟩ := commonRadius_bounds M L N CB terminalCost extra |
| 104 | obtain ⟨_,wf⟩ := L.gradeRadius_guards (P := P) N 1 zero_le_one R' (hlf.trans hR) |
| 105 | obtain ⟨_,wp⟩ := L.gradeRadius_guards (P := P) N terminalCost hC R' (hlp.trans hR) |
| 106 | exact ⟨hm.trans hR,hl.trans hR,⟨hmv.trans hR,hmt.trans hR,hmp.trans hR⟩, |
| 107 | wf,wp,hc.trans hR,hrc.trans hR,he.trans hR⟩ |
| 108 | |
| 109 | theorem exists_common_radius (hC : 0 ≤ terminalCost) : |
| 110 | ∃ (R' : ℝ) (hM : Rm ≤ R') (hL : L.R ≤ R'), |
| 111 | EulerMeanPacketProvider.Budget.GradeGuards (M.enlargeRadius R' hM) ∧ |
| 112 | EulerTransversePacketForward.Budget.GradeGuards (P := P) |
| 113 | (L.enlargeRadius R' hL) (N.enlargeRadius R' hL) 1 ∧ |
| 114 | EulerTransversePacketForward.Budget.GradeGuards (P := P) |
| 115 | (L.enlargeRadius R' hL) (N.enlargeRadius R' hL) terminalCost ∧ |
| 116 | CB.termCost ≤ R' ∧ sobolevCoefficientRadius (Fin 4) CB.Rc ≤ R' ∧ extra ≤ R' := |
| 117 | ⟨commonRadius M L N CB terminalCost extra, |
| 118 | commonRadius_guards M L N CB terminalCost extra hC _ le_rfl⟩ |
| 119 | |
| 120 | end EulerPacketForwardCommonRadius |