Metamath Proof Explorer


Theorem subge0

Description: Nonnegative subtraction. (Contributed by NM, 14-Mar-2005) (Proof shortened by Mario Carneiro, 27-May-2016)

Ref Expression
Assertion subge0 AB0ABBA

Proof

Step Hyp Ref Expression
1 0red AB0
2 simpr ABB
3 simpl ABA
4 leaddsub 0BA0+BA0AB
5 1 2 3 4 syl3anc AB0+BA0AB
6 2 recnd ABB
7 6 addlidd AB0+B=B
8 7 breq1d AB0+BABA
9 5 8 bitr3d AB0ABBA