Metamath Proof Explorer


Theorem iocssicc

Description: A closed-above, open-below interval is a subset of its closure. (Contributed by Thierry Arnoux, 1-Apr-2017)

Ref Expression
Assertion iocssicc ⊢ A B ⊆ A B

Proof

Step Hyp Ref Expression
1 df-ioc ⊢ . = a ∈ ℝ * , b ∈ ℝ * ⟼ x ∈ ℝ * | a < x ∧ x ≤ b
2 df-icc ⊢ . = a ∈ ℝ * , b ∈ ℝ * ⟼ x ∈ ℝ * | a ≤ x ∧ x ≤ b
3 xrltle ⊢ A ∈ ℝ * ∧ w ∈ ℝ * → A < w → A ≤ w
4 idd ⊢ w ∈ ℝ * ∧ B ∈ ℝ * → w ≤ B → w ≤ B
5 1 2 3 4 ixxssixx ⊢ A B ⊆ A B