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.ParentPacketScaledBounds |
| 2 | import Euler.ParentPacketRestriction |
| 3 | import Euler.PacketFirstPressureSign |
| 4 | |
| 5 | /-! The genuine base parent can be restricted to one explicit positive |
| 6 | time on which the low-order source guards hold. The constants depend |
| 7 | only on its fixed label envelope; the initial core is empty. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerBaseEulerGuards |
| 12 | |
| 13 | open Set InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 14 | EulerParentPacketFrames EulerPacketParentLabelBounds EulerGevrey |
| 15 | EulerPacketFirstPressureSign EulerTimeIntervalRestriction |
| 16 | |
| 17 | def coefficientCost (K : ℝ) : ℝ := 27*(frameAmplitude K)^2*gradientAmplitude K |
| 18 | |
| 19 | theorem coefficientCost_nonneg (K : ℝ) : 0 ≤ coefficientCost K := by |
| 20 | unfold coefficientCost |
| 21 | positivity [gradientAmplitude_nonneg K] |
| 22 | |
| 23 | def guardTime (T K : ℝ) : ℝ := |
| 24 | min T (min 1 (1/(4*(1+coefficientCost K+ |
| 25 | firstSignRate (coefficientCost K) (coefficientCost K))))) |
| 26 | |
| 27 | theorem guardTime_pos (T K : ℝ) (hT : 0 < T) : 0 < guardTime T K := by |
| 28 | have hC := coefficientCost_nonneg K |
| 29 | have hr : 0 ≤ firstSignRate (coefficientCost K) (coefficientCost K) := by |
| 30 | unfold firstSignRate |
| 31 | positivity |
| 32 | unfold guardTime |
| 33 | positivity |
| 34 | |
| 35 | theorem guardTime_le (T K : ℝ) : guardTime T K ≤ T := min_le_left _ _ |
| 36 | |
| 37 | theorem guardTime_le_one (T K : ℝ) : guardTime T K ≤ 1 := |
| 38 | (min_le_right _ _).trans (min_le_left _ _) |
| 39 | |
| 40 | theorem guardTime_small (T K : ℝ) : |
| 41 | coefficientCost K*guardTime T K ≤ 1/4 ∧ |
| 42 | firstSignRate (coefficientCost K) (coefficientCost K)*guardTime T K ≤ 1/4 := by |
| 43 | let C := coefficientCost K |
| 44 | let R := firstSignRate C C |
| 45 | have hC : 0 ≤ C := coefficientCost_nonneg K |
| 46 | have hR : 0 ≤ R := by dsimp [R,firstSignRate]; positivity |
| 47 | have hd : 0 < 4*(1+C+R) := by positivity |
| 48 | have ht : guardTime T K ≤ 1/(4*(1+C+R)) := |
| 49 | (min_le_right _ _).trans (min_le_right _ _) |
| 50 | have hc := mul_le_mul_of_nonneg_left ht hC |
| 51 | have hr := mul_le_mul_of_nonneg_left ht hR |
| 52 | have hc' : C*(1/(4*(1+C+R))) ≤ 1/4 := by |
| 53 | rw [mul_one_div] |
| 54 | apply (div_le_iff₀ hd).mpr |
| 55 | nlinarith |
| 56 | have hr' : R*(1/(4*(1+C+R))) ≤ 1/4 := by |
| 57 | rw [mul_one_div] |
| 58 | apply (div_le_iff₀ hd).mpr |
| 59 | nlinarith |
| 60 | exact ⟨hc.trans hc',hr.trans hr'⟩ |
| 61 | |
| 62 | theorem inner_bounds_of_norm (A : Space →L[ℝ] Space) (C : ℝ) |
| 63 | (hA : ‖A‖ ≤ C) (v : Space) : |
| 64 | -C*‖v‖^2 ≤ ⟪A v,v⟫_ℝ ∧ ⟪A v,v⟫_ℝ ≤ C*‖v‖^2 := by |
| 65 | have hn : ‖A v‖ ≤ C*‖v‖ := |
| 66 | (A.le_opNorm v).trans (mul_le_mul_of_nonneg_right hA (norm_nonneg _)) |
| 67 | have hi : |⟪A v,v⟫_ℝ| ≤ C*‖v‖^2 := by |
| 68 | calc |
| 69 | _ ≤ ‖A v‖*‖v‖ := by |
| 70 | simpa only [Real.norm_eq_abs] using norm_inner_le_norm (𝕜 := ℝ) (A v) v |
| 71 | _ ≤ (C*‖v‖)*‖v‖ := mul_le_mul_of_nonneg_right hn (norm_nonneg _) |
| 72 | _ = _ := by ring |
| 73 | constructor |
| 74 | · nlinarith [(abs_le.mp hi).1] |
| 75 | · exact (abs_le.mp hi).2 |
| 76 | |
| 77 | variable {G : Parent} (L : LabelData G) |
| 78 | |
| 79 | theorem strain_norm (t : Icc (0 : ℝ) G.T) (x : Space) : |
| 80 | ‖G.strain.field t x‖ ≤ coefficientCost L.K := by |
| 81 | have h := L.strain_scaled_bound 0 t x |
| 82 | simpa only [coefficientCost,norm_iteratedFDeriv_zero,majorant,Nat.zero_add, |
| 83 | Nat.factorial_zero,Nat.cast_one,pow_zero,one_pow,mul_one] using h |
| 84 | |
| 85 | theorem curvature_norm (t : Icc (0 : ℝ) G.T) (x : Space) : |
| 86 | ‖G.curvature.field t x‖ ≤ coefficientCost L.K := by |
| 87 | have h := L.curvature_scaled_bound 0 t x |
| 88 | simpa only [coefficientCost,norm_iteratedFDeriv_zero,majorant,Nat.zero_add, |
| 89 | Nat.factorial_zero,Nat.cast_one,pow_zero,one_pow,mul_one] using h |
| 90 | |
| 91 | theorem initialStrain_norm (x : Space) : |
| 92 | ‖G.initialStrain.field x‖ ≤ coefficientCost L.K := by |
| 93 | have he : G.strain.field G.zeroTime x=G.initialStrain.field x := by |
| 94 | apply ContinuousLinearMap.ext |
| 95 | intro v |
| 96 | rw [G.strain_apply,comp_apply,G.inverse_initial,G.initialStrain_apply] |
| 97 | rw [← he] |
| 98 | exact strain_norm L G.zeroTime x |
| 99 | |
| 100 | def lowBoundsOn (S : ℝ) (hS : 0 < S) (hST : S ≤ G.T) |
| 101 | (hSone : S ≤ 1) (hsmall : coefficientCost L.K*S ≤ 1/4) : |
| 102 | LowBounds (G.restrictTime S hS hST) where |
| 103 | Be := coefficientCost L.K |
| 104 | Bc := 0 |
| 105 | L := 0 |
| 106 | r := 0 |
| 107 | K := coefficientCost L.K |
| 108 | Be_nonneg := coefficientCost_nonneg L.K |
| 109 | Bc_nonneg := le_rfl |
| 110 | L_lower := by simp |
| 111 | r_nonneg := le_rfl |
| 112 | r_le_quarter := by norm_num |
| 113 | K_nonneg := coefficientCost_nonneg L.K |
| 114 | exterior_lower x _ v := by |
| 115 | rw [G.restrictTime_initialStrain] |
| 116 | exact (inner_bounds_of_norm _ _ (initialStrain_norm L x) v).1 |
| 117 | core_lower x hx _ := by |
| 118 | exact False.elim ((not_lt_of_ge (norm_nonneg _)) hx) |
| 119 | curvature_upper t x v := by |
| 120 | erw [G.restrictTime_curvature] |
| 121 | exact (inner_bounds_of_norm _ _ (curvature_norm L (initialInclusion G.T S hST t) x) v).2 |
| 122 | small := by |
| 123 | change coefficientCost L.K*(S^2/2)+coefficientCost L.K*S+_ ≤ 1/2 |
| 124 | simp only [mul_zero,zero_mul,zero_pow (by decide : 3 ≠ 0),add_zero] |
| 125 | have hsquare : S^2 ≤ S := by nlinarith [mul_nonneg hS.le (sub_nonneg.mpr hSone)] |
| 126 | have hc := mul_le_mul_of_nonneg_left hsquare (coefficientCost_nonneg L.K) |
| 127 | nlinarith |
| 128 | |
| 129 | def lowBounds : LowBounds |
| 130 | (G.restrictTime (guardTime G.T L.K) (guardTime_pos G.T L.K G.T_pos) |
| 131 | (guardTime_le G.T L.K)) := |
| 132 | lowBoundsOn L _ _ _ (guardTime_le_one G.T L.K) (guardTime_small G.T L.K).1 |
| 133 | |
| 134 | end EulerBaseEulerGuards |