Description: Two nonnegative numbers are zero iff their sum is zero. (Contributed by Jeff Madsen, 2-Sep-2009) (Proof shortened by Mario Carneiro, 27-May-2016)
Ref | Expression | ||
---|---|---|---|
Assertion | add20 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | simpllr | |
|
2 | simplrl | |
|
3 | simplll | |
|
4 | addge02 | |
|
5 | 2 3 4 | syl2anc | |
6 | 1 5 | mpbid | |
7 | simpr | |
|
8 | 6 7 | breqtrd | |
9 | simplrr | |
|
10 | 0red | |
|
11 | 2 10 | letri3d | |
12 | 8 9 11 | mpbir2and | |
13 | 12 | oveq2d | |
14 | 3 | recnd | |
15 | 14 | addridd | |
16 | 13 7 15 | 3eqtr3rd | |
17 | 16 12 | jca | |
18 | 17 | ex | |
19 | oveq12 | |
|
20 | 00id | |
|
21 | 19 20 | eqtrdi | |
22 | 18 21 | impbid1 | |