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.CylinderHeatEquation |
| 2 | |
| 3 | /-! Exact identification of the Gaussian cylinder generator with the actual strong-jet Laplacian. -/ |
| 4 | |
| 5 | noncomputable section |
| 6 | |
| 7 | namespace EulerGaussianCylinderHeat |
| 8 | |
| 9 | open MeasureTheory EulerLiftedGradientSpace EulerPressureSpatialRegularity EulerSpatialSobolevInverse |
| 10 | EulerCylinderSobolev EulerMetricHeatEnergy |
| 11 | open scoped ENNReal NNReal Topology |
| 12 | |
| 13 | variable (period : ℝ) [Fact (0 < period)] |
| 14 | |
| 15 | /-- Every existing strong Sobolev jet is transported by the genuine heat operator. -/ |
| 16 | def cylinderHeatJet {q : ℕ} {f : LiftL2 period} (J : SpatialJet period standardDirection q f) (v : ℝ≥0) : |
| 17 | SpatialJet period standardDirection q (cylinderHeat period v f) := |
| 18 | EulerPressureJetIdentities.SpatialJet.map (cylinderHeat period v) |
| 19 | (fun a f => (cylinderHeat_translation period v a f).symm) J |
| 20 | |
| 21 | /-- Heat preserves every actual derivative coordinate. -/ |
| 22 | theorem cylinderHeatJet_word {q n : ℕ} {f : LiftL2 period} |
| 23 | (J : SpatialJet period standardDirection q f) (v : ℝ≥0) (w : Fin n → Fin 4) : |
| 24 | (cylinderHeatJet period J v).word w = cylinderHeat period v (J.word w) := |
| 25 | EulerPressureJetIdentities.SpatialJet.map_word J (cylinderHeat period v) _ w |
| 26 | |
| 27 | /-- The actual heat operator commutes with the true strong-jet Laplacian. -/ |
| 28 | theorem cylinderHeatJet_laplacian {f : LiftL2 period} (J : SpatialJet period standardDirection 2 f) (v : ℝ≥0) : |
| 29 | jetLaplacian period (cylinderHeatJet period J v) = cylinderHeat period v (jetLaplacian period J) := by |
| 30 | simp only [jetLaplacian, cylinderHeatJet_word, map_sum] |
| 31 | |
| 32 | /-- Real-time extension of the cylinder heat semigroup. -/ |
| 33 | def realCylinderHeat (t : ℝ) : LiftL2 period →L[ℝ] LiftL2 period := cylinderHeat period t.toNNReal |
| 34 | |
| 35 | theorem realCylinderHeat_apply (t : ℝ) (f : LiftL2 period) : |
| 36 | realCylinderHeat period t f = realHeatList period cylinderDirections t f := |
| 37 | (realHeatList_eq_toNNReal period cylinderDirections t f).symm |
| 38 | |
| 39 | /-- The actual cylinder heat generator at positive variance is one half of the Laplacian. -/ |
| 40 | theorem realCylinderHeat_generator_pos {f : LiftL2 period} (J : SpatialJet period standardDirection 2 f) |
| 41 | {t : ℝ} (ht : 0 < t) : |
| 42 | HasDerivAt (fun s => realCylinderHeat period s f) |
| 43 | ((1/2 : ℝ) • realCylinderHeat period t (jetLaplacian period J)) t := by |
| 44 | let df : Fin 4 → LiftL2 period := fun i => J.word (fun _ : Fin 1 => i) |
| 45 | let ddf : Fin 4 → LiftL2 period := fun i => J.word (fun _ : Fin 2 => i) |
| 46 | have hD (i : Fin 4) : HasDerivAt (lineOrbit period (standardDirection i) f) (df i) 0 := by |
| 47 | have h := J.word_hasDerivAt (show 0 < 2 by omega) Fin.elim0 i |
| 48 | have he : Fin.cons i Fin.elim0 = (fun _ : Fin 1 => i) := by |
| 49 | funext j |
| 50 | fin_cases j |
| 51 | rfl |
| 52 | rw [he, SpatialJet.word_zero] at h |
| 53 | exact h |
| 54 | have hDD (i : Fin 4) : HasDerivAt (lineOrbit period (standardDirection i) (df i)) (ddf i) 0 := by |
| 55 | have h := J.word_hasDerivAt (show 1 < 2 by omega) (fun _ : Fin 1 => i) i |
| 56 | have he : Fin.cons i (fun _ : Fin 1 => i) = (fun _ : Fin 2 => i) := by |
| 57 | funext j |
| 58 | fin_cases j <;> rfl |
| 59 | rw [he] at h |
| 60 | exact h |
| 61 | have h := realHeatList_generator_pos period (List.ofFn (fun i : Fin 4 => i)) standardDirection f df ddf |
| 62 | (fun i _ => hD i) (fun i _ => hDD i) ht |
| 63 | simpa only [List.map_ofFn, Function.comp_def, List.sum_ofFn, realCylinderHeat_apply, |
| 64 | cylinderDirections, jetLaplacian, ddf] using h |
| 65 | |
| 66 | /-- The actual cylinder heat generator at zero variance is a right Laplacian derivative. -/ |
| 67 | theorem realCylinderHeat_generator_zero {f : LiftL2 period} (J : SpatialJet period standardDirection 2 f) : |
| 68 | HasDerivWithinAt (fun s => realCylinderHeat period s f) |
| 69 | ((1/2 : ℝ) • jetLaplacian period J) (Set.Ici 0) 0 := by |
| 70 | have hc : Continuous (fun t : ℝ => realCylinderHeat period t (jetLaplacian period J)) := |
| 71 | (cylinderHeat_continuous period _).comp continuous_real_toNNReal |
| 72 | have hlim : Filter.Tendsto (fun s => (1/2 : ℝ) • realCylinderHeat period s (jetLaplacian period J)) |
| 73 | (𝓝[>] (0 : ℝ)) (𝓝 ((1/2 : ℝ) • jetLaplacian period J)) := by |
| 74 | have h := (hc.const_smul (1/2 : ℝ)).continuousAt (x := 0) |
| 75 | simpa only [Pi.smul_def, realCylinderHeat, Real.toNNReal_zero, cylinderHeat_zero] using (h.continuousWithinAt (s := Set.Ioi 0)).tendsto |
| 76 | apply hasDerivWithinAt_Ici_of_tendsto_deriv (s := Set.Ioi 0) |
| 77 | (fun t ht => (realCylinderHeat_generator_pos period J ht).differentiableAt.differentiableWithinAt) |
| 78 | (((cylinderHeat_continuous period f).comp continuous_real_toNNReal).continuousAt.continuousWithinAt) |
| 79 | self_mem_nhdsWithin |
| 80 | apply hlim.congr' |
| 81 | filter_upwards [self_mem_nhdsWithin] with t ht |
| 82 | exact (realCylinderHeat_generator_pos period J ht).deriv.symm |
| 83 | |
| 84 | /-- Variance2νt is the genuine viscosity-ν heat evolution. -/ |
| 85 | def viscousCylinderHeat (ν t : ℝ) : LiftL2 period →L[ℝ] LiftL2 period := realCylinderHeat period (2*ν*t) |
| 86 | |
| 87 | /-- The constructed heat evolution solves u_t=νΔu, with the actual strong spatial Laplacian. -/ |
| 88 | theorem viscousCylinderHeat_equation {f : LiftL2 period} (J : SpatialJet period standardDirection 2 f) |
| 89 | {ν t : ℝ} (hν : 0 < ν) (ht : 0 < t) : |
| 90 | HasDerivAt (fun s => viscousCylinderHeat period ν s f) |
| 91 | (ν • jetLaplacian period (cylinderHeatJet period J (2*ν*t).toNNReal)) t := by |
| 92 | have hp : 0 < 2*ν*t := by positivity |
| 93 | have h := (realCylinderHeat_generator_pos period J hp).scomp t |
| 94 | ((hasDerivAt_id t).const_mul (2*ν)) |
| 95 | simp only [mul_one] at h |
| 96 | change HasDerivAt (fun s => viscousCylinderHeat period ν s f) |
| 97 | ((2*ν) • ((1/2 : ℝ) • realCylinderHeat period (2*ν*t) (jetLaplacian period J))) t at h |
| 98 | rw [smul_smul, show (2*ν)*(1/2 : ℝ)=ν by ring] at h |
| 99 | rw [cylinderHeatJet_laplacian] |
| 100 | exact h |
| 101 | |
| 102 | end EulerGaussianCylinderHeat |