Description: The sum of two squres of reals is zero if and only if both reals are zero. (Contributed by NM, 29-Apr-2005) (Revised by Stefan O'Rear, 5-Oct-2014) (Proof shortened by Mario Carneiro, 28-May-2016)
Ref | Expression | ||
---|---|---|---|
Assertion | sumsqeq0 | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | resqcl | |
|
2 | sqge0 | |
|
3 | 1 2 | jca | |
4 | resqcl | |
|
5 | sqge0 | |
|
6 | 4 5 | jca | |
7 | add20 | |
|
8 | 3 6 7 | syl2an | |
9 | recn | |
|
10 | sqeq0 | |
|
11 | 9 10 | syl | |
12 | recn | |
|
13 | sqeq0 | |
|
14 | 12 13 | syl | |
15 | 11 14 | bi2anan9 | |
16 | 8 15 | bitr2d | |