Metamath Proof Explorer


Theorem maxle

Description: Two ways of saying the maximum of two numbers is less than or equal to a third. (Contributed by NM, 29-Sep-2005)

Ref Expression
Assertion maxle A B C if A B B A C A C B C

Proof

Step Hyp Ref Expression
1 rexr A A *
2 rexr B B *
3 rexr C C *
4 xrmaxle A * B * C * if A B B A C A C B C
5 1 2 3 4 syl3an A B C if A B B A C A C B C