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.SourceCylinderMeanZero |
| 2 | import Euler.SourceCylinderPressureSource |
| 3 | import Euler.SourceCylinderClassicalEquation |
| 4 | import Euler.CylinderScalarAverage |
| 5 | |
| 6 | /-! |
| 7 | # The solved normal pressure source has zero angular mean |
| 8 | |
| 9 | The zero mode is proved for the actual Duhamel solution and then transferred |
| 10 | to its continuous scalar representative. No zero-mean condition on the |
| 11 | solution or on its pressure residual is assumed. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerSourceCylinderEquation |
| 17 | |
| 18 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 19 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths |
| 20 | EulerLpCylinderRectangular EulerSourceNormalCoefficient EulerCylinderAngleAverage |
| 21 | open scoped ContDiff BoundedContinuousFunction |
| 22 | |
| 23 | variable (P : ℝ) [Fact (0 < P)] |
| 24 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 25 | (S : Set Space) (hS : MeasurableSet S) (T : ℝ) (hT : 0 ≤ T) |
| 26 | (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] Space)) |
| 27 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) |
| 28 | (f : C(Icc (0 : ℝ) T,Supported P Space S hS)) (a₀ : Supported P U S hS) |
| 29 | (M : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) |
| 30 | (m : SmoothCoefficientPath (Icc (0 : ℝ) T) Space) |
| 31 | (cm : ℝ) (hcm : 0 < cm) (hm : ∀ t x, cm ≤ ‖m.field t x‖^2) |
| 32 | |
| 33 | theorem pressureSource_average_zero |
| 34 | (hf₀ : ∀ t, average P (f t : CylinderL2 P Space) = 0) |
| 35 | (ha₀ : average P (a₀ : CylinderL2 P U) = 0) (t : Icc (0 : ℝ) T) : |
| 36 | average P (pressureSource P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm t : |
| 37 | CylinderL2 P ℝ) = 0 := by |
| 38 | change average P (fullOperatorMap P (normalFunctional m cm hcm hm t) |
| 39 | ((f t : CylinderL2 P Space) - (2 : ℝ) • fullOperatorMap P (M.field t) |
| 40 | (velocity P S hS T hT Q Q₁ c hc hQ f a₀ t : CylinderL2 P Space))) = 0 |
| 41 | rw [average_fullOperator, map_sub, map_smul, average_fullOperator, |
| 42 | velocity_average_zero P S hS T hT Q Q₁ c hc hQ f a₀ hf₀ ha₀ t, |
| 43 | hf₀ t, map_zero, smul_zero, sub_self, map_zero] |
| 44 | |
| 45 | theorem pressureSource_slice_contDiff (hSc : IsCompact S) |
| 46 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (includePath P S hS f))) |
| 47 | (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a (a₀ : CylinderL2 P U))) |
| 48 | (t : Icc (0 : ℝ) T) : |
| 49 | ContDiff ℝ ∞ (fun a : LiftTangent => translate P a |
| 50 | (pressureSource P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm t : CylinderL2 P ℝ)) := by |
| 51 | exact (ContinuousMap.evalCLM ℝ t : C(Icc (0 : ℝ) T,CylinderL2 P ℝ) →L[ℝ] |
| 52 | CylinderL2 P ℝ).contDiff.comp |
| 53 | (pressureSource_contDiff P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm hSc hf ha₀) |
| 54 | |
| 55 | end EulerSourceCylinderEquation |
| 56 | |
| 57 | namespace EulerSourceCylinderClassical |
| 58 | |
| 59 | open Set MeasureTheory ContinuousLinearMap EulerSmoothLimit EulerMeanCoefficients |
| 60 | EulerLiftedGradientSpace EulerLpCylinderTranslation EulerLpCylinderPaths |
| 61 | EulerSourceCylinderEquation EulerCylinderSmoothOrbit EulerCylinderAngleAverage |
| 62 | open scoped ContDiff BoundedContinuousFunction |
| 63 | |
| 64 | variable (P : ℝ) [Fact (0 < P)] |
| 65 | {U : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 66 | (S : Set Space) (hS : MeasurableSet S) (hSc : IsCompact S) (T : ℝ) (hT : 0 ≤ T) |
| 67 | (Q Q₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (U →L[ℝ] Space)) |
| 68 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t x v, c*‖v‖^2 ≤ ‖Q.field t x v‖^2) |
| 69 | (f : C(Icc (0 : ℝ) T,Supported P Space S hS)) (a₀ : Supported P U S hS) |
| 70 | (hf : ContDiff ℝ ∞ (fun a : LiftTangent => pathTranslate P a (includePath P S hS f))) |
| 71 | (ha₀ : ContDiff ℝ ∞ (fun a : LiftTangent => translate P a (a₀ : CylinderL2 P U))) |
| 72 | (M : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) |
| 73 | (m : SmoothCoefficientPath (Icc (0 : ℝ) T) Space) |
| 74 | (cm : ℝ) (hcm : 0 < cm) (hm : ∀ t x, cm ≤ ‖m.field t x‖^2) |
| 75 | |
| 76 | omit [Fact (0 < P)] in |
| 77 | include hcm hm in |
| 78 | theorem normal_ne_zero_of_lower (t : Icc (0 : ℝ) T) (x : Space) : |
| 79 | m.field t x ≠ 0 := by |
| 80 | intro he |
| 81 | have h := hm t x |
| 82 | rw [he, norm_zero, zero_pow (by decide : 2 ≠ 0)] at h |
| 83 | exact (not_le_of_gt hcm) h |
| 84 | |
| 85 | /-- The actual scalar L² class represents the literal normal quotient. -/ |
| 86 | theorem pressureSource_ae_normalResidual (t : Icc (0 : ℝ) T) : |
| 87 | (pressureSource P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm t : CylinderL2 P ℝ) =ᵐ[liftMeasure P] |
| 88 | normalResidual P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m t := by |
| 89 | filter_upwards [pressureSource_ae P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm t, |
| 90 | field_ae P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ t, |
| 91 | pointField_ae P (includePath P S hS f) hf t] with x hs hv hforce |
| 92 | change (f t : CylinderL2 P Space) x = pointField P (includePath P S hS f) hf t x at hforce |
| 93 | rw [hs, hv, hforce] |
| 94 | rfl |
| 95 | |
| 96 | include hcm hm in |
| 97 | /-- Zero mean of the forcing and initial coordinate implies zero mean of the |
| 98 | literal pressure source of the constructed solution. -/ |
| 99 | theorem normalResidual_mean_zero |
| 100 | (hf₀ : ∀ t, average P (f t : CylinderL2 P Space) = 0) |
| 101 | (ha₀zero : average P (a₀ : CylinderL2 P U) = 0) |
| 102 | (t : Icc (0 : ℝ) T) (y : Space) : |
| 103 | (∫ s in (0 : ℝ)..P, |
| 104 | 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 |
| 105 | exact EulerCylinderScalarPrimitive.scalar_mean_zero P |
| 106 | (pressureSource P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm t) |
| 107 | (pressureSource_slice_contDiff P S hS T hT Q Q₁ c hc hQ f a₀ M m cm hcm hm hSc hf ha₀ t) |
| 108 | (normalResidual P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m t) |
| 109 | (normalResidual_continuous P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m |
| 110 | (normal_ne_zero_of_lower T m cm hcm hm) t) |
| 111 | (pressureSource_ae_normalResidual P S hS hSc T hT Q Q₁ c hc hQ f a₀ hf ha₀ M m cm hcm hm t) |
| 112 | (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 |
| 113 | |
| 114 | end EulerSourceCylinderClassical |