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.CylinderAngleAverageEvolution |
| 2 | import Euler.SourceCylinderEquation |
| 3 | import Euler.SourceCylinderRegularity |
| 4 | import Euler.SourceNormalCoefficient |
| 5 | import Euler.SourceCylinderClassicalEquation |
| 6 | import Euler.CylinderScalarAverage |
| 7 | |
| 8 | /-! |
| 9 | # The solved normal pressure source has zero angular mean |
| 10 | |
| 11 | The zero mode is proved for the actual Duhamel solution and then transferred |
| 12 | to its continuous scalar representative. No zero-mean condition on the |
| 13 | solution or on its pressure residual is assumed. |
| 14 | -/ |
| 15 | |
| 16 | /-! ## From `Euler/SourceCylinderPressureSource.lean` |
| 17 | |
| 18 | The text of `Euler/SourceCylinderPressureSource.lean`, folded into this file, which was its only importer. -/ |
| 19 | |
| 20 | section |
| 21 | |
| 22 | /-! |
| 23 | # The actual scalar pressure source on cylinder L² |
| 24 | |
| 25 | The normal functional is constructed from the positive one-column Gram |
| 26 | matrix. Applying it to f−2MA gives a genuine scalar L² path, with the literal |
| 27 | normal residual as representative and genuine smooth mixed translation orbit. |
| 28 | -/ |
| 29 | |
| 30 | noncomputable section |
| 31 | |
| 32 | namespace EulerSourceCylinderEquation |
| 33 | |
| 34 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerSmoothLimit EulerMeanCoefficients |
| 35 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths EulerLpCylinderRectangular |
| 36 | EulerSourceNormalCoefficient |
| 37 | open scoped ContDiff BoundedContinuousFunction |
| 38 | |
| 39 | variable (period : ℝ) [Fact (0 < period)] |
| 40 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 41 | (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) |
| 42 | (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] Space)) |
| 43 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) |
| 44 | (f : C(Icc (0 : ℝ) T,Supported period Space S hS)) (a₀ : Supported period U S hS) |
| 45 | (M : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) |
| 46 | (m : SmoothCoefficientPath (Icc (0 : ℝ) T) Space) |
| 47 | (cm : ℝ) (hcm : 0 < cm) (hm : ∀ t x, cm ≤ ‖m.field t x‖^2) |
| 48 | |
| 49 | /-- A genuine supported scalar path representing the right side of ∂θπ in (11). -/ |
| 50 | def pressureSource : C(Icc (0 : ℝ) T,Supported period ℝ S hS) := |
| 51 | supportedMultiplierMap period S hS (normalFunctional m cm hcm hm) |
| 52 | (f - (2 : ℝ) • supportedMultiplierMap period S hS M.field |
| 53 | (velocity period S hS T hT Q Q₁ c hc hQ f a₀)) |
| 54 | |
| 55 | /-- The pressure source is precisely the manuscript's scalar quotient. -/ |
| 56 | theorem pressureSource_ae (t : Icc (0 : ℝ) T) : |
| 57 | (pressureSource period S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm t : CylinderL2 period ℝ) =ᵐ[liftMeasure period] |
| 58 | fun x => (⟪m.field t x.1,(f t : CylinderL2 period Space) x⟫_ℝ - |
| 59 | 2*⟪m.field t x.1,M.field t x.1 |
| 60 | ((velocity period S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 period Space) x)⟫_ℝ) / ‖m.field t x.1‖^2 := by |
| 61 | let v := velocity period S hS T hT Q Q₁ c hc hQ f a₀ t |
| 62 | let w := supportedOperatorMap period S hS (M.field t) v |
| 63 | let r : Supported period Space S hS := f t - (2 : ℝ) • w |
| 64 | let N := normalFunctional m cm hcm hm t |
| 65 | filter_upwards [EulerLpOperatorField.full_ae (liftMeasure period) (fieldLift period N) (r : CylinderL2 period Space), |
| 66 | EulerLpOperatorField.full_ae (liftMeasure period) (fieldLift period (M.field t)) (v : CylinderL2 period Space), |
| 67 | Lp.coeFn_sub (f t : CylinderL2 period Space) ((2 : ℝ) • (w : CylinderL2 period Space)), |
| 68 | Lp.coeFn_smul (2 : ℝ) (w : CylinderL2 period Space)] with x hn hM hr hs |
| 69 | change (EulerLpOperatorField.full (liftMeasure period) (fieldLift period N) (r : CylinderL2 period Space)) x = _ |
| 70 | rw [hn] |
| 71 | change normalFunctional m cm hcm hm t x.1 ((r : CylinderL2 period Space) x) = _ |
| 72 | rw [normalFunctional_apply] |
| 73 | change (⟪m.field t x.1,((f t : CylinderL2 period Space) - (2 : ℝ) • (w : CylinderL2 period Space)) x⟫_ℝ) / _ = _ |
| 74 | rw [hr] |
| 75 | simp only [Pi.sub_apply] |
| 76 | rw [hs] |
| 77 | simp only [Pi.smul_apply] |
| 78 | change (⟪m.field t x.1,(f t : CylinderL2 period Space) x - (2 : ℝ) • |
| 79 | (EulerLpOperatorField.full (liftMeasure period) (fieldLift period (M.field t)) (v : CylinderL2 period Space)) x⟫_ℝ) / _ = _ |
| 80 | rw [hM,inner_sub_right,inner_smul_right] |
| 81 | rfl |
| 82 | |
| 83 | /-- The actual scalar pressure source inherits genuine mixed regularity from the solve. -/ |
| 84 | theorem pressureSource_contDiff (hSc : IsCompact S) |
| 85 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (includePath period S hS f))) |
| 86 | (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate period a (a₀ : CylinderL2 period U))) : |
| 87 | ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a (includePath period S hS |
| 88 | (pressureSource period S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm))) := by |
| 89 | let v := velocity period S hS T hT Q Q₁ c hc hQ f a₀ |
| 90 | let w := supportedMultiplierMap period S hS M.field v |
| 91 | have hv := velocity_contDiff period S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ |
| 92 | have hw := supported_product_orbit_contDiff period M.field M.translation_contDiff S hS v hv |
| 93 | have hr : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate period a |
| 94 | (includePath period S hS (f - (2 : ℝ) • w))) := by |
| 95 | simpa only [map_sub,map_smul] using hf.sub (hw.const_smul (2 : ℝ)) |
| 96 | exact supported_product_orbit_contDiff period (normalFunctional m cm hcm hm) |
| 97 | (normalFunctional_translation_contDiff m cm hcm hm) S hS (f - (2 : ℝ) • w) hr |
| 98 | |
| 99 | end EulerSourceCylinderEquation |
| 100 | end |
| 101 | |
| 102 | end |
| 103 | |
| 104 | /-! ## From `Euler/SourceCylinderMeanZero.lean` |
| 105 | |
| 106 | The text of `Euler/SourceCylinderMeanZero.lean`, folded into this file, which was its only importer. -/ |
| 107 | |
| 108 | section |
| 109 | |
| 110 | /-! The actual source transverse solve preserves the angular zero mode constraint. -/ |
| 111 | |
| 112 | noncomputable section |
| 113 | |
| 114 | namespace EulerSourceCylinderEquation |
| 115 | |
| 116 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerLiftedGradientSpace |
| 117 | EulerMeanCoefficients EulerLpCylinderTranslation EulerLpCylinderPaths |
| 118 | EulerLpCylinderRectangular EulerSourceForwardCoefficient EulerSourceCylinderForcing |
| 119 | EulerSourceCylinderForward EulerCylinderAngleAverage |
| 120 | open scoped BoundedContinuousFunction |
| 121 | |
| 122 | variable (P : ℝ) [Fact (0 < P)] |
| 123 | {U E : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 124 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 125 | (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) |
| 126 | (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] E)) |
| 127 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) |
| 128 | (f : C(Icc (0 : ℝ) T,Supported P E S hS)) (a₀ : Supported P U S hS) |
| 129 | |
| 130 | theorem projectedForcing_average_zero |
| 131 | (hf : ∀ t, average P (f t : CylinderL2 P E) = 0) (t : Icc (0 : ℝ) T) : |
| 132 | average P (projectedForcing P S hS Q c hc hQ f t : CylinderL2 P U) = 0 := by |
| 133 | change average P (fullOperatorMap P (sourceForcing Q c hc hQ t) (f t : CylinderL2 P E)) = 0 |
| 134 | rw [average_fullOperator, hf t, map_zero] |
| 135 | |
| 136 | /-- The real Gram-projected Duhamel coordinate solution has zero angular mean. -/ |
| 137 | theorem coordinates_average_zero |
| 138 | (hf : ∀ t, average P (f t : CylinderL2 P E) = 0) |
| 139 | (ha₀ : average P (a₀ : CylinderL2 P U) = 0) (t : Icc (0 : ℝ) T) : |
| 140 | average P (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U) = 0 := |
| 141 | solution_full_average_zero P S hS T hT (sourceGenerator Q Q₁ c hc hQ) |
| 142 | (evolution P T hT Q Q₁ c hc hQ S hS) |
| 143 | (projectedForcing P S hS Q c hc hQ f) a₀ |
| 144 | (projectedForcing_average_zero P S hS T Q c hc hQ f hf) ha₀ t |
| 145 | |
| 146 | /-- Physical reconstruction by the true frame preserves the same zero mode. -/ |
| 147 | theorem velocity_average_zero |
| 148 | (hf : ∀ t, average P (f t : CylinderL2 P E) = 0) |
| 149 | (ha₀ : average P (a₀ : CylinderL2 P U) = 0) (t : Icc (0 : ℝ) T) : |
| 150 | average P (velocity P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P E) = 0 := by |
| 151 | change average P (fullOperatorMap P (Q.field t) |
| 152 | (coordinates P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P U)) = 0 |
| 153 | rw [average_fullOperator, coordinates_average_zero P S hS T hT Q Q₁ c hc hQ f a₀ hf ha₀ t, |
| 154 | map_zero] |
| 155 | |
| 156 | end EulerSourceCylinderEquation |
| 157 | end |
| 158 | |
| 159 | end |
| 160 | |
| 161 | noncomputable section |
| 162 | |
| 163 | namespace EulerSourceCylinderEquation |
| 164 | |
| 165 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 166 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths |
| 167 | EulerLpCylinderRectangular EulerSourceNormalCoefficient EulerCylinderAngleAverage |
| 168 | open scoped ContDiff BoundedContinuousFunction |
| 169 | |
| 170 | variable (P : ℝ) [Fact (0 < P)] |
| 171 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 172 | (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) |
| 173 | (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] Space)) |
| 174 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) |
| 175 | (f : C(Icc (0 : ℝ) T,Supported P Space S hS)) (a₀ : Supported P U S hS) |
| 176 | (M : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) |
| 177 | (m : SmoothCoefficientPath (Icc (0 : ℝ) T) Space) |
| 178 | (cm : ℝ) (hcm : 0 < cm) (hm : ∀ t x, cm ≤ ‖m.field t x‖^2) |
| 179 | |
| 180 | theorem pressureSource_average_zero |
| 181 | (hf₀ : ∀ t, average P (f t : CylinderL2 P Space) = 0) |
| 182 | (ha₀ : average P (a₀ : CylinderL2 P U) = 0) (t : Icc (0 : ℝ) T) : |
| 183 | average P (pressureSource P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm t : |
| 184 | CylinderL2 P ℝ) = 0 := by |
| 185 | change average P (fullOperatorMap P (normalFunctional m cm hcm hm t) |
| 186 | ((f t : CylinderL2 P Space) - (2 : ℝ) • fullOperatorMap P (M.field t) |
| 187 | (velocity P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P Space))) = 0 |
| 188 | rw [average_fullOperator, map_sub, map_smul, average_fullOperator, |
| 189 | velocity_average_zero P S hS T hT Q Q₁ c hc hQ f a₀ hf₀ ha₀ t, |
| 190 | hf₀ t, map_zero, smul_zero, sub_self, map_zero] |
| 191 | |
| 192 | theorem pressureSource_slice_contDiff (hSc : IsCompact S) |
| 193 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (includePath P S hS f))) |
| 194 | (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a (a₀ : CylinderL2 P U))) |
| 195 | (t : Icc (0 : ℝ) T) : |
| 196 | ContDiff ℝ ∞ (fun a : LiftTangent => translate P a |
| 197 | (pressureSource P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm t : CylinderL2 P ℝ)) := by |
| 198 | exact (ContinuousMap.evalCLM ℝ t : C(Icc (0 : ℝ) T,CylinderL2 P ℝ) →L[ℝ] |
| 199 | CylinderL2 P ℝ).contDiff.comp |
| 200 | (pressureSource_contDiff P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm hSc hf ha₀) |
| 201 | |
| 202 | end EulerSourceCylinderEquation |
| 203 | |
| 204 | namespace EulerSourceCylinderClassical |
| 205 | |
| 206 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 207 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths |
| 208 | EulerSourceCylinderEquation EulerCylinderSmoothOrbit EulerCylinderAngleAverage |
| 209 | open scoped ContDiff BoundedContinuousFunction |
| 210 | |
| 211 | variable (P : ℝ) [Fact (0 < P)] |
| 212 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 213 | (S : Set Space) (hS : MeasurableSet S) (hSc : IsCompact S) (T : ℝ) (hT : 0 ≤ T) |
| 214 | (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] Space)) |
| 215 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) |
| 216 | (f : C(Icc (0 : ℝ) T,Supported P Space S hS)) (a₀ : Supported P U S hS) |
| 217 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (includePath P S hS f))) |
| 218 | (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a (a₀ : CylinderL2 P U))) |
| 219 | (M : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) |
| 220 | (m : SmoothCoefficientPath (Icc (0 : ℝ) T) Space) |
| 221 | (cm : ℝ) (hcm : 0 < cm) (hm : ∀ t x, cm ≤ ‖m.field t x‖^2) |
| 222 | |
| 223 | omit [Fact (0 < P)] in |
| 224 | include hcm hm in |
| 225 | theorem normal_ne_zero_of_lower (t : Icc (0 : ℝ) T) (x : Space) : |
| 226 | m.field t x ≠ 0 := by |
| 227 | intro he |
| 228 | have h := hm t x |
| 229 | rw [he, norm_zero, zero_pow (by decide : 2 ≠ 0)] at h |
| 230 | exact (not_le_of_gt hcm) h |
| 231 | |
| 232 | /-- The actual scalar L² class represents the literal normal quotient. -/ |
| 233 | theorem pressureSource_ae_normalResidual (t : Icc (0 : ℝ) T) : |
| 234 | (pressureSource P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm t : CylinderL2 P ℝ) =ᵐ[liftMeasure P] |
| 235 | normalResidual P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m t := by |
| 236 | filter_upwards [pressureSource_ae P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm t, |
| 237 | field_ae P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t, |
| 238 | pointField_ae P (includePath P S hS f) hf t] with x hs hv hforce |
| 239 | change (f t : CylinderL2 P Space) x = pointField P (includePath P S hS f) hf t x at hforce |
| 240 | rw [hs, hv, hforce] |
| 241 | rfl |
| 242 | |
| 243 | include hcm hm in |
| 244 | /-- Zero mean of the forcing and initial coordinate implies zero mean of the |
| 245 | literal pressure source of the constructed solution. -/ |
| 246 | theorem normalResidual_mean_zero |
| 247 | (hf₀ : ∀ t, average P (f t : CylinderL2 P Space) = 0) |
| 248 | (ha₀zero : average P (a₀ : CylinderL2 P U) = 0) |
| 249 | (t : Icc (0 : ℝ) T) (y : Space) : |
| 250 | (∫ s in (0 : ℝ)..P, |
| 251 | normalResidual P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m t (y,(s : AddCircle P))) = 0 := by |
| 252 | exact EulerCylinderScalarPrimitive.scalar_mean_zero P |
| 253 | (pressureSource P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm t) |
| 254 | (pressureSource_slice_contDiff P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm hSc hf ha₀ t) |
| 255 | (normalResidual P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m t) |
| 256 | (normalResidual_continuous P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m |
| 257 | (normal_ne_zero_of_lower T m cm hcm hm) t) |
| 258 | (pressureSource_ae_normalResidual P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm t) |
| 259 | (pressureSource_average_zero P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm hf₀ ha₀zero t) y |
| 260 | |
| 261 | end EulerSourceCylinderClassical |