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.MeanSourceStrongInverse |
| 2 | import Euler.MeanSourceSpatialRegularity |
| 3 | import Euler.MeanContinuousPressure |
| 4 | import Euler.MeanClassicalConstraints |
| 5 | import Euler.MeanCoefficientFrame |
| 6 | import Euler.SmoothCoefficientPath |
| 7 | import Euler.MeanPathSpatialRepresentative |
| 8 | import Euler.MeanClassicalWordBounds |
| 9 | import Euler.ContinuousForcingTimeLp |
| 10 | import Euler.TimeLpLinearity |
| 11 | |
| 12 | /-! |
| 13 | # Concrete source data for the mean packet provider |
| 14 | |
| 15 | This record contains only the given matrix coefficients and the manuscript's |
| 16 | pointwise inequalities and time identities. Its solver and strong evolution |
| 17 | are the previously constructed actual variational inverse, not input fields. |
| 18 | -/ |
| 19 | |
| 20 | /-! ## From `Euler/MeanPressureRepresentative.lean` |
| 21 | |
| 22 | The text of `Euler/MeanPressureRepresentative.lean`, folded into this file, which was its only importer. -/ |
| 23 | |
| 24 | section |
| 25 | |
| 26 | /-! |
| 27 | # A normalized scalar pressure for the actual mean solution |
| 28 | |
| 29 | The radial integral is applied to the real F-adjoint pressure force, whose |
| 30 | closed-gradient-space membership was proved from the actual Gram equation. |
| 31 | The resulting scalar is spatially smooth, normalized at zero, and gives the |
| 32 | pointwise physical equation. No scalar potential or pressure time derivative |
| 33 | is assumed. |
| 34 | -/ |
| 35 | |
| 36 | noncomputable section |
| 37 | |
| 38 | namespace EulerMeanScalarPressure |
| 39 | |
| 40 | open Set MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 41 | EulerMeanSolenoidal EulerMeanSmoothRepresentative EulerMeanCoefficients |
| 42 | EulerMeanTimeContinuousTranslation EulerMeanVariationalInverse EulerMeanPressure |
| 43 | EulerCanonicalGraphPotential EulerTimeLp EulerVolterraConvolution |
| 44 | open scoped ContDiff |
| 45 | |
| 46 | /-- The canonical smooth spatial representative of an actual continuous L² path. -/ |
| 47 | def pathRepresentative (T : ℝ) (p : C(Icc (0 : ℝ) T,L2)) |
| 48 | (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) |
| 49 | (t : Icc (0 : ℝ) T) : Space → Space := |
| 50 | representative (p t) (pathTranslation_evaluation_contDiff T p hp t) |
| 51 | |
| 52 | theorem pathRepresentative_smooth (T : ℝ) (p : C(Icc (0 : ℝ) T,L2)) |
| 53 | (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) (t : Icc (0 : ℝ) T) : |
| 54 | ContDiff ℝ ∞ (pathRepresentative T p hp t) := representative_smooth _ _ |
| 55 | |
| 56 | theorem pathRepresentative_ae (T : ℝ) (p : C(Icc (0 : ℝ) T,L2)) |
| 57 | (hp : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a p)) (t : Icc (0 : ℝ) T) : |
| 58 | (p t : Space → Space) =ᵐ[volume] pathRepresentative T p hp t := representative_ae _ _ |
| 59 | |
| 60 | /-- An actual L² equation between continuous spatial representatives holds everywhere. -/ |
| 61 | theorem representative_equation (B D R f : L2) |
| 62 | (hB : SmoothOrbit B) (hD : SmoothOrbit D) (hR : SmoothOrbit R) (hf : SmoothOrbit f) |
| 63 | (M : Field) (heq : D+multiplier M B+R=f) (x : Space) : |
| 64 | representative D hD x+M x (representative B hB x)+representative R hR x = |
| 65 | representative f hf x := by |
| 66 | have hae : (fun y => representative D hD y+M y (representative B hB y)+representative R hR y) |
| 67 | =ᵐ[volume] representative f hf := by |
| 68 | filter_upwards [representative_ae B hB, representative_ae D hD, representative_ae R hR, |
| 69 | representative_ae f hf, multiplier_ae M B, Lp.coeFn_add D (multiplier M B), |
| 70 | Lp.coeFn_add (D+multiplier M B) R] with y hby hdy hry hfy hmy hsum hsum2 |
| 71 | have hy := congrArg (fun z : L2 => z y) heq |
| 72 | rw [hsum2] at hy |
| 73 | simp only [Pi.add_apply] at hy |
| 74 | rw [hsum] at hy |
| 75 | simpa only [Pi.add_apply, hmy, hby, hdy, hry, hfy] using hy |
| 76 | exact congrFun (Measure.eq_of_ae_eq hae |
| 77 | (((representative_smooth D hD).continuous.add |
| 78 | (M.continuous.clm_apply (representative_smooth B hB).continuous)).add |
| 79 | (representative_smooth R hR).continuous) |
| 80 | (representative_smooth f hf).continuous) x |
| 81 | |
| 82 | theorem pathRepresentative_equation (T : ℝ) |
| 83 | (B D R f : C(Icc (0 : ℝ) T,L2)) |
| 84 | (hB : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a B)) |
| 85 | (hD : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a D)) |
| 86 | (hR : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a R)) |
| 87 | (hf : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a f)) |
| 88 | (M : C(Icc (0 : ℝ) T,Field)) |
| 89 | (heq : ∀ t, D t+multiplier (M t) (B t)+R t=f t) |
| 90 | (t : Icc (0 : ℝ) T) (x : Space) : |
| 91 | pathRepresentative T D hD t x+M t x (pathRepresentative T B hB t x)+ |
| 92 | pathRepresentative T R hR t x = pathRepresentative T f hf t x := |
| 93 | representative_equation (B t) (D t) (R t) (f t) |
| 94 | (pathTranslation_evaluation_contDiff T B hB t) (pathTranslation_evaluation_contDiff T D hD t) |
| 95 | (pathTranslation_evaluation_contDiff T R hR t) (pathTranslation_evaluation_contDiff T f hf t) |
| 96 | (M t) (heq t) x |
| 97 | |
| 98 | variable (T : ℝ) (hT : 0 ≤ T) |
| 99 | (F F₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) |
| 100 | (FInv : C(Icc (0 : ℝ) T,L2 →L[ℝ] L2)) |
| 101 | {A : L2 →L[ℝ] L2} {L : ℝ} {u f : TimeLp T L2} |
| 102 | (s : StrongMeanEvolution T hT FInv (operatorPath T F.field) (operatorPath T F₁.field) A L u f) |
| 103 | (c : ℝ) (hc : 0 < c) |
| 104 | (hLower : ∀ t v, c*‖v‖^2 ≤ ‖solenoidalFrame T (operatorPath T F.field) t v‖^2) |
| 105 | (fC : C(Icc (0 : ℝ) T,L2)) |
| 106 | (hR : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a (s.pressurePath c hc hLower fC))) |
| 107 | |
| 108 | /-- The concrete normalized scalar mean pressure, constructed by a radial integral. -/ |
| 109 | def pressureScalar (t : Icc (0 : ℝ) T) : Space → ℝ := |
| 110 | radialPotential (fun x => (F.field t x).adjoint |
| 111 | (pathRepresentative T (s.pressurePath c hc hLower fC) hR t x)) |
| 112 | |
| 113 | /-- Spatial smoothness, normalization, and exact gradient of the constructed pressure. -/ |
| 114 | theorem pressureScalar_spec (t : Icc (0 : ℝ) T) : |
| 115 | ContDiff ℝ ∞ (pressureScalar T hT F F₁ FInv s c hc hLower fC hR t) ∧ |
| 116 | pressureScalar T hT F F₁ FInv s c hc hLower fC hR t 0 = 0 ∧ |
| 117 | ∀ x, gradient (pressureScalar T hT F F₁ FInv s c hc hLower fC hR t) x = |
| 118 | (F.field t x).adjoint (pathRepresentative T (s.pressurePath c hc hLower fC) hR t x) := by |
| 119 | have hAdj : ContDiff ℝ ∞ (fun x : Space => (F.field t x).adjoint) := |
| 120 | (EulerTransverseGramInverse.realAdjoint (U := Space) (E := Space)).contDiff.comp (F.smooth t) |
| 121 | exact weighted_pressure_has_potential (F.field t) (adjointField (F.field t)) (fun _ => rfl) |
| 122 | (s.pressurePath c hc hLower fC t) (s.pressurePath_gradient c hc hLower fC t) |
| 123 | (pathRepresentative T (s.pressurePath c hc hLower fC) hR t) |
| 124 | (pathRepresentative_ae T _ hR t) (hAdj.clm_apply (pathRepresentative_smooth T _ hR t)) |
| 125 | |
| 126 | /-- The physical pressure force is exactly the actual residual, because the |
| 127 | inverse-transpose cancels the transpose of the given frame. -/ |
| 128 | theorem pressureScalar_physicalGradient |
| 129 | (Finv : C(Icc (0 : ℝ) T,Field)) |
| 130 | (hFinv : ∀ t x v, F.field t x (Finv t x v) = v) |
| 131 | (t : Icc (0 : ℝ) T) (x : Space) : |
| 132 | (Finv t x).adjoint (gradient (pressureScalar T hT F F₁ FInv s c hc hLower fC hR t) x) = |
| 133 | pathRepresentative T (s.pressurePath c hc hLower fC) hR t x := by |
| 134 | rw [(pressureScalar_spec T hT F F₁ FInv s c hc hLower fC hR t).2.2 x] |
| 135 | apply ext_inner_right ℝ |
| 136 | intro v |
| 137 | rw [adjoint_inner_left, adjoint_inner_left, hFinv] |
| 138 | |
| 139 | /-- The constructed pressure gives the literal pointwise source equation. -/ |
| 140 | theorem pressureScalar_equation |
| 141 | (hTpos : 0 < T) |
| 142 | (hFTime : ∀ t : Icc (0 : ℝ) T, |
| 143 | HasDerivWithinAt (extendPath T hT (operatorPath T F.field)) |
| 144 | (operatorPath T F₁.field t) (Icc (0 : ℝ) T) t) |
| 145 | (M : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space)) |
| 146 | (hMF : ∀ t x v, F₁.field t x v = M.field t x (F.field t x v)) |
| 147 | (Finv : C(Icc (0 : ℝ) T,Field)) (hFinv : ∀ t x v, F.field t x (Finv t x v) = v) |
| 148 | (hB : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a s.continuousVelocity)) |
| 149 | (hD : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a (s.classicalPhysicalDerivative c hc hLower fC))) |
| 150 | (hfC : ContDiff ℝ ∞ (fun a : Space => pathTranslation T a fC)) |
| 151 | (t : Icc (0 : ℝ) T) (x : Space) : |
| 152 | pathRepresentative T (s.classicalPhysicalDerivative c hc hLower fC) hD t x+ |
| 153 | M.field t x (pathRepresentative T s.continuousVelocity hB t x)+ |
| 154 | (Finv t x).adjoint (gradient (pressureScalar T hT F F₁ FInv s c hc hLower fC hR t) x) = |
| 155 | pathRepresentative T fC hfC t x := by |
| 156 | rw [pressureScalar_physicalGradient T hT F F₁ FInv s c hc hLower fC hR Finv hFinv t x] |
| 157 | exact pathRepresentative_equation T s.continuousVelocity |
| 158 | (s.classicalPhysicalDerivative c hc hLower fC) (s.pressurePath c hc hLower fC) fC |
| 159 | hB hD hR hfC M.field |
| 160 | (s.pressurePath_equation c hc hLower fC hTpos hFTime (operatorPath T M.field) |
| 161 | (operatorPath_comp T M.field F.field F₁.field hMF)) t x |
| 162 | |
| 163 | end EulerMeanScalarPressure |
| 164 | end |
| 165 | |
| 166 | end |
| 167 | |
| 168 | noncomputable section |
| 169 | |
| 170 | namespace EulerMeanPacketProvider |
| 171 | |
| 172 | open Set MeasureTheory InnerProductSpace ContinuousLinearMap EulerSmoothLimit |
| 173 | EulerMeanSolenoidal EulerMeanCoefficients EulerMeanBoundary EulerMeanHarmonic |
| 174 | EulerMeanSourceInverse EulerMeanVariationalInverse EulerLiftedPressure EulerTimeLp EulerVolterraConvolution |
| 175 | open scoped ContDiff NNReal |
| 176 | |
| 177 | /-- Literal coefficient data and source smallness hypotheses. -/ |
| 178 | structure Data where |
| 179 | T : ℝ |
| 180 | T_pos : 0 < T |
| 181 | ℓ : ℝ |
| 182 | ℓ_pos : 0 < ℓ |
| 183 | ℓ_le_one : ℓ ≤ 1 |
| 184 | F : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space) |
| 185 | F₁ : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space) |
| 186 | F₂ : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space) |
| 187 | M : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space) |
| 188 | H : SmoothCoefficientPath (Icc (0 : ℝ) T) (Space →L[ℝ] Space) |
| 189 | FInv : C(Icc (0 : ℝ) T,Field) |
| 190 | M0 : BoundedSmoothField (Space →L[ℝ] Space) |
| 191 | Be : ℝ |
| 192 | Bc : ℝ |
| 193 | L : ℝ |
| 194 | r : ℝ |
| 195 | K : ℝ |
| 196 | Be_nonneg : 0 ≤ Be |
| 197 | Bc_nonneg : 0 ≤ Bc |
| 198 | L_lower : boundaryLocalizationC1*Bc ≤ L |
| 199 | r_nonneg : 0 ≤ r |
| 200 | r_le_quarter : r ≤ 1/4 |
| 201 | K_nonneg : 0 ≤ K |
| 202 | exterior_lower : ∀ x, r ≤ ‖ℓ • x‖ → ∀ v : Space, -Be*‖v‖^2 ≤ ⟪M0.field x v,v⟫_ℝ |
| 203 | core_lower : ∀ x, ‖ℓ • x‖ < r → ∀ v : Space, -Bc*‖v‖^2 ≤ ⟪M0.field x v,v⟫_ℝ |
| 204 | inverse_left : ∀ t x v, FInv t x (F.field t x v) = v |
| 205 | inverse_right : ∀ t x v, F.field t x (FInv t x v) = v |
| 206 | inverse_initial : ∀ x v, FInv ⟨0, le_rfl, T_pos.le⟩ x v = v |
| 207 | derivative_initial : ∀ x, F₁.field ⟨0, le_rfl, T_pos.le⟩ x = M0.field x |
| 208 | frame_time : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, |
| 209 | HasDerivWithinAt (fun s => extendPath (Y := Field) T T_pos.le F.field s x) |
| 210 | (extendPath (Y := Field) T T_pos.le F₁.field t x) (Icc (0 : ℝ) T) t |
| 211 | derivative_time : ∀ t ∈ Icc (0 : ℝ) T, ∀ x : Space, |
| 212 | HasDerivWithinAt (fun s => extendPath (Y := Field) T T_pos.le F₁.field s x) |
| 213 | (extendPath (Y := Field) T T_pos.le F₂.field t x) (Icc (0 : ℝ) T) t |
| 214 | second_equation : ∀ t x v, F₂.field t x v = -(H.field t x (F.field t x v)) |
| 215 | strain_equation : ∀ t x v, F₁.field t x v = M.field t x (F.field t x v) |
| 216 | curvature_upper : ∀ t x v, ⟪H.field t x v,v⟫_ℝ ≤ K*‖v‖^2 |
| 217 | small : K*(T^2/2)+Be*T+boundaryLocalizationC2*Bc*r^3*T ≤ 1/2 |
| 218 | |
| 219 | namespace Data |
| 220 | |
| 221 | variable (D : Data) |
| 222 | |
| 223 | abbrev opF := operatorPath D.T D.F.field |
| 224 | abbrev opF₁ := operatorPath D.T D.F₁.field |
| 225 | abbrev opF₂ := operatorPath D.T D.F₂.field |
| 226 | abbrev opM := operatorPath D.T D.M.field |
| 227 | abbrev opH := operatorPath D.T D.H.field |
| 228 | abbrev opInv := operatorPath D.T D.FInv |
| 229 | |
| 230 | theorem opInv_left : ∀ t v, D.opInv t (D.opF t v) = v := |
| 231 | operatorPath_inverse D.T D.FInv D.F.field D.inverse_left |
| 232 | |
| 233 | theorem opInv_right : ∀ t v, D.opF t (D.opInv t v) = v := |
| 234 | operatorPath_inverse D.T D.F.field D.FInv D.inverse_right |
| 235 | |
| 236 | theorem opInv_initial : D.opInv ⟨0, le_rfl, D.T_pos.le⟩ = ContinuousLinearMap.id ℝ L2 := |
| 237 | operatorPath_identity_at D.T D.FInv ⟨0, le_rfl, D.T_pos.le⟩ D.inverse_initial |
| 238 | |
| 239 | theorem opF_time : ∀ t : Icc (0 : ℝ) D.T, |
| 240 | HasDerivWithinAt (extendPath D.T D.T_pos.le D.opF) (D.opF₁ t) (Icc (0 : ℝ) D.T) t := |
| 241 | operatorPath_hasDerivWithinAt D.T D.T_pos.le D.F.field D.F₁.field D.frame_time |
| 242 | |
| 243 | theorem opF₁_time : ∀ t : Icc (0 : ℝ) D.T, |
| 244 | HasDerivWithinAt (extendPath D.T D.T_pos.le D.opF₁) (D.opF₂ t) (Icc (0 : ℝ) D.T) t := |
| 245 | operatorPath_hasDerivWithinAt D.T D.T_pos.le D.F₁.field D.F₂.field D.derivative_time |
| 246 | |
| 247 | theorem opF₁_initial : D.opF₁ ⟨0, le_rfl, D.T_pos.le⟩ = |
| 248 | coefficientOperator D.M0.field D.M0.field.continuous.aestronglyMeasurable |
| 249 | ‖D.M0.field‖₊ D.M0.field.norm_coe_le_norm := |
| 250 | operatorPath_initial_coefficient D.T D.T_pos.le D.F₁.field D.M0.field |
| 251 | D.derivative_initial ‖D.M0.field‖₊ D.M0.field.norm_coe_le_norm |
| 252 | |
| 253 | theorem opF₂_eq : ∀ t, D.opF₂ t = -(D.opH t).comp (D.opF t) := by |
| 254 | intro t |
| 255 | apply ContinuousLinearMap.ext |
| 256 | intro v |
| 257 | exact operatorPath_neg_comp D.T D.H.field D.F.field D.F₂.field D.second_equation t v |
| 258 | |
| 259 | theorem opStrain_eq : ∀ t v, D.opF₁ t v = D.opM t (D.opF t v) := |
| 260 | operatorPath_comp D.T D.M.field D.F.field D.F₁.field D.strain_equation |
| 261 | |
| 262 | theorem opCurvature_upper : ∀ t v, ⟪D.opH t v,v⟫_ℝ ≤ D.K*‖v‖^2 := |
| 263 | operatorPath_quadratic_upper D.T D.H.field D.K D.curvature_upper |
| 264 | |
| 265 | /-- The actual source weak inverse with the harmonic boundary estimate discharged. -/ |
| 266 | def solver : TimeLp D.T L2 →L[ℝ] meanDerivatives D.T D.T_pos.le D.opInv := |
| 267 | sourceMeanSolver D.T D.T_pos.le D.ℓ D.ℓ_pos D.M0.field D.M0.field.continuous.aestronglyMeasurable |
| 268 | ‖D.M0.field‖₊ D.M0.field.norm_coe_le_norm D.Be D.Bc D.L D.r D.Be_nonneg D.Bc_nonneg |
| 269 | D.L_lower D.r_nonneg D.r_le_quarter D.exterior_lower D.core_lower |
| 270 | D.opInv D.opH D.K D.K_nonneg D.opInv_initial D.opCurvature_upper D.small |
| 271 | |
| 272 | /-- The source strong evolution is obtained from the constructed inverse. -/ |
| 273 | def evolution (f : TimeLp D.T L2) : |
| 274 | StrongMeanEvolution D.T D.T_pos.le D.opInv D.opF D.opF₁ |
| 275 | (boundaryOperator (scaledCutoff D.ℓ D.ℓ_pos)) D.L (D.solver f) f := |
| 276 | Classical.choice (sourceMeanSolver_strong D.T D.T_pos.le D.ℓ D.ℓ_pos |
| 277 | D.M0.field D.M0.field.continuous.aestronglyMeasurable ‖D.M0.field‖₊ D.M0.field.norm_coe_le_norm |
| 278 | D.Be D.Bc D.L D.r D.Be_nonneg D.Bc_nonneg D.L_lower D.r_nonneg D.r_le_quarter |
| 279 | D.exterior_lower D.core_lower D.opInv D.opF D.opF₁ D.opF₂ D.opH D.K D.K_nonneg |
| 280 | D.opInv_initial D.opCurvature_upper D.small D.opF_time D.opF₁_time |
| 281 | D.opInv_left D.opInv_right D.opF₁_initial D.opF₂_eq f) |
| 282 | |
| 283 | abbrev frameLower : ℝ := meanFrameCoercivity D.T D.opInv |
| 284 | |
| 285 | theorem frameLower_pos : 0 < D.frameLower := meanFrameCoercivity_pos D.T D.opInv |
| 286 | |
| 287 | theorem frame_lower : ∀ t v, D.frameLower*‖v‖^2 ≤ ‖solenoidalFrame D.T D.opF t v‖^2 := |
| 288 | solenoidalFrame_lower D.T D.opInv D.opF D.opInv_left |
| 289 | |
| 290 | end Data |
| 291 | |
| 292 | end EulerMeanPacketProvider |