Skip to content

Commit 47a9066

Browse files
committed
feat: add Continuous.image_connectedComponentIn_subset (#9983)
and a version for homeomorphisms. From sphere-eversion; I'm just submitting things upstream.
1 parent e7170d3 commit 47a9066

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Mathlib/Topology/Connected/Basic.lean

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,11 +707,23 @@ theorem Continuous.image_connectedComponent_subset [TopologicalSpace β] {f : α
707707
((mem_image f (connectedComponent a) (f a)).2 ⟨a, mem_connectedComponent, rfl⟩)
708708
#align continuous.image_connected_component_subset Continuous.image_connectedComponent_subset
709709

710+
theorem Continuous.image_connectedComponentIn_subset [TopologicalSpace β] {f : α → β} {s : Set α}
711+
{a : α} (hf : Continuous f) (hx : a ∈ s) :
712+
f '' connectedComponentIn s a ⊆ connectedComponentIn (f '' s) (f a) :=
713+
(isPreconnected_connectedComponentIn.image _ hf.continuousOn).subset_connectedComponentIn
714+
(mem_image_of_mem _ <| mem_connectedComponentIn hx)
715+
(image_subset _ <| connectedComponentIn_subset _ _)
716+
710717
theorem Continuous.mapsTo_connectedComponent [TopologicalSpace β] {f : α → β} (h : Continuous f)
711718
(a : α) : MapsTo f (connectedComponent a) (connectedComponent (f a)) :=
712719
mapsTo'.2 <| h.image_connectedComponent_subset a
713720
#align continuous.maps_to_connected_component Continuous.mapsTo_connectedComponent
714721

722+
theorem Continuous.mapsTo_connectedComponentIn [TopologicalSpace β] {f : α → β} {s : Set α}
723+
(h : Continuous f) {a : α} (hx : a ∈ s) :
724+
MapsTo f (connectedComponentIn s a) (connectedComponentIn (f '' s) (f a)) :=
725+
mapsTo'.2 <| image_connectedComponentIn_subset h hx
726+
715727
theorem irreducibleComponent_subset_connectedComponent {x : α} :
716728
irreducibleComponent x ⊆ connectedComponent x :=
717729
isIrreducible_irreducibleComponent.isConnected.subset_connectedComponent mem_irreducibleComponent

Mathlib/Topology/Homeomorph.lean

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,13 @@ theorem isConnected_preimage {s : Set Y} (h : X ≃ₜ Y) :
318318
IsConnected (h ⁻¹' s) ↔ IsConnected s := by
319319
rw [← image_symm, isConnected_image]
320320

321+
theorem image_connectedComponentIn {s : Set X} (h : X ≃ₜ Y) {x : X} (hx : x ∈ s) :
322+
h '' connectedComponentIn s x = connectedComponentIn (h '' s) (h x) := by
323+
refine (h.continuous.image_connectedComponentIn_subset hx).antisymm ?_
324+
have := h.symm.continuous.image_connectedComponentIn_subset (mem_image_of_mem h hx)
325+
rwa [image_subset_iff, h.preimage_symm, h.image_symm, h.preimage_image, h.symm_apply_apply]
326+
at this
327+
321328
@[simp]
322329
theorem comap_cocompact (h : X ≃ₜ Y) : comap h (cocompact Y) = cocompact X :=
323330
(comap_cocompact_le h.continuous).antisymm <|

0 commit comments

Comments
 (0)