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.MeanFrameCoefficients |
| 2 | import Euler.MeanMomentumBoundary |
| 3 | import Euler.TransverseStrongEquation |
| 4 | |
| 5 | /-! |
| 6 | # The actual mean strong equation and initial velocity condition |
| 7 | |
| 8 | The time variational solution is upgraded to genuine H² solenoidal coordinates |
| 9 | using its derived AC momentum and the constructed coercive Gram inverse. The |
| 10 | initial momentum trace then cancels the original M0 boundary term. The final |
| 11 | fields contain the actual projected equation (9) and `z_t(0)=L A z(0)`. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | |
| 17 | namespace EulerMeanVariationalInverse |
| 18 | |
| 19 | open MeasureTheory Set InnerProductSpace ContinuousLinearMap EulerTimeLp |
| 20 | EulerTerminalTimePrimitive EulerMeanSolenoidal EulerVolterraConvolution |
| 21 | EulerTransverseGramInverse EulerTransverseGramPath EulerTransverseCoordinateRegularity |
| 22 | EulerTransverseMomentumRegularity EulerTransverseStrongAlgebra EulerTransverseStrongEquation |
| 23 | |
| 24 | /-- The source's strong mean evolution, with actual time functions and actual |
| 25 | Bochner L² acceleration. Every derivative assertion concerns these functions. -/ |
| 26 | structure StrongMeanEvolution (T : ℝ) (hT : 0 ≤ T) |
| 27 | (FInv F F₁ : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 28 | (A : L2 →L[ℝ] L2) (L : ℝ) (u f : TimeLp T L2) where |
| 29 | label : ℝ → solenoidalSpace |
| 30 | velocity : ℝ → solenoidalSpace |
| 31 | velocityLp : TimeLp T solenoidalSpace |
| 32 | velocity_ae : (velocityLp : ℝ → solenoidalSpace) =ᵐ[timeMeasure T] velocity |
| 33 | acceleration : TimeLp T solenoidalSpace |
| 34 | label_eq : ∀ t : Icc (0 : ℝ) T, |
| 35 | (label t : L2) = FInv t (realPrimitive T u t) |
| 36 | label_ac : AbsolutelyContinuousOnInterval label 0 T |
| 37 | velocity_ac : AbsolutelyContinuousOnInterval velocity 0 T |
| 38 | terminal : label T = 0 |
| 39 | initial_velocity : (velocity 0 : L2) = L • A (label 0 : L2) |
| 40 | label_derivative : ∀ᵐ t ∂timeMeasure T, HasDerivAt label (velocity t) t |
| 41 | velocity_derivative : ∀ᵐ t ∂timeMeasure T, HasDerivAt velocity (acceleration t) t |
| 42 | equation : ∀ᵐ t ∂timeMeasure T, |
| 43 | solenoidalProjection ((extendPath T hT F t).adjoint |
| 44 | (extendPath T hT F t (acceleration t : L2))) = |
| 45 | solenoidalProjection ((extendPath T hT F t).adjoint |
| 46 | (f t - (2 : ℝ) • extendPath T hT F₁ t (velocity t : L2))) |
| 47 | |
| 48 | /-- At the initial identity frame, the derived momentum condition cancels M0. |
| 49 | The range assumption here is only the genuine solenoidal range of A. -/ |
| 50 | theorem initial_momentum_cancellation (F₀ F₁ M0 A : L2 →L[ℝ] L2) (L : ℝ) |
| 51 | (hF₀ : F₀ = ContinuousLinearMap.id ℝ L2) (hF₁ : F₁ = M0) |
| 52 | (z v : solenoidalSpace) (hAz : A (z : L2) ∈ solenoidalSpace) |
| 53 | (hm : gram (F₀.comp solenoidalSpace.subtypeL) v + |
| 54 | (F₀.comp solenoidalSpace.subtypeL).adjoint (F₁ (z : L2)) = |
| 55 | (F₀.comp solenoidalSpace.subtypeL).adjoint ((M0+L • A) (z : L2))) : |
| 56 | (v : L2) = L • A (z : L2) := by |
| 57 | subst F₀ F₁ |
| 58 | have hm' : v + solenoidalSpace.orthogonalProjectionOnto (M0 (z : L2)) = |
| 59 | solenoidalSpace.orthogonalProjectionOnto ((M0+L • A) (z : L2)) := by |
| 60 | simpa only [id_comp, gram, Submodule.adjoint_subtypeL, comp_apply, |
| 61 | Submodule.subtypeL_apply, Submodule.orthogonalProjectionOnto_mem_subspace_eq_self] using hm |
| 62 | simp only [add_apply, smul_apply, map_add, map_smul] at hm' |
| 63 | have hv : v = L • solenoidalSpace.orthogonalProjectionOnto (A (z : L2)) := by |
| 64 | apply add_left_cancel (a := solenoidalSpace.orthogonalProjectionOnto (M0 (z : L2))) |
| 65 | exact (add_comm _ _).trans hm' |
| 66 | have hproj : (solenoidalSpace.orthogonalProjectionOnto (A (z : L2)) : L2) = A (z : L2) := |
| 67 | congrArg (fun w : solenoidalSpace => (w : L2)) |
| 68 | (solenoidalSpace.orthogonalProjectionOnto_mem_subspace_eq_self ⟨A (z : L2), hAz⟩) |
| 69 | have he := congrArg (fun w : solenoidalSpace => (w : L2)) hv |
| 70 | change (v : L2) = L • (solenoidalSpace.orthogonalProjectionOnto (A (z : L2)) : L2) at he |
| 71 | exact he.trans (congrArg (fun x : L2 => L • x) hproj) |
| 72 | |
| 73 | /-- A frame Gram equation on L²σ is exactly the ordinary projected spatial equation. -/ |
| 74 | theorem ordinary_projected_equation (F F₁ : L2 →L[ℝ] L2) (f : L2) |
| 75 | (a v : solenoidalSpace) |
| 76 | (h : gram (F.comp solenoidalSpace.subtypeL) a = |
| 77 | (F.comp solenoidalSpace.subtypeL).adjoint (f-(2 : ℝ) • F₁ (v : L2))) : |
| 78 | solenoidalProjection (F.adjoint (F (a : L2))) = |
| 79 | solenoidalProjection (F.adjoint (f-(2 : ℝ) • F₁ (v : L2))) := by |
| 80 | have he := congrArg (fun w : solenoidalSpace => (w : L2)) h |
| 81 | simpa only [gram, adjoint_comp, Submodule.adjoint_subtypeL, comp_apply, |
| 82 | Submodule.subtypeL_apply, Submodule.coe_orthogonalProjectionOnto_apply, |
| 83 | solenoidalProjection] using he |
| 84 | |
| 85 | variable (T : ℝ) (hT : 0 ≤ T) |
| 86 | (FInv F F₁ F₂ H : C(Icc (0 : ℝ) T, L2 →L[ℝ] L2)) |
| 87 | (M0 A : L2 →L[ℝ] L2) (L : ℝ) |
| 88 | |
| 89 | /-- A genuine mean weak solution has actual H² label coordinates, the literal |
| 90 | projected equation, and the original initial velocity condition. -/ |
| 91 | theorem meanWeakSolution_strong |
| 92 | (hF : ∀ t : Icc (0 : ℝ) T, |
| 93 | HasDerivWithinAt (extendPath T hT F) (F₁ t) (Icc (0 : ℝ) T) t) |
| 94 | (hF₁ : ∀ t : Icc (0 : ℝ) T, |
| 95 | HasDerivWithinAt (extendPath T hT F₁) (F₂ t) (Icc (0 : ℝ) T) t) |
| 96 | (hInv : ∀ (t : Icc (0 : ℝ) T) (x : L2), FInv t (F t x) = x) |
| 97 | (hRight : ∀ (t : Icc (0 : ℝ) T) (x : L2), F t (FInv t x) = x) |
| 98 | (hFInv₀ : FInv ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2) |
| 99 | (hF₁₀ : F₁ ⟨0, le_rfl, hT⟩ = M0) |
| 100 | (hODE : ∀ t, F₂ t = -(H t).comp (F t)) |
| 101 | (hAσ : ∀ z : L2, z ∈ solenoidalSpace → A z ∈ solenoidalSpace) |
| 102 | (u : meanDerivatives T hT FInv) (f : TimeLp T L2) |
| 103 | (hu : ∀ w : meanDerivatives T hT FInv, |
| 104 | ⟪(u : TimeLp T L2), (w : TimeLp T L2)⟫_ℝ- |
| 105 | ⟪timeMultiplier T hT H (meanPrimitive T hT FInv u), meanPrimitive T hT FInv w⟫_ℝ+ |
| 106 | ⟪M0 (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ+ |
| 107 | L*⟪A (meanTrace T hT FInv u), meanTrace T hT FInv w⟫_ℝ = |
| 108 | -⟪f, meanPrimitive T hT FInv w⟫_ℝ) : |
| 109 | Nonempty (StrongMeanEvolution T hT FInv F F₁ A L (u : TimeLp T L2) f) := by |
| 110 | let Q := solenoidalFrame T F |
| 111 | let Q₁ := solenoidalFrame T F₁ |
| 112 | let Q₂ := solenoidalFrame T F₂ |
| 113 | let c := meanFrameCoercivity T FInv |
| 114 | have hc : 0 < c := meanFrameCoercivity_pos T FInv |
| 115 | have hQ : ∀ t x, c*‖x‖^2 ≤ ‖Q t x‖^2 := solenoidalFrame_lower T FInv F hInv |
| 116 | have hd : ∀ t : Icc (0 : ℝ) T, |
| 117 | HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t := |
| 118 | solenoidalFrame_hasDerivWithinAt T hT F F₁ hF |
| 119 | have hd₁ : ∀ t : Icc (0 : ℝ) T, |
| 120 | HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t := |
| 121 | solenoidalFrame_hasDerivWithinAt T hT F₁ F₂ hF₁ |
| 122 | have hRange : ∀ t : Icc (0 : ℝ) T, ∃ x : solenoidalSpace, Q t x = realPrimitive T (u : TimeLp T L2) t := |
| 123 | meanPrimitive_in_frame_range T hT FInv F hRight u |
| 124 | have hframe : ∀ t, Q₂ t = -(H t).comp (Q t) := solenoidalFrame_ode T F F₂ H hODE |
| 125 | obtain ⟨p, hpAC, hp₀, hp, hpder⟩ := |
| 126 | meanMomentum_with_initial T hT FInv F F₁ hF hInv H M0 A L u f hu |
| 127 | let z := coordinatePrimitive T hT Q c hc hQ (u : TimeLp T L2) |
| 128 | let v := velocityRepresentative T hT Q Q₁ c hc hQ (u : TimeLp T L2) p |
| 129 | let a := coordinateSecondDerivative T hT Q Q₁ Q₂ c hc hQ H (u : TimeLp T L2) f |
| 130 | have hV := velocityRepresentative_h1 T hT Q Q₁ Q₂ c hc hQ hd hd₁ |
| 131 | H (u : TimeLp T L2) f hRange p hpAC hp hpder |
| 132 | have hz : ∀ t : Icc (0 : ℝ) T, (z t : L2) = FInv t (realPrimitive T (u : TimeLp T L2) t) := by |
| 133 | intro t |
| 134 | have hrec := coordinatePrimitive_reconstruct_of_range T hT Q c hc hQ |
| 135 | (u : TimeLp T L2) hRange t |
| 136 | have hi := congrArg (fun x : L2 => FInv t x) hrec |
| 137 | change FInv t (F t (z t : L2)) = _ at hi |
| 138 | exact (hInv t (z t : L2)).symm.trans hi |
| 139 | have hF₀ : F ⟨0, le_rfl, hT⟩ = ContinuousLinearMap.id ℝ L2 := by |
| 140 | apply ContinuousLinearMap.ext |
| 141 | intro x |
| 142 | simpa only [hFInv₀, id_apply] using hInv ⟨0, le_rfl, hT⟩ x |
| 143 | have hz₀ : (z 0 : L2) = meanTrace T hT FInv u := by |
| 144 | have h := hz ⟨0, le_rfl, hT⟩ |
| 145 | exact h.trans (congrArg (fun G : L2 →L[ℝ] L2 => |
| 146 | G (realPrimitive T (u : TimeLp T L2) 0)) hFInv₀) |
| 147 | refine ⟨{ |
| 148 | label := z |
| 149 | velocity := v |
| 150 | velocityLp := coordinateDerivative T hT Q Q₁ c hc hQ (u : TimeLp T L2) |
| 151 | velocity_ae := hV.2.1 |
| 152 | acceleration := a |
| 153 | label_eq := hz |
| 154 | label_ac := coordinatePrimitive_absolutelyContinuous T hT Q Q₁ c hc hQ hd (u : TimeLp T L2) |
| 155 | velocity_ac := hV.1 |
| 156 | terminal := coordinatePrimitive_terminal T hT Q c hc hQ (u : TimeLp T L2) |
| 157 | initial_velocity := ?_ |
| 158 | label_derivative := ?_ |
| 159 | velocity_derivative := hV.2.2 |
| 160 | equation := ?_ |
| 161 | }⟩ |
| 162 | · have hm := velocityRepresentative_momentum T hT Q Q₁ c hc hQ (u : TimeLp T L2) p 0 |
| 163 | simp only [extendPath, projIcc_of_mem hT ⟨le_rfl, hT⟩, |
| 164 | gramPath, mixedPath] at hm |
| 165 | have hm := hm.trans hp₀ |
| 166 | change gram ((F ⟨0, le_rfl, hT⟩).comp solenoidalSpace.subtypeL) (v 0) + |
| 167 | ((F ⟨0, le_rfl, hT⟩).comp solenoidalSpace.subtypeL).adjoint |
| 168 | (F₁ ⟨0, le_rfl, hT⟩ (z 0 : L2)) = |
| 169 | ((F ⟨0, le_rfl, hT⟩).comp solenoidalSpace.subtypeL).adjoint |
| 170 | ((M0+L • A) (meanTrace T hT FInv u)) at hm |
| 171 | have hb := congrArg (fun x : L2 => |
| 172 | ((F ⟨0, le_rfl, hT⟩).comp solenoidalSpace.subtypeL).adjoint ((M0+L • A) x)) hz₀.symm |
| 173 | exact initial_momentum_cancellation _ _ M0 A L hF₀ hF₁₀ (z 0) (v 0) |
| 174 | (hAσ (z 0 : L2) (z 0).property) (hm.trans hb) |
| 175 | · filter_upwards [coordinatePrimitive_hasDerivAt_ae T hT Q Q₁ c hc hQ hd |
| 176 | (u : TimeLp T L2), hV.2.1] with t hdt hvt |
| 177 | exact hdt.congr_deriv hvt |
| 178 | · filter_upwards [velocityRepresentative_projected_equation T hT Q Q₁ Q₂ c hc hQ hd hd₁ |
| 179 | H (u : TimeLp T L2) f hRange hframe p hpAC hp hpder, hV.2.1] with t he hvt |
| 180 | have hr := congrArg (fun w : solenoidalSpace => |
| 181 | (Q (projIcc 0 T hT t)).adjoint (f t - (2 : ℝ) • Q₁ (projIcc 0 T hT t) w)) hvt |
| 182 | exact ordinary_projected_equation (F (projIcc 0 T hT t)) (F₁ (projIcc 0 T hT t)) |
| 183 | (f t) (a t) (v t) (he.trans hr) |
| 184 | |
| 185 | end EulerMeanVariationalInverse |