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.EulerC1Breakdown |
| 2 | import Mathlib.Topology.Order.AtTopBotIxx |
| 3 | import Mathlib.Order.Filter.ENNReal |
| 4 | |
| 5 | /-! Exact infinite upper limits at the maximal time. The endpoint filter |
| 6 | is the pullback of the ordinary left-neighborhood filter, so its meaning |
| 7 | does not depend on a chosen sequence of sampling times. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerOrdinarySobolev.FiniteLifespan |
| 12 | |
| 13 | open Set Filter EulerSmoothLimit EulerLpTranslation EulerLpTranslation.SmoothL2Field |
| 14 | open scoped Topology ENNReal |
| 15 | |
| 16 | variable {A : SmoothL2Field Space} (L : FiniteLifespan A) |
| 17 | |
| 18 | def endpointFilter : Filter L.Time := |
| 19 | Filter.comap (fun t : L.Time => (t : ℝ)) (𝓝[<] L.duration) |
| 20 | |
| 21 | theorem endpointFilter_eq_atTop : L.endpointFilter=(atTop : Filter L.Time) := |
| 22 | comap_coe_nhdsLT_of_Ioo_subset (fun _ ht => ht.2) |
| 23 | (fun _ => ⟨0,L.duration_pos,fun _ ht => ⟨ht.1.le,ht.2⟩⟩) |
| 24 | |
| 25 | theorem map_time_atTop : |
| 26 | Filter.map (fun t : L.Time => (t : ℝ)) atTop=𝓝[<] L.duration := |
| 27 | map_coe_atTop_of_Ioo_subset (fun _ ht => ht.2) |
| 28 | (fun _ _ => ⟨0,L.duration_pos,fun _ ht => ⟨ht.1.le,ht.2⟩⟩) |
| 29 | |
| 30 | theorem endpointFilter_neBot : L.endpointFilter.NeBot := by |
| 31 | let : Nonempty L.Time := ⟨L.initialTime⟩ |
| 32 | rw [L.endpointFilter_eq_atTop] |
| 33 | infer_instance |
| 34 | |
| 35 | theorem time_tendsto_endpoint : |
| 36 | Tendsto (fun t : L.Time => (t : ℝ)) atTop (𝓝[<] L.duration) := |
| 37 | L.map_time_atTop.le |
| 38 | |
| 39 | /-- Arbitrarily large values in every terminal interval force the actual |
| 40 | extended nonnegative upper limit to be infinity. -/ |
| 41 | theorem ofReal_limsup_eq_top_of_unbounded (f : L.Time → ℝ) |
| 42 | (hf : ∀ τ : ℝ, τ < L.duration → ∀ K : ℝ, ∃ t : L.Time, τ < t ∧ K < f t) : |
| 43 | Filter.limsup (fun t => ENNReal.ofReal (f t)) L.endpointFilter=⊤ := by |
| 44 | let : Nonempty L.Time := ⟨L.initialTime⟩ |
| 45 | rw [L.endpointFilter_eq_atTop] |
| 46 | apply top_unique |
| 47 | apply (Filter.le_limsup_iff).2 |
| 48 | intro b hb |
| 49 | apply frequently_atTop.mpr |
| 50 | intro s |
| 51 | obtain ⟨t,ht,hft⟩ := hf s s.property.2 b.toReal |
| 52 | exact ⟨t,ht.le,(ENNReal.lt_ofReal_iff_toReal_lt (ne_of_lt hb)).mpr hft⟩ |
| 53 | |
| 54 | theorem maximalGradientNorm_limsup : |
| 55 | Filter.limsup (fun t : L.Time => ENNReal.ofReal (L.maximalGradientNorm t)) |
| 56 | L.endpointFilter=⊤ := |
| 57 | L.ofReal_limsup_eq_top_of_unbounded L.maximalGradientNorm |
| 58 | (fun τ hτ K => L.maximalGradientNorm_unbounded_near_endpoint τ K hτ) |
| 59 | |
| 60 | theorem maximalC1Norm_limsup : |
| 61 | Filter.limsup (fun t : L.Time => ENNReal.ofReal (L.maximalC1Norm t)) |
| 62 | L.endpointFilter=⊤ := |
| 63 | L.ofReal_limsup_eq_top_of_unbounded L.maximalC1Norm |
| 64 | (fun τ hτ K => L.maximalC1Norm_unbounded_near_endpoint τ K hτ) |
| 65 | |
| 66 | theorem maximalC1Norm_limsup_atTop : |
| 67 | Filter.limsup (fun t : L.Time => ENNReal.ofReal (L.maximalC1Norm t)) atTop=⊤ := by |
| 68 | rw [← L.endpointFilter_eq_atTop] |
| 69 | exact L.maximalC1Norm_limsup |
| 70 | |
| 71 | end EulerOrdinarySobolev.FiniteLifespan |
| 72 | |
| 73 | namespace EulerPacketInduction |
| 74 | |
| 75 | open Filter |
| 76 | open scoped Topology ENNReal |
| 77 | |
| 78 | theorem maximalTime_map_atTop : |
| 79 | Filter.map (fun t : MaximalTime => (t : ℝ)) atTop=𝓝[<] lifespan.duration := |
| 80 | lifespan.map_time_atTop |
| 81 | |
| 82 | theorem maximalGradientNorm_limsup : |
| 83 | Filter.limsup (fun t : MaximalTime => ENNReal.ofReal (maximalGradientNorm t)) |
| 84 | (Filter.comap (fun t : MaximalTime => (t : ℝ)) (𝓝[<] lifespan.duration))=⊤ := |
| 85 | lifespan.maximalGradientNorm_limsup |
| 86 | |
| 87 | theorem maximalC1Norm_limsup : |
| 88 | Filter.limsup (fun t : MaximalTime => ENNReal.ofReal (maximalC1Norm t)) |
| 89 | (Filter.comap (fun t : MaximalTime => (t : ℝ)) (𝓝[<] lifespan.duration))=⊤ := |
| 90 | lifespan.maximalC1Norm_limsup |
| 91 | |
| 92 | end EulerPacketInduction |