Description: The squares of two complex numbers are equal iff one number equals the other or its negative. Lemma 15-4.7 of Gleason p. 311 and its converse. (Contributed by Paul Chapman, 15-Mar-2008)
Ref | Expression | ||
---|---|---|---|
Assertion | sqeqor | |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | oveq1 | |
|
2 | 1 | eqeq1d | |
3 | eqeq1 | |
|
4 | eqeq1 | |
|
5 | 3 4 | orbi12d | |
6 | 2 5 | bibi12d | |
7 | oveq1 | |
|
8 | 7 | eqeq2d | |
9 | eqeq2 | |
|
10 | negeq | |
|
11 | 10 | eqeq2d | |
12 | 9 11 | orbi12d | |
13 | 8 12 | bibi12d | |
14 | 0cn | |
|
15 | 14 | elimel | |
16 | 14 | elimel | |
17 | 15 16 | sqeqori | |
18 | 6 13 17 | dedth2h | |