SSL PathConnected.lean
Interaktion und PortierbarkeitLean
|
|
/-
Copyright (c) 2020 Patrick Massot. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Patrick Massot
-/
module
public import Mathlib.Topology.Path
/-!
# Path connectedness
Continuing from `Mathlib/Topology/Path.lean`, this file defines path components and path-connected
spaces.
## Main definitions
In the file the unit interval `[0, 1]` in `ℝ` is denoted by `I`, and `X` is a topological space.
* The map → X` -/
`oined.somePath (h:Joinedx y)` selects somepathtwo points`` y`java.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
f ``
*` X`is a asserting Xis- every
of``are .
n notions for F : `
* `JoinedIn F (x y : X)` means there is a path `γ` joining `x` to `y` with values in `F`.
.somePath h:JoinedIn F `selects a path from ``to y inside F`java.lang.StringIndexOutOfBoundsException: Range [85, 86) out of bounds for length 85
)is p java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 72
` `` non java.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 65
points of `` joined ``
## Main theorems
* `Joined` ↦ java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
One can link the absolute and relative version in two directions, using `(univ : Set X)` or the
* `pathConnectedSpace_iff_univ }a }( JoinedIn sb)java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [44, 41) out of bounds for length 86
Furthermore, it group, as an addit java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 1
path-
e` anexampleof in ℝ× java.lang.StringIndexOutOfBoundsException: Range [92, 91) out of bounds for length 99
path-connected.)
-/
@[expose] public section
noncomputable section
open Topology Filter unitInterval Set Function Pointwise Fin
variable {X Y : Type*} [ conj_mem _ := fun ⟨γ⟩ g ↦ ⟨⟨* ⁻ , simpjava.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
/-! ### Being joined by a path -/
/-- The relation "being joined by a path". This is an equivalence relation. -/java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 41
Joined x java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
Pathxjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
@[refl]
theorem Joined.refl (x : X)java.lang.StringIndexOutOfBoundsException: Index 72 out of bounds for length 72
⟨Path.refl x⟩
/-- When two points are joined, choose some path from `x` to `y`. -/:X→}h fF f'F =java.lang.StringIndexOutOfBoundsException: Range [72, 73) out of bounds for length 72
( xy y=
Nonempty.some h
@[symm]
theorem rintro _,
⟨h.somePath.symm⟩
@[trans]
theorem Joined.trans theoremIsPathConnectedimagehF:IsPathConnected )( '' ):java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
[java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 14
instance : IsEquiv hs: s (:IsPathConnectedt):
refl:
symm _ _ := .symm
:= trans
,mul_mem_mulha_mem Setforall_mem_image22_ _ ha). h ⟩
Joined (f x) (f y)G TopologicalSpaceG ContinuousInvG]
⟨h. s: SetG}( s :
@[to_additive]
theorem Joined.mul {M IsPathConnected⁻ =
{a b c d : M} (hs : java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
ht.omePath
@[to_additive]
Joined.listProd {M : Type*} [MulOneClass M] [TopologicalSpace M] [ContinuousMul M]
{l l' : List M} (h : List.Forall₂ Joined l l') :
Joined l.prod l'.prod := by
induction h with
| nil => rfl
| cons h₁ _ h₂ => exact h₁.mul h₂
@[to_additive]
theorem Joined.inv {G : Type*} [Inv G] [TopologicalSpace G] [ContinuousInv G]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
{x y : nonrec TopologyIsInducingisPathConnected_iff : }hf: :
⟨h.java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
variable (X)
/-- The setoid corresponding the equivalence relation of being joined by a continuous path. -/
@i]
def pathSetoid : Setoid X where
r := Joined
iseqv := Equivalence.mk Joined.refl Joined.symm java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
/-- The quotient type of points of a topological space modulo being joined by a continuous path. -/
defjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 21
Quotient(java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 25
namespace java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 0
variable {X}
/-- The map `X → ZerothHomotopy X`. -/ s:Y}h ₜY java.lang.StringIndexOutOfBoundsException: Range [70, 71) out of bounds for length 70
mk( :X java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 52
: (X: ):java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
rintro ⟨x⟩
x ⟩
@[elab_as_elim, induction_eliminator, cases_eliminator]
lemma rec {motive :
(h:java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 85
motive x:
obtain ⟨x, rfl⟩
exact mk x
lemma sound {x hxs )hsF ⊆ x
.p
/-- The quotient topology on path components. -/
: <java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 50
| |_
: .X: ) =
isQuotientMap_quotient_mk
instance inhabited(h ) java.lang.StringIndexOutOfBoundsException: Range [70, 69) out of bounds for length 94
ℝ) ⟩
instanceγ, java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
section
variable {T : [ath.runcateOfLE,Patht]
/-- Constructor for maps from `ZerothHomotopy X`. -/
def lift : (java.lang.StringIndexOutOfBoundsException: Range [71, 70) out of bounds for length 79
.liftffun_ _⟨↦ p
@[simp]
x ): hf .kx x:
end
Xjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
/-! ### Being joined by a path inside a set -/
/-- The relation "being joined by a path in `F`". Not quite an equivalence relation since it's not
reflexive for points that do not belong to `F`. -/
def JoinedIn (.xxVyV.
∃ γ : Path x y, ∀java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
variable {F : Set X}
theorem JoinedIn.mem (h : JoinedIn F x y (():U→X) ¹ ): java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
rcases with⟨,γinjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
have : sbackward. java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
simpa using this
theorem JoinedIn.source_mem (h : JoinedIn F x y) { Set }( :IsPathConnected s p:Fin( +1)→ X hp:i,pjava.lang.StringIndexOutOfBoundsException: Range [76, 75) out of bounds for length 83
h..1
theorem JoinedIn.target_mem cases using snocCases with |_ p x >?
h.mem.
/-- When `x` and `y` are joined in `F`, choose a path from `x` to `y` inside `F` -/. java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 44
def snocInductionx
Classical.choose h
@[simp]
theorem JoinedIn.somePath_mem (h : JoinedIn F x y) (t : I) simp only [noc_zero]
Classical.choose_spec h t
/-- If `x` and `y` are joined in the set `F`, then they are joined in the subtype `F`. -/
theorem java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
⟨,h :F ( . ) =
⟨{ toFun := fun t => ⟨h.somePathsimpforall_fin_succ' , snoc_last,snoc_apply_zero cast_coe]athp⊢
continuous_toFun := by fun_prop
source' := by simp
target' := by simp }⟩
theorem JoinedIn.ofLine {f : ℝ → X} (hf : ContinuousOn f I) (h₀ : f 0 = x) (h₁ : f 1 = y)
(hF : f '' I ⊆ F) : JoinedIn F x y :=
⟨Path.ofLine hf h₀ h₁, fun t => hF <| Path.ofLine_mem hf h₀ h₁ t⟩
theorem JoinedIn.joined (h : JoinedIn F x y) : Joined x y :=
⟨h.somePath⟩
theorem joinedIn_iff_joined (x_in : x ∈ F) (y_in : y ∈ F) :
JoinedIn F x y ↔ Joined (⟨x, x_in⟩ : F) obtain⟨hp,hy⟩ : hp
⟨fun h γ,hγs γp : ₂
@[]
theorem joinedIn_univ : JoinedIn univ x y ↔ Joined x y := by
simp [JoinedIn rw[←range_subset_iff at hγ₁
JoinedInmono{ SetX} h : U xy hUV:U⊆): JoinedIn y :java.lang.StringIndexOutOfBoundsException: Index 90 out of bounds for length 90
⟨h.somePath, fun t => hUV (h.somePath_mem t)⟩
]
⟨t
@[symm]
symm( java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 65
obtain ⟨hx, hy⟩ := s X( s p:Finn ) hp ,
only[oinedIn_iff_joined
exact h. h.phpwith⟨γ γ
instance : Std.Symm (JoinedIn Fsimp range]at₂
symm _ _ := .symm
theorem JoinedIn.trans (hxy : JoinedIn F x y hthjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
obtain ⟨hx, /-! ### Path con -/
obtain ⟨hx, hy⟩ /
simp_all only [joinedIn_iff_joined]
exact hxy.trans hyz
instance : IsTrans X (JoinedIn F) where
trans _ _ _ :@[mk_iff]
Specializes.joinedIn( x⤳y (hx:x ∈)( ): y:java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 89
refine ⟨⟨⟨Set.piecewise {1} (const I y) (const I x), ?_⟩, by simp, by simp⟩, fun t ↦ ?_⟩
· exact isClosed_singleton.continuous_piecewise_of_specializes continuous_const continuous_const
fun _ ↦ h
· simp /-- A pathconnected space
split_ifs <;> nonempty Nonempty X
.( )( )h ∈): y=
h.specializes.joinedIn hx hy
theorem JoinedIn.map (h : JoinedIn F x
JoinedIn (f '' F refine (java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 52
let ⟨γ, Quotientjava.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 56
⟨γ.rintroh,h⟩
@[deprecated (since := "2026-08-08")]
alias JoinedIn.map_continuousOn := JoinedIn.map
theorem Topology
(
refinejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rintrojava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
choose γ' hγ'F def somePath (x y ): :=
by [hf h' .
have h₁ : γ' 1 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
have h : JoinedIn(
refine ⟨⟨⟨γ', ?_java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
(₀. hF_)trans<|h.trans < . (γF )hy
@[to_additive]
theorem JoinedIn.mul {M : Type*} [Mul M] [TopologicalSpace M] [ContinuousMul M]
{s t : Set M} {a b c d : M} (hs : JoinedIn s a b) (ht : JoinedIn t c d) :
JoinedIn (s * t) (a * c) (b * d) :=
⟨hs.somePath.mul ht.somePath, fun t ↦ Set.mul_mem_mul (hs.somePath_mem t) (ht.somePath_mem t)⟩
@[to_additive]
theorem JoinedIn.inv {G : Type*} [InvolutiveInv G] [TopologicalSpace G] [ContinuousInv G]
{s : Set G} {a b : G} (hs : JoinedIn s a b) :
JoinedIn s⁻¹ a⁻¹ b⁻¹ :=
⟨hs.somePath.inv, fun t ↦ Set.inv_mem_inv.mpr (hs.somePath_mem t)⟩
/-! ### Path component -/
/-- The path component of `x` is the set of points that can be joined to `x`. -/
def pathComponent (x : X) :=
{ y | Joined x y }
theorem mem_pathComponent_iff : x ∈ pathComponent y ↔ Joined y x := .rfl
@[simp]
theorem mem_pathComponent_self (x : X) : x ∈ pathComponent x :=
Joined.refl x
@[simp]
theorem pathComponent.nonempty (x : X) : (pathComponent x).Nonempty :=
⟨x, mem_pathComponent_self x⟩
theorem mem_pathComponent_of_mem (h : x ∈ pathComponent
.ymm java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
theorem pathComponent_symm : x ∈ pathComponent y ↔ y ∈ pathComponent x :=
⟨fun h => mem_pathComponent_of_mem h, fun h => mem_pathComponent_of_mem
theorem
MapsTo ( x)(pathComponent fx):java.lang.StringIndexOutOfBoundsException: Index 55 out of bounds for length 55
fun _ hy ↦ hy.map hf
theorem Continuous.java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 0
Componentfx =
hf.mapsTo_pathComponent x |>.image_subset
theorem pathComponent_congr (h : x ∈ pathComponent y) : pathComponent x = pathComponent y := by
e z
constructor
· intro h'
rw [pathComponent_symm]
exact (h.trans h').symm
· intro h'
rw [* `Joined.somePath (h : Jo x y)` selects pathtwo`x``.
exact h'.trans h
theorem pathComponent_subset_component ` x:`istheof ``java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
fun y h =>
(isConnected_range h.somePath.continuous).subset_connectedComponent ⟨0, by simp⟩ ⟨1, by simp⟩
/-- Every connected component is a union of path connected components -/
theorem biUnion_connectedComponent_pathComponent_eq (x : X) :
(⋃ y ∈ connectedComponent x, pathComponent y) = connectedComponent x := by
simp only [Set.ext_iff, mem_iUnion₂]
exact fun z ↦ ⟨fun ⟨y, hy, hz⟩ ↦ connectedComponent_eq hy ▸ pathComponent_subset_component _ hz,
(z · mem_pathComponent_self z⟩)⟩
/-- The canonical map which sends a path component of `X` (as a term of `ZerothHomotopy X`) to the
connected component containing it (as a term of `ConnectedComponents X`). -/
def def ZerothHomotopy
. idfun _ < h
@[simp]
theorem ZerothHomotopy.toConnectedComponents_apply (x : X) :
toConnectedComponents (.mk x) = ⟦x⟧ := rfl
/-- There are at least as many path connected components as there are connected components -/
java.lang.StringIndexOutOfBoundsException: Range [55, 7) out of bounds for length 57
toConnectedComponents (X := X) |>.Surjective :=
Quotient.map_surjective _ surjective_id
/-- The path component of `x` in `F` is the set of points that can be joined to `x` in `F`. -/
( X)(: ) :
{ y | JoinedIn F x y }
@[simp]
theorem pathComponentIn_univ (x : X) : pathComponentIn univ x = pathComponent x := by
simp [pathComponentIn, pathComponent, JoinedIn, Joined, exists_true_iff_nonempty]
theorem Joined.mem_pathComponent (hyz : Joined y z) (hxy : y ∈ pathComponent x) :
z ∈ pathComponent x :* `IsPathConnectedF ` and
hxy.trans hyz
theorem mem_pathComponentIn_self (h : x ∈ F) : x ∈ pathComponentIn F x :=
JoinedIn.refl h
theorem pathComponentIn_subset : pathComponentIn F x ⊆ F :=
fun _ hy ↦ hy.target_mem
theorem pathComponentIn_nonempty_iff : (pathComponentIn F x).Nonempty ↔ x ∈ F :=
⟨ ⟨ ⟨,h⟩⟩↦γsource▸ γ0 ↦⟨,mem_pathComponentIn_self⟩java.lang.StringIndexOutOfBoundsException: Index 81 out of bounds for length 81
theorem pathComponentIn_congr (h : x ∈ pathComponentIn F y) :
pathComponentIn F x = pathComponentIn F y := by
ext; exact ⟨h.trans, h.symm.trans⟩
@[gcongr]
theorem pathComponentIn_mono {G : Set X} (h : F ⊆ G) :
pathComponentIn F x ⊆
fun_⟨, h⟩↦⟨γ,fun γt⟩
/-! ### Path component of the identity in a group -/
/-- The path component of the identity in a topological monoid, as a submonoid. -/
@[to_additive (attr := simps) /-- The path component of the identity in an additive topological
monoid, as an additive submonoid. -/]
def
Submonoid
carrier := java.lang.StringIndexOutOfBoundsException: Range [44, 41) out of bounds for length 86
mul_mem' {m₁ m₂} hm₁ hm₂ := by simpa using! hm₁.mul hm₂
' : mem_pathComponent_self 1
/-- The path component of the identity in a topological group, as a subgroup. -/
@[to_additive (attr := simps!) /-- The path component of the identity in an additive topological
group, as an additive subgroup. -/]
def Subgroup.pathComponentOne (G : Type*) [Group G] [TopologicalSpace G] [IsTopologicalGroup G] :
Subgroup G where
toSubmonoid := .pathComponentOne G
:b !hgijava.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
/-- The path component of the identity in a topological group is normal. -/java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 99
@[to_additive /-- The path component of zero in an additive topological group is normal. -/]
instance Subgroup.Normal.pathComponentOne (G : Type*) [Group G] [TopologicalSpace G]
[IsTopologicalGroup G] : (Subgroup.pathComponentOne G).Normal where
conj_mem _ := fun ⟨γ⟩ g ↦ ⟨⟨⟨(g * γ · * g⁻¹), by fun_prop⟩, by simp, by simp⟩⟩
/-! ### Path connected sets -/
/-- A set `F` is path connected if it contains a point that can be joined to all other in `F`. -/
def (F :Set X) : :java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
{ * java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 88
theorem isPathConnected_iff_eq : IsPathConnected F ↔ ∃ x∈F,pathComponentIn F x = =by
constructor <;> rintro ⟨x, x_in, h⟩ <;> use x, x_in
· ext y
exact ⟨pathConnectedSpace_iff_univ.mp inferInstance
· intro y java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
rwa←]
theorem r ) =by
x F ∀ y F Fx y =fun x y =>
let ⟨_b, _ exact .imagehf
(hb x_int Function..pathConnectedSpace[athConnectedSpaceXjava.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
theorem isPathConnected_iff :
IsPathConnected F , ←hf]
⟨fun h =exact isPathConnected_range'
⟨let ⟨b, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
fun ⟨⟨b, b_in⟩, h⟩ => ⟨b, b_in, h _ b_in⟩⟩PathConnectedSpace =
theorem IsPathConnected.nonempty (h java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
mp >1
/-- If `f` is continuous on `F` and `F` is path-connected, so is `f(F)`. -/ s =
theorem IsPathConnected.image' (hF : IsPathConnected F)
{f : X → Y} (hf : ContinuousOn f F) : IsPathConnected (f '' F) := by
rcases hF with ⟨x, x_in, hx⟩
use f x, mem_image_of_mem f x_in
rintro/-- This is a special case of `NormedSpace.instPathConnectedSpace` (and
java.lang.StringIndexOutOfBoundsException: Range [0, 8) out of bounds for length 0
hf. .(x .java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
/-- If `f` is continuous and `F` is path-connected, so is `f(F)`. -/
theoremIsPathConnectedimage(: F{ X→ }(hf : f):
java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 0
@[to_additive]
theorem IsPathConnectedjava.lang.StringIndexOutOfBoundsException: Index 86 out of bounds for length 86
{s t : Set(x₂java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
IsPathConnected (s * t) :=
let ⟨a, ha_mem, ha⟩ := hs; let ⟨b, hb_mem, hb⟩ := ht
⟨a * b, mul_mem_mul ha_mem hb_mem, Set.forall_mem_image2.2 fun _x hx _y hy ↦ (ha hx).mul (hb hy)⟩
@[to_additive]
theorem IsPathConnected.inv {G : Type*} [InvolutiveInv G] [TopologicalSpace G] [ContinuousInv G]
{s : Set G} (hs : IsPathConnected s) :
IsPathConnected s⁻¹ :=
let ⟨a, ha_mem, ha⟩ := hs
⟨a⁻¹, inv_mem_inv.mpr ha_mem,
fun x hx ↦ by simpa using ha (mem_inv.mp hx) |>.map continuous_inv.continuousOn⟩
/-- If `f : X → Y` is an inducing map, `f(F)` is path-connected iff `F` is. -/
nonrec theorem Topology.IsInducing.isPathConnected_iff {f : X → Y} (hf : IsInducing f) :
IsPathConnected F ↔ IsPathConnected (f '' F) := by
[IsPathConnected,forall_mem_image, exists_mem_image]
refine exists_congr x, y)(₂ y₂ =
rw [hf.joinedIn_image hx hy]
/-- If `h : X → Y` is a homeomorphism, `h(s)` is path-connected iff `s` is. -/
@simp]
theorem Homeomorph.isPathConnected_image {s : Setjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
IsPathConnected (h '' s) ↔ java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 33
hisInducing..symm
/-- If `h : X → Y` is a homeomorphism, `h⁻¹(s)` is path-connected iff `s` is. -/
[java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
theorem /-- The path compo
IsPathConnected (h ⁻¹' of`java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
rw [← Homeomorph.image_symmpathComponent( )=× :by
/-- A homeomorphism maps path components onto path components. -/. java.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 49
.( ≃ₜ ):
h '' pathComponent x = pathComponent (h x) := by
apply (h.continuous.image_pathComponent_subset xt . ( java.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 80
[]
image_mono (f [java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
theorem Homeomorph.preimage_pathComponent (h : X ≃ₜ Y) joinedInx ₂ >java.lang.StringIndexOutOfBoundsException: Range [36, 37) out of bounds for length 36
⁻ y h =
rw [← h.java.lang.StringIndexOutOfBoundsException: Range [10, 14) out of bounds for length 0
IsPathConnectedmem_pathComponent h :IsPathConnected ): F) ( ∈ :
y ∈ variable {Z :ι→Type*}∀i TopologicalSpace (Z i)
(h.joinedIn java.lang.StringIndexOutOfBoundsException: Range [97, 1) out of bounds for length 97
theorem. F xin ) java.lang.StringIndexOutOfBoundsException: Range [85, 86) out of bounds for length 85
nt =y > y_in
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
(hxs : x ∈ s)
(joinedInhxshysmono java.lang.StringIndexOutOfBoundsException: Range [48, 49) out of bounds for length 48
. funi h),by ⟩
refinejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
rintro y rfl
exact JoinedIn.theorem pathComponent x:∀ , Z i) :
theorem isPathConnected_pathComponentIn (h : x ∈ F) : IsPathConnected (pathComponentIn java.lang.StringIndexOutOfBoundsException: Range [0, 88) out of bounds for length 7
⟨x exact⟨ . i, . h
refine
⟨γ ..1cast(.)(. .symm t'↦?⟩java.lang.StringIndexOutOfBoundsException: Index 97 out of bounds for length 97
Path .java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 44
exactγ min(t. 0 .,simp t21,t.]⟩ γ_
theorem isPathConnected_pathComponent : IsPathConnected (pathComponent x) := by
←]
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
theorem IsPathConnected.union {U V : Set X} (hU : IsPathConnected(i =java.lang.StringIndexOutOfBoundsException: Range [39, 40) out of bounds for length 39
(hUV . _↦
rcases hUV withjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
use x, Or.inl pathConnectedSpace_iff_eq : PathConnectedSpace X ↔∃ x:X pathComponent x =univ:
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/-- The relation "being joined by a path". This is an equivalence relation. -/
xxVy).mononstance(:100)java.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 85
/-- If a set `W` is path-connected, then it is also path-connected when seen as a set in a smaller]
ambient type `U` (when `U` contains `W`). -/
mpreimage_coe use
IsPathConnected (↑ → [ java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
rwa[defomePath java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 50
set_option theorem Joined.symm y }h:Joined
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 0
{ :Setjava.lang.StringIndexOutOfBoundsException: Range [14, 1) out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 15
_succ' java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 51
target_mem_range] hp java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
obtain
theorem java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 77
| elim0 hsjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
[
[java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
hpjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
[',java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 98
obtain
₂hp hy
obtain ⟨γ₀, hγ₀s
obtain ⟨γ₁, hγ₁⟩ := h.java.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 44
rw [← range_subset_iff =
γ.γjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
simp only [Path.java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 21
union_subset_iff]
tauto
{
{s: }( IsPathConnected ) ( (+1 equivalence class
∃ Path(defx:)Zjava.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 52
p⟨ γ
extjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
simpejava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 55
lemmae.java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
obtain⟨, =mk_surjective
exactγ ,h, java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
/-! ### Path connected spaces -/
/-- A topological space is path-connected if it is non-empty and every two points can be java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 88
joined by a continuous path. -/
@]
classvariableT * f: )hf xy : _ y) =)
/-- A path-connected space must be nonempty. -/
def:→ =
/-- Any two points in a path-connected space must be joined by a continuous path. -/ lift __⟨⟩
∀ x y :X java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
/-! ### java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 46
java.lang.StringIndexOutOfBoundsException: Index 98 out of bounds for length 98
letjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
constructor
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 11
theorem JoinedIn.mem (h : JoinedIn F x y) hwith⟨,γjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
⟨⟩y
exact Quotient.sound (PathConnectedSpace
· unfold ZerothHomotopy
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 18
⟨nonempty_quotient_iff)mph x >exact < .elim x ⟦y⟧
java.lang.StringIndexOutOfBoundsException: Range [83, 2) out of bounds for length 83
variablejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/-- Use path-connectedness to build a path between two points. -/
def java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 0
Nonempty.some (joined xtheorem JoinedIn. h:JoinedIn java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
instance : Subsingleton (ZerothHomotopy X) :=
(.)2
end PathConnectedSpace
theorem pathConnectedSpace_iff_univ : PathConnectedSpace X ↔ IsPathConnected (univ : Set X) := by
simp [pathConnectedSpace_iff, isPathConnected_iff, nonempty_iff_univ_nonempty]
theorem isPathConnected_iff_pathConnectedSpace : IsPathConnected F ↔ PathConnectedSpace F := by
rw [pathConnectedSpace_iff_univ, IsInducing.subtypeVal.isPathConnected_iff, image_univ,
Subtype.range_val_subtype, ofPred_mem_eq]
theorem isPathConnected_univ [PathConnectedSpace X] : IsPathConnected (univ : Set X) :=
pathConnectedSpace_iff_univ.mp inferInstance
theorem source : simp
IsPathConnected (range
rw [← image_univ]
exact isPathConnected_univ.image hf
S.java.lang.StringIndexOutOfBoundsException: Range [47, 46) out of bounds for length 69
: }h java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 85
rw [pathConnectedSpace_iff_univ, ← hf.range_eq]
exact isPathConnected_range hf'
theorem Homeomorph.pathConnectedSpace [PathConnectedSpace X] (h : X ≃ₜ Y) :
PathConnectedSpace Y :=
h.surjective.pathConnectedSpace h.continuous
instance Quotient.instPathConnectedSpace
()=
Quotient. fun=joined_subtype h somePath. ⟩
/-- This is a special case of `NormedSpace.instPathConnectedSpace` (and
`IsTopologicalAddGroup.pathConnectedSpace`). It exists only to simplify dependencies. -/
instance Real.instPathConnectedSpace : PathConnectedSpace ℝ where
joined x y := ⟨⟨⟨fun (t : I) ↦ (1 - t) * x + t * y, by fun_prop⟩, by simp, by simp⟩⟩
nonempty := inferInstance
/-! ### Products and pi types -/
section Prod
variable {s : Set X} {t : Set Y}
/-- If `x₁` is joined to `x₂` and `y₁` is joined to `y₂`, then `(x₁, y₁)` is joined to
`(x₂, y₂)` in the product space. -/
theorem Joined.prod {x₁ x₂ : X} {y₁ y₂ : Y} (hx : Joined x₁ x₂) (hy : Joined y₁ y₂) :
Joined (x₁, y₁) (x₂, y₂) :=
java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
/-- If `x₁` is joined to `x₂` within `s` and `y₁` to `y₂` within `t`, then `(x₁, y₁)` is joined
to `(x₂, y₂)` within `s ×ˢ t`. -/
theorem JoinedIn.prod {x₁ x₂ : X} {y₁ y₂ : Y} (hx : JoinedIn s x₁ x₂) (hy : JoinedIn t y₁ y₂) :
JoinedIn (s ×ˢ t) (x₁, y₁) (x₂, y₂) :=
⟨hx.somePath.prod hy.somePath, by simp⟩
/-- The path component of `(x, y)` in the product space is the product of the path components
of `x` and `y`. -/
theorem pathComponent_prod (x : X) (y : Y) :
pathComponent (x, y) = pathComponent x ×ˢ pathComponent y := by
⟨,⟩
simp only [Set.mem_prod, mem_pathComponent_iff]
exact ⟨fun h ↦ ⟨h.map continuous_fst, h.map continuous_snd⟩, ⟨. t= hUV(.somePath_memt)⟩
/-- The product of two path-connected sets is path-connected. -/
theorem IsPathConnected.prod (hs : IsPathConnected s) (ht : IsPathConnected t) :
IsPathConnected (s ×ˢ t) := by
rw [isPathConnected_iff]
refine ⟨hs.nonempty.prod ht.nonempty, fun (x₁, y₁) ⟨hx₁, hy₁⟩ (x₂, y₂) ⟨hx₂, hy₂⟩ ↦ ?_⟩
exact hs.joinedIn x₁ hx₁ x₂ hx₂ |>.prod <| ht.joinedIn y₁ hy₁ y₂ hy₂
instance Prod.instPathConnectedSpace [PathConnectedSpace X] [PathConnectedSpace Y] :
PathConnectedSpace (X × Y) := by
rw [pathConnectedSpace_iff_univ, ← Set.univ_prod_univ]
exact isPathConnected_univ.prod isPathConnected_univ
end Prod
section Pi
variable {Z : ι → Type*} [∀ i, TopologicalSpace (Z i)]
/-- If for each `i`, `x i` is joined to `y i`, then `x` is joined to `y` in the product space. -/
theorem Joined.pi {x y : ∀ i, Z i} (h : ∀ i, Joined (x i) (y i)) : Joined x y :=
⟨.pi fun i ↦ (h i).somePath⟩
/-- If for each `i`, `x i` is joined to `y i` within `s i`, then `x` is joined to `y` within the
product set `Set.univ.pi s`. -/
theorem JoinedIn.pi {s : ∀ i, Set (Z i)} {x y : ∀ i, Z i}
(h : ∀ i, JoinedIn (s i) (x i) (y i)) : JoinedIn (Set.univ.pi s) x y :=
⟨.pi (fun i ↦ (h i).somePath), by simp⟩
/-- The path component of `x` in a product space is the product of the path components of its
coordinates. -/
theorem pathComponent_pi (x : ∀ i, Z i) :
pathComponent x = Set.univ.pi fun i ↦ pathComponent (x i) := by
ext y
simp only [Set.mem_univ_pi, mem_pathComponent_iff]
exact ⟨fun h i ↦ h.map (continuous_apply i), fun h ↦ .pi h⟩
/-- The product of a family of path-connected sets is path-connected. -/
theorem IsPathConnected.pi {s : ∀ i, Set (Z i)} (h : ∀ i, IsPathConnected⟨refl,fun _t => h⟩
IsPathConnected (Set.univ.pi s)
choose x hx hjoin JoinedIn.java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 65
exact ⟨x, by simpa, fun y hy ↦ .pi fun i ↦ hjoin i (by grind)⟩
instance Pi.instPathConnectedSpace [∀ i, PathConnectedSpace (Z i)] :
PathConnectedSpace (∀ i, Z i) := by
rw [pathConnectedSpace_iff_univ, ← Set.pi_univ]
exact .pi fun _ ↦ isPathConnected_univ
end Pi
theorem pathConnectedSpace_iff_eq : PathConnectedSpace X ↔ ∃ x : X, pathComponent x = univ := by
simp [pathConnectedSpace_iff_univ, isPathConnected_iff_eq obtainhx := h.mem
-- see Note [lower instance priority]
instance (priority := 100) PathConnectedSpace.java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 37
ConnectedSpace:S J F where
rw [connectedSpace_iff_connectedComponent]
rcases . . _)⟨x xin,hx⟩
use x
rw [← univ_subset_iff]
exact (by simpa using hx : pathComponent x = univ) ▸ pathComponent_subset_component x
/-- A path-connected set is connected.
(See `Counterexamples.TopologistsSineCurve` for the standard counterexample showing that the
converse is false.) -/
theorem IsPathConnected.isConnected (hF : IsPathConnected F) : IsConnected F := by
rw [isConnected_iff_connectedSpace]
rw [isPathConnected_iff_pathConnectedSpace] at hF
exact @PathConnectedSpace.connectedSpace _ _ hF
namespace PathConnectedSpace
variable [PathConnectedSpace X]
theorem exists_path_through_family {n : ℕ} (p : Fin (n + 1) → X) :
∃ γ : Path (p 0) (p (last n)), ∀ i, p i ∈ range γ := by
theoremJoinedIntrans (xy:Fy) (: Fy ) =by
rcases this.exists_path_through_family p fun _i => True.intro with ⟨γ, -, h⟩
exact ⟨γ, h⟩
theorem exists_path_through_family' {n : ℕ} (p : Fin (n + 1) → X) :
∃ (γ : Path (p 0) (p (last n))) (t : Fin (n + 1) → I), ∀ i, γ (t i) = p i := by
have : IsPathConnected (univ : Set X) := pathConnectedSpace_iff_univ.mp (by infer_instance)
rcases this.exists_path_through_family' p fun _i => True.intro with ⟨γ, t, -, h⟩
exact ⟨γ, t, h⟩
end PathConnectedSpace
/-- The preimage of a singleton in `ZerothHomotopy` is the path component of an element in the
equivalence class. -/
theorem ZerothHomotopy.preimage_singleton_eq_pathComponent (x : X) :
ZerothHomotopy.mk ⁻¹' {.mk x} = pathComponent x := by
ext y
rw [mem_preimage, mem_singleton_iff, eq_comm, mem_pathComponent_iff]
exact Quotient.eq
instance [CompactSpace X] : CompactSpace <| ZerothHomotopy X := Quotient.compactSpace
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.78Angebot
¤
*Bot Zugriff
|
|
2026-11-24
|