Theorem: pathConnectedSpace_iff_univ
File: Mathlib/Topology/PathConnected.lean

tactic: constructor
state_before: X : Type u_1
Y : Type ?u.689179
inst✝¹ : TopologicalSpace X
inst✝ : TopologicalSpace Y
x y z : X
ι : Type ?u.689194
F : Set X
⊢ PathConnectedSpace X ↔ IsPathConnected univ

tactic: intro h
state_before: case mp
X : Type u_1
Y : Type ?u.689179
inst✝¹ : TopologicalSpace X
inst✝ : TopologicalSpace Y
x y z : X
ι : Type ?u.689194
F : Set X
⊢ PathConnectedSpace X → IsPathConnected univ

tactic: haveI := @PathConnectedSpace.Nonempty X _ _
state_before: case mp
X : Type u_1
Y : Type ?u.689179
inst✝¹ : TopologicalSpace X
inst✝ : TopologicalSpace Y
x y z : X
ι : Type ?u.689194
F : Set X
h : PathConnectedSpace X
⊢ IsPathConnected univ

tactic: inhabit X
state_before: case mp
X : Type u_1
Y : Type ?u.689179
inst✝¹ : TopologicalSpace X
inst✝ : TopologicalSpace Y
x y z : X
ι : Type ?u.689194
F : Set X
h : PathConnectedSpace X
this : Nonempty X
⊢ IsPathConnected univ

tactic: refine' ⟨default, mem_univ _, _⟩
state_before: case mp
X : Type u_1
Y : Type ?u.689179
inst✝¹ : TopologicalSpace X
inst✝ : TopologicalSpace Y
x y z : X
ι : Type ?u.689194
F : Set X
h : PathConnectedSpace X
this : Nonempty X
inhabited_h : Inhabited X
⊢ IsPathConnected univ

tactic: intros y _hy
state_before: case mp
X : Type u_1
Y : Type ?u.689179
inst✝¹ : TopologicalSpace X
inst✝ : TopologicalSpace Y
x y z : X
ι : Type ?u.689194
F : Set X
h : PathConnectedSpace X
this : Nonempty X
inhabited_h : Inhabited X
⊢ ∀ {y : X}, y ∈ univ → JoinedIn univ default y

tactic: simpa using PathConnectedSpace.Joined default y
state_before: case mp
X : Type u_1
Y : Type ?u.689179
inst✝¹ : TopologicalSpace X
inst✝ : TopologicalSpace Y
x y✝ z : X
ι : Type ?u.689194
F : Set X
h : PathConnectedSpace X
this : Nonempty X
inhabited_h : Inhabited X
y : X
_hy : y ∈ univ
⊢ JoinedIn univ default y

tactic: intro h
state_before: case mpr
X : Type u_1
Y : Type ?u.689179
inst✝¹ : TopologicalSpace X
inst✝ : TopologicalSpace Y
x y z : X
ι : Type ?u.689194
F : Set X
⊢ IsPathConnected univ → PathConnectedSpace X

tactic: have h' := h.joinedIn
state_before: case mpr
X : Type u_1
Y : Type ?u.689179
inst✝¹ : TopologicalSpace X
inst✝ : TopologicalSpace Y
x y z : X
ι : Type ?u.689194
F : Set X
h : IsPathConnected univ
⊢ PathConnectedSpace X

tactic: cases' h with x h
state_before: case mpr
X : Type u_1
Y : Type ?u.689179
inst✝¹ : TopologicalSpace X
inst✝ : TopologicalSpace Y
x y z : X
ι : Type ?u.689194
F : Set X
h : IsPathConnected univ
h' : ∀ (x : X), x ∈ univ → ∀ (y : X), y ∈ univ → JoinedIn univ x y
⊢ PathConnectedSpace X

tactic: exact ⟨⟨x⟩, by simpa using h'⟩
state_before: case mpr.intro
X : Type u_1
Y : Type ?u.689179
inst✝¹ : TopologicalSpace X
inst✝ : TopologicalSpace Y
x✝ y z : X
ι : Type ?u.689194
F : Set X
h' : ∀ (x : X), x ∈ univ → ∀ (y : X), y ∈ univ → JoinedIn univ x y
x : X
h : x ∈ univ ∧ ∀ {y : X}, y ∈ univ → JoinedIn univ x y
⊢ PathConnectedSpace X

tactic: simpa using h'
state_before: X : Type u_1
Y : Type ?u.689179
inst✝¹ : TopologicalSpace X
inst✝ : TopologicalSpace Y
x✝ y z : X
ι : Type ?u.689194
F : Set X
h' : ∀ (x : X), x ∈ univ → ∀ (y : X), y ∈ univ → JoinedIn univ x y
x : X
h : x ∈ univ ∧ ∀ {y : X}, y ∈ univ → JoinedIn univ x y
⊢ ∀ (x y : X), Joined x y