Metamath Proof Explorer


Theorem difrp

Description: Two ways to say one number is less than another. (Contributed by Mario Carneiro, 21-May-2014)

Ref Expression
Assertion difrp A B A < B B A +

Proof

Step Hyp Ref Expression
1 posdif A B A < B 0 < B A
2 resubcl B A B A
3 2 ancoms A B B A
4 elrp B A + B A 0 < B A
5 4 baib B A B A + 0 < B A
6 3 5 syl A B B A + 0 < B A
7 1 6 bitr4d A B A < B B A +