Theorem: sup_mem_of_mem (Sion/ForMathlib/Misc.lean)

State before:
α✝ : Type ?u.7628
α : Type u_1
inst✝ : LinearOrder α
a b : α
s : Set α
ha : a ∈ s
hb : b ∈ s
⊢ a ⊔ b ∈ s
Tactic:
rw [sup_eq_max]
State after:
α✝ : Type ?u.7628
α : Type u_1
inst✝ : LinearOrder α
a b : α
s : Set α
ha : a ∈ s
hb : b ∈ s
⊢ max a b ∈ s

State before:
α✝ : Type ?u.7628
α : Type u_1
inst✝ : LinearOrder α
a b : α
s : Set α
ha : a ∈ s
hb : b ∈ s
⊢ max a b ∈ s
Tactic:
exact max_mem_of_mem ha hb
State after:
no goals