:: COMPLSP1 semantic presentation  Show TPTP formulae Show IDV graph for whole article:: Showing IDV graph ... (Click the Palm Trees again to close it)

theorem :: COMPLSP1:1  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
canceled;

theorem :: COMPLSP1:2  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
canceled;

theorem Th3: :: COMPLSP1:3  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
0c is_a_unity_wrt addcomplex by BINOP_2:1, SETWISEO:22;

Lm1: the_unity_wrt addcomplex = 0c
by BINOP_2:1;

theorem :: COMPLSP1:4  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
canceled;

theorem :: COMPLSP1:5  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
canceled;

theorem Th6: :: COMPLSP1:6  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
compcomplex is_an_inverseOp_wrt addcomplex
proof end;

theorem Th7: :: COMPLSP1:7  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
addcomplex has_an_inverseOp by Th6, FINSEQOP:def 2;

theorem Th8: :: COMPLSP1:8  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
the_inverseOp_wrt addcomplex = compcomplex by Th6, Th7, FINSEQOP:def 3;

definition
canceled;
canceled;
redefine func diffcomplex equals :Def3: :: COMPLSP1:def 3
addcomplex * (id COMPLEX ),compcomplex ;
compatibility
for b1 being M6([:COMPLEX ,COMPLEX :], COMPLEX ) holds
( b1 = diffcomplex iff b1 = addcomplex * (id COMPLEX ),compcomplex )
proof end;
end;

:: deftheorem COMPLSP1:def 1 :
canceled;

:: deftheorem COMPLSP1:def 2 :
canceled;

:: deftheorem Def3 defines diffcomplex COMPLSP1:def 3 :
diffcomplex = addcomplex * (id COMPLEX ),compcomplex ;

Lm2: for c1, c2 being Element of COMPLEX holds diffcomplex . c1,c2 = c1 - c2
by BINOP_2:def 4;

theorem :: COMPLSP1:9  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
canceled;

theorem :: COMPLSP1:10  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
canceled;

theorem :: COMPLSP1:11  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
canceled;

theorem :: COMPLSP1:12  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
1r is_a_unity_wrt multcomplex by BINOP_2:6, COMPLEX1:def 7, SETWISEO:22;

theorem Th13: :: COMPLSP1:13  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
the_unity_wrt multcomplex = 1r by BINOP_2:6, COMPLEX1:def 7;

theorem :: COMPLSP1:14  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
canceled;

theorem Th15: :: COMPLSP1:15  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
multcomplex is_distributive_wrt addcomplex
proof end;

definition
let c be complex number ;
canceled;
func c multcomplex -> UnOp of COMPLEX equals :: COMPLSP1:def 5
multcomplex [;] c,(id COMPLEX );
coherence
multcomplex [;] c,(id COMPLEX ) is UnOp of COMPLEX
proof end;
end;

:: deftheorem COMPLSP1:def 4 :
canceled;

:: deftheorem defines multcomplex COMPLSP1:def 5 :
for c being complex number holds c multcomplex = multcomplex [;] c,(id COMPLEX );

Lm3: for c, c' being Element of COMPLEX holds (multcomplex [;] c,(id COMPLEX )) . c' = c * c'
proof end;

theorem Th16: :: COMPLSP1:16  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for c, c' being Element of COMPLEX holds (c multcomplex ) . c' = c * c' by Lm3;

theorem Th17: :: COMPLSP1:17  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for c being Element of COMPLEX holds c multcomplex is_distributive_wrt addcomplex by Th15, FINSEQOP:55;

definition
func abscomplex -> Function of COMPLEX , REAL means :Def6: :: COMPLSP1:def 6
for c being Element of COMPLEX holds it . c = |.c.|;
existence
ex b1 being Function of COMPLEX , REAL st
for c being Element of COMPLEX holds b1 . c = |.c.|
from FUNCT_2:sch 4( COMPLEX REAL );
uniqueness
for b1, b2 being Function of COMPLEX , REAL st ( for c being Element of COMPLEX holds b1 . c = |.c.| ) & ( for c being Element of COMPLEX holds b2 . c = |.c.| ) holds
b1 = b2
from BINOP_2:sch 1( COMPLEX REAL );
end;

