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.MeanSolenoidalReflection |
| 2 | import Euler.MeanTimeTranslation |
| 3 | import Euler.TimeH1ReconstructionNaturality |
| 4 | import Euler.MeanFixedSpaceInverse |
| 5 | |
| 6 | /-! |
| 7 | # Reflection covariance of the full mean variational inverse |
| 8 | |
| 9 | Every identity concerns the real time derivative, terminal primitive, initial |
| 10 | trace, and nonlocal boundary form. Uniqueness of the actual coercive inverse |
| 11 | then transports reflection without an assumed symmetry of a solution. |
| 12 | -/ |
| 13 | |
| 14 | /-! ## From `Euler/MeanTimeReflection.lean` |
| 15 | |
| 16 | The text of `Euler/MeanTimeReflection.lean`, folded into this file, which was its only importer. -/ |
| 17 | |
| 18 | section |
| 19 | |
| 20 | /-! Genuine spatial reflection on the mean time Hilbert spaces. -/ |
| 21 | |
| 22 | noncomputable section |
| 23 | |
| 24 | namespace EulerMeanTimeReflection |
| 25 | |
| 26 | open Set MeasureTheory InnerProductSpace ContinuousLinearMap EulerMeanSolenoidal |
| 27 | EulerTimeLp EulerTerminalTimePrimitive EulerTimeLpBoundedMap EulerTimeH1Reconstruction |
| 28 | |
| 29 | /-- Reflection restricted to the actual ordinary solenoidal subspace. -/ |
| 30 | def solenoidalReflection : solenoidalSpace →ₗᵢ[ℝ] solenoidalSpace where |
| 31 | toLinearMap := (reflection.toLinearMap.comp solenoidalSpace.subtype).codRestrict |
| 32 | solenoidalSpace (fun u => reflection_solenoidal_mem u.property) |
| 33 | norm_map' := fun u => reflection.norm_map (u : L2) |
| 34 | |
| 35 | @[simp] theorem solenoidalReflection_coe (u : solenoidalSpace) : |
| 36 | (solenoidalReflection u : L2) = reflection (u : L2) := rfl |
| 37 | |
| 38 | @[simp] theorem solenoidalReflection_involutive (u : solenoidalSpace) : |
| 39 | solenoidalReflection (solenoidalReflection u) = u := |
| 40 | Subtype.ext (reflection_involutive (u : L2)) |
| 41 | |
| 42 | def timeReflection (T : ℝ) : TimeLp T L2 →ₗᵢ[ℝ] TimeLp T L2 := |
| 43 | timeLiftIsometry T reflection |
| 44 | |
| 45 | def timeSolenoidalReflection (T : ℝ) : |
| 46 | TimeLp T solenoidalSpace →ₗᵢ[ℝ] TimeLp T solenoidalSpace := |
| 47 | timeLiftIsometry T solenoidalReflection |
| 48 | |
| 49 | theorem timeReflection_ae (T : ℝ) (u : TimeLp T L2) : |
| 50 | timeReflection T u =ᵐ[timeMeasure T] fun t => reflection (u t) := |
| 51 | timeLift_ae T reflection.toContinuousLinearMap u |
| 52 | |
| 53 | theorem timeSolenoidalReflection_ae (T : ℝ) (u : TimeLp T solenoidalSpace) : |
| 54 | timeSolenoidalReflection T u =ᵐ[timeMeasure T] fun t => solenoidalReflection (u t) := |
| 55 | timeLift_ae T solenoidalReflection.toContinuousLinearMap u |
| 56 | |
| 57 | @[simp] theorem timeReflection_involutive (T : ℝ) (u : TimeLp T L2) : |
| 58 | timeReflection T (timeReflection T u) = u := by |
| 59 | apply Lp.ext |
| 60 | filter_upwards [timeReflection_ae T (timeReflection T u), timeReflection_ae T u] with t h₁ h₂ |
| 61 | exact h₁.trans ((congrArg reflection h₂).trans (reflection_involutive (u t))) |
| 62 | |
| 63 | @[simp] theorem timeSolenoidalReflection_involutive (T : ℝ) (u : TimeLp T solenoidalSpace) : |
| 64 | timeSolenoidalReflection T (timeSolenoidalReflection T u) = u := by |
| 65 | apply Lp.ext |
| 66 | filter_upwards [timeSolenoidalReflection_ae T (timeSolenoidalReflection T u), |
| 67 | timeSolenoidalReflection_ae T u] with t h₁ h₂ |
| 68 | exact h₁.trans ((congrArg solenoidalReflection h₂).trans (solenoidalReflection_involutive (u t))) |
| 69 | |
| 70 | theorem timeReflection_initialTrace (T : ℝ) (hT : 0 ≤ T) (u : TimeLp T L2) : |
| 71 | initialTrace T hT (timeReflection T u) = reflection (initialTrace T hT u) := |
| 72 | initialTrace_timeLift T hT reflection.toContinuousLinearMap u |
| 73 | |
| 74 | theorem timeReflection_primitiveTimeLp (T : ℝ) (hT : 0 ≤ T) (u : TimeLp T L2) : |
| 75 | primitiveTimeLp T hT (timeReflection T u) = timeReflection T (primitiveTimeLp T hT u) := |
| 76 | primitiveTimeLp_timeLift T hT reflection.toContinuousLinearMap u |
| 77 | |
| 78 | theorem timeSolenoidalReflection_primitiveTimeLp (T : ℝ) (hT : 0 ≤ T) |
| 79 | (u : TimeLp T solenoidalSpace) : |
| 80 | primitiveTimeLp T hT (timeSolenoidalReflection T u) = |
| 81 | timeSolenoidalReflection T (primitiveTimeLp T hT u) := |
| 82 | primitiveTimeLp_timeLift T hT solenoidalReflection.toContinuousLinearMap u |
| 83 | |
| 84 | end EulerMeanTimeReflection |
| 85 | end |
| 86 | |
| 87 | end |
| 88 | |
| 89 | /-! ## From `Euler/MeanOperatorReflection.lean` |
| 90 | |
| 91 | The text of `Euler/MeanOperatorReflection.lean`, folded into this file, which was its only importer. -/ |
| 92 | |
| 93 | section |
| 94 | |
| 95 | /-! |
| 96 | # Reflection covariance of the full mean variational inverse |
| 97 | |
| 98 | Every identity concerns the real time derivative, terminal primitive, initial |
| 99 | trace, and nonlocal boundary form. Uniqueness of the actual coercive inverse |
| 100 | then transports reflection without an assumed symmetry of a solution. |
| 101 | -/ |
| 102 | |
| 103 | noncomputable section |
| 104 | |
| 105 | namespace EulerMeanFixedReflection |
| 106 | |
| 107 | open Set MeasureTheory InnerProductSpace ContinuousLinearMap EulerMeanSolenoidal |
| 108 | EulerTimeLp EulerTerminalTimePrimitive EulerMeanTimeReflection EulerVolterraConvolution |
| 109 | EulerMeanVariationalInverse EulerMeanFixedSpaceInverse EulerTimeH1OperatorProduct |
| 110 | EulerCoerciveProjection |
| 111 | |
| 112 | private local instance : NormedAddCommGroup L2 := inferInstance |
| 113 | private local instance : InnerProductSpace ℝ L2 := inferInstance |
| 114 | private local instance : NormedAddCommGroup solenoidalSpace := inferInstance |
| 115 | private local instance : InnerProductSpace ℝ solenoidalSpace := inferInstance |
| 116 | private local instance (T : ℝ) : NormedAddCommGroup (TimeLp T L2) := inferInstance |
| 117 | private local instance (T : ℝ) : InnerProductSpace ℝ (TimeLp T L2) := inferInstance |
| 118 | private local instance (T : ℝ) : NormedAddCommGroup (TimeLp T solenoidalSpace) := inferInstance |
| 119 | private local instance (T : ℝ) : InnerProductSpace ℝ (TimeLp T solenoidalSpace) := inferInstance |
| 120 | |
| 121 | def ReflectionInvariant (A : L2 →L[ℝ] L2) : Prop := |
| 122 | ∀ u, A (reflection u) = reflection (A u) |
| 123 | |
| 124 | theorem timeMultiplier_reflection (T : ℝ) (hT : 0 ≤ T) |
| 125 | (F : C(Icc (0 : ℝ) T,L2 →L[ℝ] L2)) (hF : ∀ t, ReflectionInvariant (F t)) |
| 126 | (u : TimeLp T L2) : |
| 127 | timeMultiplier T hT F (timeReflection T u) = timeReflection T (timeMultiplier T hT F u) := by |
| 128 | apply Lp.ext |
| 129 | filter_upwards [timeMultiplier_ae T hT F (timeReflection T u), timeReflection_ae T u, |
| 130 | timeReflection_ae T (timeMultiplier T hT F u), timeMultiplier_ae T hT F u] |
| 131 | with t h₁ h₂ h₃ h₄ |
| 132 | exact (h₁.trans (congrArg (F (projIcc 0 T hT t)) h₂)).trans |
| 133 | ((hF (projIcc 0 T hT t) (u t)).trans ((congrArg reflection h₄).symm.trans h₃.symm)) |
| 134 | |
| 135 | theorem frameMultiplier_reflection (T : ℝ) (hT : 0 ≤ T) |
| 136 | (F : C(Icc (0 : ℝ) T,L2 →L[ℝ] L2)) (hF : ∀ t, ReflectionInvariant (F t)) |
| 137 | (u : TimeLp T solenoidalSpace) : |
| 138 | timeMultiplier T hT (solenoidalFrame T F) (timeSolenoidalReflection T u) = |
| 139 | timeReflection T (timeMultiplier T hT (solenoidalFrame T F) u) := by |
| 140 | apply Lp.ext |
| 141 | filter_upwards [timeMultiplier_ae T hT (solenoidalFrame T F) (timeSolenoidalReflection T u), |
| 142 | timeSolenoidalReflection_ae T u, |
| 143 | timeReflection_ae T (timeMultiplier T hT (solenoidalFrame T F) u), |
| 144 | timeMultiplier_ae T hT (solenoidalFrame T F) u] with t h₁ h₂ h₃ h₄ |
| 145 | have h₂' := congrArg (fun z : solenoidalSpace => (z : L2)) h₂ |
| 146 | change (timeSolenoidalReflection T u t : L2) = reflection (u t : L2) at h₂' |
| 147 | exact (h₁.trans (congrArg (F (projIcc 0 T hT t)) h₂')).trans |
| 148 | ((hF (projIcc 0 T hT t) (u t : L2)).trans ((congrArg reflection h₄).symm.trans h₃.symm)) |
| 149 | |
| 150 | |
| 151 | end EulerMeanFixedReflection |
| 152 | end |
| 153 | |
| 154 | end |
| 155 | |
| 156 | noncomputable section |
| 157 | |
| 158 | namespace EulerMeanFixedReflection |
| 159 | |
| 160 | open Set MeasureTheory InnerProductSpace ContinuousLinearMap EulerMeanSolenoidal |
| 161 | EulerTimeLp EulerTerminalTimePrimitive EulerMeanTimeReflection EulerVolterraConvolution |
| 162 | EulerMeanVariationalInverse EulerMeanFixedSpaceInverse EulerTimeH1OperatorProduct |
| 163 | EulerCoerciveProjection |
| 164 | |
| 165 | private local instance : NormedAddCommGroup L2 := inferInstance |
| 166 | private local instance : InnerProductSpace ℝ L2 := inferInstance |
| 167 | private local instance : NormedAddCommGroup solenoidalSpace := inferInstance |
| 168 | private local instance : InnerProductSpace ℝ solenoidalSpace := inferInstance |
| 169 | private local instance (T : ℝ) : NormedAddCommGroup (TimeLp T L2) := inferInstance |
| 170 | private local instance (T : ℝ) : InnerProductSpace ℝ (TimeLp T L2) := inferInstance |
| 171 | private local instance (T : ℝ) : NormedAddCommGroup (TimeLp T solenoidalSpace) := inferInstance |
| 172 | private local instance (T : ℝ) : InnerProductSpace ℝ (TimeLp T solenoidalSpace) := inferInstance |
| 173 | |
| 174 | variable (T : ℝ) (hT : 0 ≤ T) |
| 175 | (F F₁ H : C(Icc (0 : ℝ) T,L2 →L[ℝ] L2)) (M0 A : L2 →L[ℝ] L2) (L : ℝ) |
| 176 | (hF : ∀ t, ReflectionInvariant (F t)) (hF₁ : ∀ t, ReflectionInvariant (F₁ t)) |
| 177 | (hH : ∀ t, ReflectionInvariant (H t)) (hM0 : ReflectionInvariant M0) (hA : ReflectionInvariant A) |
| 178 | |
| 179 | include hF hF₁ in |
| 180 | theorem fixedMeanDerivative_reflection (u : TimeLp T solenoidalSpace) : |
| 181 | fixedMeanDerivative T hT F F₁ (timeSolenoidalReflection T u) = |
| 182 | timeReflection T (fixedMeanDerivative T hT F F₁ u) := by |
| 183 | change timeMultiplier T hT (solenoidalFrame T F₁) |
| 184 | (primitiveTimeLp T hT (timeSolenoidalReflection T u))+ |
| 185 | timeMultiplier T hT (solenoidalFrame T F) (timeSolenoidalReflection T u) = _ |
| 186 | have h₁ := (congrArg (timeMultiplier T hT (solenoidalFrame T F₁)) |
| 187 | (timeSolenoidalReflection_primitiveTimeLp T hT u)).trans |
| 188 | (frameMultiplier_reflection T hT F₁ hF₁ (primitiveTimeLp T hT u)) |
| 189 | exact (congrArg₂ (fun x y : TimeLp T L2 => x+y) h₁ |
| 190 | (frameMultiplier_reflection T hT F hF u)).trans ((timeReflection T).map_add _ _).symm |
| 191 | |
| 192 | include hF hF₁ in |
| 193 | theorem fixedMeanPrimitive_reflection (u : TimeLp T solenoidalSpace) : |
| 194 | fixedMeanPrimitive T hT F F₁ (timeSolenoidalReflection T u) = |
| 195 | timeReflection T (fixedMeanPrimitive T hT F F₁ u) := |
| 196 | (congrArg (primitiveTimeLp T hT) (fixedMeanDerivative_reflection T hT F F₁ hF hF₁ u)).trans |
| 197 | (timeReflection_primitiveTimeLp T hT (fixedMeanDerivative T hT F F₁ u)) |
| 198 | |
| 199 | include hF hF₁ in |
| 200 | theorem fixedMeanTrace_reflection (u : TimeLp T solenoidalSpace) : |
| 201 | fixedMeanTrace T hT F F₁ (timeSolenoidalReflection T u) = |
| 202 | reflection (fixedMeanTrace T hT F F₁ u) := |
| 203 | (congrArg (initialTrace T hT) (fixedMeanDerivative_reflection T hT F F₁ hF hF₁ u)).trans |
| 204 | (timeReflection_initialTrace T hT (fixedMeanDerivative T hT F F₁ u)) |
| 205 | |
| 206 | include hM0 hA in |
| 207 | theorem boundaryCoefficient_reflection (u : L2) : |
| 208 | (M0+L • A) (reflection u) = reflection ((M0+L • A) u) := by |
| 209 | simp only [add_apply, smul_apply, hM0 u, hA u, map_add, map_smul] |
| 210 | |
| 211 | include hF hF₁ hH hM0 hA in |
| 212 | theorem fixedMeanForm_reflection (u v : TimeLp T solenoidalSpace) : |
| 213 | ⟪fixedMeanOperator T hT F F₁ H M0 A L (timeSolenoidalReflection T u), |
| 214 | timeSolenoidalReflection T v⟫_ℝ = ⟪fixedMeanOperator T hT F F₁ H M0 A L u,v⟫_ℝ := by |
| 215 | have hD (z) := fixedMeanDerivative_reflection T hT F F₁ hF hF₁ z |
| 216 | have hJ (z) := fixedMeanPrimitive_reflection T hT F F₁ hF hF₁ z |
| 217 | have hR (z) := fixedMeanTrace_reflection T hT F F₁ hF hF₁ z |
| 218 | have hkin := (congrArg₂ (fun x y : TimeLp T L2 => ⟪x,y⟫_ℝ) (hD u) (hD v)).trans |
| 219 | ((timeReflection T).inner_map_map _ _) |
| 220 | have hHJ := (congrArg (timeMultiplier T hT H) (hJ u)).trans |
| 221 | (timeMultiplier_reflection T hT H hH (fixedMeanPrimitive T hT F F₁ u)) |
| 222 | have hpot := (congrArg₂ (fun x y : TimeLp T L2 => ⟪x,y⟫_ℝ) hHJ (hJ v)).trans |
| 223 | ((timeReflection T).inner_map_map _ _) |
| 224 | have hCR := (congrArg (M0+L • A) (hR u)).trans |
| 225 | (boundaryCoefficient_reflection M0 A L hM0 hA (fixedMeanTrace T hT F F₁ u)) |
| 226 | have hb := (congrArg₂ (fun x y : L2 => ⟪x,y⟫_ℝ) hCR (hR v)).trans |
| 227 | (reflection.inner_map_map _ _) |
| 228 | exact (fixedMeanOperator_inner T hT F F₁ H M0 A L _ _).trans |
| 229 | ((congrArg₂ (fun x y : ℝ => x+y) (congrArg₂ (fun x y : ℝ => x-y) hkin hpot) hb).trans |
| 230 | (fixedMeanOperator_inner T hT F F₁ H M0 A L u v).symm) |
| 231 | |
| 232 | theorem eq_of_reflected_pairing (x y : TimeLp T solenoidalSpace) |
| 233 | (h : ∀ v, ⟪x,timeSolenoidalReflection T v⟫_ℝ = ⟪y,timeSolenoidalReflection T v⟫_ℝ) : x = y := by |
| 234 | apply ext_inner_right ℝ |
| 235 | intro v |
| 236 | have hi := timeSolenoidalReflection_involutive T v |
| 237 | exact (congrArg (fun z : TimeLp T solenoidalSpace => ⟪x,z⟫_ℝ) hi).symm.trans |
| 238 | ((h (timeSolenoidalReflection T v)).trans |
| 239 | (congrArg (fun z : TimeLp T solenoidalSpace => ⟪y,z⟫_ℝ) hi)) |
| 240 | |
| 241 | include hF hF₁ hH hM0 hA in |
| 242 | theorem fixedMeanOperator_reflection (u : TimeLp T solenoidalSpace) : |
| 243 | fixedMeanOperator T hT F F₁ H M0 A L (timeSolenoidalReflection T u) = |
| 244 | timeSolenoidalReflection T (fixedMeanOperator T hT F F₁ H M0 A L u) := by |
| 245 | apply eq_of_reflected_pairing T |
| 246 | intro v |
| 247 | exact (fixedMeanForm_reflection T hT F F₁ H M0 A L hF hF₁ hH hM0 hA u v).trans |
| 248 | ((timeSolenoidalReflection T).inner_map_map _ _).symm |
| 249 | |
| 250 | include hF hF₁ in |
| 251 | theorem fixedMeanPrimitive_adjoint_reflection (f : TimeLp T L2) : |
| 252 | (fixedMeanPrimitive T hT F F₁).adjoint (timeReflection T f) = |
| 253 | timeSolenoidalReflection T ((fixedMeanPrimitive T hT F F₁).adjoint f) := by |
| 254 | apply eq_of_reflected_pairing T |
| 255 | intro v |
| 256 | exact (adjoint_inner_left (fixedMeanPrimitive T hT F F₁) |
| 257 | (timeSolenoidalReflection T v) (timeReflection T f)).trans |
| 258 | ((congrArg (fun z : TimeLp T L2 => ⟪timeReflection T f,z⟫_ℝ) |
| 259 | (fixedMeanPrimitive_reflection T hT F F₁ hF hF₁ v)).trans |
| 260 | (((timeReflection T).inner_map_map f (fixedMeanPrimitive T hT F F₁ v)).trans |
| 261 | ((adjoint_inner_left (fixedMeanPrimitive T hT F F₁) v f).symm.trans |
| 262 | ((timeSolenoidalReflection T).inner_map_map ((fixedMeanPrimitive T hT F F₁).adjoint f) v).symm))) |
| 263 | |
| 264 | include hF hF₁ hH hM0 hA in |
| 265 | /-- Uniqueness of the actual coercive solve forces reflection covariance. -/ |
| 266 | theorem coerciveSolution_reflection (c : ℝ) (hc : 0 < c) |
| 267 | (hO : ∀ v, c*‖v‖^2 ≤ ⟪fixedMeanOperator T hT F F₁ H M0 A L v,v⟫_ℝ) |
| 268 | (f : TimeLp T L2) : |
| 269 | timeSolenoidalReflection T |
| 270 | (coerciveInverse (fixedMeanOperator T hT F F₁ H M0 A L) c hc hO |
| 271 | (-(fixedMeanPrimitive T hT F F₁).adjoint f)) = |
| 272 | coerciveInverse (fixedMeanOperator T hT F F₁ H M0 A L) c hc hO |
| 273 | (-(fixedMeanPrimitive T hT F F₁).adjoint (timeReflection T f)) := by |
| 274 | apply (coerciveEquiv (fixedMeanOperator T hT F F₁ H M0 A L) c hc hO).injective |
| 275 | simp only [coerciveEquiv_apply] |
| 276 | change fixedMeanOperator T hT F F₁ H M0 A L (timeSolenoidalReflection T |
| 277 | (coerciveInverse (fixedMeanOperator T hT F F₁ H M0 A L) c hc hO |
| 278 | (-(fixedMeanPrimitive T hT F F₁).adjoint f))) = |
| 279 | fixedMeanOperator T hT F F₁ H M0 A L |
| 280 | (coerciveInverse (fixedMeanOperator T hT F F₁ H M0 A L) c hc hO |
| 281 | (-(fixedMeanPrimitive T hT F F₁).adjoint (timeReflection T f))) |
| 282 | exact (fixedMeanOperator_reflection T hT F F₁ H M0 A L hF hF₁ hH hM0 hA _).trans |
| 283 | ((congrArg (timeSolenoidalReflection T) |
| 284 | (operator_inverse_apply (fixedMeanOperator T hT F F₁ H M0 A L) c hc hO _)).trans |
| 285 | (((timeSolenoidalReflection T).map_neg _).trans |
| 286 | ((congrArg Neg.neg (fixedMeanPrimitive_adjoint_reflection T hT F F₁ hF hF₁ f).symm).trans |
| 287 | (operator_inverse_apply (fixedMeanOperator T hT F F₁ H M0 A L) c hc hO _).symm))) |
| 288 | |
| 289 | end EulerMeanFixedReflection |