Metamath Proof Explorer


Theorem volicon0

Description: The measure of a nonempty left-closed, right-open interval. (Contributed by Glauco Siliprandi, 21-Nov-2020)

Ref Expression
Hypotheses volicon0.1 φ A
volicon0.2 φ B
volicon0.3 φ A < B
Assertion volicon0 φ vol A B = B A

Proof

Step Hyp Ref Expression
1 volicon0.1 φ A
2 volicon0.2 φ B
3 volicon0.3 φ A < B
4 volico A B vol A B = if A < B B A 0
5 1 2 4 syl2anc φ vol A B = if A < B B A 0
6 3 iftrued φ if A < B B A 0 = B A
7 5 6 eqtrd φ vol A B = B A