let a, b be Element of REAL ; ( Re [*a,b*] = a & Im [*a,b*] = b )
reconsider a9 = a, b9 = b as Element of REAL ;
thus
Re [*a,b*] = a
Im [*a,b*] = bproof
per cases
( b = 0 or b <> 0 )
;
suppose
b <> 0
;
Re [*a,b*] = athen A1:
[*a,b*] = (
0,1)
--> (
a9,
b9)
by ARYTM_0:def 5;
then reconsider f =
[*a,b*] as
Function of 2,
REAL by CARD_1:50;
A2:
not
[*a,b*] in REAL
by A1, ARYTM_0:8;
f . 0 = a
by A1, FUNCT_4:63;
hence
Re [*a,b*] = a
by A2, COMPLEX1:def 1;
verum end; end;
end;
per cases
( b = 0 or b <> 0 )
;
suppose
b <> 0
;
Im [*a,b*] = bthen A4:
[*a,b*] = (
0,1)
--> (
a9,
b9)
by ARYTM_0:def 5;
then reconsider f =
[*a,b*] as
Function of 2,
REAL by CARD_1:50;
A5:
not
[*a,b*] in REAL
by A4, ARYTM_0:8;
f . 1
= b
by A4, FUNCT_4:63;
hence
Im [*a,b*] = b
by A5, COMPLEX1:def 2;
verum end; end;