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.Topology.Manifold.Poincare.Final.Compatibility.SourceNames |
| 2 | import PoincareLib.Geometry.RicciFlow.Surgery.GlobalSchedule.Empty.EmptyEventCopy |
| 3 | import PoincareLib.Geometry.RicciFlow.Surgery.GlobalSchedule.Event.EventTransportMetric |
| 4 | import PoincareLib.Geometry.RicciFlow.Surgery.GlobalSchedule.Event.EventTransportCap |
| 5 | import PoincareLib.Geometry.RicciFlow.Surgery.GlobalSchedule.Event.EventTransportDerivative |
| 6 | import PoincareLib.Geometry.RicciFlow.Surgery.Continuation.Construction.OldEventPolicy |
| 7 | import PoincareLib.Geometry.RicciFlow.Diffeomorph |
| 8 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.EpochExtension.Canonical.StaticNeck |
| 9 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.EpochExtension.Canonical.StaticCap |
| 10 | import PoincareLib.Geometry.RicciFlow.Surgery.Induction.EpochExtension.Canonical.StaticComponents |
| 11 | |
| 12 | /-! |
| 13 | # Nonempty surgery-event transport |
| 14 | |
| 15 | The global representative construction changes the pre- and post-surgery |
| 16 | carriers by displayed diffeomorphisms while retaining the actual terminal |
| 17 | geometry. This file contains the dependent record transport and its policy |
| 18 | projections. The jet-limit field uses the exact internal transport data; |
| 19 | `MetricLimitTransportData.of_source` constructs those data by the separate |
| 20 | compact-chart covariance proof. |
| 21 | This transports Morgan--Tian's surgery data in Definition 15.8, pp. 361-362, |
| 22 | for the global induction of Section 17.2, pp. 409-411. |
| 23 | -/ |
| 24 | |
| 25 | set_option autoImplicit false |
| 26 | set_option backward.isDefEq.respectTransparency false |
| 27 | |
| 28 | open Set |
| 29 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 30 | |
| 31 | universe u |
| 32 | |
| 33 | namespace PoincareMT |
| 34 | |
| 35 | namespace M51EventTransport |
| 36 | |
| 37 | variable {A B C D : GeneralizedSliceCarrier.{u}} |
| 38 | |
| 39 | /-- Conjugate a displayed region equivalence by diffeomorphisms on both |
| 40 | carriers. The source map goes from the new source carrier to the old one and |
| 41 | the target map goes from the old target carrier to the new one. |
| 42 | This supports Definition 15.8, pp. 361-362. -/ |
| 43 | noncomputable def region |
| 44 | {U : Set A.carrier} {V : Set B.carrier} |
| 45 | (r : SurgeryRegionEquivalence A B U V) |
| 46 | (p : Diffeomorph (𝓡 3) (𝓡 3) C.carrier A.carrier ∞) |
| 47 | (q : Diffeomorph (𝓡 3) (𝓡 3) B.carrier D.carrier ∞) : |
| 48 | SurgeryRegionEquivalence C D (p ⁻¹' U) (q.symm ⁻¹' V) where |
| 49 | map := q ∘ r.map ∘ p |
| 50 | inverse := p.symm ∘ r.inverse ∘ q.symm |
| 51 | map_image := by |
| 52 | rw [Set.image_comp, Set.image_comp, |
| 53 | Set.image_preimage_eq (f := (p : C.carrier → A.carrier)) _ p.surjective, |
| 54 | r.map_image, q.image_eq_preimage_symm] |
| 55 | inverse_image := by |
| 56 | rw [Set.image_comp, Set.image_comp, |
| 57 | Set.image_preimage_eq (f := (q.symm : D.carrier → B.carrier)) _ q.symm.surjective, |
| 58 | r.inverse_image, p.symm.image_eq_preimage_symm] |
| 59 | rfl |
| 60 | left_inverse := by |
| 61 | intro x hx |
| 62 | change p.symm (r.inverse (q.symm (q (r.map (p x))))) = x |
| 63 | rw [q.symm_apply_apply, r.left_inverse hx] |
| 64 | exact p.symm_apply_apply x |
| 65 | right_inverse := by |
| 66 | intro x hx |
| 67 | change q (r.map (p (p.symm (r.inverse (q.symm x))))) = x |
| 68 | rw [p.apply_symm_apply, r.right_inverse hx, q.apply_symm_apply] |
| 69 | map_smooth := q.contMDiff.comp_contMDiffOn (r.map_smooth.comp p.contMDiff.contMDiffOn |
| 70 | (fun _ hx => hx)) |
| 71 | inverse_smooth := p.symm.contMDiff.comp_contMDiffOn |
| 72 | (r.inverse_smooth.comp q.symm.contMDiff.contMDiffOn (fun _ hx => hx)) |
| 73 | |
| 74 | /-- The transported region map is the displayed conjugate; Definition 15.8, pp. 361-362. -/ |
| 75 | @[simp] theorem region_map |
| 76 | {U : Set A.carrier} {V : Set B.carrier} |
| 77 | (r : SurgeryRegionEquivalence A B U V) |
| 78 | (p : Diffeomorph (𝓡 3) (𝓡 3) C.carrier A.carrier ∞) |
| 79 | (q : Diffeomorph (𝓡 3) (𝓡 3) B.carrier D.carrier ∞) |
| 80 | (x : C.carrier) : |
| 81 | (region r p q).map x = q (r.map (p x)) := rfl |
| 82 | |
| 83 | /-- The inverse region map is the inverse conjugate; Definition 15.8, pp. 361-362. -/ |
| 84 | @[simp] theorem region_inverse |
| 85 | {U : Set A.carrier} {V : Set B.carrier} |
| 86 | (r : SurgeryRegionEquivalence A B U V) |
| 87 | (p : Diffeomorph (𝓡 3) (𝓡 3) C.carrier A.carrier ∞) |
| 88 | (q : Diffeomorph (𝓡 3) (𝓡 3) B.carrier D.carrier ∞) |
| 89 | (x : D.carrier) : |
| 90 | (region r p q).inverse x = p.symm (r.inverse (q.symm x)) := rfl |
| 91 | |
| 92 | end M51EventTransport |
| 93 | |
| 94 | namespace SurgeryEventData |
| 95 | |
| 96 | variable {g₀ : StandardInitialMetric} {K : MetricSurgeryConstants} |
| 97 | {P : SurgeryParameters} {slice slice' : ℝ → GeneralizedSliceCarrier.{u}} |
| 98 | {metric : ∀ t, RiemannianMetric 3 (slice t).carrier} |
| 99 | {metric' : ∀ t, RiemannianMetric 3 (slice' t).carrier} {T : ℝ} |
| 100 | |
| 101 | /-- Transport a nonempty event through changing pre- and post-surgery carriers. |
| 102 | |
| 103 | The source pre-flow is pulled back by the inverse of the fixed map at |
| 104 | `tMinus`; the terminal carrier, terminal metric/connection, necks, cap count, |
| 105 | and local surgery results remain literal. `D` is the internal producer record |
| 106 | for the chart-sensitive metric-limit field. |
| 107 | This is the event operation of Definition 15.8, pp. 361-362, in new carriers. |
| 108 | -/ |
| 109 | noncomputable def transport |
| 110 | (E : SurgeryEventData g₀ K P slice metric T) |
| 111 | (φ : ∀ t : Set.Ico E.tMinus T, |
| 112 | Diffeomorph (𝓡 3) (𝓡 3) (slice t.1).carrier (slice' t.1).carrier ∞) |
| 113 | (ψ : Diffeomorph (𝓡 3) (𝓡 3) (slice T).carrier (slice' T).carrier ∞) |
| 114 | (hφ : ∀ (t : Set.Ico E.tMinus T) (x : (slice t.1).carrier) v w, |
| 115 | (metric' t.1).inner (φ t x) |
| 116 | (mfderiv (𝓡 3) (𝓡 3) (φ t) x v) |
| 117 | (mfderiv (𝓡 3) (𝓡 3) (φ t) x w) = |
| 118 | (metric t.1).inner x v w) |
| 119 | (hψ : ∀ (x : (slice T).carrier) v w, |
| 120 | (metric' T).inner (ψ x) |
| 121 | (mfderiv (𝓡 3) (𝓡 3) ψ x v) |
| 122 | (mfderiv (𝓡 3) (𝓡 3) ψ x w) = |
| 123 | (metric T).inner x v w) |
| 124 | (D : M51EventTransport.MetricLimitTransportData E |
| 125 | (φ ⟨E.tMinus, ⟨le_rfl, E.tMinus_lt⟩⟩)) : |
| 126 | SurgeryEventData g₀ K P slice' metric' T := by |
| 127 | let t₀ : Set.Ico E.tMinus T := ⟨E.tMinus, ⟨le_rfl, E.tMinus_lt⟩⟩ |
| 128 | let p := φ t₀ |
| 129 | let F := E.pre_flow.pullbackDiffeomorph p.symm |
| 130 | let preSet : Set (slice' E.tMinus).carrier := p.symm ⁻¹' E.regular_limit |
| 131 | let retainedSet : Set (slice' E.tMinus).carrier := p.symm ⁻¹' E.retained_pre |
| 132 | let preIdentify : ∀ t : Set.Ico E.tMinus T, |
| 133 | Diffeomorph (𝓡 3) (𝓡 3) (slice' E.tMinus).carrier (slice' t.1).carrier ∞ := |
| 134 | fun t => p.symm.trans ((E.pre_identify t).trans (φ t)) |
| 135 | let cap : ∀ i : Fin E.cap_count, |
| 136 | SurgeryCapChart g₀ (slice' T) (metric' T) (P.h T) := |
| 137 | fun i => (E.caps i).transport ψ hψ |
| 138 | refine { |
| 139 | tMinus := E.tMinus |
| 140 | tMinus_nonnegative := E.tMinus_nonnegative |
| 141 | tMinus_lt := E.tMinus_lt |
| 142 | preterminal_close := E.preterminal_close |
| 143 | pre_flow := F |
| 144 | pre_identify := preIdentify |
| 145 | pre_initial := by |
| 146 | intro x |
| 147 | change φ t₀ (E.pre_identify t₀ (p.symm x)) = x |
| 148 | rw [show φ t₀ = p from rfl, E.pre_initial, p.apply_symm_apply] |
| 149 | pre_metric := by |
| 150 | intro t x v w |
| 151 | change (metric' t.1).inner (φ t (E.pre_identify t (p.symm x))) |
| 152 | (mfderiv (𝓡 3) (𝓡 3) (φ t ∘ (E.pre_identify t ∘ p.symm)) x v) |
| 153 | (mfderiv (𝓡 3) (𝓡 3) (φ t ∘ (E.pre_identify t ∘ p.symm)) x w) = |
| 154 | (F.metric t.1).inner x v w |
| 155 | rw [(φ t).mfderiv_comp (by simp), p.symm.mfderiv_precomp (by simp)] |
| 156 | simp only [ContinuousLinearMap.comp_apply, Function.comp_apply] |
| 157 | rw [hφ t (E.pre_identify t (p.symm x)) _ _, E.pre_metric t (p.symm x)] |
| 158 | exact (E.pre_flow.pullbackDiffeomorph_inner p.symm t.1 x v w).symm |
| 159 | regular_limit := preSet |
| 160 | regular_limit_eq := by |
| 161 | ext x |
| 162 | change p.symm x ∈ E.regular_limit ↔ _ |
| 163 | rw [E.regular_limit_eq] |
| 164 | simp only [F, RicciFlow.pullbackDiffeomorph_scalarCurvature] |
| 165 | rfl |
| 166 | regular_limit_open := by |
| 167 | exact E.regular_limit_open.preimage p.symm.continuous |
| 168 | terminal := E.terminal |
| 169 | limit_identify := M51EventTransport.region E.limit_identify p.symm |
| 170 | (Diffeomorph.refl (𝓡 3) E.terminal.carrier ∞) |
| 171 | limit_metric := E.limit_metric |
| 172 | limit_connection := E.limit_connection |
| 173 | metric_converges := D.metric_converges |
| 174 | retained_pre := retainedSet |
| 175 | retained_pre_compact := by |
| 176 | exact p.symm.toHomeomorph.isCompact_preimage.mpr E.retained_pre_compact |
| 177 | retained_pre_subset := by |
| 178 | intro x hx |
| 179 | change p.symm x ∈ E.regular_limit |
| 180 | exact E.retained_pre_subset hx |
| 181 | low_curvature_retained := by |
| 182 | intro x hx |
| 183 | change x ∈ (fun y => E.limit_identify.map (p.symm y)) '' |
| 184 | (p.symm ⁻¹' E.retained_pre) |
| 185 | rw [M51EventTransport.limit_identify_image_preimage E p E.retained_pre] |
| 186 | exact E.low_curvature_retained hx |
| 187 | retained_post := ψ.symm ⁻¹' E.retained_post |
| 188 | retained_post_compact := by |
| 189 | exact ψ.symm.toHomeomorph.isCompact_preimage.mpr E.retained_post_compact |
| 190 | retention := M51EventTransport.region E.retention p.symm ψ |
| 191 | retained_metric := by |
| 192 | intro x hx v w |
| 193 | change (metric' T).inner (ψ (E.retention.map (p.symm x))) |
| 194 | (mfderiv (𝓡 3) (𝓡 3) (ψ ∘ (E.retention.map ∘ p.symm)) x v) |
| 195 | (mfderiv (𝓡 3) (𝓡 3) (ψ ∘ (E.retention.map ∘ p.symm)) x w) = |
| 196 | E.limit_metric.inner (E.limit_identify.map (p.symm x)) |
| 197 | (mfderiv (𝓡 3) (𝓡 3) (E.limit_identify.map ∘ p.symm) x v) |
| 198 | (mfderiv (𝓡 3) (𝓡 3) (E.limit_identify.map ∘ p.symm) x w) |
| 199 | rw [ψ.mfderiv_comp (by simp), p.symm.mfderiv_precomp (by simp), |
| 200 | p.symm.mfderiv_precomp (by simp)] |
| 201 | simp only [ContinuousLinearMap.comp_apply, Function.comp_apply] |
| 202 | rw [hψ, E.retained_metric (p.symm x) hx] |
| 203 | cap_count := E.cap_count |
| 204 | caps := cap |
| 205 | cap_disjoint := by |
| 206 | intro i j hij |
| 207 | apply Set.disjoint_left.mpr |
| 208 | intro x hxi hxj |
| 209 | rcases hxi with ⟨xi, hxi, rfl⟩ |
| 210 | rcases hxj with ⟨xj, hxj, hq⟩ |
| 211 | have hq' : xj = xi := ψ.injective hq |
| 212 | exact Set.disjoint_left.mp (E.cap_disjoint i j hij) hxi (hq' ▸ hxj) |
| 213 | post_cover := by |
| 214 | have hcover := congrArg (Set.image ψ) E.post_cover |
| 215 | rw [image_union, image_iUnion] at hcover |
| 216 | simpa only [cap, SurgeryCapChart.transport_carrier, |
| 217 | ψ.image_eq_preimage_symm, preimage_univ] using hcover |
| 218 | cap_boundary := by |
| 219 | intro i |
| 220 | change (ψ.symm ⁻¹' E.retained_post) ∩ ψ '' (E.caps i).carrier = |
| 221 | frontier (ψ '' (E.caps i).carrier) |
| 222 | rw [← ψ.image_eq_preimage_symm, |
| 223 | ← Set.image_inter (f := (ψ : (slice T).carrier → (slice' T).carrier)) ψ.injective, |
| 224 | E.cap_boundary i] |
| 225 | exact ψ.toHomeomorph.image_frontier _ |
| 226 | necks := E.necks |
| 227 | neck_carrier_disjoint := E.neck_carrier_disjoint |
| 228 | neck_time := E.neck_time |
| 229 | neck_delta := E.neck_delta |
| 230 | neck_scale := E.neck_scale |
| 231 | pre_boundary := by |
| 232 | change frontier (p.symm ⁻¹' E.retained_pre) = |
| 233 | ⋃ i, (p ∘ E.limit_identify.inverse) '' (E.necks i).neck.central_sphere |
| 234 | change frontier (p.toHomeomorph.symm ⁻¹' E.retained_pre) = _ |
| 235 | rw [← p.toHomeomorph.image_eq_preimage_symm, |
| 236 | ← p.toHomeomorph.image_frontier, E.pre_boundary, image_iUnion] |
| 237 | apply iUnion_congr |
| 238 | intro i |
| 239 | exact (image_comp _ _ _).symm |
| 240 | boundary_correspondence := by |
| 241 | intro i |
| 242 | rw [show (M51EventTransport.region E.retention p.symm ψ).map = |
| 243 | ψ ∘ E.retention.map ∘ p.symm from rfl] |
| 244 | rw [show (M51EventTransport.region E.limit_identify p.symm |
| 245 | (Diffeomorph.refl (𝓡 3) E.terminal.carrier ∞)).inverse = |
| 246 | p ∘ E.limit_identify.inverse from rfl] |
| 247 | rw [image_comp, image_comp, image_comp, p.symm_image_image, |
| 248 | E.boundary_correspondence i] |
| 249 | exact ψ.toHomeomorph.image_frontier _ |
| 250 | neck_negative_retained := by |
| 251 | intro i |
| 252 | rw [show (M51EventTransport.region E.limit_identify p.symm |
| 253 | (Diffeomorph.refl (𝓡 3) E.terminal.carrier ∞)).map '' retainedSet = |
| 254 | E.limit_identify.map '' E.retained_pre by |
| 255 | exact M51EventTransport.limit_identify_image_preimage E p E.retained_pre] |
| 256 | exact E.neck_negative_retained i |
| 257 | neck_positive_discarded := by |
| 258 | intro i |
| 259 | rw [show (M51EventTransport.region E.limit_identify p.symm |
| 260 | (Diffeomorph.refl (𝓡 3) E.terminal.carrier ∞)).map '' retainedSet = |
| 261 | E.limit_identify.map '' E.retained_pre by |
| 262 | exact M51EventTransport.limit_identify_image_preimage E p E.retained_pre] |
| 263 | exact E.neck_positive_discarded i |
| 264 | local_result := E.local_result |
| 265 | local_embed := fun i => ψ ∘ E.local_embed i |
| 266 | local_embed_smooth := by |
| 267 | intro i |
| 268 | exact ψ.contMDiff.comp (E.local_embed_smooth i) |
| 269 | local_embed_injective := by |
| 270 | intro i x y hxy |
| 271 | apply (E.local_embed_injective i) |
| 272 | exact ψ.injective hxy |
| 273 | local_metric := by |
| 274 | intro i x v w |
| 275 | have he := E.local_metric i x v w |
| 276 | change (metric' T).inner (ψ (E.local_embed i x)) |
| 277 | (mfderiv (𝓡 3) (𝓡 3) (ψ ∘ E.local_embed i) x v) |
| 278 | (mfderiv (𝓡 3) (𝓡 3) (ψ ∘ E.local_embed i) x w) = _ |
| 279 | rw [mfderiv_comp x |
| 280 | (ψ.contMDiff.mdifferentiable (by simp) _) |
| 281 | ((E.local_embed_smooth i).mdifferentiable (by simp) _)] |
| 282 | change (metric' T).inner (ψ (E.local_embed i x)) |
| 283 | (mfderiv (𝓡 3) (𝓡 3) ψ (E.local_embed i x) |
| 284 | (mfderiv (𝓡 3) (𝓡 3) (E.local_embed i) x v)) |
| 285 | (mfderiv (𝓡 3) (𝓡 3) ψ (E.local_embed i x) |
| 286 | (mfderiv (𝓡 3) (𝓡 3) (E.local_embed i) x w)) = _ |
| 287 | rw [hψ (E.local_embed i x) _ _] |
| 288 | exact he |
| 289 | local_tip := by |
| 290 | intro i |
| 291 | change ψ (E.local_embed i (E.local_result i).tip) = |
| 292 | ψ (E.caps i).tip |
| 293 | rw [E.local_tip] |
| 294 | local_cap_image := by |
| 295 | intro i |
| 296 | change (ψ ∘ E.local_embed i) '' _ = ψ '' (E.caps i).carrier |
| 297 | rw [image_comp, E.local_cap_image] |
| 298 | local_retention := by |
| 299 | intro i x hx |
| 300 | change ψ (E.local_embed i ((E.local_result i).collapse x)) = |
| 301 | ψ (E.retention.map (p.symm (p (E.limit_identify.inverse x)))) |
| 302 | rw [p.symm_apply_apply, E.local_retention i x hx] |
| 303 | disappearing_start := E.disappearing_start |
| 304 | disappearing_start_bounds := E.disappearing_start_bounds |
| 305 | disappearing_curvature := by |
| 306 | intro L hL |
| 307 | obtain ⟨s, hs, hsT, hcurv⟩ := E.disappearing_curvature L hL |
| 308 | refine ⟨s, hs, hsT, ?_⟩ |
| 309 | intro t ht x hx |
| 310 | have hcurv' := hcurv t ht (p.symm x) ?_ |
| 311 | · simpa only [F, RicciFlow.pullbackDiffeomorph_scalarCurvature] using hcurv' |
| 312 | · intro hinside |
| 313 | apply hx |
| 314 | change x ∈ interior (p.symm.toHomeomorph ⁻¹' E.retained_pre) |
| 315 | rw [← p.symm.toHomeomorph.preimage_interior] |
| 316 | exact hinside |
| 317 | disappearing_cover := by |
| 318 | intro t ht x hx |
| 319 | have htpre : t ∈ Ico E.tMinus T := |
| 320 | ⟨E.disappearing_start_bounds.1.le.trans ht.1, ht.2⟩ |
| 321 | have hsource := E.disappearing_cover t ht (p.symm x) ?_ |
| 322 | · rcases hsource with hN | hcap | hcomp |
| 323 | · obtain ⟨N, hcenter, heps⟩ := hN |
| 324 | let e := p.symm |
| 325 | let he : MetricHomothety (F.metric t) (E.pre_flow.metric t) e 1 := |
| 326 | M51EventTransport.pullback_metric_homothety E e ⟨t, htpre⟩ |
| 327 | let H : MetricHomothetyCalculus (F.metric t) (E.pre_flow.metric t) e 1 := |
| 328 | M13.metricHomothetyCalculus _ _ e 1 (by norm_num) he |
| 329 | refine Or.inl ⟨N.m48_pullback he H (F.connection t), ?_, ?_⟩ |
| 330 | · change p N.center = x |
| 331 | rw [hcenter, p.apply_symm_apply] |
| 332 | · exact heps |
| 333 | · obtain ⟨N, hcore, heps, hconstant⟩ := hcap |
| 334 | let e := p.symm |
| 335 | let he : MetricHomothety (F.metric t) (E.pre_flow.metric t) e 1 := |
| 336 | M51EventTransport.pullback_metric_homothety E e ⟨t, htpre⟩ |
| 337 | let H : MetricHomothetyCalculus (F.metric t) (E.pre_flow.metric t) e 1 := |
| 338 | M13.metricHomothetyCalculus _ _ e 1 (by norm_num) he |
| 339 | refine Or.inr (Or.inl ⟨N.m48_pullback he H (F.connection t), ?_, ?_, ?_⟩) |
| 340 | · exact hcore |
| 341 | · exact heps |
| 342 | · exact hconstant |
| 343 | · obtain ⟨U, hxU, hUeq, hpositive⟩ := hcomp |
| 344 | refine Or.inr (Or.inr ⟨connectedComponent x, ?_, rfl, ?_⟩) |
| 345 | · exact mem_connectedComponent |
| 346 | · intro y hy v w hpair |
| 347 | let e := p.symm |
| 348 | let he : MetricHomothety (F.metric t) (E.pre_flow.metric t) e 1 := |
| 349 | M51EventTransport.pullback_metric_homothety E e ⟨t, htpre⟩ |
| 350 | let H : MetricHomothetyCalculus (F.metric t) (E.pre_flow.metric t) e 1 := |
| 351 | M13.metricHomothetyCalculus _ _ e 1 (by norm_num) he |
| 352 | have hy' : p.symm y ∈ U := by |
| 353 | rw [hUeq] |
| 354 | exact p.symm.continuous.mapsTo_connectedComponent x hy |
| 355 | have hp' : LeviCivitaData.IsOrthonormalPair (E.pre_flow.metric t) |
| 356 | (p.symm y) |
| 357 | (mfderiv (𝓡 3) (𝓡 3) p.symm y v) |
| 358 | (mfderiv (𝓡 3) (𝓡 3) p.symm y w) := by |
| 359 | change LeviCivitaData.IsOrthonormalPair (E.pre_flow.metric t) |
| 360 | (e y) (mfderiv (𝓡 3) (𝓡 3) e y v) |
| 361 | (mfderiv (𝓡 3) (𝓡 3) e y w) |
| 362 | unfold LeviCivitaData.IsOrthonormalPair |
| 363 | rw [he y v v, he y w w, he y v w] |
| 364 | simpa only [LeviCivitaData.IsOrthonormalPair, one_mul] using hpair |
| 365 | have hpos := hpositive (p.symm y) hy' _ _ hp' |
| 366 | have hsec := H.sectional_eq (F.connection t) |
| 367 | (E.pre_flow.connection t) y v w |
| 368 | dsimp only [e] at hsec |
| 369 | rw [hsec, div_one] at hpos |
| 370 | exact hpos |
| 371 | · intro hinside |
| 372 | apply hx |
| 373 | change x ∈ interior (p.symm.toHomeomorph ⁻¹' E.retained_pre) |
| 374 | rw [← p.symm.toHomeomorph.preimage_interior] |
| 375 | exact hinside } |
| 376 | |
| 377 | end SurgeryEventData |
| 378 | |
| 379 | end PoincareMT |