Metamath Proof Explorer


Theorem addge0

Description: The sum of 2 nonnegative numbers is nonnegative. (Contributed by NM, 17-Mar-2005) (Proof shortened by Andrew Salmon, 19-Nov-2011)

Ref Expression
Assertion addge0 A B 0 A 0 B 0 A + B

Proof

Step Hyp Ref Expression
1 00id 0 + 0 = 0
2 0re 0
3 le2add 0 0 A B 0 A 0 B 0 + 0 A + B
4 2 2 3 mpanl12 A B 0 A 0 B 0 + 0 A + B
5 4 imp A B 0 A 0 B 0 + 0 A + B
6 1 5 eqbrtrrid A B 0 A 0 B 0 A + B