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.OrdinaryEulerVorticity |
| 2 | import Euler.OrdinaryEulerContinuation |
| 3 | import Euler.OrdinaryEulerMaximal |
| 4 | |
| 5 | /-! Actual vorticity supremum norms and their partial integrals on a |
| 6 | half-open maximal Euler interval. All quantities agree exactly with |
| 7 | the genuine smooth solutions on every shorter closed interval. -/ |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace EulerOrdinarySobolev.FiniteLifespan |
| 12 | |
| 13 | open Set Filter MeasureTheory EulerSmoothLimit EulerLpTranslation |
| 14 | EulerLpTranslation.SmoothL2Field EulerMeanSolenoidal EulerVectorCalculus EulerMeanCutoffCurl |
| 15 | EulerVolterraConvolution EulerContinuousTimeIntegral |
| 16 | open scoped ContDiff Topology |
| 17 | |
| 18 | variable {A : SmoothL2Field Space} (L : FiniteLifespan A) |
| 19 | |
| 20 | theorem vorticityIntegral_agrees (S T : ℝ) (hS : 0 < S) (hT : 0 < T) |
| 21 | (hSL : S < L.duration) (hTL : T < L.duration) (hST : S ≤ T) |
| 22 | (t : Icc (0 : ℝ) S) : |
| 23 | (L.evolution S hS hSL).vorticityIntegral t= |
| 24 | (L.evolution T hT hTL).vorticityIntegral ⟨t,t.property.1,t.property.2.trans hST⟩ := by |
| 25 | apply intervalIntegral.integral_congr |
| 26 | intro r hr |
| 27 | have hrs : r ∈ Icc (0 : ℝ) (t : ℝ) := by simpa only [uIcc_of_le t.property.1] using hr |
| 28 | have hrS : r ∈ Icc (0 : ℝ) S := ⟨hrs.1,hrs.2.trans t.property.2⟩ |
| 29 | have hrT : r ∈ Icc (0 : ℝ) T := ⟨hrs.1,hrS.2.trans hST⟩ |
| 30 | change vorticityNorm ((L.evolution S hS hSL).velocity (projIcc 0 S hS.le r))= |
| 31 | vorticityNorm ((L.evolution T hT hTL).velocity (projIcc 0 T hT.le r)) |
| 32 | rw [projIcc_of_mem hS.le hrS,projIcc_of_mem hT.le hrT, |
| 33 | L.evolution_agrees_at S T hS hT hSL hTL r hrs.1 hrS.2 hrT.2] |
| 34 | |
| 35 | theorem vorticityIntegral_agrees_at (S T : ℝ) (hS : 0 < S) (hT : 0 < T) |
| 36 | (hSL : S < L.duration) (hTL : T < L.duration) (t : ℝ) |
| 37 | (ht0 : 0 ≤ t) (htS : t ≤ S) (htT : t ≤ T) : |
| 38 | (L.evolution S hS hSL).vorticityIntegral ⟨t,ht0,htS⟩= |
| 39 | (L.evolution T hT hTL).vorticityIntegral ⟨t,ht0,htT⟩ := by |
| 40 | rcases le_total S T with hST | hTS |
| 41 | · exact L.vorticityIntegral_agrees S T hS hT hSL hTL hST ⟨t,ht0,htS⟩ |
| 42 | · exact (L.vorticityIntegral_agrees T S hT hS hTL hSL hTS ⟨t,ht0,htT⟩).symm |
| 43 | |
| 44 | def maximalVorticityNorm (t : L.Time) : ℝ := vorticityNorm (L.maximalField t) |
| 45 | |
| 46 | theorem maximalVorticityNorm_nonneg (t : L.Time) : 0 ≤ L.maximalVorticityNorm t := |
| 47 | vorticityNorm_nonneg _ |
| 48 | |
| 49 | theorem maximalVorticityNorm_le_iff (t : L.Time) (K : ℝ) : |
| 50 | L.maximalVorticityNorm t ≤ K ↔ ∀ x, ‖vectorCurl (L.maximalVelocity t) x‖ ≤ K := |
| 51 | vorticityNorm_le_iff _ K |
| 52 | |
| 53 | theorem maximalVorticityNorm_continuous : Continuous L.maximalVorticityNorm := |
| 54 | vorticityNorm_continuous L.maximalField L.maximalField_jet_continuous |
| 55 | |
| 56 | theorem maximalVorticityNorm_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 57 | (t : Icc (0 : ℝ) S) : |
| 58 | L.maximalVorticityNorm (L.shorterTime S hSL t)=(L.evolution S hS hSL).vorticityNormPath t := by |
| 59 | change vorticityNorm (L.maximalField (L.shorterTime S hSL t))=_ |
| 60 | rw [L.maximalField_eq_evolution S hS hSL t] |
| 61 | rfl |
| 62 | |
| 63 | def maximalVorticityIntegral (t : L.Time) : ℝ := |
| 64 | (L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) |
| 65 | (L.intermediateHorizon_lt t)).vorticityIntegral (L.intermediateTime t) |
| 66 | |
| 67 | theorem maximalVorticityIntegral_eq_evolution (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 68 | (t : Icc (0 : ℝ) S) : |
| 69 | L.maximalVorticityIntegral (L.shorterTime S hSL t)= |
| 70 | (L.evolution S hS hSL).vorticityIntegral t := |
| 71 | L.vorticityIntegral_agrees_at (L.intermediateHorizon (L.shorterTime S hSL t)) S |
| 72 | (L.intermediateHorizon_pos (L.shorterTime S hSL t)) hS |
| 73 | (L.intermediateHorizon_lt (L.shorterTime S hSL t)) hSL t t.property.1 |
| 74 | (L.time_lt_intermediateHorizon (L.shorterTime S hSL t)).le t.property.2 |
| 75 | |
| 76 | theorem maximalVorticityIntegral_nonneg (t : L.Time) : 0 ≤ L.maximalVorticityIntegral t := |
| 77 | (L.evolution (L.intermediateHorizon t) (L.intermediateHorizon_pos t) |
| 78 | (L.intermediateHorizon_lt t)).vorticityIntegral_nonneg (L.intermediateTime t) |
| 79 | |
| 80 | theorem maximalVorticityIntegral_initial : L.maximalVorticityIntegral L.initialTime=0 := |
| 81 | (L.evolution (L.intermediateHorizon L.initialTime) (L.intermediateHorizon_pos L.initialTime) |
| 82 | (L.intermediateHorizon_lt L.initialTime)).vorticityIntegral_initial |
| 83 | |
| 84 | theorem maximalVorticityIntegral_continuous : Continuous L.maximalVorticityIntegral := by |
| 85 | apply L.continuous_of_shorter_restrictions |
| 86 | intro S hS hSL |
| 87 | have he : (fun t : Icc (0 : ℝ) S => L.maximalVorticityIntegral (L.shorterTime S hSL t))= |
| 88 | (L.evolution S hS hSL).vorticityIntegral := |
| 89 | funext (L.maximalVorticityIntegral_eq_evolution S hS hSL) |
| 90 | rw [he] |
| 91 | exact (L.evolution S hS hSL).vorticityIntegral_continuous |
| 92 | |
| 93 | theorem maximalVorticityIntegral_mono : Monotone L.maximalVorticityIntegral := by |
| 94 | intro s t hst |
| 95 | let R := L.intermediateHorizon t |
| 96 | have hR : 0 < R := L.intermediateHorizon_pos t |
| 97 | have hRL : R < L.duration := L.intermediateHorizon_lt t |
| 98 | have htR : (t : ℝ) ≤ R := (L.time_lt_intermediateHorizon t).le |
| 99 | have hsR : (s : ℝ) ≤ R := (show (s : ℝ) ≤ t from hst).trans htR |
| 100 | have hs := L.maximalVorticityIntegral_eq_evolution R hR hRL ⟨s,s.property.1,hsR⟩ |
| 101 | have ht := L.maximalVorticityIntegral_eq_evolution R hR hRL ⟨t,t.property.1,htR⟩ |
| 102 | change L.maximalVorticityIntegral s=_ at hs |
| 103 | change L.maximalVorticityIntegral t=_ at ht |
| 104 | rw [hs,ht] |
| 105 | exact (L.evolution R hR hRL).vorticityIntegral_mono _ _ hst |
| 106 | |
| 107 | theorem vorticityIntegral_eventually_large_of_unbounded |
| 108 | (hunbounded : ∀ G : ℝ, ∃ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 109 | (t : Icc (0 : ℝ) S), G < (L.evolution S hS hSL).vorticityIntegral t) |
| 110 | (G : ℝ) : |
| 111 | ∃ (R : ℝ) (_hR : 0 < R) (_hRL : R < L.duration), |
| 112 | ∀ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration), R ≤ S → |
| 113 | G < (L.evolution S hS hSL).vorticityIntegral ⟨S,hS.le,le_rfl⟩ := by |
| 114 | obtain ⟨R,hR,hRL,t,ht⟩ := hunbounded G |
| 115 | refine ⟨R,hR,hRL,?_⟩ |
| 116 | intro S hS hSL hRS |
| 117 | rw [L.vorticityIntegral_agrees R S hR hS hRL hSL hRS t] at ht |
| 118 | exact ht.trans_le ((L.evolution S hS hSL).vorticityIntegral_mono |
| 119 | ⟨t,t.property.1,t.property.2.trans hRS⟩ ⟨S,hS.le,le_rfl⟩ (t.property.2.trans hRS)) |
| 120 | |
| 121 | theorem maximalVorticityIntegral_tendsto_atTop |
| 122 | (hunbounded : ∀ G : ℝ, ∃ (S : ℝ) (hS : 0 < S) (hSL : S < L.duration) |
| 123 | (t : Icc (0 : ℝ) S), G < (L.evolution S hS hSL).vorticityIntegral t) : |
| 124 | Tendsto L.maximalVorticityIntegral (atTop : Filter L.Time) atTop := by |
| 125 | apply tendsto_atTop.mpr |
| 126 | intro G |
| 127 | obtain ⟨R,hR,hRL,hlarge⟩ := L.vorticityIntegral_eventually_large_of_unbounded hunbounded G |
| 128 | filter_upwards [eventually_ge_atTop (⟨R,hR.le,hRL⟩ : L.Time)] with t ht |
| 129 | have htpos : 0 < (t : ℝ) := hR.trans_le ht |
| 130 | have he := L.maximalVorticityIntegral_eq_evolution t htpos t.property.2 ⟨t,t.property.1,le_rfl⟩ |
| 131 | change L.maximalVorticityIntegral t=_ at he |
| 132 | rw [he] |
| 133 | exact (hlarge t htpos t.property.2 ht).le |
| 134 | |
| 135 | end EulerOrdinarySobolev.FiniteLifespan |