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.OrdinaryEulerLocalExistence |
| 2 | import Euler.OrdinaryEulerConcatenation |
| 3 | |
| 4 | /-! Genuine continuation of every closed smooth Euler evolution, and |
| 5 | the resulting gradient blowup criterion at a finite maximal horizon. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerOrdinarySobolev |
| 10 | |
| 11 | open Set Filter MeasureTheory EulerSmoothLimit EulerLpTranslation |
| 12 | EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal EulerVolterraConvolution |
| 13 | EulerContinuousTimeIntegral |
| 14 | open scoped Topology |
| 15 | |
| 16 | namespace Evolution |
| 17 | |
| 18 | variable {T : ℝ} {hT : 0 ≤ T} (U : Evolution T hT) |
| 19 | |
| 20 | theorem exists_extension (hTpos : 0 < T) : |
| 21 | ∃ (S : ℝ) (hS : 0 < S) (hTS : T < S), ∃ V : Evolution S hS.le, |
| 22 | V.velocity ⟨0,le_rfl,hS.le⟩=U.velocity ⟨0,le_rfl,hT⟩ ∧ |
| 23 | ∀ t : Icc (0 : ℝ) T, |
| 24 | V.velocity ⟨t,t.property.1,t.property.2.trans hTS.le⟩=U.velocity t := by |
| 25 | let A := U.velocity ⟨T,hT,le_rfl⟩ |
| 26 | let V := localEvolution A (U.solenoidal ⟨T,hT,le_rfl⟩) |
| 27 | have hmatch : U.velocity ⟨T,hT,le_rfl⟩=V.velocity ⟨0,le_rfl,(regularizedTime_pos A).le⟩ := |
| 28 | (localEvolution_initial A (U.solenoidal ⟨T,hT,le_rfl⟩)).symm |
| 29 | have hST : T < T+regularizedTime A := lt_add_of_pos_right T (regularizedTime_pos A) |
| 30 | refine ⟨T+regularizedTime A,add_pos hTpos (regularizedTime_pos A),hST, |
| 31 | U.concatenate V hTpos (regularizedTime_pos A) hmatch,?_,?_⟩ |
| 32 | · exact U.concatenate_initial V hTpos (regularizedTime_pos A) hmatch |
| 33 | · exact U.concatenate_left V hTpos (regularizedTime_pos A) hmatch |
| 34 | |
| 35 | theorem gradientIntegral_mono (s t : Icc (0 : ℝ) T) (hst : (s : ℝ) ≤ t) : |
| 36 | U.gradientIntegral s ≤ U.gradientIntegral t := by |
| 37 | apply intervalIntegral.integral_mono_interval le_rfl s.property.1 hst |
| 38 | (Eventually.of_forall (fun r => U.gradientNormPath_nonneg (projIcc 0 T hT r))) |
| 39 | ((extendPath_continuous T hT U.gradientNormPath).intervalIntegrable 0 t) |
| 40 | |
| 41 | end Evolution |
| 42 | |
| 43 | theorem HasEulerEvolution.extend {A : SmoothL2Field Space} {T : ℝ} |
| 44 | (h : HasEulerEvolution A T) : ∃ S, T < S ∧ HasEulerEvolution A S := by |
| 45 | obtain ⟨hT,U,hU⟩ := h |
| 46 | obtain ⟨S,hS,hST,V,hV,_hagree⟩ := U.exists_extension hT |
| 47 | exact ⟨S,hST,hS,V,hV.trans hU⟩ |
| 48 | |
| 49 | namespace FiniteLifespan |
| 50 | |
| 51 | variable {A : SmoothL2Field Space} (L : FiniteLifespan A) |
| 52 | |
| 53 | theorem no_endpoint : ¬ HasEulerEvolution A L.duration := by |
| 54 | intro h |
| 55 | obtain ⟨S,hS,hE⟩ := h.extend |
| 56 | exact L.maximal S hS hE |
| 57 | |
| 58 | theorem gradientIntegral_unbounded (G : ℝ) : |
| 59 | ∃ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) (t : Icc (0 : ℝ) S), |
| 60 | G < (L.evolution S hS hSL).gradientIntegral t := by |
| 61 | by_contra hn |
| 62 | push Not at hn |
| 63 | exact L.no_endpoint (L.endpoint_of_bounded_gradient G hn) |
| 64 | |
| 65 | theorem gradient_unbounded (K : ℝ) : |
| 66 | ∃ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) (t : Icc (0 : ℝ) S) (x : Space), |
| 67 | K < ‖fderiv ℝ ((L.evolution S hS hSL).velocity t).field x‖ := by |
| 68 | by_contra hn |
| 69 | push Not at hn |
| 70 | apply L.no_endpoint |
| 71 | apply L.endpoint_of_bounded_gradient ((max K 0)*L.duration) |
| 72 | intro S hS hSL t |
| 73 | apply ((L.evolution S hS hSL).gradientIntegral_le_const (max K 0) |
| 74 | (fun r x => (hn S hS hSL r x).trans (le_max_left K 0)) t).trans |
| 75 | exact mul_le_mul_of_nonneg_left (t.property.2.trans hSL.le) (le_max_right K 0) |
| 76 | |
| 77 | theorem evolution_agrees_at (S T : ℝ) (hS : 0 < S) (hT : 0 < T) |
| 78 | (hSL : S < L.duration) (hTL : T < L.duration) (t : ℝ) |
| 79 | (ht0 : 0 ≤ t) (htS : t ≤ S) (htT : t ≤ T) : |
| 80 | (L.evolution S hS hSL).velocity ⟨t,ht0,htS⟩= |
| 81 | (L.evolution T hT hTL).velocity ⟨t,ht0,htT⟩ := by |
| 82 | rcases le_total S T with hST | hTS |
| 83 | · exact (L.evolution_agrees S T hS hT hSL hTL hST ⟨t,ht0,htS⟩).1.symm |
| 84 | · exact (L.evolution_agrees T S hT hS hTL hSL hTS ⟨t,ht0,htT⟩).1 |
| 85 | |
| 86 | theorem gradient_unbounded_near_endpoint (τ K : ℝ) (hτ : τ < L.duration) : |
| 87 | ∃ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) (t : Icc (0 : ℝ) S) (x : Space), |
| 88 | τ < t ∧ K < ‖fderiv ℝ ((L.evolution S hS hSL).velocity t).field x‖ := by |
| 89 | by_contra hn |
| 90 | push Not at hn |
| 91 | let R := (max τ 0+L.duration)/2 |
| 92 | have hm : max τ 0 < L.duration := max_lt hτ L.duration_pos |
| 93 | have hR : 0 < R := by dsimp [R]; linarith [le_max_right τ 0,L.duration_pos] |
| 94 | have hRL : R < L.duration := by dsimp [R]; linarith |
| 95 | have hτR : τ < R := by dsimp [R]; linarith [le_max_left τ 0] |
| 96 | let C := ‖(L.evolution R hR hRL).gradientNormPath‖ |
| 97 | obtain ⟨S,hS,hSL,t,x,hx⟩ := L.gradient_unbounded (max C K) |
| 98 | apply (not_lt_of_ge (show ‖fderiv ℝ ((L.evolution S hS hSL).velocity t).field x‖ ≤ max C K from ?_)) hx |
| 99 | by_cases ht : (t : ℝ) ≤ R |
| 100 | · have he := L.evolution_agrees_at S R hS hR hSL hRL t t.property.1 t.property.2 ht |
| 101 | rw [he] |
| 102 | apply ((L.evolution R hR hRL).pointwise_gradient_le ⟨t,t.property.1,ht⟩ x).trans |
| 103 | apply le_trans _ (le_max_left C K) |
| 104 | exact le_trans (le_abs_self _) ((L.evolution R hR hRL).gradientNormPath.norm_coe_le_norm _) |
| 105 | · exact (hn S hS hSL t x (hτR.trans (lt_of_not_ge ht))).trans (le_max_right C K) |
| 106 | |
| 107 | theorem gradientIntegral_agrees (S T : ℝ) (hS : 0 < S) (hT : 0 < T) |
| 108 | (hSL : S < L.duration) (hTL : T < L.duration) (hST : S ≤ T) |
| 109 | (t : Icc (0 : ℝ) S) : |
| 110 | (L.evolution S hS hSL).gradientIntegral t= |
| 111 | (L.evolution T hT hTL).gradientIntegral ⟨t,t.property.1,t.property.2.trans hST⟩ := by |
| 112 | apply intervalIntegral.integral_congr |
| 113 | intro r hr |
| 114 | have hrs : r ∈ Icc (0 : ℝ) (t : ℝ) := by simpa only [uIcc_of_le t.property.1] using hr |
| 115 | have hrS : r ∈ Icc (0 : ℝ) S := ⟨hrs.1,hrs.2.trans t.property.2⟩ |
| 116 | have hrT : r ∈ Icc (0 : ℝ) T := ⟨hrs.1,hrS.2.trans hST⟩ |
| 117 | change (L.evolution S hS hSL).gradientNormPath (projIcc 0 S hS.le r)= |
| 118 | (L.evolution T hT hTL).gradientNormPath (projIcc 0 T hT.le r) |
| 119 | rw [projIcc_of_mem hS.le hrS,projIcc_of_mem hT.le hrT] |
| 120 | change ‖EulerMeanSobolevBoundedField.finiteField ((L.evolution S hS hSL).velocity ⟨r,hrS⟩).derivative‖= |
| 121 | ‖EulerMeanSobolevBoundedField.finiteField ((L.evolution T hT hTL).velocity ⟨r,hrT⟩).derivative‖ |
| 122 | rw [L.evolution_agrees_at S T hS hT hSL hTL r hrs.1 hrS.2 hrT.2] |
| 123 | |
| 124 | theorem gradientIntegral_eventually_large (G : ℝ) : |
| 125 | ∃ (R : ℝ) (_hR : 0 < R) (_hRL : R < L.duration), |
| 126 | ∀ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration), R ≤ S → |
| 127 | G < (L.evolution S hS hSL).gradientIntegral ⟨S,hS.le,le_rfl⟩ := by |
| 128 | obtain ⟨R,hR,hRL,t,ht⟩ := L.gradientIntegral_unbounded G |
| 129 | refine ⟨R,hR,hRL,?_⟩ |
| 130 | intro S hS hSL hRS |
| 131 | rw [L.gradientIntegral_agrees R S hR hS hRL hSL hRS t] at ht |
| 132 | exact ht.trans_le ((L.evolution S hS hSL).gradientIntegral_mono |
| 133 | ⟨t,t.property.1,t.property.2.trans hRS⟩ ⟨S,hS.le,le_rfl⟩ (t.property.2.trans hRS)) |
| 134 | |
| 135 | end FiniteLifespan |
| 136 | end EulerOrdinarySobolev |