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.Surgery.Flow.Basic |
| 2 | |
| 3 | /-! |
| 4 | # Copying an actual surgery event before an empty-tail cutoff |
| 5 | |
| 6 | Morgan--Tian Section 17.2, p. 409, extends an empty flow permanently. |
| 7 | Changing its later carrier representatives leaves every earlier event intact. |
| 8 | The index map below is the identity through the event time; it does not |
| 9 | change the physical time of the event's ordinary pre-flow. |
| 10 | -/ |
| 11 | |
| 12 | set_option autoImplicit false |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open scoped Manifold ContDiff Bundle ENNReal Topology |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | namespace PoincareMT |
| 20 | |
| 21 | namespace M51EventCopy |
| 22 | |
| 23 | /-- Equality transport in an indexed family, without changing any data. -/ |
| 24 | def relabel {C : ℝ → Sort v} {s t : ℝ} (h : s = t) (x : C s) : C t := h ▸ x |
| 25 | |
| 26 | theorem relabel_heq {C : ℝ → Sort v} {s t : ℝ} (h : s = t) (x : C s) : |
| 27 | HEq (relabel h x) x := by |
| 28 | subst t |
| 29 | rfl |
| 30 | |
| 31 | /-- Equality of time labels induces the identity smooth identification. -/ |
| 32 | noncomputable def timeEquivalence (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 33 | (s t : ℝ) (h : s = t) : |
| 34 | Diffeomorph (𝓡 3) (𝓡 3) (slice s).carrier (slice t).carrier ∞ := by |
| 35 | subst t |
| 36 | exact Diffeomorph.refl (𝓡 3) (slice s).carrier ∞ |
| 37 | |
| 38 | /-- The old slice is identified with its reindexed representative. -/ |
| 39 | noncomputable def identify (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 40 | (tau : ℝ → ℝ) (t : ℝ) (h : tau t = t) : |
| 41 | Diffeomorph (𝓡 3) (𝓡 3) (slice t).carrier (slice (tau t)).carrier ∞ := |
| 42 | timeEquivalence slice t (tau t) h.symm |
| 43 | |
| 44 | theorem relabel_set_image (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 45 | {s t : ℝ} (h : s = t) (U : Set (slice s).carrier) : |
| 46 | timeEquivalence slice s t h '' U = |
| 47 | relabel (C := fun r => Set (slice r).carrier) h U := by |
| 48 | subst t |
| 49 | exact Set.image_id _ |
| 50 | |
| 51 | theorem relabel_map_apply (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 52 | {s t : ℝ} (h : s = t) {ι : Type*} {A : ι → Type*} |
| 53 | (f : ∀ i, A i → (slice s).carrier) (i : ι) (x : A i) : |
| 54 | relabel (C := fun r => ∀ i, A i → (slice r).carrier) h f i x = |
| 55 | timeEquivalence slice s t h (f i x) := by |
| 56 | subst t |
| 57 | rfl |
| 58 | |
| 59 | /-- Equality transport of the source of a displayed region equivalence. -/ |
| 60 | def regionSource (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 61 | {s t : ℝ} (h : s = t) (B : GeneralizedSliceCarrier.{u}) |
| 62 | (U : Set (slice s).carrier) (V : Set B.carrier) |
| 63 | (e : SurgeryRegionEquivalence (slice s) B U V) : |
| 64 | SurgeryRegionEquivalence (slice t) B |
| 65 | (relabel (C := fun r => Set (slice r).carrier) h U) V := by |
| 66 | subst t |
| 67 | exact e |
| 68 | |
| 69 | theorem regionSource_map (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 70 | {s t : ℝ} (h : s = t) (B : GeneralizedSliceCarrier.{u}) |
| 71 | (U : Set (slice s).carrier) (V : Set B.carrier) |
| 72 | (e : SurgeryRegionEquivalence (slice s) B U V) (x : (slice s).carrier) : |
| 73 | (regionSource slice h B U V e).map (timeEquivalence slice s t h x) = e.map x := by |
| 74 | subst t |
| 75 | rfl |
| 76 | |
| 77 | theorem regionSource_inverse (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 78 | {s t : ℝ} (h : s = t) (B : GeneralizedSliceCarrier.{u}) |
| 79 | (U : Set (slice s).carrier) (V : Set B.carrier) |
| 80 | (e : SurgeryRegionEquivalence (slice s) B U V) (x : B.carrier) : |
| 81 | (regionSource slice h B U V e).inverse x = |
| 82 | timeEquivalence slice s t h (e.inverse x) := by |
| 83 | subst t |
| 84 | rfl |
| 85 | |
| 86 | /-- Equality transport of both carriers and both displayed regions. -/ |
| 87 | def region (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 88 | {s s' t t' : ℝ} (hs : s = s') (ht : t = t') |
| 89 | (U : Set (slice s).carrier) (V : Set (slice t).carrier) |
| 90 | (e : SurgeryRegionEquivalence (slice s) (slice t) U V) : |
| 91 | SurgeryRegionEquivalence (slice s') (slice t') |
| 92 | (relabel (C := fun r => Set (slice r).carrier) hs U) |
| 93 | (relabel (C := fun r => Set (slice r).carrier) ht V) := by |
| 94 | subst s' |
| 95 | subst t' |
| 96 | exact e |
| 97 | |
| 98 | theorem region_map (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 99 | {s s' t t' : ℝ} (hs : s = s') (ht : t = t') |
| 100 | (U : Set (slice s).carrier) (V : Set (slice t).carrier) |
| 101 | (e : SurgeryRegionEquivalence (slice s) (slice t) U V) (x : (slice s).carrier) : |
| 102 | (region slice hs ht U V e).map (timeEquivalence slice s s' hs x) = |
| 103 | timeEquivalence slice t t' ht (e.map x) := by |
| 104 | subst s' |
| 105 | subst t' |
| 106 | rfl |
| 107 | |
| 108 | theorem region_inverse (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 109 | {s s' t t' : ℝ} (hs : s = s') (ht : t = t') |
| 110 | (U : Set (slice s).carrier) (V : Set (slice t).carrier) |
| 111 | (e : SurgeryRegionEquivalence (slice s) (slice t) U V) (x : (slice t).carrier) : |
| 112 | (region slice hs ht U V e).inverse (timeEquivalence slice t t' ht x) = |
| 113 | timeEquivalence slice s s' hs (e.inverse x) := by |
| 114 | subst s' |
| 115 | subst t' |
| 116 | rfl |
| 117 | |
| 118 | theorem timeEquivalence_apply_heq (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 119 | (s t : ℝ) (h : s = t) (x : (slice s).carrier) : |
| 120 | HEq (timeEquivalence slice s t h x) x := by |
| 121 | subst t |
| 122 | rfl |
| 123 | |
| 124 | theorem identify_apply_heq (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 125 | (tau : ℝ → ℝ) (t : ℝ) (h : tau t = t) (x : (slice t).carrier) : |
| 126 | HEq (identify slice tau t h x) x := |
| 127 | timeEquivalence_apply_heq slice t (tau t) h.symm x |
| 128 | |
| 129 | theorem timeEquivalence_symm_apply_heq (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 130 | (s t : ℝ) (h : s = t) (x : (slice t).carrier) : |
| 131 | HEq ((timeEquivalence slice s t h).symm x) x := by |
| 132 | subst t |
| 133 | rfl |
| 134 | |
| 135 | theorem identify_symm_apply_heq (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 136 | (tau : ℝ → ℝ) (t : ℝ) (h : tau t = t) (x : (slice (tau t)).carrier) : |
| 137 | HEq ((identify slice tau t h).symm x) x := |
| 138 | timeEquivalence_symm_apply_heq slice t (tau t) h.symm x |
| 139 | |
| 140 | /-- Equality transport on both ends of a smooth identification. -/ |
| 141 | noncomputable def diffeomorph (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 142 | {s s' t t' : ℝ} (hs : s = s') (ht : t = t') |
| 143 | (f : Diffeomorph (𝓡 3) (𝓡 3) (slice s).carrier (slice t).carrier ∞) : |
| 144 | Diffeomorph (𝓡 3) (𝓡 3) (slice s').carrier (slice t').carrier ∞ := by |
| 145 | subst s' |
| 146 | subst t' |
| 147 | exact f |
| 148 | |
| 149 | theorem diffeomorph_apply (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 150 | {s s' t t' : ℝ} (hs : s = s') (ht : t = t') |
| 151 | (f : Diffeomorph (𝓡 3) (𝓡 3) (slice s).carrier (slice t).carrier ∞) |
| 152 | (x : (slice s).carrier) : |
| 153 | diffeomorph slice hs ht f (timeEquivalence slice s s' hs x) = |
| 154 | timeEquivalence slice t t' ht (f x) := by |
| 155 | subst s' |
| 156 | subst t' |
| 157 | rfl |
| 158 | |
| 159 | /-- Only the initial carrier is transported; the physical time is unchanged. -/ |
| 160 | noncomputable def flow (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 161 | {s t : ℝ} (h : s = t) {J : Set ℝ} |
| 162 | (B : RicciFlow 3 (slice s).carrier J) : RicciFlow 3 (slice t).carrier J := |
| 163 | h ▸ B |
| 164 | |
| 165 | theorem flow_heq (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 166 | {s t : ℝ} (h : s = t) {J : Set ℝ} (B : RicciFlow 3 (slice s).carrier J) : |
| 167 | HEq (flow slice h B) B := by |
| 168 | subst t |
| 169 | rfl |
| 170 | |
| 171 | theorem flow_metric_pullback (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 172 | {s t : ℝ} (h : s = t) {J : Set ℝ} (B : RicciFlow 3 (slice s).carrier J) |
| 173 | (r : ℝ) (x : (slice s).carrier) (v w : TangentSpace (𝓡 3) x) : |
| 174 | ((flow slice h B).metric r).inner (timeEquivalence slice s t h x) |
| 175 | (mfderiv (𝓡 3) (𝓡 3) (timeEquivalence slice s t h) x v) |
| 176 | (mfderiv (𝓡 3) (𝓡 3) (timeEquivalence slice s t h) x w) = |
| 177 | (B.metric r).inner x v w := by |
| 178 | subst t |
| 179 | change (B.metric r).inner x (mfderiv (𝓡 3) (𝓡 3) id x v) |
| 180 | (mfderiv (𝓡 3) (𝓡 3) id x w) = _ |
| 181 | rw [mfderiv_id] |
| 182 | rfl |
| 183 | |
| 184 | /-- An existing slab metric identity survives coherent equality transport. -/ |
| 185 | theorem diffeomorph_flow_metric_pullback |
| 186 | (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 187 | (metric : ∀ t, RiemannianMetric 3 (slice t).carrier) |
| 188 | {s s' t t' : ℝ} (hs : s = s') (ht : t = t') {J : Set ℝ} |
| 189 | (B : RicciFlow 3 (slice s).carrier J) (r : ℝ) |
| 190 | (f : Diffeomorph (𝓡 3) (𝓡 3) (slice s).carrier (slice t).carrier ∞) |
| 191 | (h : ∀ x v w, (metric t).inner (f x) |
| 192 | (mfderiv (𝓡 3) (𝓡 3) f x v) (mfderiv (𝓡 3) (𝓡 3) f x w) = |
| 193 | (B.metric r).inner x v w) : |
| 194 | ∀ x v w, (metric t').inner (diffeomorph slice hs ht f x) |
| 195 | (mfderiv (𝓡 3) (𝓡 3) (diffeomorph slice hs ht f) x v) |
| 196 | (mfderiv (𝓡 3) (𝓡 3) (diffeomorph slice hs ht f) x w) = |
| 197 | ((flow slice hs B).metric r).inner x v w := by |
| 198 | subst s' |
| 199 | subst t' |
| 200 | exact h |
| 201 | |
| 202 | theorem timeEquivalence_metric_pullback |
| 203 | (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 204 | (metric : ∀ t, RiemannianMetric 3 (slice t).carrier) |
| 205 | (s t : ℝ) (h : s = t) (x : (slice s).carrier) |
| 206 | (v w : TangentSpace (𝓡 3) x) : |
| 207 | (metric t).inner (timeEquivalence slice s t h x) |
| 208 | (mfderiv (𝓡 3) (𝓡 3) (timeEquivalence slice s t h) x v) |
| 209 | (mfderiv (𝓡 3) (𝓡 3) (timeEquivalence slice s t h) x w) = |
| 210 | (metric s).inner x v w := by |
| 211 | subst t |
| 212 | change (metric s).inner x (mfderiv (𝓡 3) (𝓡 3) id x v) |
| 213 | (mfderiv (𝓡 3) (𝓡 3) id x w) = _ |
| 214 | rw [mfderiv_id] |
| 215 | rfl |
| 216 | |
| 217 | theorem identify_metric_pullback (slice : ℝ → GeneralizedSliceCarrier.{u}) |
| 218 | (metric : ∀ t, RiemannianMetric 3 (slice t).carrier) |
| 219 | (tau : ℝ → ℝ) (t : ℝ) (h : tau t = t) (x : (slice t).carrier) |
| 220 | (v w : TangentSpace (𝓡 3) x) : |
| 221 | (metric (tau t)).inner (identify slice tau t h x) |
| 222 | (mfderiv (𝓡 3) (𝓡 3) (identify slice tau t h) x v) |
| 223 | (mfderiv (𝓡 3) (𝓡 3) (identify slice tau t h) x w) = |
| 224 | (metric t).inner x v w := |
| 225 | timeEquivalence_metric_pullback slice metric t (tau t) h.symm x v w |
| 226 | |
| 227 | end M51EventCopy |
| 228 | |
| 229 | namespace SurgeryEventData |
| 230 | |
| 231 | variable {g₀ : StandardInitialMetric} {K : MetricSurgeryConstants} |
| 232 | {P : SurgeryParameters} {slice : ℝ → GeneralizedSliceCarrier.{u}} |
| 233 | {metric : ∀ t, RiemannianMetric 3 (slice t).carrier} {T : ℝ} |
| 234 | |
| 235 | /-- Only the time-slice labels change. The original pre-flow and all local |
| 236 | metric surgery results are retained, with equality casts on their carriers. -/ |
| 237 | noncomputable def reindexPast (E : SurgeryEventData g₀ K P slice metric T) |
| 238 | (tau : ℝ → ℝ) (hTau : ∀ t ≤ T, tau t = t) : |
| 239 | SurgeryEventData g₀ K P (fun t => slice (tau t)) (fun t => metric (tau t)) T := by |
| 240 | have hm := hTau E.tMinus E.tMinus_lt.le |
| 241 | have hT := hTau T le_rfl |
| 242 | refine { |
| 243 | tMinus := E.tMinus |
| 244 | tMinus_nonnegative := E.tMinus_nonnegative |
| 245 | tMinus_lt := E.tMinus_lt |
| 246 | preterminal_close := E.preterminal_close |
| 247 | pre_flow := M51EventCopy.flow slice hm.symm E.pre_flow |
| 248 | pre_identify := fun t => M51EventCopy.diffeomorph slice hm.symm |
| 249 | (hTau t.1 t.2.2.le).symm (E.pre_identify t) |
| 250 | pre_initial := by |
| 251 | intro x |
| 252 | obtain ⟨y, rfl⟩ := (M51EventCopy.timeEquivalence slice E.tMinus |
| 253 | (tau E.tMinus) hm.symm).surjective x |
| 254 | exact (M51EventCopy.diffeomorph_apply slice hm.symm hm.symm |
| 255 | (E.pre_identify ⟨E.tMinus, ⟨le_rfl, E.tMinus_lt⟩⟩) y).trans |
| 256 | (congrArg (M51EventCopy.timeEquivalence slice E.tMinus |
| 257 | (tau E.tMinus) hm.symm) (E.pre_initial y)) |
| 258 | pre_metric := fun t => M51EventCopy.diffeomorph_flow_metric_pullback slice metric |
| 259 | hm.symm (hTau t.1 t.2.2.le).symm E.pre_flow t.1 |
| 260 | (E.pre_identify t) (E.pre_metric t) |
| 261 | regular_limit := M51EventCopy.relabel (C := fun t => Set (slice t).carrier) |
| 262 | hm.symm E.regular_limit |
| 263 | regular_limit_eq := ?_ |
| 264 | regular_limit_open := ?_ |
| 265 | terminal := E.terminal |
| 266 | limit_identify := M51EventCopy.regionSource slice hm.symm E.terminal |
| 267 | E.regular_limit Set.univ E.limit_identify |
| 268 | limit_metric := E.limit_metric |
| 269 | limit_connection := E.limit_connection |
| 270 | metric_converges := ?_ |
| 271 | retained_pre := M51EventCopy.relabel (C := fun t => Set (slice t).carrier) |
| 272 | hm.symm E.retained_pre |
| 273 | retained_pre_compact := ?_ |
| 274 | retained_pre_subset := ?_ |
| 275 | low_curvature_retained := ?_ |
| 276 | retained_post := M51EventCopy.relabel (C := fun t => Set (slice t).carrier) |
| 277 | hT.symm E.retained_post |
| 278 | retained_post_compact := ?_ |
| 279 | retention := M51EventCopy.region slice hm.symm hT.symm |
| 280 | E.retained_pre E.retained_post E.retention |
| 281 | retained_metric := ?_ |
| 282 | cap_count := E.cap_count |
| 283 | caps := M51EventCopy.relabel |
| 284 | (C := fun t => Fin E.cap_count → SurgeryCapChart g₀ (slice t) (metric t) (P.h T)) |
| 285 | hT.symm E.caps |
| 286 | cap_disjoint := ?_ |
| 287 | post_cover := ?_ |
| 288 | cap_boundary := ?_ |
| 289 | necks := E.necks |
| 290 | neck_carrier_disjoint := E.neck_carrier_disjoint |
| 291 | neck_time := E.neck_time |
| 292 | neck_delta := E.neck_delta |
| 293 | neck_scale := E.neck_scale |
| 294 | pre_boundary := ?_ |
| 295 | boundary_correspondence := ?_ |
| 296 | neck_negative_retained := ?_ |
| 297 | neck_positive_discarded := ?_ |
| 298 | local_result := E.local_result |
| 299 | local_embed := M51EventCopy.relabel |
| 300 | (C := fun t => ∀ i, (E.local_result i).output.carrier → (slice t).carrier) |
| 301 | hT.symm E.local_embed |
| 302 | local_embed_smooth := ?_ |
| 303 | local_embed_injective := ?_ |
| 304 | local_metric := ?_ |
| 305 | local_tip := ?_ |
| 306 | local_cap_image := ?_ |
| 307 | local_retention := ?_ |
| 308 | disappearing_start := E.disappearing_start |
| 309 | disappearing_start_bounds := E.disappearing_start_bounds |
| 310 | disappearing_curvature := ?_ |
| 311 | disappearing_cover := ?_ } |
| 312 | all_goals |
| 313 | try dsimp only [M51EventCopy.flow, M51EventCopy.diffeomorph, |
| 314 | M51EventCopy.relabel, M51EventCopy.regionSource, M51EventCopy.region] at * |
| 315 | generalize hval : tau E.tMinus = m at * |
| 316 | clear hval |
| 317 | subst m |
| 318 | generalize hval : tau T = b at * |
| 319 | clear hval |
| 320 | subst b |
| 321 | · exact E.regular_limit_eq |
| 322 | · exact E.regular_limit_open |
| 323 | · exact E.metric_converges |
| 324 | · exact E.retained_pre_compact |
| 325 | · exact E.retained_pre_subset |
| 326 | · exact E.low_curvature_retained |
| 327 | · exact E.retained_post_compact |
| 328 | · exact E.retained_metric |
| 329 | · exact E.cap_disjoint |
| 330 | · exact E.post_cover |
| 331 | · exact E.cap_boundary |
| 332 | · exact E.pre_boundary |
| 333 | · exact E.boundary_correspondence |
| 334 | · exact E.neck_negative_retained |
| 335 | · exact E.neck_positive_discarded |
| 336 | · exact E.local_embed_smooth |
| 337 | · exact E.local_embed_injective |
| 338 | · exact E.local_metric |
| 339 | · exact E.local_tip |
| 340 | · exact E.local_cap_image |
| 341 | · exact E.local_retention |
| 342 | · exact E.disappearing_curvature |
| 343 | · exact E.disappearing_cover |
| 344 | |
| 345 | variable (E : SurgeryEventData g₀ K P slice metric T) |
| 346 | (tau : ℝ → ℝ) (hTau : ∀ t ≤ T, tau t = t) |
| 347 | |
| 348 | @[simp] theorem reindexPast_tMinus : (E.reindexPast tau hTau).tMinus = E.tMinus := rfl |
| 349 | |
| 350 | @[simp] theorem reindexPast_disappearing_start : |
| 351 | (E.reindexPast tau hTau).disappearing_start = E.disappearing_start := rfl |
| 352 | |
| 353 | @[simp] theorem reindexPast_terminal : |
| 354 | (E.reindexPast tau hTau).terminal = E.terminal := rfl |
| 355 | |
| 356 | @[simp] theorem reindexPast_limit_metric : |
| 357 | (E.reindexPast tau hTau).limit_metric = E.limit_metric := rfl |
| 358 | |
| 359 | @[simp] theorem reindexPast_limit_connection : |
| 360 | (E.reindexPast tau hTau).limit_connection = E.limit_connection := rfl |
| 361 | |
| 362 | @[simp] theorem reindexPast_cap_count : |
| 363 | (E.reindexPast tau hTau).cap_count = E.cap_count := rfl |
| 364 | |
| 365 | @[simp] theorem reindexPast_necks : (E.reindexPast tau hTau).necks = E.necks := rfl |
| 366 | |
| 367 | @[simp] theorem reindexPast_local_result : |
| 368 | (E.reindexPast tau hTau).local_result = E.local_result := rfl |
| 369 | |
| 370 | theorem reindexPast_pre_flow_heq : HEq (E.reindexPast tau hTau).pre_flow E.pre_flow := |
| 371 | M51EventCopy.flow_heq slice (hTau E.tMinus E.tMinus_lt.le).symm E.pre_flow |
| 372 | |
| 373 | theorem reindexPast_pre_identify_apply (t : Set.Ico E.tMinus T) |
| 374 | (x : (slice E.tMinus).carrier) : |
| 375 | (E.reindexPast tau hTau).pre_identify t |
| 376 | (M51EventCopy.identify slice tau E.tMinus (hTau E.tMinus E.tMinus_lt.le) x) = |
| 377 | M51EventCopy.identify slice tau t.1 (hTau t.1 t.2.2.le) (E.pre_identify t x) := |
| 378 | M51EventCopy.diffeomorph_apply slice (hTau E.tMinus E.tMinus_lt.le).symm |
| 379 | (hTau t.1 t.2.2.le).symm (E.pre_identify t) x |
| 380 | |
| 381 | theorem reindexPast_regular_limit_image : |
| 382 | M51EventCopy.identify slice tau E.tMinus (hTau E.tMinus E.tMinus_lt.le) '' |
| 383 | E.regular_limit = (E.reindexPast tau hTau).regular_limit := |
| 384 | M51EventCopy.relabel_set_image slice (hTau E.tMinus E.tMinus_lt.le).symm E.regular_limit |
| 385 | |
| 386 | theorem reindexPast_retained_pre_image : |
| 387 | M51EventCopy.identify slice tau E.tMinus (hTau E.tMinus E.tMinus_lt.le) '' |
| 388 | E.retained_pre = (E.reindexPast tau hTau).retained_pre := |
| 389 | M51EventCopy.relabel_set_image slice (hTau E.tMinus E.tMinus_lt.le).symm E.retained_pre |
| 390 | |
| 391 | theorem reindexPast_retained_post_image : |
| 392 | M51EventCopy.identify slice tau T (hTau T le_rfl) '' |
| 393 | E.retained_post = (E.reindexPast tau hTau).retained_post := |
| 394 | M51EventCopy.relabel_set_image slice (hTau T le_rfl).symm E.retained_post |
| 395 | |
| 396 | theorem reindexPast_limit_identify_map (x : (slice E.tMinus).carrier) : |
| 397 | (E.reindexPast tau hTau).limit_identify.map |
| 398 | (M51EventCopy.identify slice tau E.tMinus (hTau E.tMinus E.tMinus_lt.le) x) = |
| 399 | E.limit_identify.map x := |
| 400 | M51EventCopy.regionSource_map slice (hTau E.tMinus E.tMinus_lt.le).symm |
| 401 | E.terminal E.regular_limit Set.univ E.limit_identify x |
| 402 | |
| 403 | theorem reindexPast_limit_identify_inverse (x : E.terminal.carrier) : |
| 404 | (E.reindexPast tau hTau).limit_identify.inverse x = |
| 405 | M51EventCopy.identify slice tau E.tMinus (hTau E.tMinus E.tMinus_lt.le) |
| 406 | (E.limit_identify.inverse x) := |
| 407 | M51EventCopy.regionSource_inverse slice (hTau E.tMinus E.tMinus_lt.le).symm |
| 408 | E.terminal E.regular_limit Set.univ E.limit_identify x |
| 409 | |
| 410 | theorem reindexPast_retention_map (x : (slice E.tMinus).carrier) : |
| 411 | (E.reindexPast tau hTau).retention.map |
| 412 | (M51EventCopy.identify slice tau E.tMinus (hTau E.tMinus E.tMinus_lt.le) x) = |
| 413 | M51EventCopy.identify slice tau T (hTau T le_rfl) (E.retention.map x) := |
| 414 | M51EventCopy.region_map slice (hTau E.tMinus E.tMinus_lt.le).symm |
| 415 | (hTau T le_rfl).symm E.retained_pre E.retained_post E.retention x |
| 416 | |
| 417 | theorem reindexPast_retention_inverse (x : (slice T).carrier) : |
| 418 | (E.reindexPast tau hTau).retention.inverse |
| 419 | (M51EventCopy.identify slice tau T (hTau T le_rfl) x) = |
| 420 | M51EventCopy.identify slice tau E.tMinus (hTau E.tMinus E.tMinus_lt.le) |
| 421 | (E.retention.inverse x) := |
| 422 | M51EventCopy.region_inverse slice (hTau E.tMinus E.tMinus_lt.le).symm |
| 423 | (hTau T le_rfl).symm E.retained_pre E.retained_post E.retention x |
| 424 | |
| 425 | theorem reindexPast_caps_heq : HEq (E.reindexPast tau hTau).caps E.caps := |
| 426 | M51EventCopy.relabel_heq |
| 427 | (C := fun t => Fin E.cap_count → SurgeryCapChart g₀ (slice t) (metric t) (P.h T)) |
| 428 | (hTau T le_rfl).symm E.caps |
| 429 | |
| 430 | theorem reindexPast_local_embed_apply (i : Fin E.cap_count) |
| 431 | (x : (E.local_result i).output.carrier) : |
| 432 | (E.reindexPast tau hTau).local_embed i x = |
| 433 | M51EventCopy.identify slice tau T (hTau T le_rfl) (E.local_embed i x) := |
| 434 | M51EventCopy.relabel_map_apply slice (hTau T le_rfl).symm E.local_embed i x |
| 435 | |
| 436 | end SurgeryEventData |
| 437 | |
| 438 | end PoincareMT |