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.ElapsedTimePathGluing |
| 2 | import Euler.LpCylinderPaths |
| 3 | |
| 4 | /-! Bounded spatial maps and mixed derivative words commute with the actual elapsed-time join. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerElapsedTimePathGluing |
| 9 | |
| 10 | open Set ContinuousLinearMap EulerTimeIntervalGlue EulerPacketTimePathGluing |
| 11 | EulerVolterraConvolution EulerParameterWordGevrey |
| 12 | open scoped ContDiff |
| 13 | |
| 14 | attribute [local instance] EulerPacketTimePathGluing.compactInterval |
| 15 | |
| 16 | variable {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 17 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 18 | (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 19 | (u : C(Icc (0 : ℝ) τ,E)) (v : C(Icc (0 : ℝ) (S-τ),E)) |
| 20 | (hm : u ⟨τ,hτ0,le_rfl⟩ = v ⟨0,le_rfl,sub_nonneg.mpr hτS⟩) |
| 21 | |
| 22 | theorem join_map (L : E →L[ℝ] F) : |
| 23 | L.compLeftContinuous ℝ (Icc (0 : ℝ) S) (join S τ hτ0 hτS u v hm) = |
| 24 | join S τ hτ0 hτS (L.compLeftContinuous ℝ (Icc (0 : ℝ) τ) u) |
| 25 | (L.compLeftContinuous ℝ (Icc (0 : ℝ) (S-τ)) v) (congrArg L hm) := by |
| 26 | apply ContinuousMap.ext |
| 27 | intro t |
| 28 | change L (if (t : ℝ) ≤ τ then u (projIcc 0 τ hτ0 t) |
| 29 | else v (elapsedTime S τ (projIcc τ S hτS t))) = |
| 30 | if (t : ℝ) ≤ τ then L (u (projIcc 0 τ hτ0 t)) |
| 31 | else L (v (elapsedTime S τ (projIcc τ S hτS t))) |
| 32 | split <;> rfl |
| 33 | |
| 34 | end EulerElapsedTimePathGluing |
| 35 | |
| 36 | namespace EulerLpCylinderTranslation |
| 37 | |
| 38 | open Set ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 39 | EulerElapsedTimePathGluing EulerParameterWordGevrey |
| 40 | open scoped ContDiff |
| 41 | |
| 42 | variable (P : ℝ) [Fact (0 < P)] {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 43 | (S τ : ℝ) (hτ0 : 0 ≤ τ) (hτS : τ ≤ S) |
| 44 | (u : C(Icc (0 : ℝ) τ,CylinderL2 P V)) (v : C(Icc (0 : ℝ) (S-τ),CylinderL2 P V)) |
| 45 | (hm : u ⟨τ,hτ0,le_rfl⟩ = v ⟨0,le_rfl,sub_nonneg.mpr hτS⟩) |
| 46 | |
| 47 | theorem join_translation (a : LiftTangent) : |
| 48 | pathTranslate P a (join S τ hτ0 hτS u v hm) = |
| 49 | join S τ hτ0 hτS (pathTranslate P a u) (pathTranslate P a v) |
| 50 | (congrArg (translate P a) hm) := |
| 51 | join_map S τ hτ0 hτS u v hm (translate P a).toContinuousLinearMap |
| 52 | |
| 53 | variable (hu : ContDiff ℝ ∞ (fun a => pathTranslate P a u)) |
| 54 | (hv : ContDiff ℝ ∞ (fun a => pathTranslate P a v)) |
| 55 | |
| 56 | include hu hv in |
| 57 | theorem join_orbit_contDiff : |
| 58 | ContDiff ℝ ∞ (fun a => pathTranslate P a (join S τ hτ0 hτS u v hm)) := by |
| 59 | have he : (fun a => pathTranslate P a (join S τ hτ0 hτS u v hm)) = |
| 60 | fun a => join S τ hτ0 hτS (pathTranslate P a u) (pathTranslate P a v) |
| 61 | (congrArg (translate P a) hm) := funext (join_translation P S τ hτ0 hτS u v hm) |
| 62 | rw [he] |
| 63 | exact join_contDiff S τ hτ0 hτS (fun a => pathTranslate P a u) (fun a => pathTranslate P a v) |
| 64 | hu hv (fun a => congrArg (translate P a) hm) |
| 65 | |
| 66 | include hu hv in |
| 67 | theorem join_orbit_block {ι : Type*} [Fintype ι] (directions : ι → LiftTangent) (q n : ℕ) (a : LiftTangent) : |
| 68 | block directions q (fun b => pathTranslate P b (join S τ hτ0 hτS u v hm)) n a ≤ |
| 69 | block directions q (fun b => pathTranslate P b u) n a+ |
| 70 | block directions q (fun b => pathTranslate P b v) n a := by |
| 71 | have he : (fun b => pathTranslate P b (join S τ hτ0 hτS u v hm)) = |
| 72 | fun b => join S τ hτ0 hτS (pathTranslate P b u) (pathTranslate P b v) |
| 73 | (congrArg (translate P b) hm) := funext (join_translation P S τ hτ0 hτS u v hm) |
| 74 | rw [he] |
| 75 | exact join_block_bound S τ hτ0 hτS (fun b => pathTranslate P b u) (fun b => pathTranslate P b v) |
| 76 | hu hv (fun b => congrArg (translate P b) hm) directions q n a |
| 77 | |
| 78 | end EulerLpCylinderTranslation |