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 Mathlib.Analysis.Calculus.UniformLimitsDeriv |
| 2 | |
| 3 | /-! Closed differentiability for strongly continuous linear isometric actions. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerIsometricAction |
| 8 | |
| 9 | open Filter |
| 10 | open scoped Topology |
| 11 | |
| 12 | variable {P E : Type*} |
| 13 | [NormedAddCommGroup P] [NormedSpace ℝ P] |
| 14 | [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 15 | |
| 16 | theorem hasFDerivAt_all (τ : P → E →ₗᵢ[ℝ] E) |
| 17 | (hadd : ∀ a b u, τ a (τ b u) = τ (a+b) u) |
| 18 | (u : E) (D : P →L[ℝ] E) (h : HasFDerivAt (fun a => τ a u) D 0) (a : P) : |
| 19 | HasFDerivAt (fun b => τ b u) ((τ a).toContinuousLinearMap.comp D) a := by |
| 20 | have hs := (τ a).toContinuousLinearMap.hasFDerivAt.comp (0 : P) h |
| 21 | have hs' : HasFDerivAt (fun b : P => τ a (τ b u)) |
| 22 | ((τ a).toContinuousLinearMap.comp D) (a-a) := by |
| 23 | simpa only [sub_self, Function.comp_def, LinearIsometry.coe_toContinuousLinearMap] using hs |
| 24 | have hsub : HasFDerivAt (fun b : P => b-a) (ContinuousLinearMap.id ℝ P) a := by |
| 25 | simpa only [id_eq] using (hasFDerivAt_id a).sub_const a |
| 26 | have hd := HasFDerivAt.comp (f := fun b : P => b-a) a hs' hsub |
| 27 | have he : (fun b : P => τ a (τ (b-a) u)) = fun b : P => τ b u := by |
| 28 | funext b |
| 29 | rw [hadd] |
| 30 | congr 1 |
| 31 | abel_nf |
| 32 | simpa only [Function.comp_def, id_eq, sub_self, he, ContinuousLinearMap.comp_id] using hd |
| 33 | |
| 34 | omit [NormedAddCommGroup P] [NormedSpace ℝ P] in |
| 35 | theorem orbits_tendstoUniformly (τ : P → E →ₗᵢ[ℝ] E) {ι : Type*} {l : Filter ι} |
| 36 | (u : ι → E) (v : E) (hu : Tendsto u l (𝓝 v)) : |
| 37 | TendstoUniformly (fun n a => τ a (u n)) (fun a => τ a v) l := by |
| 38 | apply Metric.tendstoUniformly_iff.mpr |
| 39 | intro ε hε |
| 40 | filter_upwards [hu.eventually (Metric.ball_mem_nhds v hε)] with n hn a |
| 41 | rw [(τ a).dist_map] |
| 42 | simpa only [Metric.mem_ball, dist_comm] using hn |
| 43 | |
| 44 | theorem derivatives_tendstoUniformly (τ : P → E →ₗᵢ[ℝ] E) {ι : Type*} {l : Filter ι} |
| 45 | (D : ι → P →L[ℝ] E) (D₀ : P →L[ℝ] E) (hD : Tendsto D l (𝓝 D₀)) : |
| 46 | TendstoUniformly (fun n a => (τ a).toContinuousLinearMap.comp (D n)) |
| 47 | (fun a => (τ a).toContinuousLinearMap.comp D₀) l := by |
| 48 | apply Metric.tendstoUniformly_iff.mpr |
| 49 | intro ε hε |
| 50 | filter_upwards [hD.eventually (Metric.ball_mem_nhds D₀ hε)] with n hn a |
| 51 | have hb : dist ((τ a).toContinuousLinearMap.comp D₀) |
| 52 | ((τ a).toContinuousLinearMap.comp (D n)) ≤ dist D₀ (D n) := by |
| 53 | rw [dist_eq_norm, dist_eq_norm, ← ContinuousLinearMap.comp_sub] |
| 54 | apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _) |
| 55 | intro v |
| 56 | simpa only [ContinuousLinearMap.comp_apply, LinearIsometry.coe_toContinuousLinearMap, |
| 57 | LinearIsometry.norm_map] using (D₀-D n).le_opNorm v |
| 58 | exact hb.trans_lt (by simpa only [Metric.mem_ball, dist_comm] using hn) |
| 59 | |
| 60 | /-- Derivatives of an isometric orbit form a closed operator. -/ |
| 61 | theorem hasFDerivAt_limit (τ : P → E →ₗᵢ[ℝ] E) |
| 62 | (hadd : ∀ a b u, τ a (τ b u) = τ (a+b) u) (hzero : ∀ u, τ 0 u = u) |
| 63 | (u : ℕ → E) (D : ℕ → P →L[ℝ] E) (u₀ : E) (D₀ : P →L[ℝ] E) |
| 64 | (h : ∀ n, HasFDerivAt (fun a => τ a (u n)) (D n) 0) |
| 65 | (hu : Tendsto u atTop (𝓝 u₀)) (hD : Tendsto D atTop (𝓝 D₀)) : |
| 66 | HasFDerivAt (fun a => τ a u₀) D₀ 0 := by |
| 67 | have hh := hasFDerivAt_of_tendstoUniformly (derivatives_tendstoUniformly τ D D₀ hD) |
| 68 | (fun n a => hasFDerivAt_all τ hadd (u n) (D n) (h n) a) |
| 69 | (fun a => (τ a).continuous.continuousAt.tendsto.comp hu) (0 : P) |
| 70 | have hz : (τ 0).toContinuousLinearMap.comp D₀ = D₀ := by |
| 71 | ext a |
| 72 | exact hzero (D₀ a) |
| 73 | rwa [hz] at hh |
| 74 | |
| 75 | end EulerIsometricAction |