Theorem: Set.union_subset_union_right (GMLInit/Data/Set/Subset.lean)

State before:
α : Sort u_1
s t u : Set α
⊢ s.Subset t → ∀ (u : Set α), (s.union u).Subset (t.union u)
Tactic:
intro hst u x
State after:
α : Sort u_1
s t u✝ : Set α
hst : s.Subset t
u : Set α
x : α
⊢ x ∈ s.union u → x ∈ t.union u

State before:
α : Sort u_1
s t u✝ : Set α
hst : s.Subset t
u : Set α
x : α
⊢ x ∈ s.union u → x ∈ t.union u
Tactic:
intro
| Or.inl hs =>
  left
  exact hst x hs
| Or.inr hu =>
  right
  exact hu
State after:
no goals

State before:
α : Sort u_1
s t u✝ : Set α
hst : s.Subset t
u : Set α
x : α
x✝ : x ∈ s.union u
hs : x ∈ s
⊢ x ∈ t.union u
Tactic:
left
State after:
case h
α : Sort u_1
s t u✝ : Set α
hst : s.Subset t
u : Set α
x : α
x✝ : x ∈ s.union u
hs : x ∈ s
⊢ x ∈ t

State before:
case h
α : Sort u_1
s t u✝ : Set α
hst : s.Subset t
u : Set α
x : α
x✝ : x ∈ s.union u
hs : x ∈ s
⊢ x ∈ t
Tactic:
exact hst x hs
State after:
no goals

State before:
α : Sort u_1
s t u✝ : Set α
hst : s.Subset t
u : Set α
x : α
x✝ : x ∈ s.union u
hu : x ∈ u
⊢ x ∈ t.union u
Tactic:
right
State after:
case h
α : Sort u_1
s t u✝ : Set α
hst : s.Subset t
u : Set α
x : α
x✝ : x ∈ s.union u
hu : x ∈ u
⊢ x ∈ u

State before:
case h
α : Sort u_1
s t u✝ : Set α
hst : s.Subset t
u : Set α
x : α
x✝ : x ∈ s.union u
hu : x ∈ u
⊢ x ∈ u
Tactic:
exact hu
State after:
no goals