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.LinearFundamentalExistence |
| 2 | |
| 3 | /-! |
| 4 | # Actual continuous fundamental paths from the existence theorem |
| 5 | |
| 6 | This module chooses the paths whose existence was proved by Picard iteration |
| 7 | and records their initial values, two-sided inverse identities, and actual |
| 8 | within-interval derivatives. The final specialization constructs an Evolution |
| 9 | for every continuous bounded operator coefficient. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerLinearFundamentalExistence |
| 15 | |
| 16 | open Set ContinuousLinearMap EulerVolterraConvolution EulerLinearDuhamel |
| 17 | |
| 18 | variable {A : Type*} [NormedRing A] [NormedAlgebra ℝ A] [CompleteSpace A] |
| 19 | (T : ℝ) (hT : 0 ≤ T) (B : C(Icc (0 : ℝ) T,A)) |
| 20 | |
| 21 | /-- The continuous paths constructed from the actual Banach-space ODE. -/ |
| 22 | structure FundamentalPath where |
| 23 | forward : C(Icc (0 : ℝ) T,A) |
| 24 | backward : C(Icc (0 : ℝ) T,A) |
| 25 | forward_initial : forward ⟨0,le_rfl,hT⟩ = 1 |
| 26 | backward_initial : backward ⟨0,le_rfl,hT⟩ = 1 |
| 27 | forward_backward : ∀ t, forward t * backward t = 1 |
| 28 | backward_forward : ∀ t, backward t * forward t = 1 |
| 29 | derivative : ∀ t : Icc (0 : ℝ) T, |
| 30 | HasDerivWithinAt (extendPath T hT forward) (B t * forward t) (Icc (0 : ℝ) T) t |
| 31 | |
| 32 | /-- Every continuous coefficient has such actual paths, with no smallness hypothesis. -/ |
| 33 | theorem nonempty_fundamentalPath : Nonempty (FundamentalPath T hT B) := by |
| 34 | obtain ⟨Φ,Ψ,hΦ0,hΨ0,hΦ,hΨ,hInv⟩ := exists_fundamental T hT B |
| 35 | let Φc : C(Icc (0 : ℝ) T,A) := ⟨fun t => Φ t, |
| 36 | (show ContinuousOn Φ (Icc (0 : ℝ) T) from |
| 37 | fun t ht => (hΦ t ht).continuousAt.continuousWithinAt).domRestrict⟩ |
| 38 | let Ψc : C(Icc (0 : ℝ) T,A) := ⟨fun t => Ψ t, |
| 39 | (show ContinuousOn Ψ (Icc (0 : ℝ) T) from |
| 40 | fun t ht => (hΨ t ht).continuousAt.continuousWithinAt).domRestrict⟩ |
| 41 | refine ⟨{ |
| 42 | forward := Φc |
| 43 | backward := Ψc |
| 44 | forward_initial := hΦ0 |
| 45 | backward_initial := hΨ0 |
| 46 | forward_backward := fun t => (hInv t t.property).1 |
| 47 | backward_forward := fun t => (hInv t t.property).2 |
| 48 | derivative := ?_ }⟩ |
| 49 | intro t |
| 50 | have hd : HasDerivWithinAt Φ (B t * Φ t) (Icc (0 : ℝ) T) t := by |
| 51 | simpa only [extendPath, projIcc_of_mem hT t.property] using |
| 52 | (hΦ t t.property).hasDerivWithinAt (s := Icc (0 : ℝ) T) |
| 53 | apply hd.congr_of_mem _ t.property |
| 54 | intro s hs |
| 55 | simp only [extendPath, projIcc_of_mem hT hs] |
| 56 | rfl |
| 57 | |
| 58 | /-- A fixed choice of the genuinely constructed fundamental paths. -/ |
| 59 | def fundamentalPath : FundamentalPath T hT B := |
| 60 | Classical.choice (nonempty_fundamentalPath T hT B) |
| 61 | |
| 62 | end EulerLinearFundamentalExistence |
| 63 | |
| 64 | namespace EulerLinearDuhamel |
| 65 | |
| 66 | open Set EulerLinearFundamentalExistence |
| 67 | |
| 68 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [CompleteSpace E] |
| 69 | (T : ℝ) (hT : 0 ≤ T) (B : C(Icc (0 : ℝ) T,E →L[ℝ] E)) |
| 70 | |
| 71 | /-- A homogeneous evolution constructed for an arbitrary continuous operator coefficient. -/ |
| 72 | def constructedEvolution : Evolution T hT B where |
| 73 | forward := (fundamentalPath T hT B).forward |
| 74 | backward := (fundamentalPath T hT B).backward |
| 75 | forward_backward := (fundamentalPath T hT B).forward_backward |
| 76 | backward_forward := (fundamentalPath T hT B).backward_forward |
| 77 | derivative := (fundamentalPath T hT B).derivative |
| 78 | |
| 79 | /-- Its forward path starts at the identity. -/ |
| 80 | theorem constructedEvolution_initial : |
| 81 | (constructedEvolution T hT B).forward ⟨0,le_rfl,hT⟩ = ContinuousLinearMap.id ℝ E := |
| 82 | (fundamentalPath T hT B).forward_initial |
| 83 | |
| 84 | end EulerLinearDuhamel |