:: deftheorem Def6 defines abscomplex COMPLSP1:def 6 :
for b1 being Function of COMPLEX , REAL holds
( b1 = abscomplex iff for c being Element of COMPLEX holds b1 . c = |.c.| );

definition
let z1, z2 be FinSequence of COMPLEX ;
func z1 + z2 -> FinSequence of COMPLEX equals :: COMPLSP1:def 7
addcomplex .: z1,z2;
correctness
coherence
addcomplex .: z1,z2 is FinSequence of COMPLEX
;
;
func z1 - z2 -> FinSequence of COMPLEX equals :: COMPLSP1:def 8
diffcomplex .: z1,z2;
correctness
coherence
diffcomplex .: z1,z2 is FinSequence of COMPLEX
;
;
end;

:: deftheorem defines + COMPLSP1:def 7 :
for z1, z2 being FinSequence of COMPLEX holds z1 + z2 = addcomplex .: z1,z2;

:: deftheorem defines - COMPLSP1:def 8 :
for z1, z2 being FinSequence of COMPLEX holds z1 - z2 = diffcomplex .: z1,z2;

definition
let z be FinSequence of COMPLEX ;
func - z -> FinSequence of COMPLEX equals :: COMPLSP1:def 9
compcomplex * z;
correctness
coherence
compcomplex * z is FinSequence of COMPLEX
;
;
end;

:: deftheorem defines - COMPLSP1:def 9 :
for z being FinSequence of COMPLEX holds - z = compcomplex * z;

definition
let c be complex number ;
let z be FinSequence of COMPLEX ;
func c * z -> FinSequence of COMPLEX equals :: COMPLSP1:def 10
(c multcomplex ) * z;
correctness
coherence
(c multcomplex ) * z is FinSequence of COMPLEX
;
;
end;

:: deftheorem defines * COMPLSP1:def 10 :
for c being complex number
for z being FinSequence of COMPLEX holds c * z = (c multcomplex ) * z;

definition
let z be FinSequence of COMPLEX ;
func abs z -> FinSequence of REAL equals :: COMPLSP1:def 11
abscomplex * z;
correctness
coherence
abscomplex * z is FinSequence of REAL
;
;
end;

:: deftheorem defines abs COMPLSP1:def 11 :
for z being FinSequence of COMPLEX holds abs z = abscomplex * z;

definition
let n be Nat;
func COMPLEX n -> FinSequence-DOMAIN of COMPLEX equals :: COMPLSP1:def 12
n -tuples_on COMPLEX ;
correctness
coherence
n -tuples_on COMPLEX is FinSequence-DOMAIN of COMPLEX
;
;
end;

:: deftheorem defines COMPLEX COMPLSP1:def 12 :
for n being Nat holds COMPLEX n = n -tuples_on COMPLEX ;

registration
let n be Nat;
cluster COMPLEX n -> ;
coherence
not COMPLEX n is empty
;
end;

theorem Th18: :: COMPLSP1:18  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n holds len z = n by FINSEQ_2:109;

Lm4: for n being Nat
for z being Element of COMPLEX n holds dom z = Seg n
proof end;

theorem :: COMPLSP1:19  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for z being Element of COMPLEX 0 holds z = <*> COMPLEX by FINSEQ_2:113;

theorem :: COMPLSP1:20  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
<*> COMPLEX is Element of COMPLEX 0 by FINSEQ_2:114;

theorem Th21: :: COMPLSP1:21  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for k, n being Nat
for z being Element of COMPLEX n st k in Seg n holds
z . k in COMPLEX
proof end;

theorem :: COMPLSP1:22  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
canceled;

theorem Th23: :: COMPLSP1:23  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n st ( for k being Nat st k in Seg n holds
z1 . k = z2 . k ) holds
z1 = z2 by FINSEQ_2:139;

definition
let n be Nat;
let z1, z2 be Element of COMPLEX n;
:: original: +
redefine func z1 + z2 -> Element of COMPLEX n;
coherence
z1 + z2 is Element of COMPLEX n
by FINSEQ_2:140;
end;

