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.MeanDisplacementRegularity |
| 2 | import Euler.TransverseMomentumRegularity |
| 3 | |
| 4 | /-! |
| 5 | # Genuine mean momentum regularity from the variational solve |
| 6 | |
| 7 | Zero-initial-trace solenoidal test primitives are mapped by F into the actual |
| 8 | mean test space. The two original boundary terms then vanish, and the weak |
| 9 | identity constructs an AC representative of `Pσ F* η_t`. This is a regularity |
| 10 | conclusion, not an assumed momentum equation or an assumed second derivative. |
| 11 | -/ |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | |
| 16 | namespace EulerMeanVariationalInverse |
| 17 | |
| 18 | open MeasureTheory Set InnerProductSpace ContinuousLinearMap |
| 19 | EulerTimeLp EulerTerminalTimePrimitive EulerVolterraConvolution EulerMeanSolenoidal |
| 20 | EulerTimeH1OperatorProduct EulerTimeWeakDerivative EulerTransverseMomentumRegularity |
| 21 | |
| 22 | variable (T : ℝ) (hT : 0 ≤ T) |
| 23 | (FInv F F' : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 24 | |
| 25 | /-- The frame adjoint is the actual ordinary solenoidal projection of `F*`. -/ |
| 26 | theorem solenoidalFrame_adjoint (t : Icc (0 : ℝ) T) : |
| 27 | (solenoidalFrame T F t).adjoint = |
| 28 | solenoidalSpace.orthogonalProjectionOnto.comp (F t).adjoint := by |
| 29 | change ((F t).comp solenoidalSpace.subtypeL).adjoint = _ |
| 30 | calc |
| 31 | _ = solenoidalSpace.subtypeL.adjoint.comp (F t).adjoint := |
| 32 | adjoint_comp _ _ |
| 33 | _ = _ := congrArg (fun A : L2 →L[ℝ] solenoidalSpace => A.comp (F t).adjoint) |
| 34 | (Submodule.adjoint_subtypeL solenoidalSpace) |
| 35 | |
| 36 | /-- Thus the momentum's actual representative is `Pσ F* u`, with ordinary |
| 37 | spatial L² projection and no abstract replacement of the solenoidal space. -/ |
| 38 | theorem meanMomentum_ae (u : TimeLp T L2) : |
| 39 | (fun t => ((momentum T hT (solenoidalFrame T F) u t : solenoidalSpace) : L2)) |
| 40 | =ᵐ[timeMeasure T] |
| 41 | fun t => solenoidalProjection ((extendPath T hT F t).adjoint (u t)) := by |
| 42 | filter_upwards [momentum_ae T hT (solenoidalFrame T F) u] with t ht |
| 43 | rw [ht] |
| 44 | change (((solenoidalFrame T F (projIcc 0 T hT t)).adjoint (u t) : solenoidalSpace) : L2) = _ |
| 45 | exact congrArg (fun A : L2 →L[ℝ] solenoidalSpace => (A (u t) : L2)) |
| 46 | (solenoidalFrame_adjoint T F (projIcc 0 T hT t)) |
| 47 | |
| 48 | /-- The exact mean variational identity determines the weak derivative of its |
| 49 | actual projected momentum after the trace-zero test restriction. -/ |
| 50 | theorem meanMomentum_weak |
| 51 | (hF : ∀ t : Icc (0 : ℝ) T, |
| 52 | HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) |
| 53 | (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) |
| 54 | (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) (L : ℝ) |
| 55 | (u : meanDerivatives T hT FInv) (f : TimeLp T L2) |
| 56 | (hu : ∀ w : meanDerivatives T hT FInv, |
| 57 | ⟪(u : TimeLp T L2), (w : TimeLp T L2)⟫_ℝ- |
| 58 | ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv w⟫_ℝ+ |
| 59 | ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ+ |
| 60 | L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ = |
| 61 | -⟪f, meanPrimitive T hT FInv w⟫_ℝ) |
| 62 | (v : TimeLp T solenoidalSpace) (hv : initialTrace T hT v = 0) : |
| 63 | ⟪momentum T hT (solenoidalFrame T F) (u : TimeLp T L2), v⟫_ℝ = |
| 64 | -⟪momentumForcing T hT (solenoidalFrame T F) (solenoidalFrame T F') H |
| 65 | (u : TimeLp T L2) f, primitiveTimeLp T hT v⟫_ℝ := by |
| 66 | apply momentum_weak_of_product_tests T hT (solenoidalFrame T F) (solenoidalFrame T F') |
| 67 | (solenoidalFrame_hasDerivWithinAt T hT F F' hF) H (u : TimeLp T L2) f v |
| 68 | have h := hu (meanTestMap T hT FInv F F' hF hInv v) |
| 69 | simpa only [meanTestMap_trace_zero T hT FInv F F' hF hInv v hv, |
| 70 | inner_zero_right, mul_zero, add_zero, meanPrimitive, comp_apply, |
| 71 | Submodule.subtypeL_apply, meanTestMap_coe] using h |
| 72 | |
| 73 | /-- An actual weak mean solution has an AC momentum representative with the |
| 74 | explicit Bochner L² derivative forced by the variational identity. -/ |
| 75 | theorem meanMomentum_ac (hTpos : 0 < T) |
| 76 | (hF : ∀ t : Icc (0 : ℝ) T, |
| 77 | HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) |
| 78 | (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) |
| 79 | (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) (L : ℝ) |
| 80 | (u : meanDerivatives T hT FInv) (f : TimeLp T L2) |
| 81 | (hu : ∀ w : meanDerivatives T hT FInv, |
| 82 | ⟪(u : TimeLp T L2), (w : TimeLp T L2)⟫_ℝ- |
| 83 | ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv w⟫_ℝ+ |
| 84 | ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ+ |
| 85 | L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ = |
| 86 | -⟪f, meanPrimitive T hT FInv w⟫_ℝ) : |
| 87 | ∃ p : ℝ → solenoidalSpace, |
| 88 | AbsolutelyContinuousOnInterval p 0 T ∧ |
| 89 | (momentum T hT (solenoidalFrame T F) (u : TimeLp T L2) : ℝ → solenoidalSpace) |
| 90 | =ᵐ[timeMeasure T] p ∧ |
| 91 | ∀ᵐ t ∂timeMeasure T, |
| 92 | HasDerivAt p (momentumForcing T hT (solenoidalFrame T F) (solenoidalFrame T F') |
| 93 | H (u : TimeLp T L2) f t) t := by |
| 94 | apply exists_ac_representative_of_weak T hTpos |
| 95 | intro v hv |
| 96 | exact meanMomentum_weak T hT FInv F F' hF hInv H M0 A L u f hu v hv |
| 97 | |
| 98 | /-- In particular the already constructed mean variational inverse has genuine |
| 99 | projected momentum regularity. The coefficient/boundary lower bounds are used |
| 100 | only by that solve; no regularity of the answer is assumed. -/ |
| 101 | theorem meanSolver_momentum_ac (hTpos : 0 < T) |
| 102 | (hF : ∀ t : Icc (0 : ℝ) T, |
| 103 | HasDerivWithinAt (extendPath T hT F) (F' t) (Icc (0 : ℝ) T) t) |
| 104 | (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) |
| 105 | (H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) |
| 106 | (L K B : ℝ) (hK : 0 ≤ K) (hB : 0 ≤ B) |
| 107 | (hF0 : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) |
| 108 | (hH : ∀ t z, ⟪H t z, z⟫_ℝ ≤ K*‖z‖^2) |
| 109 | (hboundary : ∀ z : L2, z ∈ solenoidalSpace → |
| 110 | -B*‖z‖^2 ≤ ⟪M0 z, z⟫_ℝ+L*⟪A z, z⟫_ℝ) |
| 111 | (hsmall : K*(T^2/2)+B*T ≤ 1/2) (f : TimeLp T L2) : |
| 112 | let u : TimeLp T L2 := |
| 113 | meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f |
| 114 | ∃ p : ℝ → solenoidalSpace, |
| 115 | AbsolutelyContinuousOnInterval p 0 T ∧ |
| 116 | (momentum T hT (solenoidalFrame T F) u : ℝ → solenoidalSpace) =ᵐ[timeMeasure T] p ∧ |
| 117 | ∀ᵐ t ∂timeMeasure T, |
| 118 | HasDerivAt p (momentumForcing T hT (solenoidalFrame T F) (solenoidalFrame T F') H u f t) t := |
| 119 | meanMomentum_ac T hT FInv F F' hTpos hF hInv H M0 A L |
| 120 | (meanSolver T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f) f |
| 121 | (meanSolver_weak T hT FInv H M0 A L K B hK hB hF0 hH hboundary hsmall f) |
| 122 | |
| 123 | end EulerMeanVariationalInverse |