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.TransverseCoordinateRegularity |
| 2 | import Euler.TransverseStrongAlgebra |
| 3 | import Euler.TimeH1FieldProduct |
| 4 | |
| 5 | /-! |
| 6 | # Strong transverse evolution from the actual variational solve |
| 7 | |
| 8 | The weak momentum identity supplies an actual absolutely continuous momentum. |
| 9 | The constructed Gram inverse then upgrades the coordinate derivative to H¹. |
| 10 | Differentiating the momentum identity and using `Q_tt = -H Q` gives the literal |
| 11 | projected equation (10), with no assumed acceleration or differential inverse. |
| 12 | -/ |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace EulerTransverseStrongEquation |
| 17 | |
| 18 | open MeasureTheory Set InnerProductSpace ContinuousLinearMap |
| 19 | EulerTimeLp EulerTerminalTimePrimitive EulerVolterraConvolution |
| 20 | EulerTimeH1OperatorProduct EulerTimeH1FieldProduct EulerTimeWeakDerivative |
| 21 | EulerTransverseVariationalInverse EulerTransverseGramInverse EulerTransverseGramPath |
| 22 | EulerTransverseCoordinateRegularity EulerTransverseMomentumRegularity |
| 23 | EulerTransverseStrongAlgebra |
| 24 | |
| 25 | variable {U E : Type*} |
| 26 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 27 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 28 | |
| 29 | variable (T : ℝ) (hT : 0 ≤ T) |
| 30 | (Q Q₁ Q₂ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| 31 | (c : ℝ) (hc : 0 < c) |
| 32 | (hQ : ∀ t x, c * ‖x‖ ^ 2 ≤ ‖Q t x‖ ^ 2) |
| 33 | |
| 34 | /-- The actual candidate second derivative, constructed from L² fields and |
| 35 | bounded coefficient multipliers. Its derivative property is proved below. -/ |
| 36 | def coordinateSecondDerivative (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 37 | (u f : TimeLp T E) : TimeLp T U := |
| 38 | let v := coordinateDerivative T hT Q Q₁ c hc hQ u |
| 39 | let ξ := primitiveTimeLp T hT v |
| 40 | fieldProductDerivative T hT (gramInversePath T Q c hc hQ) |
| 41 | (gramInverseDerivativePath T Q Q₁ c hc hQ) |
| 42 | (momentum T hT Q u - timeMultiplier T hT (mixedPath T Q Q₁) ξ) |
| 43 | (momentumForcing T hT Q Q₁ H u f - |
| 44 | fieldProductDerivative T hT (mixedPath T Q Q₁) (mixedDerivativePath T Q Q₁ Q₂) ξ v) |
| 45 | |
| 46 | /-- The coordinate velocity recovered from an actual momentum representative. -/ |
| 47 | def velocityRepresentative (u : TimeLp T E) (p : ℝ → U) : ℝ → U := |
| 48 | fun t => extendPath T hT (gramInversePath T Q c hc hQ) t |
| 49 | (p t - extendPath T hT (mixedPath T Q Q₁) t |
| 50 | (coordinatePrimitive T hT Q c hc hQ u t)) |
| 51 | |
| 52 | variable (hd : ∀ t : Icc (0 : ℝ) T, |
| 53 | HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 54 | (hd₁ : ∀ t : Icc (0 : ℝ) T, |
| 55 | HasDerivWithinAt (extendPath T hT Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) |
| 56 | |
| 57 | include hd in |
| 58 | /-- The inverse momentum formula recovers the existing coordinate derivative |
| 59 | as an equality of genuine Bochner fields. -/ |
| 60 | theorem coordinateDerivative_eq_inverse_momentum (u : TimeLp T E) |
| 61 | (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = realPrimitive T u t) : |
| 62 | coordinateDerivative T hT Q Q₁ c hc hQ u = |
| 63 | timeMultiplier T hT (gramInversePath T Q c hc hQ) |
| 64 | (momentum T hT Q u - timeMultiplier T hT (mixedPath T Q Q₁) |
| 65 | (primitiveTimeLp T hT (coordinateDerivative T hT Q Q₁ c hc hQ u))) := by |
| 66 | let v := coordinateDerivative T hT Q Q₁ c hc hQ u |
| 67 | let ξ := primitiveTimeLp T hT v |
| 68 | let r := momentum T hT Q u - timeMultiplier T hT (mixedPath T Q Q₁) ξ |
| 69 | apply Lp.ext |
| 70 | filter_upwards [timeMultiplier_ae T hT (gramInversePath T Q c hc hQ) r, |
| 71 | Lp.coeFn_sub (momentum T hT Q u) (timeMultiplier T hT (mixedPath T Q Q₁) ξ), |
| 72 | momentum_ae T hT Q u, |
| 73 | timeMultiplier_ae T hT (mixedPath T Q Q₁) ξ, |
| 74 | coordinatePrimitive_ae T hT Q Q₁ c hc hQ hd u, |
| 75 | coordinateDerivative_reconstruct_ae_of_range T hT Q Q₁ c hc hQ hd u huRange] |
| 76 | with t hB hr hp hC hξ hu |
| 77 | change v t = (timeMultiplier T hT (gramInversePath T Q c hc hQ) r) t |
| 78 | change r t = (momentum T hT Q u) t - (timeMultiplier T hT (mixedPath T Q Q₁) ξ) t at hr |
| 79 | change ξ t = coordinatePrimitive T hT Q c hc hQ u t at hξ |
| 80 | rw [hB, hr, hp, hC, hξ] |
| 81 | exact (inverse_momentum_identity (Q (projIcc 0 T hT t)) (Q₁ (projIcc 0 T hT t)) |
| 82 | c hc (hQ (projIcc 0 T hT t)) (coordinatePrimitive T hT Q c hc hQ u t) (v t) (u t) hu).symm |
| 83 | |
| 84 | /-- The momentum reconstruction is a pointwise identity at every real time; |
| 85 | clamping preserves the actual Gram inverse identities. -/ |
| 86 | theorem velocityRepresentative_momentum (u : TimeLp T E) (p : ℝ → U) (t : ℝ) : |
| 87 | extendPath T hT (gramPath T Q) t (velocityRepresentative T hT Q Q₁ c hc hQ u p t) + |
| 88 | extendPath T hT (mixedPath T Q Q₁) t (coordinatePrimitive T hT Q c hc hQ u t) = p t := by |
| 89 | change gram (Q (projIcc 0 T hT t)) |
| 90 | (gramInverse (Q (projIcc 0 T hT t)) c hc (hQ (projIcc 0 T hT t)) |
| 91 | (p t - extendPath T hT (mixedPath T Q Q₁) t |
| 92 | (coordinatePrimitive T hT Q c hc hQ u t))) + _ = _ |
| 93 | rw [gram_inverse_apply, sub_add_cancel] |
| 94 | |
| 95 | include hd hd₁ in |
| 96 | /-- Actual H¹ regularity of the coordinate velocity follows from actual H¹ |
| 97 | momentum and the coefficient bounds. -/ |
| 98 | theorem velocityRepresentative_h1 |
| 99 | (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) (u f : TimeLp T E) |
| 100 | (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = realPrimitive T u t) |
| 101 | (p : ℝ → U) (hpAC : AbsolutelyContinuousOnInterval p 0 T) |
| 102 | (hp : (momentum T hT Q u : ℝ → U) =ᵐ[timeMeasure T] p) |
| 103 | (hpder : ∀ᵐ t ∂timeMeasure T, HasDerivAt p (momentumForcing T hT Q Q₁ H u f t) t) : |
| 104 | AbsolutelyContinuousOnInterval (velocityRepresentative T hT Q Q₁ c hc hQ u p) 0 T ∧ |
| 105 | (coordinateDerivative T hT Q Q₁ c hc hQ u : ℝ → U) =ᵐ[timeMeasure T] |
| 106 | velocityRepresentative T hT Q Q₁ c hc hQ u p ∧ |
| 107 | ∀ᵐ t ∂timeMeasure T, |
| 108 | HasDerivAt (velocityRepresentative T hT Q Q₁ c hc hQ u p) |
| 109 | (coordinateSecondDerivative T hT Q Q₁ Q₂ c hc hQ H u f t) t := by |
| 110 | let v := coordinateDerivative T hT Q Q₁ c hc hQ u |
| 111 | let ξ := primitiveTimeLp T hT v |
| 112 | let C := mixedPath T Q Q₁ |
| 113 | let C₁ := mixedDerivativePath T Q Q₁ Q₂ |
| 114 | let B := gramInversePath T Q c hc hQ |
| 115 | let B₁ := gramInverseDerivativePath T Q Q₁ c hc hQ |
| 116 | have hC := fieldProduct_h1 T hT C C₁ |
| 117 | (mixedPath_hasDerivWithinAt T Q Q₁ Q₂ hT hd hd₁) ξ v |
| 118 | (coordinatePrimitive T hT Q c hc hQ u) |
| 119 | (coordinatePrimitive_absolutelyContinuous T hT Q Q₁ c hc hQ hd u) |
| 120 | (coordinatePrimitive_ae T hT Q Q₁ c hc hQ hd u) |
| 121 | (coordinatePrimitive_hasDerivAt_ae T hT Q Q₁ c hc hQ hd u) |
| 122 | let r := momentum T hT Q u - timeMultiplier T hT C ξ |
| 123 | let r₁ := momentumForcing T hT Q Q₁ H u f - fieldProductDerivative T hT C C₁ ξ v |
| 124 | let rPath := fun t => p t - extendPath T hT C t (coordinatePrimitive T hT Q c hc hQ u t) |
| 125 | have hr : (r : ℝ → U) =ᵐ[timeMeasure T] rPath := by |
| 126 | filter_upwards [Lp.coeFn_sub (momentum T hT Q u) (timeMultiplier T hT C ξ), hp, hC.2.1] |
| 127 | with t hsub hpt hCt |
| 128 | exact hsub.trans (congrArg₂ (fun a b : U => a - b) hpt hCt) |
| 129 | have hrder : ∀ᵐ t ∂timeMeasure T, HasDerivAt rPath (r₁ t) t := by |
| 130 | filter_upwards [hpder, hC.2.2, |
| 131 | Lp.coeFn_sub (momentumForcing T hT Q Q₁ H u f) (fieldProductDerivative T hT C C₁ ξ v)] |
| 132 | with t hpt hCt hsub |
| 133 | rw [hsub] |
| 134 | exact hpt.sub hCt |
| 135 | have hB := fieldProduct_h1 T hT B B₁ |
| 136 | (gramInversePath_hasDerivWithinAt T Q Q₁ c hc hQ hT hd) r r₁ rPath |
| 137 | (hpAC.sub hC.1) hr hrder |
| 138 | refine ⟨hB.1, ?_, hB.2.2⟩ |
| 139 | have heq := coordinateDerivative_eq_inverse_momentum T hT Q Q₁ c hc hQ hd u huRange |
| 140 | rw [heq] |
| 141 | exact hB.2.1 |
| 142 | |
| 143 | include hd hd₁ in |
| 144 | /-- Differentiating the actual momentum identity gives exactly the projected |
| 145 | strong equation; the sole potential cancellation is the prescribed frame ODE. -/ |
| 146 | theorem velocityRepresentative_projected_equation |
| 147 | (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) (u f : TimeLp T E) |
| 148 | (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = realPrimitive T u t) |
| 149 | (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) |
| 150 | (p : ℝ → U) (hpAC : AbsolutelyContinuousOnInterval p 0 T) |
| 151 | (hp : (momentum T hT Q u : ℝ → U) =ᵐ[timeMeasure T] p) |
| 152 | (hpder : ∀ᵐ t ∂timeMeasure T, HasDerivAt p (momentumForcing T hT Q Q₁ H u f t) t) : |
| 153 | ∀ᵐ t ∂timeMeasure T, |
| 154 | gram (extendPath T hT Q t) (coordinateSecondDerivative T hT Q Q₁ Q₂ c hc hQ H u f t) = |
| 155 | (extendPath T hT Q t).adjoint |
| 156 | (f t - (2 : ℝ) • extendPath T hT Q₁ t |
| 157 | (coordinateDerivative T hT Q Q₁ c hc hQ u t)) := by |
| 158 | have hV := velocityRepresentative_h1 T hT Q Q₁ Q₂ c hc hQ hd hd₁ H u f huRange p hpAC hp hpder |
| 159 | have hmem : ∀ᵐ t ∂timeMeasure T, t ∈ Icc (0 : ℝ) T := |
| 160 | ae_restrict_mem measurableSet_Icc |
| 161 | have hG := operatorPath_hasDerivAt_ae T hT (gramPath T Q) (gramDerivativePath T Q Q₁) |
| 162 | (gramPath_hasDerivWithinAt T Q Q₁ hT hd) |
| 163 | have hC := operatorPath_hasDerivAt_ae T hT (mixedPath T Q Q₁) (mixedDerivativePath T Q Q₁ Q₂) |
| 164 | (mixedPath_hasDerivWithinAt T Q Q₁ Q₂ hT hd hd₁) |
| 165 | filter_upwards [hmem, hG, hC, hV.2.1, hV.2.2, |
| 166 | coordinatePrimitive_hasDerivAt_ae T hT Q Q₁ c hc hQ hd u, |
| 167 | hpder, momentumForcing_ae T hT Q Q₁ H u f, |
| 168 | coordinateDerivative_reconstruct_ae_of_range T hT Q Q₁ c hc hQ hd u huRange] |
| 169 | with t ht hGt hCt hvt hvdt hξt hpt hft hut |
| 170 | have hbalanceDer := (hGt.clm_apply hvdt).add (hCt.clm_apply hξt) |
| 171 | have hbalance := hpt.unique (hbalanceDer.congr_of_eventuallyEq |
| 172 | (Filter.Eventually.of_forall fun s => |
| 173 | (velocityRepresentative_momentum T hT Q Q₁ c hc hQ u p s).symm)) |
| 174 | rw [hft, ← hvt] at hbalance |
| 175 | have hη := coordinatePrimitive_reconstruct_of_range T hT Q c hc hQ u huRange ⟨t, ht⟩ |
| 176 | rw [← hη] at hbalance |
| 177 | simp only [extendPath, projIcc_of_mem hT ht] at hbalance hut ⊢ |
| 178 | exact projected_equation_of_momentum_balance (Q ⟨t, ht⟩) (Q₁ ⟨t, ht⟩) (Q₂ ⟨t, ht⟩) |
| 179 | (H ⟨t, ht⟩) (coordinatePrimitive T hT Q c hc hQ u t) |
| 180 | (coordinateDerivative T hT Q Q₁ c hc hQ u t) |
| 181 | (coordinateSecondDerivative T hT Q Q₁ Q₂ c hc hQ H u f t) (u t) (f t) |
| 182 | hut (hframe ⟨t, ht⟩) (by |
| 183 | change _ = |
| 184 | ((Q₁ ⟨t, ht⟩).adjoint.comp (Q ⟨t, ht⟩) + |
| 185 | (Q ⟨t, ht⟩).adjoint.comp (Q₁ ⟨t, ht⟩)) |
| 186 | (coordinateDerivative T hT Q Q₁ c hc hQ u t) + |
| 187 | gram (Q ⟨t, ht⟩) (coordinateSecondDerivative T hT Q Q₁ Q₂ c hc hQ H u f t) + |
| 188 | (((Q₁ ⟨t, ht⟩).adjoint.comp (Q₁ ⟨t, ht⟩) + |
| 189 | (Q ⟨t, ht⟩).adjoint.comp (Q₂ ⟨t, ht⟩)) |
| 190 | (coordinatePrimitive T hT Q c hc hQ u t) + |
| 191 | (Q ⟨t, ht⟩).adjoint ((Q₁ ⟨t, ht⟩) |
| 192 | (coordinateDerivative T hT Q Q₁ c hc hQ u t))) at hbalance |
| 193 | simpa only [add_assoc] using hbalance) |
| 194 | |
| 195 | include hd hd₁ in |
| 196 | /-- A general moving-frame weak solution has genuine H² coordinates and the |
| 197 | literal strong projected evolution. The hypotheses concern only the original |
| 198 | weak equation and the prescribed coefficient frame. -/ |
| 199 | theorem exists_strong_of_weak_momentum (hTpos : 0 < T) |
| 200 | (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) (u f : TimeLp T E) |
| 201 | (huRange : ∀ t : Icc (0 : ℝ) T, ∃ x : U, Q t x = realPrimitive T u t) |
| 202 | (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) |
| 203 | (hweak : ∀ v : TimeLp T U, initialTrace T hT v = 0 → |
| 204 | ⟪momentum T hT Q u, v⟫_ℝ = |
| 205 | -⟪momentumForcing T hT Q Q₁ H u f, primitiveTimeLp T hT v⟫_ℝ) : |
| 206 | ∃ v : ℝ → U, |
| 207 | AbsolutelyContinuousOnInterval (coordinatePrimitive T hT Q c hc hQ u) 0 T ∧ |
| 208 | AbsolutelyContinuousOnInterval v 0 T ∧ |
| 209 | (coordinateDerivative T hT Q Q₁ c hc hQ u : ℝ → U) =ᵐ[timeMeasure T] v ∧ |
| 210 | (∀ᵐ t ∂timeMeasure T, HasDerivAt (coordinatePrimitive T hT Q c hc hQ u) (v t) t) ∧ |
| 211 | (∀ᵐ t ∂timeMeasure T, |
| 212 | HasDerivAt v (coordinateSecondDerivative T hT Q Q₁ Q₂ c hc hQ H u f t) t) ∧ |
| 213 | ∀ᵐ t ∂timeMeasure T, |
| 214 | gram (extendPath T hT Q t) (coordinateSecondDerivative T hT Q Q₁ Q₂ c hc hQ H u f t) = |
| 215 | (extendPath T hT Q t).adjoint (f t - (2 : ℝ) • extendPath T hT Q₁ t (v t)) := by |
| 216 | obtain ⟨p, hpAC, hp, hpder⟩ := exists_ac_representative_of_weak T hTpos |
| 217 | (momentum T hT Q u) (momentumForcing T hT Q Q₁ H u f) hweak |
| 218 | have hV := velocityRepresentative_h1 T hT Q Q₁ Q₂ c hc hQ hd hd₁ H u f huRange p hpAC hp hpder |
| 219 | refine ⟨velocityRepresentative T hT Q Q₁ c hc hQ u p, |
| 220 | coordinatePrimitive_absolutelyContinuous T hT Q Q₁ c hc hQ hd u, |
| 221 | hV.1, hV.2.1, ?_, hV.2.2, ?_⟩ |
| 222 | · filter_upwards [coordinatePrimitive_hasDerivAt_ae T hT Q Q₁ c hc hQ hd u, |
| 223 | hV.2.1] with t hdt hvt |
| 224 | rw [← hvt] |
| 225 | exact hdt |
| 226 | · filter_upwards [velocityRepresentative_projected_equation T hT Q Q₁ Q₂ c hc hQ hd hd₁ |
| 227 | H u f huRange hframe p hpAC hp hpder, hV.2.1] with t he ht |
| 228 | rw [← ht] |
| 229 | exact he |
| 230 | |
| 231 | include hd hd₁ in |
| 232 | /-- The actual coercively constructed transverse solver satisfies the strong |
| 233 | projected equation (10), with genuine first and second time derivatives. -/ |
| 234 | theorem transverseSolver_strong (hTpos : 0 < T) |
| 235 | (m : Icc (0 : ℝ) T → E) |
| 236 | (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) |
| 237 | (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) |
| 238 | (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) (K : ℝ) (hK : 0 ≤ K) |
| 239 | (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖ ^ 2) |
| 240 | (hsmall : K * (T ^ 2 / 2) ≤ 1 / 2) |
| 241 | (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) (f : TimeLp T E) : |
| 242 | let u : TimeLp T E := transverseSolver T hT m H K hK hH hsmall f |
| 243 | ∃ v : ℝ → U, |
| 244 | AbsolutelyContinuousOnInterval (coordinatePrimitive T hT Q c hc hQ u) 0 T ∧ |
| 245 | AbsolutelyContinuousOnInterval v 0 T ∧ |
| 246 | (coordinateDerivative T hT Q Q₁ c hc hQ u : ℝ → U) =ᵐ[timeMeasure T] v ∧ |
| 247 | (∀ᵐ t ∂timeMeasure T, HasDerivAt (coordinatePrimitive T hT Q c hc hQ u) (v t) t) ∧ |
| 248 | (∀ᵐ t ∂timeMeasure T, |
| 249 | HasDerivAt v (coordinateSecondDerivative T hT Q Q₁ Q₂ c hc hQ H u f t) t) ∧ |
| 250 | ∀ᵐ t ∂timeMeasure T, |
| 251 | gram (extendPath T hT Q t) (coordinateSecondDerivative T hT Q Q₁ Q₂ c hc hQ H u f t) = |
| 252 | (extendPath T hT Q t).adjoint (f t - (2 : ℝ) • extendPath T hT Q₁ t (v t)) := by |
| 253 | apply exists_strong_of_weak_momentum T hT Q Q₁ Q₂ c hc hQ hd hd₁ hTpos H |
| 254 | · exact transverse_range T hT Q m hRange (transverseSolver T hT m H K hK hH hsmall f) |
| 255 | · exact hframe |
| 256 | · intro v hv |
| 257 | exact momentum_weak T hT Q Q₁ hd m hm H (transverseSolver T hT m H K hK hH hsmall f) f |
| 258 | (transverseSolver_weak T hT m H K hK hH hsmall f) v hv |
| 259 | |
| 260 | end EulerTransverseStrongEquation |