theorem Th24: :: COMPLSP1:24  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for k, n being Nat
for c1, c2 being Element of COMPLEX
for z1, z2 being Element of COMPLEX n st k in Seg n & c1 = z1 . k & c2 = z2 . k holds
(z1 + z2) . k = c1 + c2
proof end;

theorem Th25: :: COMPLSP1:25  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n holds z1 + z2 = z2 + z1 by FINSEQOP:34;

theorem Th26: :: COMPLSP1:26  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2, z3 being Element of COMPLEX n holds z1 + (z2 + z3) = (z1 + z2) + z3 by FINSEQOP:29;

definition
let n be Nat;
func 0c n -> FinSequence of COMPLEX equals :: COMPLSP1:def 13
n |-> 0c ;
correctness
coherence
n |-> 0c is FinSequence of COMPLEX
;
;
end;

:: deftheorem defines 0c COMPLSP1:def 13 :
for n being Nat holds 0c n = n |-> 0c ;

definition
let n be Nat;
:: original: 0c
redefine func 0c n -> Element of COMPLEX n;
coherence
0c n is Element of COMPLEX n
;
end;

theorem :: COMPLSP1:27  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for k, n being Nat st k in Seg n holds
(0c n) . k = 0c by FINSEQ_2:70;

Lm5: for n being Nat
for z being Element of COMPLEX n holds z + (0c n) = z
by Lm1, FINSEQOP:57;

theorem Th28: :: COMPLSP1:28  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n holds
( z + (0c n) = z & z = (0c n) + z )
proof end;

definition
let n be Nat;
let z be Element of COMPLEX n;
:: original: -
redefine func - z -> Element of COMPLEX n;
coherence
- z is Element of COMPLEX n
by FINSEQ_2:133;
end;

theorem Th29: :: COMPLSP1:29  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for k, n being Nat
for c being Element of COMPLEX
for z being Element of COMPLEX n st k in Seg n & c = z . k holds
(- z) . k = - c
proof end;

Lm6: for n being Nat
for z being Element of COMPLEX n holds z + (- z) = 0c n
by Lm1, Th7, Th8, FINSEQOP:77;

Lm7: for n being Nat holds - (0c n) = 0c n
proof end;

theorem Th30: :: COMPLSP1:30  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n holds
( z + (- z) = 0c n & (- z) + z = 0c n )
proof end;

theorem Th31: :: COMPLSP1:31  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n st z1 + z2 = 0c n holds
( z1 = - z2 & z2 = - z1 ) by Lm1, Th7, Th8, FINSEQOP:78;

theorem Th32: :: COMPLSP1:32  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n holds - (- z) = z
proof end;

theorem :: COMPLSP1:33  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n st - z1 = - z2 holds
z1 = z2
proof end;

Lm8: for n being Nat
for z1, z, z2 being Element of COMPLEX n st z1 + z = z2 + z holds
z1 = z2
proof end;

theorem :: COMPLSP1:34  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z, z2 being Element of COMPLEX n st ( z1 + z = z2 + z or z1 + z = z + z2 ) holds
z1 = z2
proof end;

theorem Th35: :: COMPLSP1:35  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n holds - (z1 + z2) = (- z1) + (- z2)
proof end;

definition
let n be Nat;
let z1, z2 be Element of COMPLEX n;
:: original: -
redefine func z1 - z2 -> Element of COMPLEX n;
coherence
z1 - z2 is Element of COMPLEX n
by FINSEQ_2:140;
end;

theorem :: COMPLSP1:36  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for k, n being Nat
for c1, c2 being Element of COMPLEX
for z1, z2 being Element of COMPLEX n st k in Seg n & c1 = z1 . k & c2 = z2 . k holds
(z1 - z2) . k = c1 - c2
proof end;

theorem Th37: :: COMPLSP1:37  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n holds z1 - z2 = z1 + (- z2) by Def3, FINSEQOP:89;

theorem :: COMPLSP1:38  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n holds z - (0c n) = z
proof end;

