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.SourceCylinderPressureField |
| 2 | import Euler.SourceCylinderWeight |
| 3 | import Euler.SourceNormalResidualBounds |
| 4 | |
| 5 | /-! |
| 6 | # The pressure estimate is for the actual normalized PDE pressure |
| 7 | |
| 8 | All identities are algebraic identities of genuine continuous L² paths. |
| 9 | They use no derivative, extremum, or reciprocal bound for the time profile. |
| 10 | -/ |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | namespace EulerSourceNormalResidualBounds |
| 15 | |
| 16 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 17 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderRectangular |
| 18 | EulerSourceNormalCoefficient EulerCylinderScalarPrimitive EulerContinuousTimeWeight |
| 19 | open scoped BoundedContinuousFunction |
| 20 | |
| 21 | variable (P : ℝ) [Fact (0 < P)] |
| 22 | {K : Type*} [TopologicalSpace K] [CompactSpace K] |
| 23 | (M : SmoothCoefficientPath K (Space →L[ℝ] Space)) (m : SmoothCoefficientPath K Space) |
| 24 | (cm : ℝ) (hcm : 0 < cm) (hm : ∀ t x, cm ≤ ‖m.field t x‖^2) |
| 25 | (g : C(K,ℝ)) (f v : C(K,CylinderL2 P Space)) |
| 26 | |
| 27 | theorem sourceResidual_weight : |
| 28 | sourceResidual P M m cm hcm hm (weight g f) (weight g v) = |
| 29 | weight g (sourceResidual P M m cm hcm hm f v) := by |
| 30 | apply ContinuousMap.ext |
| 31 | intro t |
| 32 | change fullOperatorMap P (normalFunctional m cm hcm hm t) |
| 33 | (g t • f t - (2 : ℝ) • fullOperatorMap P (M.field t) (g t • v t)) = |
| 34 | g t • fullOperatorMap P (normalFunctional m cm hcm hm t) |
| 35 | (f t - (2 : ℝ) • fullOperatorMap P (M.field t) (v t)) |
| 36 | simp only [map_sub, map_smul, smul_sub, smul_smul] |
| 37 | rw [mul_comm (2 : ℝ) (g t)] |
| 38 | |
| 39 | theorem sourcePressure_weight : |
| 40 | sourcePressure P M m cm hcm hm (weight g f) (weight g v) = |
| 41 | weight g (sourcePressure P M m cm hcm hm f v) := by |
| 42 | unfold sourcePressure |
| 43 | rw [sourceResidual_weight] |
| 44 | apply ContinuousMap.ext |
| 45 | intro t |
| 46 | exact (primitive P).map_smul (g t) (sourceResidual P M m cm hcm hm f v t) |
| 47 | |
| 48 | end EulerSourceNormalResidualBounds |
| 49 | |
| 50 | namespace EulerSourceCylinderEquation |
| 51 | |
| 52 | open Set ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 53 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths |
| 54 | EulerLpCylinderRectangular EulerSourceCylinderForwardSobolev |
| 55 | EulerSourceNormalResidualBounds EulerContinuousTimeWeight |
| 56 | open scoped BoundedContinuousFunction |
| 57 | |
| 58 | variable (P : ℝ) [Fact (0 < P)] |
| 59 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 60 | (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) |
| 61 | (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] Space)) |
| 62 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) |
| 63 | (f : C(Icc (0 : ℝ) T,Supported P Space S hS)) (a₀ : Supported P U S hS) |
| 64 | (M : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) |
| 65 | (m : SmoothCoefficientPath (Icc (0 : ℝ) T) Space) |
| 66 | (cm : ℝ) (hcm : 0 < cm) (hm : ∀ t x, cm ≤ ‖m.field t x‖^2) |
| 67 | |
| 68 | /-- The bounded pressure used in the coefficient estimate is exactly the PDE pressure. -/ |
| 69 | theorem pressurePath_eq_sourcePressure : |
| 70 | pressurePath P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm = |
| 71 | sourcePressure P M m cm hcm hm (includePath P S hS f) |
| 72 | (includePath P S hS (velocity P S hS T hT Q Q₁ c hc hQ f a₀)) := rfl |
| 73 | |
| 74 | variable (g : C(Icc (0 : ℝ) T,ℝ)) (hg : ∀ t, 0 < g t) |
| 75 | |
| 76 | /-- The actual pressure path divided by g, written in terms of the normalized |
| 77 | physical forcing and the already constructed normalized physical velocity. -/ |
| 78 | def normalizedPressure : C(Icc (0 : ℝ) T,CylinderL2 P ℝ) := |
| 79 | sourcePressure P M m cm hcm hm (includePath P S hS f) |
| 80 | (includePath P S hS (normalizedVelocity P T hT S hS Q Q₁ c hc hQ g hg f a₀)) |
| 81 | |
| 82 | theorem pressurePath_weight_eq : |
| 83 | pressurePath P S hS T hT Q Q₁ c hc hQ (weight g f) a₀ M m cm hcm hm = |
| 84 | weight g (normalizedPressure P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm g hg) := by |
| 85 | rw [pressurePath_eq_sourcePressure, velocity_weight_eq, include_weight, include_weight] |
| 86 | exact sourcePressure_weight P M m cm hcm hm g _ _ |
| 87 | |
| 88 | theorem normalized_full_pressure_eq : |
| 89 | normalize g hg (pressurePath P S hS T hT Q Q₁ c hc hQ (weight g f) a₀ M m cm hcm hm) = |
| 90 | normalizedPressure P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm g hg := by |
| 91 | rw [pressurePath_weight_eq, normalize_weight] |
| 92 | |
| 93 | end EulerSourceCylinderEquation |