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.MeanPacketBudget |
| 2 | import Euler.PacketTimeProfiles |
| 3 | import Euler.PacketLinearCostAbsorption |
| 4 | import Euler.PacketCylinderBoundTransfer |
| 5 | |
| 6 | /-! The actual mean solver closes a grade at its constant source profile. |
| 7 | Only fixed source costs are absorbed into the radius; the grade amplitude |
| 8 | cancels without any loss. -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerPacketCylinderField.Field |
| 13 | |
| 14 | open Set EulerPacketProfileRecursion |
| 15 | |
| 16 | variable {P T : ℝ} [Fact (0 < P)] {raw : VectorField} (G : Field P T raw) |
| 17 | (hT : 0 ≤ T) (c : ℝ) (hc : 0 < c) |
| 18 | |
| 19 | theorem normalized_const_path : |
| 20 | (G.normalized hT (ContinuousMap.const (Icc (0 : ℝ) T) c) (fun _ => hc)).path = |
| 21 | (G.smul c⁻¹).path := by |
| 22 | apply path_eq_of_raw_eq |
| 23 | intro t x θ |
| 24 | rfl |
| 25 | |
| 26 | variable {G} {q d : ℕ} {R A : ℝ} |
| 27 | |
| 28 | theorem WordBound.normalize_const (hG : G.WordBound q R (A*c) d) : |
| 29 | (G.normalized hT (ContinuousMap.const (Icc (0 : ℝ) T) c) (fun _ => hc)).WordBound q R A d := by |
| 30 | have hh := hG.smul c⁻¹ |
| 31 | have he : |c⁻¹| * (A*c) = A := by |
| 32 | rw [abs_of_pos (inv_pos.mpr hc)] |
| 33 | field_simp |
| 34 | rw [he] at hh |
| 35 | exact hh.of_path_eq _ (G.normalized_const_path hT c hc) |
| 36 | |
| 37 | theorem WordBound.of_normalized_const |
| 38 | (hG : (G.normalized hT (ContinuousMap.const (Icc (0 : ℝ) T) c) (fun _ => hc)).WordBound q R A d) : |
| 39 | G.WordBound q R (c*A) d := by |
| 40 | have hh := hG.smul c |
| 41 | rw [abs_of_pos hc] at hh |
| 42 | apply hh.of_path_eq G |
| 43 | apply path_eq_of_raw_eq |
| 44 | intro t x θ |
| 45 | change c • (c⁻¹ • raw (t,(x,θ))) = raw (t,(x,θ)) |
| 46 | rw [smul_smul,mul_inv_cancel₀ hc.ne',one_smul] |
| 47 | |
| 48 | end EulerPacketCylinderField.Field |
| 49 | |
| 50 | namespace EulerMeanPacketProvider.Budget |
| 51 | |
| 52 | open Set EulerPacketProfileRecursion EulerPacketShiftArithmetic EulerPacketCylinderField |
| 53 | EulerPacketTimeProfile |
| 54 | |
| 55 | variable {P : ℝ} [Fact (0 < P)] {D : Data} {R : ℝ} (L : Budget D 6 R) |
| 56 | |
| 57 | /-- The mean source costs are fixed before selecting any grade or its profile. -/ |
| 58 | structure GradeGuards : Prop where |
| 59 | velocity : L.velocityCost ≤ R |
| 60 | derivative : L.derivativeCost ≤ R |
| 61 | pressureGradient : L.pressureGradientCost ≤ R |
| 62 | |
| 63 | variable (W : GradeGuards L) (S : Scales (Icc (0 : ℝ) D.T)) |
| 64 | {raw : VectorField} (G : Forcing D raw) (F : Field P D.T raw) |
| 65 | (p : ℕ) (hp : 2 ≤ p) |
| 66 | (hforce : (F.normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound |
| 67 | 6 R 1 (meanForceShift p)) |
| 68 | |
| 69 | include W hp hforce |
| 70 | |
| 71 | /-- The three actual mean outputs satisfy the unit budget at b_p=H₀^(2p−2) |
| 72 | and the same external radius. -/ |
| 73 | theorem grade_bounds : |
| 74 | ((G.vectorCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound |
| 75 | 6 R 1 (meanShift p) ∧ |
| 76 | ((G.vectorDerivativeCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound |
| 77 | 6 R 1 (meanShift p) ∧ |
| 78 | ((G.pressureGradientCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound |
| 79 | 6 R 1 (meanShift p) := by |
| 80 | have hc : 0 < S.H0^(2*p-2) := pow_pos S.H0_pos _ |
| 81 | have hf : F.WordBound 6 R (1*S.H0^(2*p-2)) (meanForceShift p) := by |
| 82 | have hh := hforce.of_normalized_const D.T_pos.le (S.H0^(2*p-2)) hc |
| 83 | simpa only [mul_one,one_mul] using hh |
| 84 | obtain ⟨hv,ht,hπ⟩ := L.grade_profile_bounds P G F p (meanForceShift p) 1 S.H0 |
| 85 | zero_le_one S.H0_pos.le hf |
| 86 | simp only [one_mul] at hv ht hπ |
| 87 | have hroom : meanForceShift p+3+1 ≤ meanShift p := by |
| 88 | dsimp only [meanForceShift,meanShift] |
| 89 | omega |
| 90 | refine ⟨?_,?_,?_⟩ |
| 91 | · exact (hv.normalize_const D.T_pos.le (S.H0^(2*p-2)) hc).absorb_amplitude_to |
| 92 | L.radius_bounds.1 L.costs_nonneg.1 W.velocity hroom |
| 93 | · exact (ht.normalize_const D.T_pos.le (S.H0^(2*p-2)) hc).absorb_amplitude_to |
| 94 | L.radius_bounds.1 L.costs_nonneg.2.1 W.derivative hroom |
| 95 | · exact (hπ.normalize_const D.T_pos.le (S.H0^(2*p-2)) hc).absorb_amplitude_to |
| 96 | L.radius_bounds.1 L.costs_nonneg.2.2.2 W.pressureGradient hroom |
| 97 | |
| 98 | theorem vector_grade_bound : |
| 99 | ((G.vectorCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound |
| 100 | 6 R 1 (meanShift p) := (L.grade_bounds W S G F p hp hforce).1 |
| 101 | |
| 102 | theorem derivative_grade_bound : |
| 103 | ((G.vectorDerivativeCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound |
| 104 | 6 R 1 (meanShift p) := (L.grade_bounds W S G F p hp hforce).2.1 |
| 105 | |
| 106 | theorem pressure_gradient_grade_bound : |
| 107 | ((G.pressureGradientCylinderField P).normalized D.T_pos.le (S.mean p) (S.mean_pos p)).WordBound |
| 108 | 6 R 1 (meanShift p) := (L.grade_bounds W S G F p hp hforce).2.2 |
| 109 | |
| 110 | end EulerMeanPacketProvider.Budget |