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.MeanContinuousPressure |
| 2 | import Euler.MeanClassicalConstraints |
| 3 | import Euler.MeanCoefficientFrame |
| 4 | import Euler.SmoothCoefficientPath |
| 5 | import Euler.MeanPathSpatialRepresentative |
| 6 | import Euler.MeanClassicalWordBounds |
| 7 | |
| 8 | /-! |
| 9 | # A normalized scalar pressure for the actual mean solution |
| 10 | |
| 11 | The radial integral is applied to the real F-adjoint pressure force, whose |
| 12 | closed-gradient-space membership was proved from the actual Gram equation. |
| 13 | The resulting scalar is spatially smooth, normalized at zero, and gives the |
| 14 | pointwise physical equation. No scalar potential or pressure time derivative |
| 15 | is assumed. |
| 16 | -/ |
| 17 | |
| 18 | noncomputable section |
| 19 | |
| 20 | namespace EulerMeanScalarPressure |
| 21 | |
| 22 | open Set MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 23 | EulerMeanSolenoidal EulerMeanSmoothRepresentative EulerMeanCoefficients |
| 24 | EulerMeanTimeContinuousTranslation EulerMeanVariationalInverse EulerMeanPressure |
| 25 | EulerCanonicalGraphPotential EulerTimeLp EulerVolterraConvolution |
| 26 | open scoped ContDiff |
| 27 | |
| 28 | /-- The canonical smooth spatial representative of an actual continuous L² path. -/ |
| 29 | def pathRepresentative (T : ℝ) (p : C(Icc (0 : ℝ) T,L2)) |
| 30 | (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) |
| 31 | (t : Icc (0 : ℝ) T) : Space → Space := |
| 32 | representative (p t) (pathTranslation_evaluation_contDiff T p hp t) |
| 33 | |
| 34 | theorem pathRepresentative_smooth (T : ℝ) (p : C(Icc (0 : ℝ) T,L2)) |
| 35 | (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) (t : Icc (0 : ℝ) T) : |
| 36 | ContDiff ℝ ∞ (pathRepresentative T p hp t) := representative_smooth _ _ |
| 37 | |
| 38 | theorem pathRepresentative_ae (T : ℝ) (p : C(Icc (0 : ℝ) T,L2)) |
| 39 | (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) (t : Icc (0 : ℝ) T) : |
| 40 | (p t : Space → Space) =ᵐ[volume] pathRepresentative T p hp t := representative_ae _ _ |
| 41 | |
| 42 | theorem pathRepresentative_continuous (T : ℝ) (p : C(Icc (0 : ℝ) T,L2)) |
| 43 | (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) : |
| 44 | Continuous (fun z : Icc (0 : ℝ) T × Space => pathRepresentative T p hp z.1 z.2) := |
| 45 | path_representative_joint_continuous T p hp |
| 46 | |
| 47 | /-- An actual L² equation between continuous spatial representatives holds everywhere. -/ |
| 48 | theorem representative_equation (B D R f : L2) |
| 49 | (hB : SmoothOrbit B) (hD : SmoothOrbit D) (hR : SmoothOrbit R) (hf : SmoothOrbit f) |
| 50 | (M : Field) (heq : D+multiplier M B+R=f) (x : Space) : |
| 51 | representative D hD x+M x (representative B hB x)+representative R hR x = |
| 52 | representative f hf x := by |
| 53 | have hae : (fun y => representative D hD y+M y (representative B hB y)+representative R hR y) |
| 54 | =ᵐ[volume] representative f hf := by |
| 55 | filter_upwards [representative_ae B hB, representative_ae D hD, representative_ae R hR, |
| 56 | representative_ae f hf, multiplier_ae M B, Lp.coeFn_add D (multiplier M B), |
| 57 | Lp.coeFn_add (D+multiplier M B) R] with y hby hdy hry hfy hmy hsum hsum2 |
| 58 | have hy := congrArg (fun z : L2 => z y) heq |
| 59 | rw [hsum2] at hy |
| 60 | simp only [Pi.add_apply] at hy |
| 61 | rw [hsum] at hy |
| 62 | simpa only [Pi.add_apply, hmy, hby, hdy, hry, hfy] using hy |
| 63 | exact congrFun (Measure.eq_of_ae_eq hae |
| 64 | (((representative_smooth D hD).continuous.add |
| 65 | (M.continuous.clm_apply (representative_smooth B hB).continuous)).add |
| 66 | (representative_smooth R hR).continuous) |
| 67 | (representative_smooth f hf).continuous) x |
| 68 | |
| 69 | theorem pathRepresentative_equation (T : ℝ) |
| 70 | (B D R f : C(Icc (0 : ℝ) T,L2)) |
| 71 | (hB : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a B)) |
| 72 | (hD : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a D)) |
| 73 | (hR : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a R)) |
| 74 | (hf : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a f)) |
| 75 | (M : C(Icc (0 : ℝ) T,Field)) |
| 76 | (heq : ∀ t, D t+multiplier (M t) (B t)+R t=f t) |
| 77 | (t : Icc (0 : ℝ) T) (x : Space) : |
| 78 | pathRepresentative T D hD t x+M t x (pathRepresentative T B hB t x)+ |
| 79 | pathRepresentative T R hR t x = pathRepresentative T f hf t x := |
| 80 | representative_equation (B t) (D t) (R t) (f t) |
| 81 | (pathTranslation_evaluation_contDiff T B hB t) (pathTranslation_evaluation_contDiff T D hD t) |
| 82 | (pathTranslation_evaluation_contDiff T R hR t) (pathTranslation_evaluation_contDiff T f hf t) |
| 83 | (M t) (heq t) x |
| 84 | |
| 85 | variable (T : ℝ) (hT : 0 ≤ T) |
| 86 | (F F₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) |
| 87 | (FInv : C(Icc (0 : ℝ) T,L2 →L[ℝ] L2)) |
| 88 | {A : L2 →L[ℝ] L2} {L : ℝ} {u f : TimeLp T L2} |
| 89 | (s : StrongMeanEvolution T hT FInv (operatorPath T F.field) (operatorPath T F₁.field) A L u f) |
| 90 | (c : ℝ) (hc : 0 < c) |
| 91 | (hLower : ∀ t v, c*‖v‖^2 ≤ ‖solenoidalFrame T (operatorPath T F.field) t v‖^2) |
| 92 | (fC : C(Icc (0 : ℝ) T,L2)) |
| 93 | (hR : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a (s.pressurePath c hc hLower fC))) |
| 94 | |
| 95 | /-- The concrete normalized scalar mean pressure, constructed by a radial integral. -/ |
| 96 | def pressureScalar (t : Icc (0 : ℝ) T) : Space → ℝ := |
| 97 | radialPotential (fun x => (F.field t x).adjoint |
| 98 | (pathRepresentative T (s.pressurePath c hc hLower fC) hR t x)) |
| 99 | |
| 100 | /-- Spatial smoothness, normalization, and exact gradient of the constructed pressure. -/ |
| 101 | theorem pressureScalar_spec (t : Icc (0 : ℝ) T) : |
| 102 | ContDiff ℝ ∞ (pressureScalar T hT F F₁ FInv s c hc hLower fC hR t) ∧ |
| 103 | pressureScalar T hT F F₁ FInv s c hc hLower fC hR t 0 = 0 ∧ |
| 104 | ∀ x, gradient (pressureScalar T hT F F₁ FInv s c hc hLower fC hR t) x = |
| 105 | (F.field t x).adjoint (pathRepresentative T (s.pressurePath c hc hLower fC) hR t x) := by |
| 106 | have hAdj : ContDiff ℝ ∞ (fun x : Space => (F.field t x).adjoint) := |
| 107 | (EulerTransverseGramInverse.realAdjoint (U := Space) (E := Space)).contDiff.comp (F.smooth t) |
| 108 | exact weighted_pressure_has_potential (F.field t) (adjointField (F.field t)) (fun _ => rfl) |
| 109 | (s.pressurePath c hc hLower fC t) (s.pressurePath_gradient c hc hLower fC t) |
| 110 | (pathRepresentative T (s.pressurePath c hc hLower fC) hR t) |
| 111 | (pathRepresentative_ae T _ hR t) (hAdj.clm_apply (pathRepresentative_smooth T _ hR t)) |
| 112 | |
| 113 | /-- The source mean pressure has no angular dependence. -/ |
| 114 | def pressureProfile (t : Icc (0 : ℝ) T) (x : Space) (_θ : ℝ) : ℝ := |
| 115 | pressureScalar T hT F F₁ FInv s c hc hLower fC hR t x |
| 116 | |
| 117 | theorem pressureProfile_angle_derivative (t : Icc (0 : ℝ) T) (x : Space) (θ : ℝ) : |
| 118 | HasDerivAt (pressureProfile T hT F F₁ FInv s c hc hLower fC hR t x) 0 θ := |
| 119 | hasDerivAt_const θ _ |
| 120 | |
| 121 | /-- The physical pressure force is exactly the actual residual, because the |
| 122 | inverse-transpose cancels the transpose of the given frame. -/ |
| 123 | theorem pressureScalar_physicalGradient |
| 124 | (Finv : C(Icc (0 : ℝ) T,Field)) |
| 125 | (hFinv : ∀ t x v, F.field t x (Finv t x v) = v) |
| 126 | (t : Icc (0 : ℝ) T) (x : Space) : |
| 127 | (Finv t x).adjoint (gradient (pressureScalar T hT F F₁ FInv s c hc hLower fC hR t) x) = |
| 128 | pathRepresentative T (s.pressurePath c hc hLower fC) hR t x := by |
| 129 | rw [(pressureScalar_spec T hT F F₁ FInv s c hc hLower fC hR t).2.2 x] |
| 130 | apply ext_inner_right ℝ |
| 131 | intro v |
| 132 | rw [adjoint_inner_left, adjoint_inner_left, hFinv] |
| 133 | |
| 134 | /-- The constructed pressure gives the literal pointwise source equation. -/ |
| 135 | theorem pressureScalar_equation |
| 136 | (hTpos : 0 < T) |
| 137 | (hFTime : ∀ t : Icc (0 : ℝ) T, |
| 138 | HasDerivWithinAt (extendPath T hT (operatorPath T F.field)) |
| 139 | (operatorPath T F₁.field t) (Icc (0 : ℝ) T) t) |
| 140 | (M : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) |
| 141 | (hMF : ∀ t x v, F₁.field t x v = M.field t x (F.field t x v)) |
| 142 | (Finv : C(Icc (0 : ℝ) T,Field)) (hFinv : ∀ t x v, F.field t x (Finv t x v) = v) |
| 143 | (hB : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a s.continuousVelocity)) |
| 144 | (hD : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a (s.classicalPhysicalDerivative c hc hLower fC))) |
| 145 | (hfC : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a fC)) |
| 146 | (t : Icc (0 : ℝ) T) (x : Space) : |
| 147 | pathRepresentative T (s.classicalPhysicalDerivative c hc hLower fC) hD t x+ |
| 148 | M.field t x (pathRepresentative T s.continuousVelocity hB t x)+ |
| 149 | (Finv t x).adjoint (gradient (pressureScalar T hT F F₁ FInv s c hc hLower fC hR t) x) = |
| 150 | pathRepresentative T fC hfC t x := by |
| 151 | rw [pressureScalar_physicalGradient T hT F F₁ FInv s c hc hLower fC hR Finv hFinv t x] |
| 152 | exact pathRepresentative_equation T s.continuousVelocity |
| 153 | (s.classicalPhysicalDerivative c hc hLower fC) (s.pressurePath c hc hLower fC) fC |
| 154 | hB hD hR hfC M.field |
| 155 | (s.pressurePath_equation c hc hLower fC hTpos hFTime (operatorPath T M.field) |
| 156 | (operatorPath_comp T M.field F.field F₁.field hMF)) t x |
| 157 | |
| 158 | end EulerMeanScalarPressure |