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.TransverseStrongEquation |
| 2 | |
| 3 | /-! |
| 4 | # Quantitative bounds for the actual transverse coordinate inverse |
| 5 | |
| 6 | These bounds use the lower frame constant and coefficient norms. In particular |
| 7 | no exponential dependence on the undifferentiated coefficient norm is introduced. |
| 8 | -/ |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace EulerTransverseStrongEstimates |
| 13 | |
| 14 | open Set InnerProductSpace ContinuousLinearMap MeasureTheory |
| 15 | EulerTimeLp EulerTerminalTimePrimitive EulerVolterraConvolution |
| 16 | EulerTimeH1OperatorProduct EulerTransverseVariationalInverse |
| 17 | EulerTransverseGramInverse EulerTransverseGramPath |
| 18 | EulerTransverseCoordinateRegularity EulerTransverseStrongEquation |
| 19 | EulerTransverseMomentumRegularity |
| 20 | |
| 21 | variable {U E : Type*} |
| 22 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 23 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 24 | |
| 25 | variable (T : ℝ) (Q Q₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) |
| 26 | (c : ℝ) (hc : 0 < c) |
| 27 | (hQ : ∀ t x, c * ‖x‖ ^ 2 ≤ ‖Q t x‖ ^ 2) |
| 28 | |
| 29 | /-- The genuine inverse coefficient has the uniform coercive inverse bound. -/ |
| 30 | theorem gramInversePath_norm : ‖gramInversePath T Q c hc hQ‖ ≤ c⁻¹ := by |
| 31 | apply (ContinuousMap.norm_le _ (inv_nonneg.mpr hc.le)).2 |
| 32 | intro t |
| 33 | exact gramInverse_norm (Q t) c hc (hQ t) |
| 34 | |
| 35 | /-- The Gram derivative is controlled by the actual frame and frame derivative norms. -/ |
| 36 | theorem gramDerivativePath_norm : |
| 37 | ‖gramDerivativePath T Q Q₁‖ ≤ 2 * ‖Q‖ * ‖Q₁‖ := by |
| 38 | apply (ContinuousMap.norm_le _ (by positivity)).2 |
| 39 | intro t |
| 40 | change ‖(Q₁ t).adjoint.comp (Q t) + (Q t).adjoint.comp (Q₁ t)‖ ≤ _ |
| 41 | calc |
| 42 | _ ≤ ‖(Q₁ t).adjoint.comp (Q t)‖ + ‖(Q t).adjoint.comp (Q₁ t)‖ := norm_add_le _ _ |
| 43 | _ ≤ ‖(Q₁ t).adjoint‖ * ‖Q t‖ + ‖(Q t).adjoint‖ * ‖Q₁ t‖ := |
| 44 | add_le_add (opNorm_comp_le _ _) (opNorm_comp_le _ _) |
| 45 | _ = ‖Q₁ t‖ * ‖Q t‖ + ‖Q t‖ * ‖Q₁ t‖ := by |
| 46 | simp only [LinearIsometryEquiv.norm_map] |
| 47 | _ ≤ ‖Q₁‖ * ‖Q‖ + ‖Q‖ * ‖Q₁‖ := by |
| 48 | gcongr |
| 49 | · exact Q₁.norm_coe_le_norm t |
| 50 | · exact Q.norm_coe_le_norm t |
| 51 | · exact Q.norm_coe_le_norm t |
| 52 | · exact Q₁.norm_coe_le_norm t |
| 53 | _ = _ := by ring |
| 54 | |
| 55 | /-- The derivative of the inverse pays two inverse factors and one coefficient derivative. -/ |
| 56 | theorem gramInverseDerivativePath_norm : |
| 57 | ‖gramInverseDerivativePath T Q Q₁ c hc hQ‖ ≤ 2 * (c⁻¹)^2 * ‖Q‖ * ‖Q₁‖ := by |
| 58 | apply (ContinuousMap.norm_le _ (by positivity)).2 |
| 59 | intro t |
| 60 | change ‖-(gramInversePath T Q c hc hQ t).comp |
| 61 | ((gramDerivativePath T Q Q₁ t).comp (gramInversePath T Q c hc hQ t))‖ ≤ _ |
| 62 | rw [norm_neg] |
| 63 | calc |
| 64 | _ ≤ ‖gramInversePath T Q c hc hQ t‖ * |
| 65 | (‖gramDerivativePath T Q Q₁ t‖ * ‖gramInversePath T Q c hc hQ t‖) := |
| 66 | (opNorm_comp_le _ _).trans |
| 67 | (mul_le_mul_of_nonneg_left (opNorm_comp_le _ _) (norm_nonneg _)) |
| 68 | _ ≤ c⁻¹ * ((2 * ‖Q‖ * ‖Q₁‖) * c⁻¹) := by |
| 69 | gcongr |
| 70 | · exact gramInverse_norm (Q t) c hc (hQ t) |
| 71 | · exact ((gramDerivativePath T Q Q₁).norm_coe_le_norm t).trans |
| 72 | (gramDerivativePath_norm T Q Q₁) |
| 73 | · exact gramInverse_norm (Q t) c hc (hQ t) |
| 74 | _ = _ := by ring |
| 75 | |
| 76 | /-- Recovering coordinates has one inverse factor. -/ |
| 77 | theorem frameLeftInversePath_norm : |
| 78 | ‖frameLeftInversePath T Q c hc hQ‖ ≤ c⁻¹ * ‖Q‖ := by |
| 79 | apply (ContinuousMap.norm_le (frameLeftInversePath T Q c hc hQ) |
| 80 | (mul_nonneg (inv_nonneg.mpr hc.le) (norm_nonneg Q))).2 |
| 81 | intro t |
| 82 | change ‖(gramInversePath T Q c hc hQ t).comp (Q t).adjoint‖ ≤ _ |
| 83 | calc |
| 84 | _ ≤ ‖gramInversePath T Q c hc hQ t‖ * ‖(Q t).adjoint‖ := opNorm_comp_le _ _ |
| 85 | _ = ‖gramInversePath T Q c hc hQ t‖ * ‖Q t‖ := by rw [LinearIsometryEquiv.norm_map] |
| 86 | _ ≤ c⁻¹ * ‖Q‖ := mul_le_mul (gramInverse_norm (Q t) c hc (hQ t)) |
| 87 | (Q.norm_coe_le_norm t) (norm_nonneg _) (inv_nonneg.mpr hc.le) |
| 88 | |
| 89 | /-- Differentiating coordinate recovery has polynomial coefficient cost. -/ |
| 90 | theorem frameLeftInverseDerivativePath_norm : |
| 91 | ‖frameLeftInverseDerivativePath T Q Q₁ c hc hQ‖ ≤ |
| 92 | 2 * (c⁻¹)^2 * ‖Q‖^2 * ‖Q₁‖ + c⁻¹ * ‖Q₁‖ := by |
| 93 | apply (ContinuousMap.norm_le _ (by positivity)).2 |
| 94 | intro t |
| 95 | change ‖(gramInverseDerivativePath T Q Q₁ c hc hQ t).comp (Q t).adjoint + |
| 96 | (gramInversePath T Q c hc hQ t).comp (Q₁ t).adjoint‖ ≤ _ |
| 97 | calc |
| 98 | _ ≤ ‖(gramInverseDerivativePath T Q Q₁ c hc hQ t).comp (Q t).adjoint‖ + |
| 99 | ‖(gramInversePath T Q c hc hQ t).comp (Q₁ t).adjoint‖ := norm_add_le _ _ |
| 100 | _ ≤ ‖gramInverseDerivativePath T Q Q₁ c hc hQ t‖ * ‖(Q t).adjoint‖ + |
| 101 | ‖gramInversePath T Q c hc hQ t‖ * ‖(Q₁ t).adjoint‖ := |
| 102 | add_le_add (opNorm_comp_le _ _) (opNorm_comp_le _ _) |
| 103 | _ = ‖gramInverseDerivativePath T Q Q₁ c hc hQ t‖ * ‖Q t‖ + |
| 104 | ‖gramInversePath T Q c hc hQ t‖ * ‖Q₁ t‖ := by |
| 105 | simp only [LinearIsometryEquiv.norm_map] |
| 106 | _ ≤ (2 * (c⁻¹)^2 * ‖Q‖ * ‖Q₁‖) * ‖Q‖ + c⁻¹ * ‖Q₁‖ := by |
| 107 | gcongr |
| 108 | · exact ((gramInverseDerivativePath T Q Q₁ c hc hQ).norm_coe_le_norm t).trans |
| 109 | (gramInverseDerivativePath_norm T Q Q₁ c hc hQ) |
| 110 | · exact Q.norm_coe_le_norm t |
| 111 | · exact gramInverse_norm (Q t) c hc (hQ t) |
| 112 | · exact Q₁.norm_coe_le_norm t |
| 113 | _ = _ := by ring |
| 114 | |
| 115 | /-- Explicit polynomial bound for the actual coordinate derivative. -/ |
| 116 | theorem coordinateDerivative_norm (hT : 0 ≤ T) (u : TimeLp T E) : |
| 117 | ‖coordinateDerivative T hT Q Q₁ c hc hQ u‖ ≤ |
| 118 | ((2 * (c⁻¹)^2 * ‖Q‖^2 * ‖Q₁‖ + c⁻¹ * ‖Q₁‖) * T + c⁻¹ * ‖Q‖) * ‖u‖ := by |
| 119 | have hs : Real.sqrt (T^2/2) ≤ T := by |
| 120 | calc |
| 121 | _ ≤ Real.sqrt (T^2) := Real.sqrt_le_sqrt (by nlinarith only [sq_nonneg T]) |
| 122 | _ = T := Real.sqrt_sq hT |
| 123 | apply (productDerivative_norm_le T hT (frameLeftInversePath T Q c hc hQ) |
| 124 | (frameLeftInverseDerivativePath T Q Q₁ c hc hQ) u).trans |
| 125 | apply mul_le_mul_of_nonneg_right _ (norm_nonneg u) |
| 126 | apply add_le_add _ (frameLeftInversePath_norm T Q c hc hQ) |
| 127 | exact mul_le_mul (frameLeftInverseDerivativePath_norm T Q Q₁ c hc hQ) hs |
| 128 | (Real.sqrt_nonneg _) (by positivity) |
| 129 | |
| 130 | /-- The actual coercive forcing-to-coordinate-velocity map has a polynomial bound. -/ |
| 131 | theorem transverseCoordinateDerivative_norm (hT : 0 ≤ T) |
| 132 | (m : Icc (0 : ℝ) T → E) (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) |
| 133 | (K : ℝ) (hK : 0 ≤ K) (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖^2) |
| 134 | (hsmall : K * (T^2/2) ≤ 1/2) (f : TimeLp T E) : |
| 135 | ‖coordinateDerivative T hT Q Q₁ c hc hQ |
| 136 | (transverseSolver T hT m H K hK hH hsmall f : TimeLp T E)‖ ≤ |
| 137 | ((2 * (c⁻¹)^2 * ‖Q‖^2 * ‖Q₁‖ + c⁻¹ * ‖Q₁‖) * T + c⁻¹ * ‖Q‖) * |
| 138 | (2 * T * ‖f‖) := by |
| 139 | apply (coordinateDerivative_norm T Q Q₁ c hc hQ hT _).trans |
| 140 | exact mul_le_mul_of_nonneg_left (transverseSolver_norm T hT m H K hK hH hsmall f) (by positivity) |
| 141 | |
| 142 | /-- Inverting the projected strong equation is an exact equality of actual L² fields. -/ |
| 143 | theorem acceleration_eq_inverse (hT : 0 ≤ T) (v a : TimeLp T U) (f : TimeLp T E) |
| 144 | (heq : ∀ᵐ t ∂timeMeasure T, gram (extendPath T hT Q t) (a t) = |
| 145 | (extendPath T hT Q t).adjoint (f t - (2 : ℝ) • extendPath T hT Q₁ t (v t))) : |
| 146 | a = timeMultiplier T hT (gramInversePath T Q c hc hQ) |
| 147 | ((timeMultiplier T hT Q).adjoint (f - (2 : ℝ) • timeMultiplier T hT Q₁ v)) := by |
| 148 | let r := f - (2 : ℝ) • timeMultiplier T hT Q₁ v |
| 149 | apply Lp.ext |
| 150 | filter_upwards [heq, |
| 151 | timeMultiplier_ae T hT (gramInversePath T Q c hc hQ) (momentum T hT Q r), |
| 152 | momentum_ae T hT Q r, |
| 153 | Lp.coeFn_sub f ((2 : ℝ) • timeMultiplier T hT Q₁ v), |
| 154 | Lp.coeFn_smul (2 : ℝ) (timeMultiplier T hT Q₁ v), |
| 155 | timeMultiplier_ae T hT Q₁ v] with t ht hB hp hr hs hQ₁ |
| 156 | change a t = (timeMultiplier T hT (gramInversePath T Q c hc hQ) (momentum T hT Q r)) t |
| 157 | change r t = f t - ((2 : ℝ) • timeMultiplier T hT Q₁ v) t at hr |
| 158 | change ((2 : ℝ) • timeMultiplier T hT Q₁ v) t = (2 : ℝ) • (timeMultiplier T hT Q₁ v) t at hs |
| 159 | rw [hB, hp, hr, hs, hQ₁] |
| 160 | have hinv := congrArg (gramInverse (Q (projIcc 0 T hT t)) c hc (hQ (projIcc 0 T hT t))) ht |
| 161 | dsimp only [extendPath] at hinv |
| 162 | rw [inverse_gram_apply] at hinv |
| 163 | exact hinv |
| 164 | |
| 165 | include hc hQ in |
| 166 | /-- The strong acceleration bound pays one inverse Gram factor and no derivative |
| 167 | of the Hessian or extra undifferentiated time-growth factor. -/ |
| 168 | theorem acceleration_norm (hT : 0 ≤ T) (v a : TimeLp T U) (f : TimeLp T E) |
| 169 | (heq : ∀ᵐ t ∂timeMeasure T, gram (extendPath T hT Q t) (a t) = |
| 170 | (extendPath T hT Q t).adjoint (f t - (2 : ℝ) • extendPath T hT Q₁ t (v t))) : |
| 171 | ‖a‖ ≤ c⁻¹ * ‖Q‖ * (‖f‖ + 2 * ‖Q₁‖ * ‖v‖) := by |
| 172 | rw [acceleration_eq_inverse T Q Q₁ c hc hQ hT v a f heq] |
| 173 | let r := f - (2 : ℝ) • timeMultiplier T hT Q₁ v |
| 174 | have hM : ‖timeMultiplier T hT Q‖ ≤ ‖Q‖ := |
| 175 | ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg Q) (timeApply_bound T hT Q) |
| 176 | have hp : ‖(timeMultiplier T hT Q).adjoint r‖ ≤ ‖Q‖ * ‖r‖ := by |
| 177 | apply ((timeMultiplier T hT Q).adjoint.le_opNorm r).trans |
| 178 | rw [LinearIsometryEquiv.norm_map] |
| 179 | exact mul_le_mul_of_nonneg_right hM (norm_nonneg r) |
| 180 | have hr : ‖r‖ ≤ ‖f‖ + 2 * ‖Q₁‖ * ‖v‖ := by |
| 181 | apply (norm_sub_le f ((2 : ℝ) • timeMultiplier T hT Q₁ v)).trans |
| 182 | rw [norm_smul, Real.norm_of_nonneg (by norm_num : (0 : ℝ) ≤ 2)] |
| 183 | have hq : ‖timeMultiplier T hT Q₁ v‖ ≤ ‖Q₁‖ * ‖v‖ := timeApply_bound T hT Q₁ v |
| 184 | nlinarith only [hq] |
| 185 | calc |
| 186 | _ ≤ ‖gramInversePath T Q c hc hQ‖ * ‖(timeMultiplier T hT Q).adjoint r‖ := |
| 187 | timeApply_bound T hT (gramInversePath T Q c hc hQ) _ |
| 188 | _ ≤ c⁻¹ * (‖Q‖ * ‖r‖) := mul_le_mul (gramInversePath_norm T Q c hc hQ) hp |
| 189 | (norm_nonneg _) (inv_nonneg.mpr hc.le) |
| 190 | _ ≤ c⁻¹ * (‖Q‖ * (‖f‖ + 2 * ‖Q₁‖ * ‖v‖)) := by |
| 191 | gcongr |
| 192 | _ = _ := by ring |
| 193 | |
| 194 | /-- Applying the strong bound to the actual variational solver gives a polynomial |
| 195 | acceleration estimate in terms of its already bounded coordinate velocity. -/ |
| 196 | theorem transverseCoordinateSecondDerivative_norm |
| 197 | (Q₂ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) (hT : 0 < T) |
| 198 | (hd : ∀ t : Icc (0 : ℝ) T, |
| 199 | HasDerivWithinAt (extendPath T hT.le Q) (Q₁ t) (Icc (0 : ℝ) T) t) |
| 200 | (hd₁ : ∀ t : Icc (0 : ℝ) T, |
| 201 | HasDerivWithinAt (extendPath T hT.le Q₁) (Q₂ t) (Icc (0 : ℝ) T) t) |
| 202 | (m : Icc (0 : ℝ) T → E) (hm : ∀ t x, ⟪m t, Q t x⟫_ℝ = 0) |
| 203 | (hRange : ∀ t η, ⟪m t, η⟫_ℝ = 0 → ∃ x : U, Q t x = η) |
| 204 | (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) (K : ℝ) (hK : 0 ≤ K) |
| 205 | (hH : ∀ t x, ⟪H t x, x⟫_ℝ ≤ K * ‖x‖^2) |
| 206 | (hsmall : K * (T^2/2) ≤ 1/2) |
| 207 | (hframe : ∀ t, Q₂ t = -((H t).comp (Q t))) (f : TimeLp T E) : |
| 208 | let u : TimeLp T E := transverseSolver T hT.le m H K hK hH hsmall f |
| 209 | ‖coordinateSecondDerivative T hT.le Q Q₁ Q₂ c hc hQ H u f‖ ≤ |
| 210 | c⁻¹ * ‖Q‖ * (‖f‖ + 2 * ‖Q₁‖ * ‖coordinateDerivative T hT.le Q Q₁ c hc hQ u‖) := by |
| 211 | let u : TimeLp T E := transverseSolver T hT.le m H K hK hH hsmall f |
| 212 | obtain ⟨v, _, _, hv, _, _, heq⟩ := |
| 213 | transverseSolver_strong T hT.le Q Q₁ Q₂ c hc hQ hd hd₁ hT m hm hRange |
| 214 | H K hK hH hsmall hframe f |
| 215 | apply acceleration_norm T Q Q₁ c hc hQ hT.le |
| 216 | filter_upwards [hv, heq] with t hvt ht |
| 217 | rw [hvt] |
| 218 | exact ht |
| 219 | |
| 220 | end EulerTransverseStrongEstimates |