theorem :: COMPLSP1:39  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n holds (0c n) - z = - z
proof end;

theorem :: COMPLSP1:40  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n holds z1 - (- z2) = z1 + z2
proof end;

theorem Th41: :: COMPLSP1:41  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n holds - (z1 - z2) = z2 - z1
proof end;

theorem Th42: :: COMPLSP1:42  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n holds - (z1 - z2) = (- z1) + z2
proof end;

theorem Th43: :: COMPLSP1:43  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n holds z - z = 0c n
proof end;

theorem Th44: :: COMPLSP1:44  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n st z1 - z2 = 0c n holds
z1 = z2
proof end;

theorem Th45: :: COMPLSP1:45  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2, z3 being Element of COMPLEX n holds (z1 - z2) - z3 = z1 - (z2 + z3)
proof end;

theorem Th46: :: COMPLSP1:46  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2, z3 being Element of COMPLEX n holds z1 + (z2 - z3) = (z1 + z2) - z3
proof end;

theorem Th47: :: COMPLSP1:47  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2, z3 being Element of COMPLEX n holds z1 - (z2 - z3) = (z1 - z2) + z3
proof end;

theorem Th48: :: COMPLSP1:48  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2, z3 being Element of COMPLEX n holds (z1 - z2) + z3 = (z1 + z3) - z2
proof end;

theorem Th49: :: COMPLSP1:49  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z being Element of COMPLEX n holds z1 = (z1 + z) - z
proof end;

theorem Th50: :: COMPLSP1:50  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n holds z1 + (z2 - z1) = z2
proof end;

theorem Th51: :: COMPLSP1:51  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z being Element of COMPLEX n holds z1 = (z1 - z) + z
proof end;

definition
let n be Nat;
let c be Element of COMPLEX ;
let z be Element of COMPLEX n;
:: original: *
redefine func c * z -> Element of COMPLEX n;
coherence
c * z is Element of COMPLEX n
by FINSEQ_2:133;
end;

theorem Th52: :: COMPLSP1:52  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for k, n being Nat
for c', c being Element of COMPLEX
for z being Element of COMPLEX n st k in Seg n & c' = z . k holds
(c * z) . k = c * c'
proof end;

theorem :: COMPLSP1:53  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for c1, c2 being Element of COMPLEX
for z being Element of COMPLEX n holds c1 * (c2 * z) = (c1 * c2) * z
proof end;

theorem :: COMPLSP1:54  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for c1, c2 being Element of COMPLEX
for z being Element of COMPLEX n holds (c1 + c2) * z = (c1 * z) + (c2 * z)
proof end;

theorem :: COMPLSP1:55  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for c being Element of COMPLEX
for z1, z2 being Element of COMPLEX n holds c * (z1 + z2) = (c * z1) + (c * z2)
proof end;

theorem :: COMPLSP1:56  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n holds 1r * z = z
proof end;

theorem :: COMPLSP1:57  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n holds 0c * z = 0c n
proof end;

theorem :: COMPLSP1:58  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n holds (- 1r ) * z = - z
proof end;

definition
let n be Nat;
let z be Element of COMPLEX n;
:: original: abs
redefine func abs z -> Element of n -tuples_on REAL ;
correctness
coherence
abs z is Element of n -tuples_on REAL
;
by FINSEQ_2:133;
end;

theorem Th59: :: COMPLSP1:59  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for k, n being Nat
for c being Element of COMPLEX
for z being Element of COMPLEX n st k in Seg n & c = z . k holds
(abs z) . k = |.c.|
proof end;

theorem Th60: :: COMPLSP1:60  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat holds abs (0c n) = n |-> 0
proof end;

theorem Th61: :: COMPLSP1:61  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n holds abs (- z) = abs z
proof end;

theorem Th62: :: COMPLSP1:62  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for c being Element of COMPLEX
for z being Element of COMPLEX n holds abs (c * z) = |.c.| * (abs z)
proof end;

