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.TransverseFixedSpaceInverse |
| 2 | import Euler.TimeLpBoundedMap |
| 3 | import Euler.TransverseFixedEvolution |
| 4 | import Euler.TimeH1ReconstructionNaturality |
| 5 | |
| 6 | /-! |
| 7 | # Naturality of the genuine continuous Dirichlet velocity |
| 8 | |
| 9 | The constructed coordinate acceleration and its bounded H¹ reconstruction |
| 10 | commute with the same spatial intertwiners as the variational inverse. This |
| 11 | transports the actual continuous history path, including its endpoint values. |
| 12 | -/ |
| 13 | |
| 14 | /-! ## From `Euler/FixedFrameNaturality.lean` |
| 15 | |
| 16 | The text of `Euler/FixedFrameNaturality.lean`, folded into this file, which was its only importer. -/ |
| 17 | |
| 18 | section |
| 19 | |
| 20 | /-! |
| 21 | # Naturality of the actual fixed-frame Dirichlet inverse |
| 22 | |
| 23 | Bounded spatial maps preserving the coefficients and their adjoint test maps |
| 24 | commute with the constructed coercive solve. This covers translations and |
| 25 | spatial support projections on actual L², not just pointwise model solutions. |
| 26 | -/ |
| 27 | |
| 28 | noncomputable section |
| 29 | |
| 30 | namespace EulerFixedFrameNaturality |
| 31 | |
| 32 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerTimeLp |
| 33 | EulerTerminalTimePrimitive EulerVolterraConvolution EulerTimeH1OperatorProduct |
| 34 | EulerTimeH1FrameTransport EulerTransverseFixedSpaceInverse EulerTimeLpBoundedMap |
| 35 | |
| 36 | variable {U V E F : Type*} |
| 37 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 38 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 39 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 40 | [NormedAddCommGroup F] [InnerProductSpace ℝ F] [CompleteSpace F] |
| 41 | (T : ℝ) (hT : 0 ≤ T) |
| 42 | |
| 43 | /-- The genuine bounded spatial map on the fixed zero-trace derivative space. -/ |
| 44 | def zeroTraceMap (A : U →L[ℝ] V) : |
| 45 | zeroTraceDerivatives (U := U) T hT →L[ℝ] zeroTraceDerivatives (U := V) T hT := |
| 46 | ((timeLift T A).comp (zeroTraceDerivatives (U := U) T hT).subtypeL).codRestrict |
| 47 | (zeroTraceDerivatives (U := V) T hT) (fun u => by |
| 48 | change initialTrace T hT (timeLift T A (u : TimeLp T U)) = 0 |
| 49 | have hu : initialTrace T hT (u : TimeLp T U) = 0 := u.property |
| 50 | rw [initialTrace_timeLift,hu,map_zero]) |
| 51 | |
| 52 | @[simp] theorem zeroTraceMap_coe (A : U →L[ℝ] V) (u : zeroTraceDerivatives (U := U) T hT) : |
| 53 | (zeroTraceMap T hT A u : TimeLp T V) = timeLift T A (u : TimeLp T U) := rfl |
| 54 | |
| 55 | omit [CompleteSpace U] [CompleteSpace V] [CompleteSpace E] [CompleteSpace F] in |
| 56 | theorem timeMultiplier_intertwines (A : U →L[ℝ] V) (B : E →L[ℝ] F) |
| 57 | (Q : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (R : C(Icc (0 : ℝ) T,V →L[ℝ] F)) |
| 58 | (hQR : ∀ t u, R t (A u) = B (Q t u)) (u : TimeLp T U) : |
| 59 | timeMultiplier T hT R (timeLift T A u) = timeLift T B (timeMultiplier T hT Q u) := by |
| 60 | apply Lp.ext |
| 61 | filter_upwards [timeMultiplier_ae T hT R (timeLift T A u),timeLift_ae T A u, |
| 62 | timeLift_ae T B (timeMultiplier T hT Q u),timeMultiplier_ae T hT Q u] with t hr ha hb hq |
| 63 | rw [hr,ha,hb,hq] |
| 64 | exact hQR (projIcc 0 T hT t) (u t) |
| 65 | |
| 66 | omit [CompleteSpace E] [CompleteSpace F] in |
| 67 | theorem productDerivative_intertwines (A : U →L[ℝ] V) (B : E →L[ℝ] F) |
| 68 | (Q Q₁ : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (R R₁ : C(Icc (0 : ℝ) T,V →L[ℝ] F)) |
| 69 | (hQR : ∀ t u, R t (A u) = B (Q t u)) |
| 70 | (hQR₁ : ∀ t u, R₁ t (A u) = B (Q₁ t u)) (u : TimeLp T U) : |
| 71 | productDerivative T hT R R₁ (timeLift T A u) = timeLift T B (productDerivative T hT Q Q₁ u) := by |
| 72 | change timeMultiplier T hT R₁ (primitiveTimeLp T hT (timeLift T A u))+ |
| 73 | timeMultiplier T hT R (timeLift T A u) = |
| 74 | timeLift T B (timeMultiplier T hT Q₁ (primitiveTimeLp T hT u)+timeMultiplier T hT Q u) |
| 75 | rw [primitiveTimeLp_timeLift,timeMultiplier_intertwines T hT A B Q₁ R₁ hQR₁, |
| 76 | timeMultiplier_intertwines T hT A B Q R hQR,map_add] |
| 77 | |
| 78 | omit [CompleteSpace E] [CompleteSpace F] in |
| 79 | theorem fixedDerivative_intertwines (A : U →L[ℝ] V) (B : E →L[ℝ] F) |
| 80 | (Q Q₁ : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (R R₁ : C(Icc (0 : ℝ) T,V →L[ℝ] F)) |
| 81 | (hQR : ∀ t u, R t (A u) = B (Q t u)) |
| 82 | (hQR₁ : ∀ t u, R₁ t (A u) = B (Q₁ t u)) (u : zeroTraceDerivatives (U := U) T hT) : |
| 83 | fixedFrameDerivative T hT R R₁ (zeroTraceMap T hT A u) = |
| 84 | timeLift T B (fixedFrameDerivative T hT Q Q₁ u) := |
| 85 | productDerivative_intertwines T hT A B Q Q₁ R R₁ hQR hQR₁ (u : TimeLp T U) |
| 86 | |
| 87 | theorem fixedPrimitive_intertwines (A : U →L[ℝ] V) (B : E →L[ℝ] F) |
| 88 | (Q Q₁ : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (R R₁ : C(Icc (0 : ℝ) T,V →L[ℝ] F)) |
| 89 | (hQR : ∀ t u, R t (A u) = B (Q t u)) |
| 90 | (hQR₁ : ∀ t u, R₁ t (A u) = B (Q₁ t u)) (u : zeroTraceDerivatives (U := U) T hT) : |
| 91 | fixedFramePrimitive T hT R R₁ (zeroTraceMap T hT A u) = |
| 92 | timeLift T B (fixedFramePrimitive T hT Q Q₁ u) := by |
| 93 | change primitiveTimeLp T hT (fixedFrameDerivative T hT R R₁ (zeroTraceMap T hT A u)) = _ |
| 94 | rw [fixedDerivative_intertwines T hT A B Q Q₁ R R₁ hQR hQR₁, |
| 95 | primitiveTimeLp_timeLift] |
| 96 | rfl |
| 97 | |
| 98 | /-- A coefficient intertwiner and its adjoint preserve the actual variational |
| 99 | solve, as follows by testing against the genuine pulled-back test field. -/ |
| 100 | theorem fixedFrameSolver_intertwines |
| 101 | (A : U →L[ℝ] V) (B : E →L[ℝ] F) |
| 102 | (Q Q₁ : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (R R₁ : C(Icc (0 : ℝ) T,V →L[ℝ] F)) |
| 103 | (H : C(Icc (0 : ℝ) T,E →L[ℝ] E)) (J : C(Icc (0 : ℝ) T,F →L[ℝ] F)) |
| 104 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t u, c*‖u‖^2 ≤ ‖Q t u‖^2) |
| 105 | (d : ℝ) (hd : 0 < d) (hR : ∀ t v, d*‖v‖^2 ≤ ‖R t v‖^2) |
| 106 | (hQtime : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 107 | (hRtime : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT R) (R₁ t) (Icc (0 : ℝ) T) t) |
| 108 | (K L : ℝ) (hK : 0 ≤ K) (hL : 0 ≤ L) |
| 109 | (hH : ∀ t u, ⟪H t u,u⟫_ℝ ≤ K*‖u‖^2) (hJ : ∀ t v, ⟪J t v,v⟫_ℝ ≤ L*‖v‖^2) |
| 110 | (hsmall : K*(T^2/2) ≤ 1/2) (hsmall' : L*(T^2/2) ≤ 1/2) |
| 111 | (hQR : ∀ t u, R t (A u) = B (Q t u)) |
| 112 | (hQR₁ : ∀ t u, R₁ t (A u) = B (Q₁ t u)) |
| 113 | (hRQ : ∀ t v, Q t (A.adjoint v) = B.adjoint (R t v)) |
| 114 | (hRQ₁ : ∀ t v, Q₁ t (A.adjoint v) = B.adjoint (R₁ t v)) |
| 115 | (hHJ : ∀ t u, J t (B u) = B (H t u)) (f : TimeLp T E) : |
| 116 | zeroTraceMap T hT A (fixedFrameSolver T hT Q Q₁ H c hc hQ hQtime K hK hH hsmall f) = |
| 117 | fixedFrameSolver T hT R R₁ J d hd hR hRtime L hL hJ hsmall' (timeLift T B f) := by |
| 118 | apply fixedFrameSolver_unique T hT R R₁ J d hd hR hRtime L hL hJ hsmall' |
| 119 | intro v |
| 120 | have hw := fixedFrameSolver_weak T hT Q Q₁ H c hc hQ hQtime K hK hH hsmall f |
| 121 | (zeroTraceMap T hT A.adjoint v) |
| 122 | rw [fixedDerivative_intertwines T hT A.adjoint B.adjoint R R₁ Q Q₁ hRQ hRQ₁, |
| 123 | fixedPrimitive_intertwines T hT A.adjoint B.adjoint R R₁ Q Q₁ hRQ hRQ₁] at hw |
| 124 | simp only [← timeLift_adjoint,adjoint_inner_right] at hw |
| 125 | rw [fixedDerivative_intertwines T hT A B Q Q₁ R R₁ hQR hQR₁, |
| 126 | fixedPrimitive_intertwines T hT A B Q Q₁ R R₁ hQR hQR₁, |
| 127 | timeMultiplier_intertwines T hT B B H J hHJ] |
| 128 | exact hw |
| 129 | |
| 130 | end EulerFixedFrameNaturality |
| 131 | end |
| 132 | |
| 133 | end |
| 134 | |
| 135 | noncomputable section |
| 136 | |
| 137 | namespace EulerFixedFrameNaturality |
| 138 | |
| 139 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace EulerTimeLp |
| 140 | EulerVolterraConvolution EulerTimeLpBoundedMap EulerTimeLpGramInverse |
| 141 | EulerCoerciveProjection EulerTransverseFixedEvolution EulerTimeH1Reconstruction |
| 142 | EulerTimeH1FrameTransport |
| 143 | |
| 144 | variable {U V E F : Type*} |
| 145 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 146 | [NormedAddCommGroup V] [InnerProductSpace ℝ V] [CompleteSpace V] |
| 147 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 148 | [NormedAddCommGroup F] [InnerProductSpace ℝ F] [CompleteSpace F] |
| 149 | (T : ℝ) (hT : 0 ≤ T) |
| 150 | |
| 151 | /-- The backward test intertwiner gives the actual adjoint-multiplier identity. -/ |
| 152 | theorem adjointMultiplier_intertwines (A : U →L[ℝ] V) (B : E →L[ℝ] F) |
| 153 | (Q : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (R : C(Icc (0 : ℝ) T,V →L[ℝ] F)) |
| 154 | (hRQ : ∀ t v, Q t (A.adjoint v) = B.adjoint (R t v)) (f : TimeLp T E) : |
| 155 | (timeMultiplier T hT R).adjoint (timeLift T B f) = |
| 156 | timeLift T A ((timeMultiplier T hT Q).adjoint f) := by |
| 157 | apply ext_inner_right ℝ |
| 158 | intro v |
| 159 | rw [adjoint_inner_left,← adjoint_inner_right, timeLift_adjoint, |
| 160 | ← timeMultiplier_intertwines T hT A.adjoint B.adjoint R Q hRQ, |
| 161 | ← adjoint_inner_left,← timeLift_adjoint,adjoint_inner_right] |
| 162 | |
| 163 | /-- The true Gram operator commutes with compatible rectangular intertwiners. -/ |
| 164 | theorem gramOperator_intertwines (A : U →L[ℝ] V) (B : E →L[ℝ] F) |
| 165 | (Q : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (R : C(Icc (0 : ℝ) T,V →L[ℝ] F)) |
| 166 | (hQR : ∀ t u, R t (A u) = B (Q t u)) |
| 167 | (hRQ : ∀ t v, Q t (A.adjoint v) = B.adjoint (R t v)) (u : TimeLp T U) : |
| 168 | gramOperator T hT R (timeLift T A u) = timeLift T A (gramOperator T hT Q u) := by |
| 169 | change (timeMultiplier T hT R).adjoint (timeMultiplier T hT R (timeLift T A u)) = _ |
| 170 | rw [timeMultiplier_intertwines T hT A B Q R hQR, |
| 171 | adjointMultiplier_intertwines T hT A B Q R hRQ] |
| 172 | rfl |
| 173 | |
| 174 | /-- The constructed Gram inverse inherits the intertwining identity by its |
| 175 | two-sided inverse property. -/ |
| 176 | theorem gramSolver_intertwines (A : U →L[ℝ] V) (B : E →L[ℝ] F) |
| 177 | (Q : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (R : C(Icc (0 : ℝ) T,V →L[ℝ] F)) |
| 178 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t u, c*‖u‖^2 ≤ ‖Q t u‖^2) |
| 179 | (d : ℝ) (hd : 0 < d) (hR : ∀ t v, d*‖v‖^2 ≤ ‖R t v‖^2) |
| 180 | (hQR : ∀ t u, R t (A u) = B (Q t u)) |
| 181 | (hRQ : ∀ t v, Q t (A.adjoint v) = B.adjoint (R t v)) (f : TimeLp T U) : |
| 182 | gramSolver T hT R d hd hR (timeLift T A f) = |
| 183 | timeLift T A (gramSolver T hT Q c hc hQ f) := by |
| 184 | have he := gramOperator_intertwines T hT A B Q R hQR hRQ |
| 185 | (gramSolver T hT Q c hc hQ f) |
| 186 | change gramOperator T hT R (timeLift T A (gramSolver T hT Q c hc hQ f)) = |
| 187 | timeLift T A (gramOperator T hT Q (coerciveInverse (gramOperator T hT Q) c hc |
| 188 | (gramOperator_coercive T hT Q c hQ) f)) at he |
| 189 | rw [operator_inverse_apply] at he |
| 190 | have hi := inverse_operator_apply (gramOperator T hT R) d hd |
| 191 | (gramOperator_coercive T hT R d hR) (timeLift T A (gramSolver T hT Q c hc hQ f)) |
| 192 | rw [he] at hi |
| 193 | exact hi |
| 194 | |
| 195 | variable (A : U →L[ℝ] V) (B : E →L[ℝ] F) |
| 196 | (Q Q₁ : C(Icc (0 : ℝ) T,U →L[ℝ] E)) (R R₁ : C(Icc (0 : ℝ) T,V →L[ℝ] F)) |
| 197 | (H : C(Icc (0 : ℝ) T,E →L[ℝ] E)) (J : C(Icc (0 : ℝ) T,F →L[ℝ] F)) |
| 198 | (c : ℝ) (hc : 0 < c) (hQ : ∀ t u, c*‖u‖^2 ≤ ‖Q t u‖^2) |
| 199 | (d : ℝ) (hd : 0 < d) (hR : ∀ t v, d*‖v‖^2 ≤ ‖R t v‖^2) |
| 200 | (hQtime : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 201 | (hRtime : ∀ t : Icc (0 : ℝ) T, HasDerivWithinAt (extendPath T hT R) (R₁ t) (Icc (0 : ℝ) T) t) |
| 202 | (K L : ℝ) (hK : 0 ≤ K) (hL : 0 ≤ L) |
| 203 | (hH : ∀ t u, ⟪H t u,u⟫_ℝ ≤ K*‖u‖^2) (hJ : ∀ t v, ⟪J t v,v⟫_ℝ ≤ L*‖v‖^2) |
| 204 | (hsmall : K*(T^2/2) ≤ 1/2) (hsmall' : L*(T^2/2) ≤ 1/2) |
| 205 | (hQR : ∀ t u, R t (A u) = B (Q t u)) |
| 206 | (hQR₁ : ∀ t u, R₁ t (A u) = B (Q₁ t u)) |
| 207 | (hRQ : ∀ t v, Q t (A.adjoint v) = B.adjoint (R t v)) |
| 208 | (hRQ₁ : ∀ t v, Q₁ t (A.adjoint v) = B.adjoint (R₁ t v)) |
| 209 | (hHJ : ∀ t u, J t (B u) = B (H t u)) |
| 210 | |
| 211 | include hQR hQR₁ hRQ hRQ₁ hHJ in |
| 212 | theorem velocityLp_intertwines (f : TimeLp T E) : |
| 213 | velocityLp T hT R R₁ J d hd hR hRtime L hL hJ hsmall' (timeLift T B f) = |
| 214 | timeLift T A (velocityLp T hT Q Q₁ H c hc hQ hQtime K hK hH hsmall f) := by |
| 215 | have he := fixedFrameSolver_intertwines T hT A B Q Q₁ R R₁ H J |
| 216 | c hc hQ d hd hR hQtime hRtime K L hK hL hH hJ hsmall hsmall' |
| 217 | hQR hQR₁ hRQ hRQ₁ hHJ f |
| 218 | have he' := congrArg (fun z : zeroTraceDerivatives (U := V) T hT => (z : TimeLp T V)) he |
| 219 | exact he'.symm |
| 220 | |
| 221 | include hQR hQR₁ hRQ hRQ₁ hHJ in |
| 222 | theorem accelerationLp_intertwines (f : TimeLp T E) : |
| 223 | accelerationLp T hT R R₁ J d hd hR hRtime L hL hJ hsmall' (timeLift T B f) = |
| 224 | timeLift T A (accelerationLp T hT Q Q₁ H c hc hQ hQtime K hK hH hsmall f) := by |
| 225 | change gramSolver T hT R d hd hR ((timeMultiplier T hT R).adjoint |
| 226 | (timeLift T B f-(2 : ℝ) • timeMultiplier T hT R₁ |
| 227 | (velocityLp T hT R R₁ J d hd hR hRtime L hL hJ hsmall' (timeLift T B f)))) = _ |
| 228 | rw [velocityLp_intertwines T hT A B Q Q₁ R R₁ H J c hc hQ d hd hR hQtime hRtime |
| 229 | K L hK hL hH hJ hsmall hsmall' hQR hQR₁ hRQ hRQ₁ hHJ, |
| 230 | timeMultiplier_intertwines T hT A B Q₁ R₁ hQR₁, |
| 231 | ← map_smul,← map_sub,adjointMultiplier_intertwines T hT A B Q R hRQ, |
| 232 | gramSolver_intertwines T hT A B Q R c hc hQ d hd hR hQR hRQ] |
| 233 | rfl |
| 234 | |
| 235 | include hQR hQR₁ hRQ hRQ₁ hHJ in |
| 236 | /-- The identity holds at every time, including the endpoint used by the |
| 237 | subsequent forward solve. -/ |
| 238 | theorem velocityPath_intertwines (f : TimeLp T E) (t : Icc (0 : ℝ) T) : |
| 239 | velocityPath T hT R R₁ J d hd hR hRtime L hL hJ hsmall' (timeLift T B f) t = |
| 240 | A (velocityPath T hT Q Q₁ H c hc hQ hQtime K hK hH hsmall f t) := by |
| 241 | change reconstruction T hT |
| 242 | (velocityLp T hT R R₁ J d hd hR hRtime L hL hJ hsmall' (timeLift T B f), |
| 243 | accelerationLp T hT R R₁ J d hd hR hRtime L hL hJ hsmall' (timeLift T B f)) t = _ |
| 244 | rw [velocityLp_intertwines T hT A B Q Q₁ R R₁ H J c hc hQ d hd hR hQtime hRtime |
| 245 | K L hK hL hH hJ hsmall hsmall' hQR hQR₁ hRQ hRQ₁ hHJ, |
| 246 | accelerationLp_intertwines T hT A B Q Q₁ R R₁ H J c hc hQ d hd hR hQtime hRtime |
| 247 | K L hK hL hH hJ hsmall hsmall' hQR hQR₁ hRQ hRQ₁ hHJ, |
| 248 | reconstruction_timeLift] |
| 249 | rfl |
| 250 | |
| 251 | end EulerFixedFrameNaturality |