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.Geometry.RicciFlow.Generalized.BoundedDistance.Tube.SourceGeometry.Paths.SourceMinimizingGeodesic |
| 3 | import PoincareLib.Geometry.RicciFlow.Generalized.BoundedDistance.Tube.IntrinsicGeometry.IntrinsicLocalPaths |
| 4 | import PoincareLib.Geometry.Riemannian.Comparison.Volume.Polar.NoBranching |
| 5 | |
| 6 | /-! |
| 7 | # Local affine regularity of a metric segment |
| 8 | |
| 9 | Morgan--Tian Claim 10.3 supplies a regional minimum; Appendix A.9 requires |
| 10 | its actual affine geodesic equation. A short extra leg fixes all backward |
| 11 | directions by M07's no-corner theorem. Initial-value uniqueness then identifies |
| 12 | the entire intervening subarc with one actual minimizing geodesic. |
| 13 | See `claim10_4/2026-09-23-source-minimizing-geodesic.md`. |
| 14 | -/ |
| 15 | |
| 16 | noncomputable section |
| 17 | set_option autoImplicit false |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | |
| 20 | open Set Filter |
| 21 | open scoped Manifold ContDiff Topology ENNReal Bundle |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | namespace PoincareMT.M28 |
| 26 | |
| 27 | variable {M : Type u} [TopologicalSpace M] [T2Space M] |
| 28 | [ChartedSpace (EuclideanSpace ℝ (Fin 3)) M] |
| 29 | [IsManifold (𝓡 3) ∞ M] |
| 30 | |
| 31 | private theorem exists_minimizing_leg_with_speed |
| 32 | (g : RiemannianMetric 3 M) (p q : M) {R d : ℝ} |
| 33 | (hR : 0 < R) (hcompact : IsCompact (closure (g.ball p R))) |
| 34 | (hd : 0 ≤ d) (hdR : d < R) (hpq : g.edist p q = ENNReal.ofReal d) : |
| 35 | ∃ α : ℝ → M, ∃ v : EuclideanSpace ℝ (Fin 3), |
| 36 | g.IsGeodesicOn α (Icc (0 : ℝ) 1) ∧ α 0 = p ∧ α 1 = q ∧ |
| 37 | HasDerivAt (fun t => extChartAt (𝓡 3) p (α t)) v 0 ∧ |
| 38 | g.tangentNorm p v = d ∧ |
| 39 | ∀ s ∈ Icc (0 : ℝ) 1, ∀ t ∈ Icc (0 : ℝ) 1, |
| 40 | g.edist (α s) (α t) ≤ ENNReal.ofReal (|s - t| * d) := by |
| 41 | have hq : q ∈ g.ball p R := by |
| 42 | change g.edist p q < ENNReal.ofReal R |
| 43 | rw [hpq] |
| 44 | exact (ENNReal.ofReal_lt_ofReal_iff hR).mpr hdR |
| 45 | obtain ⟨ε, hε, α, hα, hα0, hα1, hseg⟩ := |
| 46 | g.exists_minimizing_geodesic_of_precompact_ball p q hR hcompact hq |
| 47 | have hI : Icc (0 : ℝ) 1 ⊆ Ioo (-ε) (1 + ε) := by |
| 48 | intro t ht |
| 49 | constructor <;> linarith [ht.1, ht.2] |
| 50 | have hv := (hα.hasDerivAt_chart_at (t := 0) |
| 51 | (hI (show (0 : ℝ) ∈ Icc (0 : ℝ) 1 by norm_num)) p |
| 52 | (by simpa only [hα0] using mem_extChartAt_source (I := 𝓡 3) p)).1 |
| 53 | have hnorm := hα.initial_tangentNorm_eq_of_edist_segment hε hα0 hv hseg |
| 54 | rw [hpq] at hnorm |
| 55 | have hnorm' := congrArg ENNReal.toReal hnorm |
| 56 | have hspeed : g.tangentNorm p |
| 57 | (deriv (fun t => extChartAt (𝓡 3) p (α t)) 0) = d := by |
| 58 | have hvnonneg : 0 ≤ g.tangentNorm p |
| 59 | (deriv (fun t => extChartAt (𝓡 3) p (α t)) 0) := Real.sqrt_nonneg _ |
| 60 | simpa only [ENNReal.toReal_ofReal hvnonneg, |
| 61 | ENNReal.toReal_ofReal hd] using hnorm' |
| 62 | refine ⟨α, _, fun t ht => hα t (hI ht), hα0, hα1, hv, hspeed, ?_⟩ |
| 63 | intro s hs t ht |
| 64 | rw [hseg s hs t ht, hpq, ENNReal.ofReal_mul (abs_nonneg _)] |
| 65 | |
| 66 | omit [T2Space M] in |
| 67 | private theorem tangentNorm_smul (g : RiemannianMetric 3 M) |
| 68 | (p : M) (a : ℝ) (v : EuclideanSpace ℝ (Fin 3)) : |
| 69 | g.tangentNorm p (a • v) = |a| * g.tangentNorm p v := by |
| 70 | simp only [RiemannianMetric.tangentNorm, map_smul, smul_apply, smul_eq_mul] |
| 71 | rw [← mul_assoc, ← pow_two, Real.sqrt_mul (sq_nonneg a), Real.sqrt_sq_eq_abs] |
| 72 | |
| 73 | /-- A metric segment with one further endpoint agrees on its initial closed |
| 74 | subarc with a genuine affine unit-speed geodesic. The compact ball is local |
| 75 | at the intermediate point; the global regional application constructs it. -/ |
| 76 | theorem exists_geodesic_eq_metric_segment_of_right_anchor |
| 77 | (g : RiemannianMetric 3 M) {η : ℝ → M} {a b c R : ℝ} |
| 78 | (hab : a < b) (hbc : b < c) (hR : 0 < R) |
| 79 | (hcompact : IsCompact (closure (g.ball (η b) R))) |
| 80 | (hleft : b - a < R) (hright : c - b < R) |
| 81 | (hsegment : ∀ s ∈ Icc a c, ∀ t ∈ Icc a c, |
| 82 | g.edist (η s) (η t) = ENNReal.ofReal |s - t|) : |
| 83 | ∃ ξ : ℝ → M, g.IsGeodesicOn ξ (Icc a b) ∧ EqOn ξ η (Icc a b) ∧ |
| 84 | ∀ t ∈ Icc a b, |
| 85 | g.tangentNorm (ξ t) (mfderiv 𝓘(ℝ, ℝ) (𝓡 3) ξ t 1) = 1 := by |
| 86 | have ha : a ∈ Icc a c := ⟨le_rfl, (hab.trans hbc).le⟩ |
| 87 | have hb : b ∈ Icc a c := ⟨hab.le, hbc.le⟩ |
| 88 | have hc : c ∈ Icc a c := ⟨(hab.trans hbc).le, le_rfl⟩ |
| 89 | have hA : 0 < b - a := sub_pos.mpr hab |
| 90 | have hB : 0 < c - b := sub_pos.mpr hbc |
| 91 | obtain ⟨α, v, hα, hα0, hα1, hαv, hv, hαupper⟩ := |
| 92 | exists_minimizing_leg_with_speed g (η b) (η a) hR hcompact hA.le hleft |
| 93 | (by simpa only [abs_of_pos hA] using hsegment b hb a ha) |
| 94 | obtain ⟨β, w, hβ, hβ0, hβ1, hβv, hw, hβupper⟩ := |
| 95 | exists_minimizing_leg_with_speed g (η b) (η c) hR hcompact hB.le hright |
| 96 | (by simpa only [abs_of_neg (sub_neg.mpr hbc), neg_sub] using hsegment b hb c hc) |
| 97 | have hnorm : (c - b)⁻¹ • w = -((b - a)⁻¹ • v) := by |
| 98 | have h := g.normalized_initial_eq_neg_of_minimizing_broken_geodesics (η b) |
| 99 | hα hβ hα0 hβ0 hαv hβv (by simpa only [hv] using hA) |
| 100 | (by simpa only [hw] using hB) |
| 101 | (by simpa only [hv] using hαupper) (by simpa only [hw] using hβupper) ?_ |
| 102 | · simpa only [hv, hw] using h |
| 103 | · rw [hα1, hβ1, hv, hw, hsegment a ha c hc, |
| 104 | abs_of_neg (sub_neg.mpr (hab.trans hbc)), neg_sub] |
| 105 | congr 1 |
| 106 | ring |
| 107 | have hread : ∀ t ∈ Icc a b, α ((b - t) / (b - a)) = η t := by |
| 108 | intro t ht |
| 109 | rcases eq_or_lt_of_le ht.2 with rfl | htb |
| 110 | · simpa only [sub_self, zero_div] using hα0 |
| 111 | have htac : t ∈ Icc a c := ⟨ht.1, ht.2.trans hbc.le⟩ |
| 112 | have hT : 0 < b - t := sub_pos.mpr htb |
| 113 | have hTR : b - t < R := (sub_le_sub_left ht.1 b).trans_lt hleft |
| 114 | obtain ⟨δ, z, hδ, hδ0, hδ1, hδv, hz, hδupper⟩ := |
| 115 | exists_minimizing_leg_with_speed g (η b) (η t) hR hcompact hT.le hTR |
| 116 | (by simpa only [abs_of_pos hT] using hsegment b hb t htac) |
| 117 | have hnorm' : (c - b)⁻¹ • w = -((b - t)⁻¹ • z) := by |
| 118 | have h := g.normalized_initial_eq_neg_of_minimizing_broken_geodesics (η b) |
| 119 | hδ hβ hδ0 hβ0 hδv hβv (by simpa only [hz] using hT) |
| 120 | (by simpa only [hw] using hB) |
| 121 | (by simpa only [hz] using hδupper) (by simpa only [hw] using hβupper) ?_ |
| 122 | · simpa only [hz, hw] using h |
| 123 | · rw [hδ1, hβ1, hz, hw, hsegment t htac c hc, |
| 124 | abs_of_neg (sub_neg.mpr (htb.trans hbc)), neg_sub] |
| 125 | congr 1 |
| 126 | ring |
| 127 | have hvz : ((b - t) / (b - a)) • v = z := by |
| 128 | have hh := neg_injective (hnorm.symm.trans hnorm') |
| 129 | have hh' := congrArg (fun u : EuclideanSpace ℝ (Fin 3) => (b - t) • u) hh |
| 130 | simpa only [smul_smul, mul_inv_cancel₀ hT.ne', one_smul, div_eq_mul_inv] using hh' |
| 131 | let k := (b - t) / (b - a) |
| 132 | have hk : k ∈ Icc (0 : ℝ) 1 := |
| 133 | ⟨(div_pos hT hA).le, (div_le_one hA).mpr (sub_le_sub_left ht.1 b)⟩ |
| 134 | have hscaled : g.IsGeodesicOn (fun u => α (k * u)) (Icc (0 : ℝ) 1) := by |
| 135 | intro u hu |
| 136 | exact hα.comp_mul k u |
| 137 | ⟨mul_nonneg hk.1 hu.1, mul_le_one₀ hk.2 hu.1 hu.2⟩ |
| 138 | have hscaledv : HasDerivAt (fun u => extChartAt (𝓡 3) (η b) (α (k * u))) z 0 := by |
| 139 | have hd : HasDerivAt (fun u => extChartAt (𝓡 3) (η b) (α u)) v (k * 0) := by |
| 140 | simpa only [mul_zero] using hαv |
| 141 | have hkv : k • v = z := hvz |
| 142 | simpa only [Function.comp_def, mul_one, hkv] using |
| 143 | hd.scomp 0 ((hasDerivAt_id (0 : ℝ)).const_mul k) |
| 144 | have heq := RiemannianMetric.geodesic_endpoint_eq_of_initial_data hscaled hδ |
| 145 | (by simpa only [mul_zero] using hα0) hδ0 hscaledv hδv |
| 146 | simpa only [mul_one, hδ1] using heq |
| 147 | let ξ := fun t => α ((b - t) / (b - a)) |
| 148 | have hξ : g.IsGeodesicOn ξ (Icc a b) := by |
| 149 | have heq (t : ℝ) : (b - t) / (b - a) = (-(b - a)⁻¹) * t + b / (b - a) := by |
| 150 | simp only [div_eq_mul_inv] |
| 151 | ring |
| 152 | have hf : ξ = fun t => α ((-(b - a)⁻¹) * t + b / (b - a)) := by |
| 153 | funext t |
| 154 | rw [← heq] |
| 155 | rw [hf] |
| 156 | intro t ht |
| 157 | apply hα.comp_affine (-(b - a)⁻¹) (b / (b - a)) t |
| 158 | change -(b - a)⁻¹ * t + b / (b - a) ∈ Icc (0 : ℝ) 1 |
| 159 | rw [← heq] |
| 160 | exact ⟨div_nonneg (sub_nonneg.mpr ht.2) hA.le, |
| 161 | (div_le_one hA).mpr (sub_le_sub_left ht.1 b)⟩ |
| 162 | have hξb : ξ b = η b := hread b ⟨hab.le, le_rfl⟩ |
| 163 | have hξv : HasDerivAt (fun t => extChartAt (𝓡 3) (η b) (ξ t)) |
| 164 | (-(b - a)⁻¹ • v) b := by |
| 165 | have hd : HasDerivAt (fun t => extChartAt (𝓡 3) (η b) (α t)) v |
| 166 | ((b - b) / (b - a)) := by simpa only [sub_self, zero_div] using hαv |
| 167 | simpa only [ξ, Function.comp_def, Function.comp_apply, Pi.sub_apply, id_eq, |
| 168 | zero_sub, neg_div, one_div] using |
| 169 | hd.scomp b (((hasDerivAt_const b b).sub (hasDerivAt_id b)).div_const (b - a)) |
| 170 | have hspeedb : g.tangentNorm (ξ b) (mfderiv 𝓘(ℝ, ℝ) (𝓡 3) ξ b 1) = 1 := by |
| 171 | rw [← Poincare.VolumeComparison.tangentNorm_coordDeriv_eq g hξ |
| 172 | (show b ∈ Icc a b from ⟨hab.le, le_rfl⟩) hξb hξv, |
| 173 | tangentNorm_smul, abs_neg, abs_of_pos (inv_pos.mpr hA), hv, |
| 174 | inv_mul_cancel₀ hA.ne'] |
| 175 | refine ⟨ξ, hξ, hread, ?_⟩ |
| 176 | intro t ht |
| 177 | exact (Poincare.VolumeComparison.tangentNorm_eq_of_mem_Icc g hξ ht |
| 178 | ⟨hab.le, le_rfl⟩).trans hspeedb |
| 179 | |
| 180 | private theorem exists_geodesic_germ_of_metric_segment_lt |
| 181 | (g : RiemannianMetric 3 M) {η : ℝ → M} {a b t : ℝ} |
| 182 | (ht : t ∈ Ico a b) |
| 183 | (hsegment : ∀ s ∈ Icc a b, ∀ r ∈ Icc a b, |
| 184 | g.edist (η s) (η r) = ENNReal.ofReal |s - r|) : |
| 185 | ∃ ρ : ℝ, 0 < ρ ∧ ∃ ξ : ℝ → M, |
| 186 | g.IsGeodesicOn ξ {t} ∧ EqOn ξ η (Icc a b ∩ Ioo (t - ρ) (t + ρ)) ∧ |
| 187 | g.tangentNorm (ξ t) (mfderiv 𝓘(ℝ, ℝ) (𝓡 3) ξ t 1) = 1 := by |
| 188 | let : LocallyCompactSpace M := ChartedSpace.locallyCompactSpace |
| 189 | (EuclideanSpace ℝ (Fin 3)) M |
| 190 | let : Bundle.RiemannianBundle (TangentSpace (𝓡 3) : M → Type _) := |
| 191 | ⟨g.toRiemannianMetric⟩ |
| 192 | let : IsContinuousRiemannianBundle (EuclideanSpace ℝ (Fin 3)) |
| 193 | (TangentSpace (𝓡 3) : M → Type _) := |
| 194 | ⟨⟨g.inner, g.toContinuousRiemannianMetric.continuous, fun _ _ _ => rfl⟩⟩ |
| 195 | let : EMetricSpace M := EMetricSpace.ofRiemannianMetric (𝓡 3) M |
| 196 | obtain ⟨R, hR, hcompact, _⟩ := exists_precompact_ball_subset_open g |
| 197 | isOpen_univ (mem_univ (η t)) |
| 198 | let δ := min ((b - t) / 4) (R / 8) |
| 199 | have hδ : 0 < δ := lt_min (by linarith [ht.2]) (by positivity) |
| 200 | have hδb : δ ≤ (b - t) / 4 := min_le_left _ _ |
| 201 | have hδR : δ ≤ R / 8 := min_le_right _ _ |
| 202 | let x := max a (t - δ) |
| 203 | let y := t + δ |
| 204 | let z := t + 2 * δ |
| 205 | have hxt : x ≤ t := max_le ht.1 (by linarith) |
| 206 | have hax : a ≤ x := le_max_left _ _ |
| 207 | have hxl : t - δ ≤ x := le_max_right _ _ |
| 208 | have hxy : x < y := by dsimp [y]; linarith |
| 209 | have hyz : y < z := by dsimp [y, z]; linarith |
| 210 | have hzb : z ≤ b := by dsimp [z]; linarith |
| 211 | have hyab : y ∈ Icc a b := by |
| 212 | constructor |
| 213 | · exact hax.trans hxy.le |
| 214 | · exact hyz.le.trans hzb |
| 215 | have hsub : Icc x z ⊆ Icc a b := Icc_subset_Icc hax hzb |
| 216 | have hty : g.edist (η t) (η y) = ENNReal.ofReal δ := by |
| 217 | rw [hsegment t ⟨ht.1, ht.2.le⟩ y hyab] |
| 218 | have hh : t - y = -δ := by dsimp [y]; ring |
| 219 | rw [hh, abs_neg, abs_of_pos hδ] |
| 220 | have hball : g.ball (η y) (R / 2) ⊆ g.ball (η t) R := by |
| 221 | intro q hq |
| 222 | change edist (η t) q < ENNReal.ofReal R |
| 223 | have hq' : edist (η y) q < ENNReal.ofReal (R / 2) := hq |
| 224 | calc |
| 225 | edist (η t) q ≤ edist (η t) (η y) + edist (η y) q := edist_triangle _ _ _ |
| 226 | _ = ENNReal.ofReal δ + edist (η y) q := by |
| 227 | change g.edist (η t) (η y) + edist (η y) q = _ |
| 228 | rw [hty] |
| 229 | _ < ENNReal.ofReal δ + ENNReal.ofReal (R / 2) := |
| 230 | ENNReal.add_lt_add_left ENNReal.ofReal_ne_top hq' |
| 231 | _ = ENNReal.ofReal (δ + R / 2) := |
| 232 | (ENNReal.ofReal_add hδ.le (by positivity)).symm |
| 233 | _ < ENNReal.ofReal R := (ENNReal.ofReal_lt_ofReal_iff hR).mpr (by linarith) |
| 234 | have hcompactY : IsCompact (closure (g.ball (η y) (R / 2))) := |
| 235 | hcompact.of_isClosed_subset isClosed_closure (closure_mono hball) |
| 236 | obtain ⟨ξ, hξ, heq, hspeed⟩ := exists_geodesic_eq_metric_segment_of_right_anchor g |
| 237 | hxy hyz (show 0 < R / 2 by positivity) hcompactY |
| 238 | (show y - x < R / 2 by dsimp [y]; linarith) |
| 239 | (show z - y < R / 2 by dsimp [y, z]; linarith) |
| 240 | (fun s hs r hr => hsegment s (hsub hs) r (hsub hr)) |
| 241 | have htx : t ∈ Icc x y := ⟨hxt, by dsimp [y]; linarith⟩ |
| 242 | refine ⟨δ / 2, by positivity, ξ, ?_, ?_, hspeed t htx⟩ |
| 243 | · intro s hs |
| 244 | simpa only [mem_singleton_iff.mp hs] using hξ t htx |
| 245 | · intro s hs |
| 246 | apply heq |
| 247 | refine ⟨max_le hs.1.1 ?_, ?_⟩ |
| 248 | · linarith [hs.2.1] |
| 249 | · dsimp [y] |
| 250 | linarith [hs.2.2] |
| 251 | |
| 252 | /-- Every point of a nonconstant unit metric segment has an affine unit-speed |
| 253 | representative germ, including one-sided endpoint germs. The local compact |
| 254 | balls are produced from the manifold topology; no completeness is required. -/ |
| 255 | theorem exists_geodesic_germ_of_metric_segment |
| 256 | (g : RiemannianMetric 3 M) {η : ℝ → M} {a b : ℝ} (hab : a < b) |
| 257 | (hsegment : ∀ s ∈ Icc a b, ∀ r ∈ Icc a b, |
| 258 | g.edist (η s) (η r) = ENNReal.ofReal |s - r|) |
| 259 | {t : ℝ} (ht : t ∈ Icc a b) : |
| 260 | ∃ ρ : ℝ, 0 < ρ ∧ ∃ ξ : ℝ → M, |
| 261 | g.IsGeodesicOn ξ {t} ∧ EqOn ξ η (Icc a b ∩ Ioo (t - ρ) (t + ρ)) ∧ |
| 262 | g.tangentNorm (ξ t) (mfderiv 𝓘(ℝ, ℝ) (𝓡 3) ξ t 1) = 1 := by |
| 263 | rcases eq_or_lt_of_le ht.2 with htb | htb |
| 264 | · subst t |
| 265 | let ηr := fun s => η (a + b - s) |
| 266 | have hrev (s : ℝ) (hs : s ∈ Icc a b) : a + b - s ∈ Icc a b := by |
| 267 | constructor <;> linarith [hs.1, hs.2] |
| 268 | have hsegmentr : ∀ s ∈ Icc a b, ∀ r ∈ Icc a b, |
| 269 | g.edist (ηr s) (ηr r) = ENNReal.ofReal |s - r| := by |
| 270 | intro s hs r hr |
| 271 | rw [hsegment (a + b - s) (hrev s hs) (a + b - r) (hrev r hr)] |
| 272 | congr 1 |
| 273 | rw [show a + b - s - (a + b - r) = -(s - r) by ring, abs_neg] |
| 274 | obtain ⟨ρ, hρ, ξ, hξ, heq, hspeed⟩ := exists_geodesic_germ_of_metric_segment_lt g |
| 275 | (η := ηr) (t := a) ⟨le_rfl, hab⟩ hsegmentr |
| 276 | let ζ := fun s => ξ (a + b - s) |
| 277 | have hζ : g.IsGeodesicOn ζ {b} := by |
| 278 | have hf : ζ = fun s => ξ ((-1) * s + (a + b)) := by |
| 279 | funext s |
| 280 | dsimp only [ζ] |
| 281 | congr 1 |
| 282 | ring |
| 283 | rw [hf] |
| 284 | intro s hs |
| 285 | have hs' : s = b := mem_singleton_iff.mp hs |
| 286 | subst s |
| 287 | apply hξ.comp_affine (-1) (a + b) b |
| 288 | change (-1) * b + (a + b) = a |
| 289 | ring |
| 290 | have hζb : ζ b = ξ a := by simp only [ζ, add_sub_cancel_right] |
| 291 | have hd := (hξ.hasDerivAt_chart_at (by simp : a ∈ ({a} : Set ℝ)) (ξ a) |
| 292 | (mem_extChartAt_source (ξ a))).1 |
| 293 | let v := deriv (fun s => extChartAt (𝓡 3) (ξ a) (ξ s)) a |
| 294 | have hv : g.tangentNorm (ξ a) v = 1 := |
| 295 | (Poincare.VolumeComparison.tangentNorm_coordDeriv_eq g hξ (by simp) rfl hd).trans hspeed |
| 296 | have hd' : HasDerivAt (fun s => extChartAt (𝓡 3) (ξ a) (ζ s)) (-v) b := by |
| 297 | have hh : HasDerivAt (fun s => extChartAt (𝓡 3) (ξ a) (ξ s)) v (a + b - b) := by |
| 298 | simpa only [add_sub_cancel_right] using hd |
| 299 | simpa only [ζ, Function.comp_def, Function.comp_apply, Pi.sub_apply, id_eq, |
| 300 | zero_sub, neg_one_smul] using |
| 301 | hh.scomp b ((hasDerivAt_const b (a + b)).sub (hasDerivAt_id b)) |
| 302 | have hζspeed : g.tangentNorm (ζ b) (mfderiv 𝓘(ℝ, ℝ) (𝓡 3) ζ b 1) = 1 := by |
| 303 | rw [← Poincare.VolumeComparison.tangentNorm_coordDeriv_eq g hζ |
| 304 | (by simp : b ∈ ({b} : Set ℝ)) hζb hd'] |
| 305 | have hsmul := tangentNorm_smul g (ξ a) (-1) v |
| 306 | simpa only [neg_one_smul, abs_neg, abs_one, one_mul, hv] using hsmul |
| 307 | refine ⟨ρ, hρ, ζ, hζ, ?_, hζspeed⟩ |
| 308 | intro s hs |
| 309 | have hr : a + b - s ∈ Icc a b ∩ Ioo (a - ρ) (a + ρ) := |
| 310 | ⟨hrev s hs.1, by constructor <;> linarith [hs.2.1, hs.2.2]⟩ |
| 311 | have hh := heq hr |
| 312 | have hundo : a + b - (a + b - s) = s := by ring |
| 313 | simpa only [ζ, ηr, hundo] using hh |
| 314 | · exact exists_geodesic_germ_of_metric_segment_lt g ⟨ht.1, htb⟩ hsegment |
| 315 | |
| 316 | end PoincareMT.M28 |