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.CoerciveEndpointBounds |
| 2 | import Euler.TransverseEndpointParameter |
| 3 | import Euler.TimeLpCoefficientGevrey |
| 4 | |
| 5 | /-! |
| 6 | Coefficient-only estimates for the nonzero-terminal transverse construction. |
| 7 | Both primitives, the actual affine trial, and the fixed-coordinate form are |
| 8 | estimated in their genuine Bochner and operator norms. |
| 9 | -/ |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | |
| 14 | namespace EulerTransverseEndpointBounds |
| 15 | |
| 16 | open Set MeasureTheory ContinuousLinearMap InnerProductSpace |
| 17 | EulerTimeLp EulerTerminalTimePrimitive EulerInitialTimePrimitive |
| 18 | EulerVolterraConvolution EulerTimeH1OperatorProduct EulerTimeH1FrameTransport |
| 19 | EulerTimeLpCoefficientMap EulerTimeLpCoefficientGevrey |
| 20 | EulerTransverseVariationalInverse EulerTransverseFixedSpaceInverse |
| 21 | EulerTransverseEndpointEnergy EulerTransverseFixedEndpoint |
| 22 | EulerTransverseEndpointParameter EulerCoerciveProjection EulerCoerciveEndpointBounds |
| 23 | |
| 24 | variable {U E V : Type*} |
| 25 | [NormedAddCommGroup U] [InnerProductSpace ℝ U] [CompleteSpace U] |
| 26 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] [CompleteSpace E] |
| 27 | [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 28 | |
| 29 | variable (T : ℝ) (hT : 0 ≤ T) |
| 30 | |
| 31 | omit [CompleteSpace E] in |
| 32 | theorem initialPrimitive_norm_le_time : ‖initialPrimitiveTimeLp (E := E) T hT‖ ≤ T := by |
| 33 | apply opNorm_le_bound _ hT |
| 34 | intro u |
| 35 | apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg hT (norm_nonneg _))).1 |
| 36 | rw [mul_pow] |
| 37 | exact (initialPrimitiveTimeLp_norm_sq_le T hT u).trans |
| 38 | (mul_le_mul_of_nonneg_right (by nlinarith only [sq_nonneg T]) (sq_nonneg ‖u‖)) |
| 39 | |
| 40 | omit [CompleteSpace U] in |
| 41 | theorem constantFieldOperator_norm_le : ‖constantFieldOperator (E := U) T hT‖ ≤ 1 + T := by |
| 42 | apply opNorm_le_bound _ (by linarith) |
| 43 | intro u |
| 44 | have he : ‖constantFieldOperator T hT u‖ ^ 2 = T * ‖u‖ ^ 2 := by |
| 45 | change ‖pathLp T hT (ContinuousMap.const _ u)‖ ^ 2 = _ |
| 46 | rw [pathLp_norm_sq] |
| 47 | simp only [extendPath, ContinuousMap.const_apply, intervalIntegral.integral_const, |
| 48 | sub_zero, smul_eq_mul] |
| 49 | apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (by linarith) (norm_nonneg _))).1 |
| 50 | rw [he, mul_pow] |
| 51 | exact mul_le_mul_of_nonneg_right (by nlinarith only [sq_nonneg T, hT]) (sq_nonneg ‖u‖) |
| 52 | |
| 53 | omit [CompleteSpace U] [CompleteSpace E] in |
| 54 | theorem multiplier_sub_norm_le (A B : C(Icc (0 : ℝ) T, U →L[ℝ] E)) : |
| 55 | ‖timeMultiplier T hT A - timeMultiplier T hT B‖ ≤ ‖A-B‖ := by |
| 56 | change ‖coefficientMap T hT A - coefficientMap T hT B‖ ≤ _ |
| 57 | rw [← map_sub] |
| 58 | exact timeMultiplier_norm T hT (A-B) |
| 59 | |
| 60 | omit [CompleteSpace U] [CompleteSpace E] in |
| 61 | theorem product_norm_le (J : TimeLp T U →L[ℝ] TimeLp T U) (hJ : ‖J‖ ≤ T) |
| 62 | (A A₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) : |
| 63 | ‖(timeMultiplier T hT A₁).comp J + timeMultiplier T hT A‖ ≤ T * ‖A₁‖ + ‖A‖ := by |
| 64 | apply ((norm_add_le _ _).trans (add_le_add ((opNorm_comp_le _ _).trans |
| 65 | (mul_le_mul (timeMultiplier_norm T hT A₁) hJ (by positivity) (by positivity))) |
| 66 | (timeMultiplier_norm T hT A))).trans_eq |
| 67 | ring |
| 68 | |
| 69 | omit [CompleteSpace U] [CompleteSpace E] in |
| 70 | theorem product_sub_norm_le (J : TimeLp T U →L[ℝ] TimeLp T U) (hJ : ‖J‖ ≤ T) |
| 71 | (A A₁ B B₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) : |
| 72 | ‖((timeMultiplier T hT A₁).comp J + timeMultiplier T hT A) - |
| 73 | ((timeMultiplier T hT B₁).comp J + timeMultiplier T hT B)‖ ≤ |
| 74 | T * ‖A₁-B₁‖ + ‖A-B‖ := by |
| 75 | have he : ((timeMultiplier T hT A₁).comp J + timeMultiplier T hT A) - |
| 76 | ((timeMultiplier T hT B₁).comp J + timeMultiplier T hT B) = |
| 77 | ((timeMultiplier T hT A₁ - timeMultiplier T hT B₁).comp J) + |
| 78 | (timeMultiplier T hT A - timeMultiplier T hT B) := by |
| 79 | apply ContinuousLinearMap.ext |
| 80 | intro u |
| 81 | simp only [comp_apply, add_apply, sub_apply] |
| 82 | abel |
| 83 | rw [he] |
| 84 | apply ((norm_add_le _ _).trans (add_le_add ((opNorm_comp_le _ _).trans |
| 85 | (mul_le_mul (multiplier_sub_norm_le T hT A₁ B₁) hJ (by positivity) (by positivity))) |
| 86 | (multiplier_sub_norm_le T hT A B))).trans_eq |
| 87 | ring |
| 88 | |
| 89 | omit [CompleteSpace U] [CompleteSpace E] in |
| 90 | theorem fixedFrameDerivative_norm_le (A A₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) : |
| 91 | ‖fixedFrameDerivative T hT A A₁‖ ≤ T * ‖A₁‖ + ‖A‖ := by |
| 92 | apply (opNorm_comp_le _ _).trans |
| 93 | have h := mul_le_mul |
| 94 | (product_norm_le T hT (primitiveTimeLp T hT) (primitive_norm_le_time T hT) A A₁) |
| 95 | (zeroTraceDerivatives (U := U) T hT).norm_subtypeL_le |
| 96 | (by positivity) (by positivity) |
| 97 | simpa only [mul_one, productDerivative] using h |
| 98 | |
| 99 | omit [CompleteSpace U] [CompleteSpace E] in |
| 100 | theorem fixedFrameDerivative_sub_norm_le (A A₁ B B₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) : |
| 101 | ‖fixedFrameDerivative T hT A A₁ - fixedFrameDerivative T hT B B₁‖ ≤ |
| 102 | T * ‖A₁-B₁‖ + ‖A-B‖ := by |
| 103 | change ‖(productDerivative T hT A A₁).comp _ - (productDerivative T hT B B₁).comp _‖ ≤ _ |
| 104 | rw [← sub_comp] |
| 105 | apply (opNorm_comp_le _ _).trans |
| 106 | have h := mul_le_mul |
| 107 | (product_sub_norm_le T hT (primitiveTimeLp T hT) (primitive_norm_le_time T hT) A A₁ B B₁) |
| 108 | (zeroTraceDerivatives (U := U) T hT).norm_subtypeL_le |
| 109 | (by positivity) (by positivity) |
| 110 | simpa only [mul_one, productDerivative] using h |
| 111 | |
| 112 | theorem potential_norm_le (J : TimeLp T E →L[ℝ] TimeLp T E) (hJ : ‖J‖ ≤ T) |
| 113 | (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) : |
| 114 | ‖J.adjoint.comp ((timeMultiplier T hT H).comp J)‖ ≤ T ^ 2 * ‖H‖ := by |
| 115 | have hi := (opNorm_comp_le (timeMultiplier T hT H) J).trans |
| 116 | (mul_le_mul (timeMultiplier_norm T hT H) hJ (by positivity) (by positivity)) |
| 117 | apply ((opNorm_comp_le _ _).trans (mul_le_mul |
| 118 | (by simpa only [LinearIsometryEquiv.norm_map] using hJ) hi (norm_nonneg _) hT)).trans_eq |
| 119 | ring |
| 120 | |
| 121 | theorem dirichlet_norm_le (J : TimeLp T E →L[ℝ] TimeLp T E) (hJ : ‖J‖ ≤ T) |
| 122 | (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) : |
| 123 | ‖dirichletOperator J (timeMultiplier T hT H)‖ ≤ 1 + T ^ 2 * ‖H‖ := |
| 124 | (norm_sub_le _ _).trans (add_le_add norm_id_le (potential_norm_le T hT J hJ H)) |
| 125 | |
| 126 | theorem dirichlet_sub_norm_le (J : TimeLp T E →L[ℝ] TimeLp T E) (hJ : ‖J‖ ≤ T) |
| 127 | (H H' : C(Icc (0 : ℝ) T, E →L[ℝ] E)) : |
| 128 | ‖dirichletOperator J (timeMultiplier T hT H) - |
| 129 | dirichletOperator J (timeMultiplier T hT H')‖ ≤ T ^ 2 * ‖H-H'‖ := by |
| 130 | have he : dirichletOperator J (timeMultiplier T hT H) - |
| 131 | dirichletOperator J (timeMultiplier T hT H') = |
| 132 | -(J.adjoint.comp ((timeMultiplier T hT (H-H')).comp J)) := by |
| 133 | change (ContinuousLinearMap.id ℝ _ - J.adjoint.comp ((coefficientMap T hT H).comp J)) - |
| 134 | (ContinuousLinearMap.id ℝ _ - J.adjoint.comp ((coefficientMap T hT H').comp J)) = _ |
| 135 | change _ = -(J.adjoint.comp ((coefficientMap T hT (H-H')).comp J)) |
| 136 | rw [map_sub, sub_comp, comp_sub] |
| 137 | abel |
| 138 | rw [he, norm_neg] |
| 139 | exact potential_norm_le T hT J hJ (H-H') |
| 140 | |
| 141 | theorem energyOperator_norm_le (H : C(Icc (0 : ℝ) T, E →L[ℝ] E)) : |
| 142 | ‖energyOperator T hT H‖ ≤ 1 + T ^ 2 * ‖H‖ := |
| 143 | dirichlet_norm_le T hT _ (initialPrimitive_norm_le_time T hT) H |
| 144 | |
| 145 | theorem energyOperator_sub_norm_le (H H' : C(Icc (0 : ℝ) T, E →L[ℝ] E)) : |
| 146 | ‖energyOperator T hT H - energyOperator T hT H'‖ ≤ T ^ 2 * ‖H-H'‖ := |
| 147 | dirichlet_sub_norm_le T hT _ (initialPrimitive_norm_le_time T hT) H H' |
| 148 | |
| 149 | /-- The affine coordinate trial costs a fixed polynomial in time and its reciprocal. -/ |
| 150 | def affineCost (T : ℝ) : ℝ := (1+T) * |T⁻¹| |
| 151 | |
| 152 | omit [CompleteSpace U] [CompleteSpace E] in |
| 153 | theorem affineTrial_norm_le (A A₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) : |
| 154 | ‖affineTrial T hT A A₁‖ ≤ affineCost T * (T * ‖A₁‖ + ‖A‖) := by |
| 155 | have hconst : ‖(constantFieldOperator T hT).comp (T⁻¹ • ContinuousLinearMap.id ℝ U)‖ ≤ |
| 156 | affineCost T := by |
| 157 | have hscale : ‖T⁻¹ • ContinuousLinearMap.id ℝ U‖ ≤ |T⁻¹| := by |
| 158 | rw [norm_smul, Real.norm_eq_abs] |
| 159 | simpa only [mul_one] using mul_le_mul_of_nonneg_left (norm_id_le (𝕜 := ℝ) (E := U)) (abs_nonneg T⁻¹) |
| 160 | exact (opNorm_comp_le _ _).trans |
| 161 | (mul_le_mul (constantFieldOperator_norm_le T hT) hscale (norm_nonneg _) (by linarith)) |
| 162 | apply ((opNorm_comp_le _ _).trans (mul_le_mul |
| 163 | (product_norm_le T hT _ (initialPrimitive_norm_le_time T hT) A A₁) |
| 164 | hconst (norm_nonneg _) (by positivity))).trans_eq |
| 165 | ring |
| 166 | |
| 167 | omit [CompleteSpace U] [CompleteSpace E] in |
| 168 | theorem affineTrial_sub_norm_le (A A₁ B B₁ : C(Icc (0 : ℝ) T, U →L[ℝ] E)) : |
| 169 | ‖affineTrial T hT A A₁ - affineTrial T hT B B₁‖ ≤ |
| 170 | affineCost T * (T * ‖A₁-B₁‖ + ‖A-B‖) := by |
| 171 | have hconst : ‖(constantFieldOperator T hT).comp (T⁻¹ • ContinuousLinearMap.id ℝ U)‖ ≤ |
| 172 | affineCost T := by |
| 173 | have hscale : ‖T⁻¹ • ContinuousLinearMap.id ℝ U‖ ≤ |T⁻¹| := by |
| 174 | rw [norm_smul, Real.norm_eq_abs] |
| 175 | simpa only [mul_one] using mul_le_mul_of_nonneg_left (norm_id_le (𝕜 := ℝ) (E := U)) (abs_nonneg T⁻¹) |
| 176 | exact (opNorm_comp_le _ _).trans |
| 177 | (mul_le_mul (constantFieldOperator_norm_le T hT) hscale (norm_nonneg _) (by linarith)) |
| 178 | unfold affineTrial |
| 179 | rw [← sub_comp] |
| 180 | apply ((opNorm_comp_le _ _).trans (mul_le_mul |
| 181 | (product_sub_norm_le T hT _ (initialPrimitive_norm_le_time T hT) A A₁ B B₁) |
| 182 | hconst (norm_nonneg _) (by positivity))).trans_eq |
| 183 | ring |
| 184 | |
| 185 | end EulerTransverseEndpointBounds |