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.LpDerivativeMap |
| 2 | import Mathlib.MeasureTheory.Function.LpSpace.ContinuousCompMeasurePreserving |
| 3 | import Mathlib.Analysis.Calculus.UniformLimitsDeriv |
| 4 | import Euler.IsometricActionCalculus |
| 5 | |
| 6 | /-! Genuine ordinary-space L² translations and closedness of their full derivative. -/ |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | |
| 11 | namespace EulerLpTranslation |
| 12 | |
| 13 | open MeasureTheory EulerSmoothLimit Filter |
| 14 | open scoped Topology |
| 15 | |
| 16 | variable {V : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 17 | |
| 18 | abbrev L2Space (V : Type*) [NormedAddCommGroup V] := Lp V 2 (volume : Measure Space) |
| 19 | |
| 20 | def translation (a : Space) : L2Space V →ₗᵢ[ℝ] L2Space V := |
| 21 | Lp.compMeasurePreservingₗᵢ ℝ (fun x : Space => x+a) (measurePreserving_add_right volume a) |
| 22 | |
| 23 | theorem translation_ae (a : Space) (u : L2Space V) : |
| 24 | translation a u =ᵐ[volume] fun x => u (x+a) := |
| 25 | Lp.coeFn_compMeasurePreserving u (measurePreserving_add_right volume a) |
| 26 | |
| 27 | @[simp] theorem translation_zero (u : L2Space V) : translation 0 u = u := by |
| 28 | apply Lp.ext |
| 29 | filter_upwards [translation_ae 0 u] with x hx |
| 30 | simpa only [add_zero] using hx |
| 31 | |
| 32 | theorem translation_add (a b : Space) (u : L2Space V) : |
| 33 | translation a (translation b u) = translation (a+b) u := by |
| 34 | apply Lp.ext |
| 35 | filter_upwards [translation_ae a (translation b u), |
| 36 | (measurePreserving_add_right (volume : Measure Space) a).quasiMeasurePreserving.ae (translation_ae b u), |
| 37 | translation_ae (a+b) u] with x ha hb hab |
| 38 | rw [ha, hb, hab, add_assoc] |
| 39 | |
| 40 | theorem translation_continuous (u : L2Space V) : Continuous (fun a : Space => translation a u) := by |
| 41 | let g : Space → C(Space, Space) := fun a => ⟨fun x => x+a, continuous_id.add continuous_const⟩ |
| 42 | have hg : Continuous g := ContinuousMap.continuous_of_continuous_uncurry g |
| 43 | (continuous_snd.add continuous_fst) |
| 44 | exact continuous_const.compMeasurePreservingLp hg |
| 45 | (fun a => measurePreserving_add_right (volume : Measure Space) a) (by norm_num) |
| 46 | |
| 47 | theorem translation_norm_le (a : Space) : |
| 48 | ‖(translation (V := V) a).toContinuousLinearMap‖ ≤ 1 := by |
| 49 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 50 | intro u |
| 51 | simp only [LinearIsometry.coe_toContinuousLinearMap, LinearIsometry.norm_map, one_mul, le_refl] |
| 52 | |
| 53 | theorem translation_hasFDerivAt_all (u : L2Space V) (D : Space →L[ℝ] L2Space V) |
| 54 | (h : HasFDerivAt (fun a : Space => translation a u) D 0) (a : Space) : |
| 55 | HasFDerivAt (fun b : Space => translation b u) |
| 56 | ((translation a).toContinuousLinearMap.comp D) a := |
| 57 | EulerIsometricAction.hasFDerivAt_all translation translation_add u D h a |
| 58 | |
| 59 | theorem translation_orbits_tendstoUniformly {ι : Type*} {l : Filter ι} |
| 60 | (u : ι → L2Space V) (v : L2Space V) (hu : Tendsto u l (𝓝 v)) : |
| 61 | TendstoUniformly (fun n a => translation a (u n)) (fun a => translation a v) l := |
| 62 | EulerIsometricAction.orbits_tendstoUniformly translation u v hu |
| 63 | |
| 64 | theorem translation_derivatives_tendstoUniformly {ι : Type*} {l : Filter ι} |
| 65 | (D : ι → Space →L[ℝ] L2Space V) (D₀ : Space →L[ℝ] L2Space V) |
| 66 | (hD : Tendsto D l (𝓝 D₀)) : |
| 67 | TendstoUniformly (fun n a => (translation a).toContinuousLinearMap.comp (D n)) |
| 68 | (fun a => (translation a).toContinuousLinearMap.comp D₀) l := |
| 69 | EulerIsometricAction.derivatives_tendstoUniformly translation D D₀ hD |
| 70 | |
| 71 | /-- Convergent ordinary L² fields and their actual translation derivatives have the expected derivative in the limit. -/ |
| 72 | theorem translation_hasFDerivAt_limit (u : ℕ → L2Space V) |
| 73 | (D : ℕ → Space →L[ℝ] L2Space V) (u₀ : L2Space V) (D₀ : Space →L[ℝ] L2Space V) |
| 74 | (h : ∀ n, HasFDerivAt (fun a : Space => translation a (u n)) (D n) 0) |
| 75 | (hu : Tendsto u atTop (𝓝 u₀)) (hD : Tendsto D atTop (𝓝 D₀)) : |
| 76 | HasFDerivAt (fun a : Space => translation a u₀) D₀ 0 := |
| 77 | EulerIsometricAction.hasFDerivAt_limit translation translation_add translation_zero u D u₀ D₀ h hu hD |
| 78 | |
| 79 | end EulerLpTranslation |