Metamath Proof Explorer


Theorem add20i

Description: Two nonnegative numbers are zero iff their sum is zero. (Contributed by NM, 28-Jul-1999)

Ref Expression
Hypotheses lt2.1 A
lt2.2 B
Assertion add20i 0A0BA+B=0A=0B=0

Proof

Step Hyp Ref Expression
1 lt2.1 A
2 lt2.2 B
3 add20 A0AB0BA+B=0A=0B=0
4 3 an4s AB0A0BA+B=0A=0B=0
5 1 2 4 mpanl12 0A0BA+B=0A=0B=0