definition
let z be FinSequence of COMPLEX ;
func |.z.| -> Real equals :: COMPLSP1:def 14
sqrt (Sum (sqr (abs z)));
correctness
coherence
sqrt (Sum (sqr (abs z))) is Real
;
;
end;

:: deftheorem defines |. COMPLSP1:def 14 :
for z being FinSequence of COMPLEX holds |.z.| = sqrt (Sum (sqr (abs z)));

theorem Th63: :: COMPLSP1:63  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat holds |.(0c n).| = 0
proof end;

theorem Th64: :: COMPLSP1:64  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n st |.z.| = 0 holds
z = 0c n
proof end;

theorem Th65: :: COMPLSP1:65  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n holds 0 <= |.z.|
proof end;

theorem Th66: :: COMPLSP1:66  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z being Element of COMPLEX n holds |.(- z).| = |.z.| by Th61;

theorem :: COMPLSP1:67  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for c being Element of COMPLEX
for z being Element of COMPLEX n holds |.(c * z).| = |.c.| * |.z.|
proof end;

Lm9: for i, j being Nat
for t being Element of i -tuples_on REAL st j in Seg i holds
t . j is Real
proof end;

theorem Th68: :: COMPLSP1:68  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n holds |.(z1 + z2).| <= |.z1.| + |.z2.|
proof end;

theorem Th69: :: COMPLSP1:69  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n holds |.(z1 - z2).| <= |.z1.| + |.z2.|
proof end;

theorem :: COMPLSP1:70  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n holds |.z1.| - |.z2.| <= |.(z1 + z2).|
proof end;

theorem :: COMPLSP1:71  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n holds |.z1.| - |.z2.| <= |.(z1 - z2).|
proof end;

theorem Th72: :: COMPLSP1:72  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n holds
( |.(z1 - z2).| = 0 iff z1 = z2 )
proof end;

theorem Th73: :: COMPLSP1:73  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n st z1 <> z2 holds
0 < |.(z1 - z2).|
proof end;

theorem Th74: :: COMPLSP1:74  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2 being Element of COMPLEX n holds |.(z1 - z2).| = |.(z2 - z1).|
proof end;

theorem Th75: :: COMPLSP1:75  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, z2, z being Element of COMPLEX n holds |.(z1 - z2).| <= |.(z1 - z).| + |.(z - z2).|
proof end;

definition
let n be Nat;
let A be Subset of (COMPLEX n);
attr A is open means :Def15: :: COMPLSP1:def 15
for x being Element of COMPLEX n st x in A holds
ex r being Real st
( 0 < r & ( for z being Element of COMPLEX n st |.z.| < r holds
x + z in A ) );
end;

:: deftheorem Def15 defines open COMPLSP1:def 15 :
for n being Nat
for A being Subset of (COMPLEX n) holds
( A is open iff for x being Element of COMPLEX n st x in A holds
ex r being Real st
( 0 < r & ( for z being Element of COMPLEX n st |.z.| < r holds
x + z in A ) ) );

definition
let n be Nat;
let A be Subset of (COMPLEX n);
attr A is closed means :: COMPLSP1:def 16
for x being Element of COMPLEX n st ( for r being Real st r > 0 holds
ex z being Element of COMPLEX n st
( |.z.| < r & x + z in A ) ) holds
x in A;
end;

:: deftheorem defines closed COMPLSP1:def 16 :
for n being Nat
for A being Subset of (COMPLEX n) holds
( A is closed iff for x being Element of COMPLEX n st ( for r being Real st r > 0 holds
ex z being Element of COMPLEX n st
( |.z.| < r & x + z in A ) ) holds
x in A );

theorem :: COMPLSP1:76  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for A being Subset of (COMPLEX n) st A = {} holds
A is open
proof end;

theorem Th77: :: COMPLSP1:77  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for A being Subset of (COMPLEX n) st A = COMPLEX n holds
A is open
proof end;

theorem Th78: :: COMPLSP1:78  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for AA being Subset-Family of (COMPLEX n) st ( for A being Subset of (COMPLEX n) st A in AA holds
A is open ) holds
for A being Subset of (COMPLEX n) st A = union AA holds
A is open
proof end;

