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 | import Mathlib.Probability.Distributions.Gaussian.Real |
| 3 | |
| 4 | /-! Gaussian heat averaging in the genuine cylinder L² translation representation. -/ |
| 5 | |
| 6 | noncomputable section |
| 7 | |
| 8 | namespace EulerGaussianCylinderHeat |
| 9 | |
| 10 | open MeasureTheory ProbabilityTheory EulerLiftedGradientSpace EulerPressureSpatialRegularity |
| 11 | EulerLiftedWeakDerivative EulerCylinderMollifier EulerSpatialSobolevInverse |
| 12 | open scoped ENNReal NNReal Topology |
| 13 | |
| 14 | variable (period : ℝ) [Fact (0 < period)] |
| 15 | |
| 16 | /-- The actual one-parameter cylinder translation orbit. -/ |
| 17 | def lineOrbit (a : LiftTangent) (f : LiftL2 period) (x : ℝ) : LiftL2 period := |
| 18 | translation period (translationPath period a x) f |
| 19 | |
| 20 | theorem lineOrbit_continuous (a : LiftTangent) (f : LiftL2 period) : |
| 21 | Continuous (lineOrbit period a f) := |
| 22 | (translation_continuous period f).comp (translationPath_continuous period a) |
| 23 | |
| 24 | @[simp] theorem lineOrbit_norm (a : LiftTangent) (f : LiftL2 period) (x : ℝ) : |
| 25 | ‖lineOrbit period a f x‖ = ‖f‖ := translation_norm period _ f |
| 26 | |
| 27 | @[simp] theorem lineOrbit_zero (a : LiftTangent) (f : LiftL2 period) : lineOrbit period a f 0 = f := by |
| 28 | rw [lineOrbit, translationPath_zero, translation_zero] |
| 29 | |
| 30 | theorem lineOrbit_integrable (a : LiftTangent) (f : LiftL2 period) (μ : Measure ℝ) [IsFiniteMeasure μ] : |
| 31 | Integrable (lineOrbit period a f) μ := |
| 32 | Integrable.of_bound (lineOrbit_continuous period a f).aestronglyMeasurable ‖f‖ |
| 33 | (Filter.Eventually.of_forall (fun x => (lineOrbit_norm period a f x).le)) |
| 34 | |
| 35 | /-- Gaussian averaging with variance v along a cylinder direction. -/ |
| 36 | def lineHeat (a : LiftTangent) (v : ℝ≥0) (f : LiftL2 period) : LiftL2 period := |
| 37 | ∫ x, lineOrbit period a f x ∂gaussianReal 0 v |
| 38 | |
| 39 | @[simp] theorem lineHeat_zero (a : LiftTangent) (f : LiftL2 period) : lineHeat period a 0 f = f := by |
| 40 | simp [lineHeat] |
| 41 | |
| 42 | /-- Gaussian averaging is contractive, including variance zero. -/ |
| 43 | theorem lineHeat_norm_le (a : LiftTangent) (v : ℝ≥0) (f : LiftL2 period) : |
| 44 | ‖lineHeat period a v f‖ ≤ ‖f‖ := by |
| 45 | have h := norm_integral_le_of_norm_le (integrable_const ‖f‖ : Integrable (fun _ : ℝ => ‖f‖) (gaussianReal 0 v)) |
| 46 | (f := lineOrbit period a f) (Filter.Eventually.of_forall (fun x => (lineOrbit_norm period a f x).le)) |
| 47 | simpa [lineHeat, measureReal_def] using h |
| 48 | |
| 49 | theorem lineHeat_add (a : LiftTangent) (v : ℝ≥0) (f g : LiftL2 period) : |
| 50 | lineHeat period a v (f+g) = lineHeat period a v f + lineHeat period a v g := by |
| 51 | simp only [lineHeat, lineOrbit, map_add] |
| 52 | exact integral_add (lineOrbit_integrable period a f _) (lineOrbit_integrable period a g _) |
| 53 | |
| 54 | theorem lineHeat_smul (a : LiftTangent) (v : ℝ≥0) (c : ℝ) (f : LiftL2 period) : |
| 55 | lineHeat period a v (c • f) = c • lineHeat period a v f := by |
| 56 | simp only [lineHeat, lineOrbit, map_smul, integral_smul] |
| 57 | |
| 58 | /-- The actual bounded Gaussian averaging operator. -/ |
| 59 | def lineHeatOperator (a : LiftTangent) (v : ℝ≥0) : LiftL2 period →L[ℝ] LiftL2 period := |
| 60 | LinearMap.mkContinuous |
| 61 | { toFun := lineHeat period a v |
| 62 | map_add' := lineHeat_add period a v |
| 63 | map_smul' := lineHeat_smul period a v } |
| 64 | 1 (fun f => by simpa using lineHeat_norm_le period a v f) |
| 65 | |
| 66 | @[simp] theorem lineHeatOperator_apply (a : LiftTangent) (v : ℝ≥0) (f : LiftL2 period) : |
| 67 | lineHeatOperator period a v f = lineHeat period a v f := rfl |
| 68 | |
| 69 | theorem lineHeatOperator_norm_le (a : LiftTangent) (v : ℝ≥0) : ‖lineHeatOperator period a v‖ ≤ 1 := |
| 70 | ContinuousLinearMap.opNorm_le_bound _ zero_le_one (fun f => by simpa using lineHeat_norm_le period a v f) |
| 71 | |
| 72 | /-- The heat average commutes with every cylinder translation. -/ |
| 73 | theorem lineHeat_translation (a : LiftTangent) (v : ℝ≥0) (b : LiftDomain period) (f : LiftL2 period) : |
| 74 | translation period b (lineHeat period a v f) = lineHeat period a v (translation period b f) := by |
| 75 | change (translation period b).toContinuousLinearMap (∫ x, lineOrbit period a f x ∂gaussianReal 0 v) = _ |
| 76 | rw [← (translation period b).toContinuousLinearMap.integral_comp_comm (lineOrbit_integrable period a f _)] |
| 77 | apply integral_congr_ae |
| 78 | apply Filter.Eventually.of_forall |
| 79 | intro x |
| 80 | change translation period b (translation period (translationPath period a x) f) = |
| 81 | translation period (translationPath period a x) (translation period b f) |
| 82 | rw [translation_add, translation_add, add_comm b] |
| 83 | |
| 84 | /-- A joint translation orbit is integrable against the product of two finite measures. -/ |
| 85 | theorem jointOrbit_integrable (a : LiftTangent) (f : LiftL2 period) |
| 86 | (μ ν : Measure ℝ) [IsFiniteMeasure μ] [IsFiniteMeasure ν] : |
| 87 | Integrable (fun p : ℝ × ℝ => lineOrbit period a f (p.1 + p.2)) (μ.prod ν) := by |
| 88 | apply Integrable.of_bound ((lineOrbit_continuous period a f).comp |
| 89 | (continuous_fst.add continuous_snd)).aestronglyMeasurable ‖f‖ |
| 90 | exact Filter.Eventually.of_forall (fun p => (lineOrbit_norm period a f (p.1+p.2)).le) |
| 91 | |
| 92 | /-- Addition of Gaussian variances gives the semigroup law on actual cylinder L² fields. -/ |
| 93 | theorem lineHeat_semigroup (a : LiftTangent) (v w : ℝ≥0) (f : LiftL2 period) : |
| 94 | lineHeat period a v (lineHeat period a w f) = lineHeat period a (v+w) f := by |
| 95 | have hconv : (gaussianReal 0 v) ∗ (gaussianReal 0 w) = gaussianReal 0 (v+w) := by |
| 96 | simpa using (gaussianReal_conv_gaussianReal (m₁ := 0) (m₂ := 0) (v₁ := v) (v₂ := w)) |
| 97 | calc |
| 98 | _ = ∫ x, ∫ y, lineOrbit period a f (x+y) ∂gaussianReal 0 w ∂gaussianReal 0 v := by |
| 99 | apply integral_congr_ae |
| 100 | apply Filter.Eventually.of_forall |
| 101 | intro x |
| 102 | rw [lineOrbit, lineHeat_translation] |
| 103 | apply integral_congr_ae |
| 104 | apply Filter.Eventually.of_forall |
| 105 | intro y |
| 106 | simp only [lineOrbit, translationPath_add, translation_add] |
| 107 | rw [add_comm (translationPath period a y)] |
| 108 | _ = ∫ p : ℝ × ℝ, lineOrbit period a f (p.1+p.2) ∂(gaussianReal 0 v).prod (gaussianReal 0 w) := |
| 109 | (integral_prod _ (jointOrbit_integrable period a f _ _)).symm |
| 110 | _ = ∫ x, lineOrbit period a f x ∂(gaussianReal 0 v ∗ gaussianReal 0 w) := by |
| 111 | rw [Measure.conv] |
| 112 | exact (integral_map_of_stronglyMeasurable |
| 113 | (show Measurable (fun p : ℝ × ℝ => p.1 + p.2) by fun_prop) |
| 114 | (lineOrbit_continuous period a f).stronglyMeasurable).symm |
| 115 | _ = _ := by rw [hconv]; rfl |
| 116 | |
| 117 | /-- Different coordinate heat averages commute, since all cylinder translations commute. -/ |
| 118 | theorem lineHeat_commute (a b : LiftTangent) (v w : ℝ≥0) (f : LiftL2 period) : |
| 119 | lineHeat period a v (lineHeat period b w f) = lineHeat period b w (lineHeat period a v f) := by |
| 120 | change (lineHeatOperator period a v) (∫ x, lineOrbit period b f x ∂gaussianReal 0 w) = _ |
| 121 | rw [← (lineHeatOperator period a v).integral_comp_comm (lineOrbit_integrable period b f _)] |
| 122 | apply integral_congr_ae |
| 123 | apply Filter.Eventually.of_forall |
| 124 | intro x |
| 125 | exact (lineHeat_translation period a v (translationPath period b x) f).symm |
| 126 | |
| 127 | /-- Fixed standard-Gaussian representation of every nonnegative-variance average. -/ |
| 128 | theorem lineHeat_eq_standardGaussian (a : LiftTangent) (v : ℝ≥0) (f : LiftL2 period) : |
| 129 | lineHeat period a v f = ∫ x, lineOrbit period a f (Real.sqrt (v : ℝ) * x) ∂gaussianReal 0 1 := by |
| 130 | have hvar : (⟨Real.sqrt (v : ℝ) ^ 2, sq_nonneg _⟩ : ℝ≥0) * 1 = v := by |
| 131 | ext |
| 132 | simp [Real.sq_sqrt v.coe_nonneg] |
| 133 | have hmap := gaussianReal_map_const_mul (μ := 0) (v := (1 : ℝ≥0)) (Real.sqrt (v : ℝ)) |
| 134 | have hmap' : Measure.map (fun x => Real.sqrt (v : ℝ) * x) (gaussianReal 0 1) = gaussianReal 0 v := by |
| 135 | convert hmap using 2 |
| 136 | · simp |
| 137 | · ext |
| 138 | simp [Real.sq_sqrt v.coe_nonneg] |
| 139 | clear hmap hvar |
| 140 | rw [lineHeat, ← hmap', integral_map_of_stronglyMeasurable (by fun_prop) |
| 141 | (lineOrbit_continuous period a f).stronglyMeasurable] |
| 142 | |
| 143 | /-- The Gaussian operators are strongly continuous in their nonnegative variance parameter. -/ |
| 144 | theorem lineHeat_continuous (a : LiftTangent) (f : LiftL2 period) : |
| 145 | Continuous (fun v : ℝ≥0 => lineHeat period a v f) := by |
| 146 | simp_rw [lineHeat_eq_standardGaussian] |
| 147 | apply continuous_of_dominated |
| 148 | (bound := fun _ : ℝ => ‖f‖) |
| 149 | · intro v |
| 150 | exact ((lineOrbit_continuous period a f).comp (continuous_const.mul continuous_id)).aestronglyMeasurable |
| 151 | · intro v |
| 152 | exact Filter.Eventually.of_forall (fun x => (lineOrbit_norm period a f _).le) |
| 153 | · exact integrable_const _ |
| 154 | · apply Filter.Eventually.of_forall |
| 155 | intro x |
| 156 | exact (lineOrbit_continuous period a f).comp |
| 157 | ((Real.continuous_sqrt.comp continuous_subtype_val).mul_const x) |
| 158 | |
| 159 | end EulerGaussianCylinderHeat |