Metamath Proof Explorer


Theorem volicorecl

Description: The Lebesgue measure of a left-closed, right-open interval with real bounds, is real. (Contributed by Glauco Siliprandi, 11-Oct-2020)

Ref Expression
Assertion volicorecl ⊢ A ∈ ℝ ∧ B ∈ ℝ → vol ⁡ A B ∈ ℝ

Proof

Step Hyp Ref Expression
1 volico ⊢ A ∈ ℝ ∧ B ∈ ℝ → vol ⁡ A B = if A < B B − A 0
2 simpr ⊢ A ∈ ℝ ∧ B ∈ ℝ → B ∈ ℝ
3 simpl ⊢ A ∈ ℝ ∧ B ∈ ℝ → A ∈ ℝ
4 2 3 resubcld ⊢ A ∈ ℝ ∧ B ∈ ℝ → B − A ∈ ℝ
5 0red ⊢ A ∈ ℝ ∧ B ∈ ℝ → 0 ∈ ℝ
6 4 5 ifcld ⊢ A ∈ ℝ ∧ B ∈ ℝ → if A < B B − A 0 ∈ ℝ
7 1 6 eqeltrd ⊢ A ∈ ℝ ∧ B ∈ ℝ → vol ⁡ A B ∈ ℝ