theorem Th79: :: COMPLSP1:79  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for A, B being Subset of (COMPLEX n) st A is open & B is open holds
for C being Subset of (COMPLEX n) st C = A /\ B holds
C is open
proof end;

definition
let n be Nat;
let x be Element of COMPLEX n;
let r be Real;
func Ball x,r -> Subset of (COMPLEX n) equals :: COMPLSP1:def 17
{ z where z is Element of COMPLEX n : |.(z - x).| < r } ;
coherence
{ z where z is Element of COMPLEX n : |.(z - x).| < r } is Subset of (COMPLEX n)
proof end;
end;

:: deftheorem defines Ball COMPLSP1:def 17 :
for n being Nat
for x being Element of COMPLEX n
for r being Real holds Ball x,r = { z where z is Element of COMPLEX n : |.(z - x).| < r } ;

theorem Th80: :: COMPLSP1:80  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for r being Real
for z, x being Element of COMPLEX n holds
( z in Ball x,r iff |.(x - z).| < r )
proof end;

theorem Th81: :: COMPLSP1:81  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for r being Real
for x being Element of COMPLEX n st 0 < r holds
x in Ball x,r
proof end;

theorem Th82: :: COMPLSP1:82  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for r1 being Real
for z1 being Element of COMPLEX n holds Ball z1,r1 is open
proof end;

scheme :: COMPLSP1:sch 1
SubsetFD{ F1() -> non empty set , F2() -> non empty set , F3( set ) -> Element of F2(), P1[ set ] } :
{ F3(x) where x is Element of F1() : P1[x] } is Subset of F2()
proof end;

scheme :: COMPLSP1:sch 2
SubsetFD2{ F1() -> non empty set , F2() -> non empty set , F3() -> non empty set , F4( set , set ) -> Element of F3(), P1[ set , set ] } :
{ F4(x,y) where x is Element of F1(), y is Element of F2() : P1[x,y] } is Subset of F3()
proof end;

definition
let n be Nat;
let x be Element of COMPLEX n;
let A be Subset of (COMPLEX n);
func dist x,A -> Real means :Def18: :: COMPLSP1:def 18
for X being Subset of REAL st X = { |.(x - z).| where z is Element of COMPLEX n : z in A } holds
it = lower_bound X;
existence
ex b1 being Real st
for X being Subset of REAL st X = { |.(x - z).| where z is Element of COMPLEX n : z in A } holds
b1 = lower_bound X
proof end;
uniqueness
for b1, b2 being Real st ( for X being Subset of REAL st X = { |.(x - z).| where z is Element of COMPLEX n : z in A } holds
b1 = lower_bound X ) & ( for X being Subset of REAL st X = { |.(x - z).| where z is Element of COMPLEX n : z in A } holds
b2 = lower_bound X ) holds
b1 = b2
proof end;
end;

:: deftheorem Def18 defines dist COMPLSP1:def 18 :
for n being Nat
for x being Element of COMPLEX n
for A being Subset of (COMPLEX n)
for b4 being Real holds
( b4 = dist x,A iff for X being Subset of REAL st X = { |.(x - z).| where z is Element of COMPLEX n : z in A } holds
b4 = lower_bound X );

definition
let n be Nat;
let A be Subset of (COMPLEX n);
let r be Real;
func Ball A,r -> Subset of (COMPLEX n) equals :: COMPLSP1:def 19
{ z where z is Element of COMPLEX n : dist z,A < r } ;
coherence
{ z where z is Element of COMPLEX n : dist z,A < r } is Subset of (COMPLEX n)
proof end;
end;

:: deftheorem defines Ball COMPLSP1:def 19 :
for n being Nat
for A being Subset of (COMPLEX n)
for r being Real holds Ball A,r = { z where z is Element of COMPLEX n : dist z,A < r } ;

