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.EulerProof |
| 2 | |
| 3 | /-! Closed graphs of the genuine strong cylinder translation derivatives. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerClosedTranslationGraph |
| 8 | |
| 9 | open MeasureTheory EulerLiftedGradientSpace EulerPressureSpatialRegularity EulerCylinderMollifier |
| 10 | open scoped Topology |
| 11 | |
| 12 | variable (period : ℝ) [Fact (0 < period)] |
| 13 | |
| 14 | omit [Fact (0 < period)] in |
| 15 | /-- A covering-space direction gives an additive one-parameter cylinder translation. -/ |
| 16 | theorem translationPath_add (a : LiftTangent) (s t : ℝ) : |
| 17 | translationPath period a (s + t) = translationPath period a s + translationPath period a t := by |
| 18 | ext <;> simp [translationPath, coveringMap, add_smul] |
| 19 | |
| 20 | /-- Strong differentiation of a translation orbit at zero determines its derivative everywhere. -/ |
| 21 | theorem translation_hasDerivAt_all (a : LiftTangent) (f g : LiftL2 period) |
| 22 | (h : HasDerivAt (fun s => translation period (translationPath period a s) f) g 0) (t : ℝ) : |
| 23 | HasDerivAt (fun s => translation period (translationPath period a s) f) |
| 24 | (translation period (translationPath period a t) g) t := by |
| 25 | have hshift : HasDerivAt |
| 26 | (fun s => translation period (translationPath period a t) |
| 27 | (translation period (translationPath period a s) f)) |
| 28 | (translation period (translationPath period a t) g) 0 := |
| 29 | (translation period (translationPath period a t)).toContinuousLinearMap.hasFDerivAt.comp_hasDerivAt 0 h |
| 30 | have hd := hshift.scomp_of_eq t ((hasDerivAt_id t).sub_const t) (by simp) |
| 31 | have hshape : (fun s => translation period (translationPath period a t) |
| 32 | (translation period (translationPath period a (s - t)) f)) = |
| 33 | fun s => translation period (translationPath period a s) f := by |
| 34 | funext s |
| 35 | rw [translation_add, ← translationPath_add] |
| 36 | rw [show t + (s - t) = s by ring] |
| 37 | simpa only [Function.comp_def, id_eq, hshape, one_smul] using hd |
| 38 | |
| 39 | /-- Convergence of L² fields gives uniform convergence of their entire isometric translation orbits. -/ |
| 40 | theorem translation_orbits_tendstoUniformly {ι : Type*} {l : Filter ι} |
| 41 | (a : LiftTangent) (f : ι → LiftL2 period) (g : LiftL2 period) |
| 42 | (hf : Filter.Tendsto f l (𝓝 g)) : |
| 43 | TendstoUniformly (fun n t => translation period (translationPath period a t) (f n)) |
| 44 | (fun t => translation period (translationPath period a t) g) l := by |
| 45 | apply Metric.tendstoUniformly_iff.mpr |
| 46 | intro ε hε |
| 47 | have he := hf.eventually (Metric.ball_mem_nhds g hε) |
| 48 | filter_upwards [he] with n hn t |
| 49 | rw [(translation period (translationPath period a t)).dist_map] |
| 50 | simpa only [Metric.mem_ball, dist_comm] using hn |
| 51 | |
| 52 | /-- The graph of one genuine strong L² translation derivative, as a linear subspace. -/ |
| 53 | def translationDerivativeGraph (a : LiftTangent) : Submodule ℝ (LiftL2 period × LiftL2 period) where |
| 54 | carrier := {p | HasDerivAt (fun t => translation period (translationPath period a t) p.1) p.2 0} |
| 55 | zero_mem' := by |
| 56 | change HasDerivAt (fun t => translation period (translationPath period a t) 0) 0 0 |
| 57 | simpa only [map_zero] using hasDerivAt_const (0 : ℝ) (0 : LiftL2 period) |
| 58 | add_mem' := by |
| 59 | intro p q hp hq |
| 60 | change HasDerivAt (fun t => translation period (translationPath period a t) (p.1 + q.1)) (p.2 + q.2) 0 |
| 61 | simpa only [map_add] using hp.fun_add hq |
| 62 | smul_mem' := by |
| 63 | intro r p hp |
| 64 | change HasDerivAt (fun t => translation period (translationPath period a t) (r • p.1)) (r • p.2) 0 |
| 65 | simpa only [map_smul, Pi.smul_def] using hp.const_smul r |
| 66 | |
| 67 | /-- The strong translation derivative is a closed operator on the actual cylinder L² space. -/ |
| 68 | theorem translationDerivativeGraph_closed (a : LiftTangent) : |
| 69 | IsClosed (translationDerivativeGraph period a : Set (LiftL2 period × LiftL2 period)) := by |
| 70 | apply isSeqClosed_iff_isClosed.mp |
| 71 | intro v p hv hvp |
| 72 | have hfst : Filter.Tendsto (fun n => (v n).1) Filter.atTop (𝓝 p.1) := |
| 73 | (continuous_fst.tendsto p).comp hvp |
| 74 | have hsnd : Filter.Tendsto (fun n => (v n).2) Filter.atTop (𝓝 p.2) := |
| 75 | (continuous_snd.tendsto p).comp hvp |
| 76 | have hder : ∀ᶠ n : ℕ in Filter.atTop, ∀ t : ℝ, |
| 77 | HasDerivAt (fun s => translation period (translationPath period a s) (v n).1) |
| 78 | (translation period (translationPath period a t) (v n).2) t := |
| 79 | Filter.Eventually.of_forall (fun n t => translation_hasDerivAt_all period a (v n).1 (v n).2 (hv n) t) |
| 80 | have hlim := hasDerivAt_of_tendstoUniformly |
| 81 | (translation_orbits_tendstoUniformly period a (fun n => (v n).2) p.2 hsnd) hder |
| 82 | (fun t => (translation period (translationPath period a t)).continuous.continuousAt.tendsto.comp hfst) 0 |
| 83 | change HasDerivAt (fun t => translation period (translationPath period a t) p.1) p.2 0 |
| 84 | simpa only [translationPath_zero, translation_zero] using hlim |
| 85 | |
| 86 | end EulerClosedTranslationGraph |