Metamath Proof Explorer


Theorem addsqnreup

Description: There is no unique decomposition of a complex number as a sum of a complex number and a square of a complex number.

Remark: This theorem, together with addsq2reu , is a real life example (about a numerical property) showing that the pattern E! a e. A E! b e. B ph does not necessarily mean "There are unique sets a and b fulfilling ph "). See also comments for df-eu and 2eu4 .

In the case of decompositions of complex numbers as a sum of a complex number and a square of a complex number, the only/unique complex number to which the square of a unique complex number is added yields in the given complex number is the given number itself, and the unique complex number to be squared is 0 (see comment for addsq2reu ). There are, however, complex numbers to which the square of more than one other complex numbers can be added to yield the given complex number (see addsqrexnreu ). For example, <. 1 , ( sqrt( C - 1 ) ) >. and <. 1 , -u ( sqrt( C - 1 ) ) >. are two different decompositions of C (if C =/= 1 ). Therefore, there is no unique decomposition of any complex number as a sum of a complex number and a square of a complex number, as generally proved by this theorem.

As a consequence, a theorem must claim the existence of a unique pair of sets to express "There are unique a and b so that .." (more formally E! p e. ( A X. B ) ph with p = <. a , b >. ), or by showing ( E! x e. A E. y e. B ph /\ E! y e. B E. x e. A ph ) (see 2reu4 resp. 2eu4 ). These two representations are equivalent (see opreu2reurex ). An analogon of this theorem using the latter variant is given in addsqn2reurex2 . In some cases, however, the variant with (ordered!) pairs may be possible only for ordered sets (like RR or Prime ) and claiming that the first component is less than or equal to the second component (see, for example, 2sqreunnltb and 2sqreuopb ). Alternatively, (proper) unordered pairs can be used: E! p e ~P A ( ( #p ) = 2 /\ ph ) , or, using the definition of proper pairs: E! p e. ( PrPairsA ) ph (see, for example, inlinecirc02preu ). (Contributed by AV, 21-Jun-2023)

Ref Expression
Assertion addsqnreup C¬∃!p×1stp+2ndp2=C

Proof

Step Hyp Ref Expression
1 ax-1cn 1
2 0cn 0
3 opelxpi 1010×
4 1 2 3 mp2an 10×
5 3cn 3
6 5 negcli 3
7 2cn 2
8 opelxpi 3232×
9 6 7 8 mp2an 32×
10 0ne2 02
11 10 olci 1302
12 1ex 1V
13 c0ex 0V
14 12 13 opthne 10321302
15 11 14 mpbir 1032
16 4 9 15 3pm3.2i 10×32×1032
17 12 13 op1st 1st10=1
18 12 13 op2nd 2nd10=0
19 18 oveq1i 2nd102=02
20 sq0 02=0
21 19 20 eqtri 2nd102=0
22 17 21 oveq12i 1st10+2nd102=1+0
23 1p0e1 1+0=1
24 22 23 eqtri 1st10+2nd102=1
25 negex 3V
26 2ex 2V
27 25 26 op1st 1st32=3
28 25 26 op2nd 2nd32=2
29 28 oveq1i 2nd322=22
30 sq2 22=4
31 29 30 eqtri 2nd322=4
32 27 31 oveq12i 1st32+2nd322=-3+4
33 4cn 4
34 33 5 negsubi 4+-3=43
35 3p1e4 3+1=4
36 33 5 1 35 subaddrii 43=1
37 34 36 eqtri 4+-3=1
38 33 6 37 addcomli -3+4=1
39 32 38 eqtri 1st32+2nd322=1
40 24 39 pm3.2i 1st10+2nd102=11st32+2nd322=1
41 fveq2 p=101stp=1st10
42 fveq2 p=102ndp=2nd10
43 42 oveq1d p=102ndp2=2nd102
44 41 43 oveq12d p=101stp+2ndp2=1st10+2nd102
45 44 eqeq1d p=101stp+2ndp2=11st10+2nd102=1
46 fveq2 p=321stp=1st32
47 fveq2 p=322ndp=2nd32
48 47 oveq1d p=322ndp2=2nd322
49 46 48 oveq12d p=321stp+2ndp2=1st32+2nd322
50 49 eqeq1d p=321stp+2ndp2=11st32+2nd322=1
51 45 50 2nreu 10×32×10321st10+2nd102=11st32+2nd322=1¬∃!p×1stp+2ndp2=1
52 16 40 51 mp2 ¬∃!p×1stp+2ndp2=1
53 eqeq2 C=11stp+2ndp2=C1stp+2ndp2=1
54 53 reubidv C=1∃!p×1stp+2ndp2=C∃!p×1stp+2ndp2=1
55 52 54 mtbiri C=1¬∃!p×1stp+2ndp2=C
56 55 a1d C=1C¬∃!p×1stp+2ndp2=C
57 id CC
58 0cnd C0
59 57 58 opelxpd CC0×
60 59 adantr CC1C0×
61 1cnd C1
62 peano2cnm CC1
63 62 sqrtcld CC1
64 61 63 opelxpd C1C1×
65 64 adantr CC11C1×
66 animorrl CC1C10C1
67 0cnd C10
68 opthneg C0C01C1C10C1
69 67 68 sylan2 CC1C01C1C10C1
70 66 69 mpbird CC1C01C1
71 60 65 70 3jca CC1C0×1C1×C01C1
72 op1stg C01stC0=C
73 58 72 mpdan C1stC0=C
74 op2ndg C02ndC0=0
75 58 74 mpdan C2ndC0=0
76 75 sq0id C2ndC02=0
77 73 76 oveq12d C1stC0+2ndC02=C+0
78 addrid CC+0=C
79 77 78 eqtrd C1stC0+2ndC02=C
80 op1stg 1C11st1C1=1
81 61 63 80 syl2anc C1st1C1=1
82 op2ndg 1C12nd1C1=C1
83 61 63 82 syl2anc C2nd1C1=C1
84 83 oveq1d C2nd1C12=C12
85 62 sqsqrtd CC12=C1
86 84 85 eqtrd C2nd1C12=C1
87 81 86 oveq12d C1st1C1+2nd1C12=1+C-1
88 61 57 pncan3d C1+C-1=C
89 87 88 eqtrd C1st1C1+2nd1C12=C
90 79 89 jca C1stC0+2ndC02=C1st1C1+2nd1C12=C
91 90 adantr CC11stC0+2ndC02=C1st1C1+2nd1C12=C
92 fveq2 p=C01stp=1stC0
93 fveq2 p=C02ndp=2ndC0
94 93 oveq1d p=C02ndp2=2ndC02
95 92 94 oveq12d p=C01stp+2ndp2=1stC0+2ndC02
96 95 eqeq1d p=C01stp+2ndp2=C1stC0+2ndC02=C
97 fveq2 p=1C11stp=1st1C1
98 fveq2 p=1C12ndp=2nd1C1
99 98 oveq1d p=1C12ndp2=2nd1C12
100 97 99 oveq12d p=1C11stp+2ndp2=1st1C1+2nd1C12
101 100 eqeq1d p=1C11stp+2ndp2=C1st1C1+2nd1C12=C
102 96 101 2nreu C0×1C1×C01C11stC0+2ndC02=C1st1C1+2nd1C12=C¬∃!p×1stp+2ndp2=C
103 71 91 102 sylc CC1¬∃!p×1stp+2ndp2=C
104 103 expcom C1C¬∃!p×1stp+2ndp2=C
105 56 104 pm2.61ine C¬∃!p×1stp+2ndp2=C