Lm10: for r, r1 being Real st ( for r' being real number st r' > 0 holds
r + r' >= r1 ) holds
r >= r1
by XREAL_1:43;

theorem :: COMPLSP1:83  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
canceled;

theorem Th84: :: COMPLSP1:84  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for X being Subset of REAL
for r being Real st X <> {} & ( for r' being Real st r' in X holds
r <= r' ) holds
lower_bound X >= r
proof end;

theorem Th85: :: COMPLSP1:85  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for x being Element of COMPLEX n
for A being Subset of (COMPLEX n) st A <> {} holds
dist x,A >= 0
proof end;

theorem Th86: :: COMPLSP1:86  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for x, z being Element of COMPLEX n
for A being Subset of (COMPLEX n) st A <> {} holds
dist (x + z),A <= (dist x,A) + |.z.|
proof end;

theorem Th87: :: COMPLSP1:87  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for x being Element of COMPLEX n
for A being Subset of (COMPLEX n) st x in A holds
dist x,A = 0
proof end;

theorem Th88: :: COMPLSP1:88  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for x being Element of COMPLEX n
for A being Subset of (COMPLEX n) st not x in A & A <> {} & A is closed holds
dist x,A > 0
proof end;

theorem Th89: :: COMPLSP1:89  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for z1, x being Element of COMPLEX n
for A being Subset of (COMPLEX n) st A <> {} holds
|.(z1 - x).| + (dist x,A) >= dist z1,A
proof end;

theorem Th90: :: COMPLSP1:90  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for r being Real
for z being Element of COMPLEX n
for A being Subset of (COMPLEX n) holds
( z in Ball A,r iff dist z,A < r )
proof end;

theorem Th91: :: COMPLSP1:91  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for r being Real
for x being Element of COMPLEX n
for A being Subset of (COMPLEX n) st 0 < r & x in A holds
x in Ball A,r
proof end;

theorem Th92: :: COMPLSP1:92  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for r being Real
for A being Subset of (COMPLEX n) st 0 < r holds
A c= Ball A,r
proof end;

theorem Th93: :: COMPLSP1:93  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for r1 being Real
for A being Subset of (COMPLEX n) st A <> {} holds
Ball A,r1 is open
proof end;

definition
let n be Nat;
let A, B be Subset of (COMPLEX n);
func dist A,B -> Real means :Def20: :: COMPLSP1:def 20
for X being Subset of REAL st X = { |.(x - z).| where x, z is Element of COMPLEX n : ( x in A & z in B ) } holds
it = lower_bound X;
existence
ex b1 being Real st
for X being Subset of REAL st X = { |.(x - z).| where x, z is Element of COMPLEX n : ( x in A & z in B ) } holds
b1 = lower_bound X
proof end;
uniqueness
for b1, b2 being Real st ( for X being Subset of REAL st X = { |.(x - z).| where x, z is Element of COMPLEX n : ( x in A & z in B ) } holds
b1 = lower_bound X ) & ( for X being Subset of REAL st X = { |.(x - z).| where x, z is Element of COMPLEX n : ( x in A & z in B ) } holds
b2 = lower_bound X ) holds
b1 = b2
proof end;
end;

:: deftheorem Def20 defines dist COMPLSP1:def 20 :
for n being Nat
for A, B being Subset of (COMPLEX n)
for b4 being Real holds
( b4 = dist A,B iff for X being Subset of REAL st X = { |.(x - z).| where x, z is Element of COMPLEX n : ( x in A & z in B ) } holds
b4 = lower_bound X );

definition
let X, Y be Subset of REAL ;
func X + Y -> Subset of REAL equals :: COMPLSP1:def 21
{ (r + r1) where r, r1 is Real : ( r in X & r1 in Y ) } ;
coherence
{ (r + r1) where r, r1 is Real : ( r in X & r1 in Y ) } is Subset of REAL
proof end;
end;

:: deftheorem defines + COMPLSP1:def 21 :
for X, Y being Subset of REAL holds X + Y = { (r + r1) where r, r1 is Real : ( r in X & r1 in Y ) } ;

theorem Th94: :: COMPLSP1:94  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for X, Y being Subset of REAL st X <> {} & Y <> {} holds
X + Y <> {}
proof end;

theorem Th95: :: COMPLSP1:95  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for X, Y being Subset of REAL st X is bounded_below & Y is bounded_below holds
X + Y is bounded_below
proof end;

theorem Th96: :: COMPLSP1:96  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for X, Y being Subset of REAL st X <> {} & X is bounded_below & Y <> {} & Y is bounded_below holds
lower_bound (X + Y) = (lower_bound X) + (lower_bound Y)
proof end;

theorem Th97: :: COMPLSP1:97  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for X, Y being Subset of REAL st Y is bounded_below & X <> {} & ( for r being Real st r in X holds
ex r1 being Real st
( r1 in Y & r1 <= r ) ) holds
lower_bound X >= lower_bound Y
proof end;

theorem Th98: :: COMPLSP1:98  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for A, B being Subset of (COMPLEX n) st A <> {} & B <> {} holds
dist A,B >= 0
proof end;

theorem :: COMPLSP1:99  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for A, B being Subset of (COMPLEX n) holds dist A,B = dist B,A
proof end;

theorem Th100: :: COMPLSP1:100  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for x being Element of COMPLEX n
for A, B being Subset of (COMPLEX n) st A <> {} & B <> {} holds
(dist x,A) + (dist x,B) >= dist A,B
proof end;

theorem :: COMPLSP1:101  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for A, B being Subset of (COMPLEX n) st A meets B holds
dist A,B = 0
proof end;

definition
let n be Nat;
func ComplexOpenSets n -> Subset-Family of (COMPLEX n) equals :: COMPLSP1:def 22
{ A where A is Subset of (COMPLEX n) : A is open } ;
coherence
{ A where A is Subset of (COMPLEX n) : A is open } is Subset-Family of (COMPLEX n)
proof end;
end;

:: deftheorem defines ComplexOpenSets COMPLSP1:def 22 :
for n being Nat holds ComplexOpenSets n = { A where A is Subset of (COMPLEX n) : A is open } ;

theorem Th102: :: COMPLSP1:102  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for A being Subset of (COMPLEX n) holds
( A in ComplexOpenSets n iff A is open )
proof end;

registration
let A be non empty set ;
let t be Subset-Family of A;
cluster TopStruct(# A,t #) -> non empty ;
coherence
not TopStruct(# A,t #) is empty
proof end;
end;

definition
let n be Nat;
func the_Complex_Space n -> strict TopSpace equals :: COMPLSP1:def 23
TopStruct(# (COMPLEX n),(ComplexOpenSets n) #);
coherence
TopStruct(# (COMPLEX n),(ComplexOpenSets n) #) is strict TopSpace
proof end;
end;

:: deftheorem defines the_Complex_Space COMPLSP1:def 23 :
for n being Nat holds the_Complex_Space n = TopStruct(# (COMPLEX n),(ComplexOpenSets n) #);

registration
let n be Nat;
cluster the_Complex_Space n -> non empty strict ;
coherence
not the_Complex_Space n is empty
;
end;

theorem :: COMPLSP1:103  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat holds the topology of (the_Complex_Space n) = ComplexOpenSets n ;

theorem :: COMPLSP1:104  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat holds the carrier of (the_Complex_Space n) = COMPLEX n ;

theorem :: COMPLSP1:105  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for p being Point of (the_Complex_Space n) holds p is Element of COMPLEX n ;

theorem :: COMPLSP1:106  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
canceled;

theorem :: COMPLSP1:107  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
canceled;

theorem Th108: :: COMPLSP1:108  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for V being Subset of (the_Complex_Space n)
for A being Subset of (COMPLEX n) st A = V holds
( A is open iff V is open )
proof end;

theorem Th109: :: COMPLSP1:109  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for A being Subset of (COMPLEX n) holds
( A is closed iff A ` is open )
proof end;

theorem Th110: :: COMPLSP1:110  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat
for V being Subset of (the_Complex_Space n)
for A being Subset of (COMPLEX n) st A = V holds
( A is closed iff V is closed )
proof end;

theorem :: COMPLSP1:111  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat holds the_Complex_Space n is_T2
proof end;

theorem :: COMPLSP1:112  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for n being Nat holds the_Complex_Space n is_T3
proof end;