Poincaré conjecture: the Lean proof, cleaned up together
The 2026 Lean proof of the Poincaré conjecture after Morgan and Tian, 3 million lines, cleaned up together: smaller, faster to build, more readable, the theorems unchanged

| 1 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.GeometryImports |
| 2 | import PoincareLib.Topology.Manifold.NeckCap.Theory |
| 3 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.Persistence.NeckAnalysis.TensorNorms |
| 4 | import Mathlib.Algebra.Order.BigOperators.Ring.Finset |
| 5 | |
| 6 | /-! |
| 7 | # Actual neck metric and speed comparison |
| 8 | |
| 9 | Morgan--Tian Corollary A.8, p. 501, and Claims 10.3--10.4, pp. 248--250. |
| 10 | The order-zero term of the frozen neck comparison bounds the actual |
| 11 | pullback quadratic form. The resulting speed bounds require no completeness |
| 12 | or scalar-curvature comparison and apply to every tangent in the open neck. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | |
| 17 | open Set |
| 18 | open scoped Manifold ContDiff Bundle BigOperators InnerProductSpace |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | namespace PoincareMT.Proofs.M28.NeckLengthComparison |
| 23 | |
| 24 | open NeckAnalysis |
| 25 | |
| 26 | private theorem sum_two_indices (f : Fin 3 → Fin 3 → ℝ) : |
| 27 | (∑ a : Fin 2 → Fin 3, f (a 0) (a 1)) = ∑ i, ∑ j, f i j := by |
| 28 | calc |
| 29 | _ = ∑ p : Fin 3 × Fin 3, f p.1 p.2 := |
| 30 | (finTwoArrowEquiv (Fin 3)).sum_comp (fun p => f p.1 p.2) |
| 31 | _ = _ := Fintype.sum_prod_type _ |
| 32 | |
| 33 | private theorem weighted_quadratic_le |
| 34 | (d : Fin 3 → ℝ) (hd : ∀ i, 0 < d i) (T : Fin 3 → Fin 3 → ℝ) |
| 35 | (x : Fin 3 → ℝ) {epsilon : ℝ} (hepsilon : 0 ≤ epsilon) |
| 36 | (hT : (∑ i, ∑ j, (d i)⁻¹ * (d j)⁻¹ * (T i j) ^ 2) ≤ epsilon ^ 2) : |
| 37 | |∑ i, ∑ j, T i j * x i * x j| ≤ epsilon * ∑ i, d i * (x i) ^ 2 := by |
| 38 | have hcs := Finset.sum_sq_le_sum_mul_sum_of_sq_le_mul |
| 39 | (Finset.univ : Finset (Fin 3 × Fin 3)) |
| 40 | (r := fun p => T p.1 p.2 * x p.1 * x p.2) |
| 41 | (f := fun p => (d p.1)⁻¹ * (d p.2)⁻¹ * (T p.1 p.2) ^ 2) |
| 42 | (g := fun p => d p.1 * d p.2 * (x p.1 * x p.2) ^ 2) |
| 43 | (fun p _ => mul_nonneg |
| 44 | (mul_nonneg (inv_nonneg.mpr (hd p.1).le) (inv_nonneg.mpr (hd p.2).le)) |
| 45 | (sq_nonneg _)) |
| 46 | (fun p _ => mul_nonneg (mul_nonneg (hd p.1).le (hd p.2).le) (sq_nonneg _)) |
| 47 | (fun p _ => le_of_eq (by |
| 48 | field_simp [ne_of_gt (hd p.1), ne_of_gt (hd p.2)])) |
| 49 | have hfactor : |
| 50 | (∑ p : Fin 3 × Fin 3, d p.1 * d p.2 * (x p.1 * x p.2) ^ 2) = |
| 51 | (∑ i, d i * (x i) ^ 2) ^ 2 := by |
| 52 | rw [Fintype.sum_prod_type, pow_two, Finset.sum_mul_sum] |
| 53 | apply Finset.sum_congr rfl |
| 54 | intro i _ |
| 55 | apply Finset.sum_congr rfl |
| 56 | intro j _ |
| 57 | ring |
| 58 | rw [hfactor] at hcs |
| 59 | simp only [Fintype.sum_prod_type] at hcs |
| 60 | have hnonneg : 0 ≤ ∑ i, d i * (x i) ^ 2 := |
| 61 | Finset.sum_nonneg fun i _ => mul_nonneg (hd i).le (sq_nonneg _) |
| 62 | apply (sq_le_sq₀ (abs_nonneg _) (mul_nonneg hepsilon hnonneg)).mp |
| 63 | rw [sq_abs, mul_pow] |
| 64 | exact hcs.trans (mul_le_mul_of_nonneg_right hT (sq_nonneg _)) |
| 65 | |
| 66 | set_option backward.isDefEq.respectTransparency false in |
| 67 | private theorem sphere_chart_symm_mfderiv (q : UnitTwoSphere) : |
| 68 | mfderiv (𝓡 2) (𝓡 2) (chartAt (EuclideanSpace ℝ (Fin 2)) q).symm |
| 69 | (chartAt (EuclideanSpace ℝ (Fin 2)) q q) = |
| 70 | ContinuousLinearMap.id ℝ (EuclideanSpace ℝ (Fin 2)) := by |
| 71 | have h := mfderivWithin_range_extChartAt_symm (I := 𝓡 2) (x := q) |
| 72 | have hr : Set.range (𝓡 2) = Set.univ := by ext x; simp |
| 73 | rw [hr, mfderivWithin_univ] at h |
| 74 | convert! h using 1 |
| 75 | |
| 76 | set_option backward.isDefEq.respectTransparency false in |
| 77 | /-- The sphere inclusion is isometric in its actual chosen tangent coordinates. -/ |
| 78 | theorem sphere_inclusion_inner (q : UnitTwoSphere) |
| 79 | (v w : EuclideanSpace ℝ (Fin 2)) : |
| 80 | inner ℝ (mfderiv (𝓡 2) (𝓡 3) (fun x : UnitTwoSphere => x.1) q v) |
| 81 | (mfderiv (𝓡 2) (𝓡 3) (fun x : UnitTwoSphere => x.1) q w) = |
| 82 | inner ℝ v w := by |
| 83 | have h := sphere_chart_inverse_inner q v w |
| 84 | dsimp only at h |
| 85 | rw [(chartAt (EuclideanSpace ℝ (Fin 2)) q).left_inv (mem_chart_source _ q), |
| 86 | sphere_chart_symm_mfderiv] at h |
| 87 | simpa only [ContinuousLinearMap.id_apply] using! h |
| 88 | |
| 89 | private theorem tensor_coefficient_center (B : RoundCylinderTwoTensor) |
| 90 | (z : RoundCylinderSpace) (a b : Fin 3) : |
| 91 | roundCylinderTensorCoefficient B (chartAt (EuclideanSpace ℝ (Fin 2)) z.1) |
| 92 | (chartAt (EuclideanSpace ℝ (Fin 2)) z.1 z.1, z.2) a b = |
| 93 | B z (roundCylinderCoordinateBasis a) (roundCylinderCoordinateBasis b) := by |
| 94 | unfold roundCylinderTensorCoefficient |
| 95 | dsimp only |
| 96 | rw [(chartAt (EuclideanSpace ℝ (Fin 2)) z.1).left_inv (mem_chart_source _ z.1), |
| 97 | sphere_chart_symm_mfderiv] |
| 98 | rfl |
| 99 | |
| 100 | /-- The literal scalar-one cylinder metric at any chosen tangent coordinate. -/ |
| 101 | theorem roundCylinderMetric_self_eq (z : RoundCylinderSpace) |
| 102 | (v : RoundCylinderCoordinates) : |
| 103 | RoundCylinderMetric z v v = 2 * ‖v.1‖ ^ 2 + v.2 ^ 2 := by |
| 104 | dsimp only [RoundCylinderMetric, EvolvingRoundCylinderMetric] |
| 105 | rw [sphere_inclusion_inner, real_inner_self_eq_norm_sq] |
| 106 | ring |
| 107 | |
| 108 | private noncomputable def coordinateComponents (v : RoundCylinderCoordinates) : Fin 3 → ℝ := |
| 109 | ![v.1 0, v.1 1, v.2] |
| 110 | |
| 111 | private theorem coordinateComponents_sum (v : RoundCylinderCoordinates) : |
| 112 | (∑ i : Fin 3, coordinateComponents v i • roundCylinderCoordinateBasis i) = v := by |
| 113 | apply Prod.ext |
| 114 | · ext i |
| 115 | fin_cases i <;> |
| 116 | simp [coordinateComponents, roundCylinderCoordinateBasis, Fin.sum_univ_three, |
| 117 | EuclideanSpace.basisFun_apply] |
| 118 | · simp [coordinateComponents, roundCylinderCoordinateBasis, Fin.sum_univ_three] |
| 119 | |
| 120 | private theorem bilinear_quadratic_sum |
| 121 | (B : RoundCylinderCoordinates →L[ℝ] RoundCylinderCoordinates →L[ℝ] ℝ) |
| 122 | (v : RoundCylinderCoordinates) : |
| 123 | B v v = ∑ i, ∑ j, B (roundCylinderCoordinateBasis i) |
| 124 | (roundCylinderCoordinateBasis j) * coordinateComponents v i * |
| 125 | coordinateComponents v j := by |
| 126 | calc |
| 127 | B v v = B (∑ i, coordinateComponents v i • roundCylinderCoordinateBasis i) |
| 128 | (∑ j, coordinateComponents v j • roundCylinderCoordinateBasis j) := by |
| 129 | simp only [coordinateComponents_sum] |
| 130 | _ = _ := by |
| 131 | simp only [map_sum, map_smul, sum_apply, smul_apply, smul_eq_mul, |
| 132 | Finset.mul_sum] |
| 133 | rw [Finset.sum_comm] |
| 134 | apply Finset.sum_congr rfl |
| 135 | intro i _ |
| 136 | apply Finset.sum_congr rfl |
| 137 | intro j _ |
| 138 | ring |
| 139 | |
| 140 | private noncomputable def modelForm : |
| 141 | RoundCylinderCoordinates →L[ℝ] RoundCylinderCoordinates →L[ℝ] ℝ := |
| 142 | 2 • (innerSL ℝ).bilinearComp (ContinuousLinearMap.fst ℝ _ _) |
| 143 | (ContinuousLinearMap.fst ℝ _ _) + |
| 144 | (innerSL ℝ).bilinearComp (ContinuousLinearMap.snd ℝ _ _) |
| 145 | (ContinuousLinearMap.snd ℝ _ _) |
| 146 | |
| 147 | private theorem modelForm_apply (z : RoundCylinderSpace) |
| 148 | (v w : RoundCylinderCoordinates) : modelForm v w = RoundCylinderMetric z v w := by |
| 149 | simp [modelForm, RoundCylinderMetric, EvolvingRoundCylinderMetric, |
| 150 | sphere_inclusion_inner, ContinuousLinearMap.bilinearComp_apply, |
| 151 | innerSL_apply_apply, mul_comm] |
| 152 | |
| 153 | private theorem modelForm_diagonal (z : RoundCylinderSpace) |
| 154 | (v : RoundCylinderCoordinates) : |
| 155 | (∑ i, cylinderGramDiagonal 0 i * (coordinateComponents v i) ^ 2) = |
| 156 | RoundCylinderMetric z v v := by |
| 157 | rw [roundCylinderMetric_self_eq, EuclideanSpace.real_norm_sq_eq] |
| 158 | simp [coordinateComponents, cylinderGramDiagonal, Fin.sum_univ_three, Fin.sum_univ_two] |
| 159 | ring |
| 160 | |
| 161 | private noncomputable def cylinderTangentFrame (z : RoundCylinderSpace) : |
| 162 | RoundCylinderCoordinates →L[ℝ] RoundCylinderTangent z := |
| 163 | (trivializationAt RoundCylinderCoordinates |
| 164 | (TangentSpace ((𝓡 2).prod 𝓘(ℝ, ℝ))) z).symmL ℝ z |
| 165 | |
| 166 | set_option backward.isDefEq.respectTransparency false in |
| 167 | private theorem cylinderTangentFrame_apply (z : RoundCylinderSpace) |
| 168 | (v : RoundCylinderCoordinates) : cylinderTangentFrame z v = v := by |
| 169 | unfold cylinderTangentFrame |
| 170 | rw [TangentBundle.symmL_trivializationAt (mem_chart_source _ z), |
| 171 | mfderivWithin_range_extChartAt_symm] |
| 172 | rfl |
| 173 | |
| 174 | end PoincareMT.Proofs.M28.NeckLengthComparison |
| 175 | |
| 176 | namespace PoincareMT.EpsilonNeck |
| 177 | |
| 178 | open Proofs.M28.NeckLengthComparison Proofs.M28.NeckAnalysis |
| 179 | |
| 180 | variable {M : Type u} [TopologicalSpace M] |
| 181 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 182 | [IsManifold (𝓡 3) ∞ M] {g : RiemannianMetric 3 M} |
| 183 | |
| 184 | /-- The frozen order-zero error bounds the actual normalized metric quadratic form. -/ |
| 185 | theorem normalized_metric_quadratic_bounds (N : EpsilonNeck g) |
| 186 | (z : RoundCylinderSpace) (hz : z.2 ∈ Ioo (-N.epsilon⁻¹) N.epsilon⁻¹) |
| 187 | (v : RoundCylinderCoordinates) : |
| 188 | (1 - N.epsilon) * RoundCylinderMetric z v v ≤ |
| 189 | N.scale⁻¹ ^ 2 * roundCylinderPullback g N.coordinate_map z v v ∧ |
| 190 | N.scale⁻¹ ^ 2 * roundCylinderPullback g N.coordinate_map z v v ≤ |
| 191 | (1 + N.epsilon) * RoundCylinderMetric z v v := by |
| 192 | let : Bundle.RiemannianBundle (TangentSpace (𝓡 3) : M → Type _) := |
| 193 | ⟨g.toRiemannianMetric⟩ |
| 194 | let B : RoundCylinderTwoTensor := fun z v w => |
| 195 | N.scale⁻¹ ^ 2 * roundCylinderPullback g N.coordinate_map z v w |
| 196 | let D : RoundCylinderCoordinates →L[ℝ] TangentSpace (𝓡 3) (N.coordinate_map z) := |
| 197 | (mfderiv ((𝓡 2).prod 𝓘(ℝ, ℝ)) (𝓡 3) N.coordinate_map z).comp |
| 198 | (cylinderTangentFrame z) |
| 199 | let E : RoundCylinderCoordinates →L[ℝ] RoundCylinderCoordinates →L[ℝ] ℝ := |
| 200 | N.scale⁻¹ ^ 2 • (g.inner (N.coordinate_map z)).bilinearComp D D - modelForm |
| 201 | have hE (v w : RoundCylinderCoordinates) : E v w = B z v w - RoundCylinderMetric z v w := by |
| 202 | simp [E, B, D, roundCylinderPullback, modelForm_apply z, cylinderTangentFrame_apply] |
| 203 | obtain ⟨bound, hbound, hclose⟩ := N.metric_comparison.close.2 |
| 204 | have hzero : roundCylinderJetErrorSquared 0 B 0 z ≤ N.epsilon ^ 2 := |
| 205 | ((roundCylinderJetErrorSquared_mono_order (by norm_num) B (Nat.zero_le _) z).trans |
| 206 | (hclose z hz)).trans hbound.le |
| 207 | have hcoeff (a : Fin 2 → Fin 3) : |
| 208 | roundCylinderIteratedDerivative 0 |
| 209 | (chartAt (EuclideanSpace ℝ (Fin 2)) z.1) B 0 |
| 210 | (chartAt (EuclideanSpace ℝ (Fin 2)) z.1 z.1, z.2) a = |
| 211 | E (roundCylinderCoordinateBasis (a 0)) (roundCylinderCoordinateBasis (a 1)) := by |
| 212 | simp only [roundCylinderIteratedDerivative, roundCylinderGram, |
| 213 | tensor_coefficient_center, hE, RoundCylinderMetric] |
| 214 | have hsum : (∑ i, ∑ j, (cylinderGramDiagonal 0 i)⁻¹ * |
| 215 | (cylinderGramDiagonal 0 j)⁻¹ * |
| 216 | (E (roundCylinderCoordinateBasis i) (roundCylinderCoordinateBasis j)) ^ 2) ≤ |
| 217 | N.epsilon ^ 2 := by |
| 218 | have hsum0 : (∑ a : Fin 2 → Fin 3, cylinderTensorWeight 0 a * |
| 219 | (E (roundCylinderCoordinateBasis (a 0)) (roundCylinderCoordinateBasis (a 1))) ^ 2) ≤ |
| 220 | N.epsilon ^ 2 := by |
| 221 | simpa only [roundCylinderJetErrorSquared, Nat.zero_add, Nat.add_zero, |
| 222 | Finset.sum_range_one, |
| 223 | roundCylinderTensorNormSquared_eq_sum (by norm_num : (0 : ℝ) < 1), |
| 224 | hcoeff] using hzero |
| 225 | let F : Fin 3 → Fin 3 → ℝ := fun i j => (cylinderGramDiagonal 0 i)⁻¹ * |
| 226 | (cylinderGramDiagonal 0 j)⁻¹ * |
| 227 | (E (roundCylinderCoordinateBasis i) (roundCylinderCoordinateBasis j)) ^ 2 |
| 228 | simp only [cylinderTensorWeight, Fin.prod_univ_two] at hsum0 |
| 229 | change (∑ a : Fin 2 → Fin 3, F (a 0) (a 1)) ≤ N.epsilon ^ 2 at hsum0 |
| 230 | rw [sum_two_indices F] at hsum0 |
| 231 | exact hsum0 |
| 232 | have h := weighted_quadratic_le (cylinderGramDiagonal 0) |
| 233 | (cylinderGramDiagonal_pos (by norm_num)) |
| 234 | (fun i j => E (roundCylinderCoordinateBasis i) (roundCylinderCoordinateBasis j)) |
| 235 | (coordinateComponents v) N.epsilon_pos.le hsum |
| 236 | rw [← bilinear_quadratic_sum E v, hE v v, modelForm_diagonal z v] at h |
| 237 | obtain ⟨hlo, hhi⟩ := abs_le.mp h |
| 238 | change (1 - N.epsilon) * RoundCylinderMetric z v v ≤ B z v v ∧ |
| 239 | B z v v ≤ (1 + N.epsilon) * RoundCylinderMetric z v v |
| 240 | constructor |
| 241 | · calc |
| 242 | (1 - N.epsilon) * RoundCylinderMetric z v v = |
| 243 | RoundCylinderMetric z v v + -(N.epsilon * RoundCylinderMetric z v v) := by ring |
| 244 | _ ≤ RoundCylinderMetric z v v + (B z v v - RoundCylinderMetric z v v) := |
| 245 | add_le_add le_rfl hlo |
| 246 | _ = B z v v := by ring |
| 247 | · calc |
| 248 | B z v v = (B z v v - RoundCylinderMetric z v v) + RoundCylinderMetric z v v := by ring |
| 249 | _ ≤ N.epsilon * RoundCylinderMetric z v v + RoundCylinderMetric z v v := |
| 250 | add_le_add hhi le_rfl |
| 251 | _ = (1 + N.epsilon) * RoundCylinderMetric z v v := by ring |
| 252 | |
| 253 | /-- Actual pushed-forward speed is comparable with the literal cylinder speed. -/ |
| 254 | theorem coordinate_speed_bounds (N : EpsilonNeck g) |
| 255 | (z : RoundCylinderSpace) (hz : z.2 ∈ Ioo (-N.epsilon⁻¹) N.epsilon⁻¹) |
| 256 | (v : RoundCylinderCoordinates) : |
| 257 | (N.scale / 2) * Real.sqrt (RoundCylinderMetric z v v) ≤ |
| 258 | g.tangentNorm (N.coordinate_map z) |
| 259 | (mfderiv ((𝓡 2).prod 𝓘(ℝ, ℝ)) (𝓡 3) N.coordinate_map z v) ∧ |
| 260 | g.tangentNorm (N.coordinate_map z) |
| 261 | (mfderiv ((𝓡 2).prod 𝓘(ℝ, ℝ)) (𝓡 3) N.coordinate_map z v) ≤ |
| 262 | (2 * N.scale) * Real.sqrt (RoundCylinderMetric z v v) := by |
| 263 | let P := roundCylinderPullback g N.coordinate_map z v v |
| 264 | let H := RoundCylinderMetric z v v |
| 265 | have hscale : 0 < N.scale := N.scale_pos |
| 266 | have hP : 0 ≤ P := by |
| 267 | dsimp [P, roundCylinderPullback] |
| 268 | by_cases hv : mfderiv ((𝓡 2).prod 𝓘(ℝ, ℝ)) (𝓡 3) N.coordinate_map z v = 0 |
| 269 | · simp [hv] |
| 270 | · exact (g.pos _ _ hv).le |
| 271 | have hH : 0 ≤ H := by |
| 272 | dsimp only [H] |
| 273 | rw [roundCylinderMetric_self_eq] |
| 274 | positivity |
| 275 | have hs : N.scale ^ 2 * (N.scale⁻¹ ^ 2 * P) = P := by |
| 276 | field_simp [ne_of_gt N.scale_pos] |
| 277 | obtain ⟨hlo, hhi⟩ := N.normalized_metric_quadratic_bounds z hz v |
| 278 | change (1 - N.epsilon) * H ≤ N.scale⁻¹ ^ 2 * P at hlo |
| 279 | change N.scale⁻¹ ^ 2 * P ≤ (1 + N.epsilon) * H at hhi |
| 280 | have hlow : (1 / 4 : ℝ) * H ≤ N.scale⁻¹ ^ 2 * P := |
| 281 | (mul_le_mul_of_nonneg_right (by linarith only [N.epsilon_lt_half]) hH).trans hlo |
| 282 | have hhigh : N.scale⁻¹ ^ 2 * P ≤ 4 * H := |
| 283 | hhi.trans (mul_le_mul_of_nonneg_right (by linarith only [N.epsilon_lt_half]) hH) |
| 284 | have hlow' := mul_le_mul_of_nonneg_left hlow (sq_nonneg N.scale) |
| 285 | have hhigh' := mul_le_mul_of_nonneg_left hhigh (sq_nonneg N.scale) |
| 286 | rw [hs] at hlow' hhigh' |
| 287 | change (N.scale / 2) * Real.sqrt H ≤ Real.sqrt P ∧ |
| 288 | Real.sqrt P ≤ (2 * N.scale) * Real.sqrt H |
| 289 | constructor |
| 290 | · apply (sq_le_sq₀ (mul_nonneg (by positivity) (Real.sqrt_nonneg _)) |
| 291 | (Real.sqrt_nonneg _)).mp |
| 292 | rw [mul_pow, Real.sq_sqrt hH, Real.sq_sqrt hP] |
| 293 | nlinarith only [hlow'] |
| 294 | · apply (sq_le_sq₀ (Real.sqrt_nonneg _) |
| 295 | (mul_nonneg (by positivity) (Real.sqrt_nonneg _))).mp |
| 296 | rw [mul_pow, Real.sq_sqrt hH, Real.sq_sqrt hP] |
| 297 | nlinarith only [hhigh'] |
| 298 | |
| 299 | /-- Axial travel has a definite actual speed throughout the open neck. -/ |
| 300 | theorem coordinate_axial_speed_lower (N : EpsilonNeck g) |
| 301 | (z : RoundCylinderSpace) (hz : z.2 ∈ Ioo (-N.epsilon⁻¹) N.epsilon⁻¹) |
| 302 | (v : RoundCylinderCoordinates) : |
| 303 | (N.scale / 2) * |v.2| ≤ g.tangentNorm (N.coordinate_map z) |
| 304 | (mfderiv ((𝓡 2).prod 𝓘(ℝ, ℝ)) (𝓡 3) N.coordinate_map z v) := by |
| 305 | have hscale : 0 < N.scale := N.scale_pos |
| 306 | have hmodel : |v.2| ≤ Real.sqrt (RoundCylinderMetric z v v) := by |
| 307 | rw [roundCylinderMetric_self_eq] |
| 308 | apply (sq_le_sq₀ (abs_nonneg _) (Real.sqrt_nonneg _)).mp |
| 309 | rw [sq_abs, Real.sq_sqrt (by positivity)] |
| 310 | nlinarith only [sq_nonneg ‖v.1‖] |
| 311 | exact (mul_le_mul_of_nonneg_left hmodel (by positivity)).trans |
| 312 | (N.coordinate_speed_bounds z hz v).1 |
| 313 | |
| 314 | /-- Fixed-height sphere speeds are bounded in the induced unit-sphere tangent norm. -/ |
| 315 | theorem coordinate_sphere_speed_upper (N : EpsilonNeck g) |
| 316 | (z : RoundCylinderSpace) (hz : z.2 ∈ Ioo (-N.epsilon⁻¹) N.epsilon⁻¹) |
| 317 | (w : EuclideanSpace ℝ (Fin 2)) : |
| 318 | g.tangentNorm (N.coordinate_map z) |
| 319 | (mfderiv ((𝓡 2).prod 𝓘(ℝ, ℝ)) (𝓡 3) N.coordinate_map z (w, 0)) ≤ |
| 320 | 4 * N.scale * ‖w‖ := by |
| 321 | have hscale : 0 < N.scale := N.scale_pos |
| 322 | have hmodel : Real.sqrt (RoundCylinderMetric z (w, 0) (w, 0)) ≤ 2 * ‖w‖ := by |
| 323 | rw [roundCylinderMetric_self_eq] |
| 324 | apply (sq_le_sq₀ (Real.sqrt_nonneg _) (by positivity)).mp |
| 325 | rw [Real.sq_sqrt (by positivity)] |
| 326 | nlinarith only [sq_nonneg ‖w‖] |
| 327 | calc |
| 328 | _ ≤ (2 * N.scale) * Real.sqrt (RoundCylinderMetric z (w, 0) (w, 0)) := |
| 329 | (N.coordinate_speed_bounds z hz (w, 0)).2 |
| 330 | _ ≤ (2 * N.scale) * (2 * ‖w‖) := |
| 331 | mul_le_mul_of_nonneg_left hmodel (by positivity) |
| 332 | _ = 4 * N.scale * ‖w‖ := by ring |
| 333 | |
| 334 | end PoincareMT.EpsilonNeck |