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.OrdinaryEulerEndpoint |
| 2 | |
| 3 | /-! The maximal positive horizon of a fixed ordinary Euler datum. |
| 4 | Existence below the supremum and failure above it follow from restriction; |
| 5 | membership of the endpoint is deliberately left to a continuation theorem. -/ |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | namespace EulerOrdinarySobolev |
| 10 | |
| 11 | open Set EulerSmoothLimit EulerLpTranslation EulerLpTranslation.SmoothL2Field |
| 12 | |
| 13 | def HasEulerEvolution (A : SmoothL2Field Space) (T : ℝ) : Prop := |
| 14 | ∃ hT : 0 < T, ∃ U : Evolution T hT.le, U.velocity ⟨0,le_rfl,hT.le⟩=A |
| 15 | |
| 16 | theorem HasEulerEvolution.restrict {A : SmoothL2Field Space} {T : ℝ} |
| 17 | (h : HasEulerEvolution A T) (S : ℝ) (hS : 0 < S) (hST : S ≤ T) : |
| 18 | HasEulerEvolution A S := by |
| 19 | obtain ⟨hT,U,hU⟩ := h |
| 20 | exact ⟨hS,U.restrictTime S hS.le hST,hU⟩ |
| 21 | |
| 22 | theorem HasEulerEvolution.lt_of_failure {A : SmoothL2Field Space} {T B : ℝ} |
| 23 | (h : HasEulerEvolution A T) (hB : 0 < B) (hfail : ¬ HasEulerEvolution A B) : T < B := by |
| 24 | by_contra hn |
| 25 | exact hfail (h.restrict B hB (le_of_not_gt hn)) |
| 26 | |
| 27 | /-- A compatible family of smooth solutions on every strictly shorter |
| 28 | positive interval, with no solution on any longer interval. -/ |
| 29 | structure FiniteLifespan (A : SmoothL2Field Space) where |
| 30 | duration : ℝ |
| 31 | duration_pos : 0 < duration |
| 32 | shorter : ∀ S, 0 < S → S < duration → HasEulerEvolution A S |
| 33 | maximal : ∀ S, duration < S → ¬ HasEulerEvolution A S |
| 34 | |
| 35 | theorem exists_finite_lifespan (A : SmoothL2Field Space) (B : ℝ) (hB : 0 < B) |
| 36 | (hlocal : ∃ T, HasEulerEvolution A T) (hfail : ¬ HasEulerEvolution A B) : |
| 37 | ∃ L : FiniteLifespan A, L.duration ≤ B := by |
| 38 | let times : Set ℝ := {T | HasEulerEvolution A T} |
| 39 | have hne : times.Nonempty := hlocal |
| 40 | have hbound : ∀ T ∈ times, T ≤ B := fun T hT => (hT.lt_of_failure hB hfail).le |
| 41 | have hbdd : BddAbove times := ⟨B,hbound⟩ |
| 42 | have hpos : 0 < sSup times := by |
| 43 | obtain ⟨T,hT⟩ := hlocal |
| 44 | exact hT.choose.trans_le (le_csSup hbdd hT) |
| 45 | refine ⟨{ |
| 46 | duration := sSup times |
| 47 | duration_pos := hpos |
| 48 | shorter := ?_ |
| 49 | maximal := ?_ },csSup_le hne hbound⟩ |
| 50 | · intro S hS hST |
| 51 | obtain ⟨T,hT,hST'⟩ := exists_lt_of_lt_csSup hne hST |
| 52 | exact hT.restrict S hS hST'.le |
| 53 | · intro S hST hS |
| 54 | exact (not_le_of_gt hST) (le_csSup hbdd hS) |
| 55 | |
| 56 | namespace FiniteLifespan |
| 57 | |
| 58 | variable {A : SmoothL2Field Space} (L : FiniteLifespan A) |
| 59 | |
| 60 | def evolution (S : ℝ) (hS : 0 < S) (hST : S < L.duration) : Evolution S hS.le := |
| 61 | (L.shorter S hS hST).choose_spec.choose |
| 62 | |
| 63 | theorem evolution_initial (S : ℝ) (hS : 0 < S) (hST : S < L.duration) : |
| 64 | (L.evolution S hS hST).velocity ⟨0,le_rfl,hS.le⟩=A := |
| 65 | (L.shorter S hS hST).choose_spec.choose_spec |
| 66 | |
| 67 | theorem evolution_agrees (S T : ℝ) (hS : 0 < S) (hT : 0 < T) |
| 68 | (hSL : S < L.duration) (hTL : T < L.duration) (hST : S ≤ T) |
| 69 | (t : Icc (0 : ℝ) S) : |
| 70 | (L.evolution T hT hTL).velocity ⟨t,t.property.1,t.property.2.trans hST⟩= |
| 71 | (L.evolution S hS hSL).velocity t ∧ |
| 72 | (L.evolution T hT hTL).pressureForce ⟨t,t.property.1,t.property.2.trans hST⟩= |
| 73 | (L.evolution S hS hSL).pressureForce t := |
| 74 | endpoint_matches_partial (L.evolution T hT hTL) A (L.evolution_initial T hT hTL) |
| 75 | S hS hST (L.evolution S hS hSL) (L.evolution_initial S hS hSL) t |
| 76 | |
| 77 | theorem endpoint_of_bounded_gradient (G : ℝ) |
| 78 | (hG : ∀ S (hS : 0 < S) (hST : S < L.duration) t, |
| 79 | (L.evolution S hS hST).gradientIntegral t ≤ G) : HasEulerEvolution A L.duration := by |
| 80 | refine ⟨L.duration_pos,?_⟩ |
| 81 | apply exists_smooth_endpoint L.duration L.duration_pos A G |
| 82 | intro S hS hST |
| 83 | exact ⟨L.evolution S hS hST,L.evolution_initial S hS hST,hG S hS hST⟩ |
| 84 | |
| 85 | end FiniteLifespan |
| 86 | end EulerOrdinarySobolev |