:: CLVECT_3 semantic presentation

deffunc H1( ComplexUnitarySpace) -> Element of the carrier of a1 = 0. a1;

scheme :: CLVECT_3:sch 1
s1{ F1() -> ComplexUnitarySpace, F2() -> Point of F1(), F3( Nat, Point of F1()) -> Point of F1() } :
ex b1 being Function of NAT ,the carrier of F1() st
( b1 . 0 = F2() & ( for b2 being Element of NAT
for b3 being Point of F1() st b3 = b1 . b2 holds
b1 . (b2 + 1) = F3(b2,b3) ) )
proof end;

definition
let c1 be ComplexUnitarySpace;
let c2 be sequence of c1;
func Partial_Sums c2 -> sequence of a1 means :Def1: :: CLVECT_3:def 1
( a3 . 0 = a2 . 0 & ( for b1 being Nat holds a3 . (b1 + 1) = (a3 . b1) + (a2 . (b1 + 1)) ) );
existence
ex b1 being sequence of c1 st
( b1 . 0 = c2 . 0 & ( for b2 being Nat holds b1 . (b2 + 1) = (b1 . b2) + (c2 . (b2 + 1)) ) )
proof end;
uniqueness
for b1, b2 being sequence of c1 st b1 . 0 = c2 . 0 & ( for b3 being Nat holds b1 . (b3 + 1) = (b1 . b3) + (c2 . (b3 + 1)) ) & b2 . 0 = c2 . 0 & ( for b3 being Nat holds b2 . (b3 + 1) = (b2 . b3) + (c2 . (b3 + 1)) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def1 defines Partial_Sums CLVECT_3:def 1 :
for b1 being ComplexUnitarySpace
for b2, b3 being sequence of b1 holds
( b3 = Partial_Sums b2 iff ( b3 . 0 = b2 . 0 & ( for b4 being Nat holds b3 . (b4 + 1) = (b3 . b4) + (b2 . (b4 + 1)) ) ) );

theorem Th1: :: CLVECT_3:1
for b1 being ComplexUnitarySpace
for b2, b3 being sequence of b1 holds (Partial_Sums b2) + (Partial_Sums b3) = Partial_Sums (b2 + b3)
proof end;

theorem Th2: :: CLVECT_3:2
for b1 being ComplexUnitarySpace
for b2, b3 being sequence of b1 holds (Partial_Sums b2) - (Partial_Sums b3) = Partial_Sums (b2 - b3)
proof end;

theorem Th3: :: CLVECT_3:3
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Complex holds Partial_Sums (b3 * b2) = b3 * (Partial_Sums b2)
proof end;

theorem Th4: :: CLVECT_3:4
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 holds Partial_Sums (- b2) = - (Partial_Sums b2)
proof end;

theorem Th5: :: CLVECT_3:5
for b1 being ComplexUnitarySpace
for b2, b3 being sequence of b1
for b4, b5 being Complex holds (b4 * (Partial_Sums b2)) + (b5 * (Partial_Sums b3)) = Partial_Sums ((b4 * b2) + (b5 * b3))
proof end;

definition
let c1 be ComplexUnitarySpace;
let c2 be sequence of c1;
attr a2 is summable means :Def2: :: CLVECT_3:def 2
Partial_Sums a2 is convergent;
func Sum c2 -> Point of a1 equals :: CLVECT_3:def 3
lim (Partial_Sums a2);
correctness
coherence
lim (Partial_Sums c2) is Point of c1
;
;
end;

:: deftheorem Def2 defines summable CLVECT_3:def 2 :
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 holds
( b2 is summable iff Partial_Sums b2 is convergent );

:: deftheorem Def3 defines Sum CLVECT_3:def 3 :
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 holds Sum b2 = lim (Partial_Sums b2);

theorem Th6: :: CLVECT_3:6
for b1 being ComplexUnitarySpace
for b2, b3 being sequence of b1 st b2 is summable & b3 is summable holds
( b2 + b3 is summable & Sum (b2 + b3) = (Sum b2) + (Sum b3) )
proof end;

theorem Th7: :: CLVECT_3:7
for b1 being ComplexUnitarySpace
for b2, b3 being sequence of b1 st b2 is summable & b3 is summable holds
( b2 - b3 is summable & Sum (b2 - b3) = (Sum b2) - (Sum b3) )
proof end;

theorem Th8: :: CLVECT_3:8
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Complex st b2 is summable holds
( b3 * b2 is summable & Sum (b3 * b2) = b3 * (Sum b2) )
proof end;

theorem Th9: :: CLVECT_3:9
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 st b2 is summable holds
( b2 is convergent & lim b2 = 0. b1 )
proof end;

theorem Th10: :: CLVECT_3:10
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 st b1 is Hilbert holds
( b2 is summable iff for b3 being Real st b3 > 0 holds
ex b4 being Nat st
for b5, b6 being Nat st b5 >= b4 & b6 >= b4 holds
||.(((Partial_Sums b2) . b5) - ((Partial_Sums b2) . b6)).|| < b3 )
proof end;

theorem Th11: :: CLVECT_3:11
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 st b2 is summable holds
Partial_Sums b2 is bounded
proof end;

theorem Th12: :: CLVECT_3:12
for b1 being ComplexUnitarySpace
for b2, b3 being sequence of b1 st ( for b4 being Nat holds b2 . b4 = b3 . 0 ) holds
Partial_Sums (b3 ^\ 1) = ((Partial_Sums b3) ^\ 1) - b2
proof end;

theorem Th13: :: CLVECT_3:13
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 st b2 is summable holds
for b3 being Nat holds b2 ^\ b3 is summable
proof end;

theorem Th14: :: CLVECT_3:14
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 st ex b3 being Nat st b2 ^\ b3 is summable holds
b2 is summable
proof end;

definition
let c1 be ComplexUnitarySpace;
let c2 be sequence of c1;
let c3 be Nat;
func Sum c2,c3 -> Point of a1 equals :: CLVECT_3:def 4
(Partial_Sums a2) . a3;
correctness
coherence
(Partial_Sums c2) . c3 is Point of c1
;
;
end;

:: deftheorem Def4 defines Sum CLVECT_3:def 4 :
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Nat holds Sum b2,b3 = (Partial_Sums b2) . b3;

theorem Th15: :: CLVECT_3:15
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 holds Sum b2,0 = b2 . 0 by Def1;

theorem Th16: :: CLVECT_3:16
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 holds Sum b2,1 = (Sum b2,0) + (b2 . 1)
proof end;

theorem Th17: :: CLVECT_3:17
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 holds Sum b2,1 = (b2 . 0) + (b2 . 1)
proof end;

theorem Th18: :: CLVECT_3:18
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Nat holds Sum b2,(b3 + 1) = (Sum b2,b3) + (b2 . (b3 + 1)) by Def1;

theorem Th19: :: CLVECT_3:19
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Nat holds b2 . (b3 + 1) = (Sum b2,(b3 + 1)) - (Sum b2,b3)
proof end;

theorem Th20: :: CLVECT_3:20
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 holds b2 . 1 = (Sum b2,1) - (Sum b2,0)
proof end;

definition
let c1 be ComplexUnitarySpace;
let c2 be sequence of c1;
let c3, c4 be Nat;
func Sum c2,c3,c4 -> Point of a1 equals :: CLVECT_3:def 5
(Sum a2,a3) - (Sum a2,a4);
correctness
coherence
(Sum c2,c3) - (Sum c2,c4) is Point of c1
;
;
end;

:: deftheorem Def5 defines Sum CLVECT_3:def 5 :
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3, b4 being Nat holds Sum b2,b3,b4 = (Sum b2,b3) - (Sum b2,b4);

theorem Th21: :: CLVECT_3:21
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 holds Sum b2,1,0 = b2 . 1
proof end;

theorem Th22: :: CLVECT_3:22
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Nat holds Sum b2,(b3 + 1),b3 = b2 . (b3 + 1) by Th19;

theorem Th23: :: CLVECT_3:23
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 st b1 is Hilbert holds
( b2 is summable iff for b3 being Real st b3 > 0 holds
ex b4 being Nat st
for b5, b6 being Nat st b5 >= b4 & b6 >= b4 holds
||.((Sum b2,b5) - (Sum b2,b6)).|| < b3 )
proof end;

theorem Th24: :: CLVECT_3:24
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 st b1 is Hilbert holds
( b2 is summable iff for b3 being Real st b3 > 0 holds
ex b4 being Nat st
for b5, b6 being Nat st b5 >= b4 & b6 >= b4 holds
||.(Sum b2,b5,b6).|| < b3 )
proof end;

definition
let c1 be Complex_Sequence;
let c2 be Nat;
func Sum c1,c2 -> Complex equals :: CLVECT_3:def 6
(Partial_Sums a1) . a2;
correctness
coherence
(Partial_Sums c1) . c2 is Complex
;
;
end;

:: deftheorem Def6 defines Sum CLVECT_3:def 6 :
for b1 being Complex_Sequence
for b2 being Nat holds Sum b1,b2 = (Partial_Sums b1) . b2;

definition
let c1 be Complex_Sequence;
let c2, c3 be Nat;
func Sum c1,c2,c3 -> Complex equals :: CLVECT_3:def 7
(Sum a1,a2) - (Sum a1,a3);
correctness
coherence
(Sum c1,c2) - (Sum c1,c3) is Complex
;
;
end;

:: deftheorem Def7 defines Sum CLVECT_3:def 7 :
for b1 being Complex_Sequence
for b2, b3 being Nat holds Sum b1,b2,b3 = (Sum b1,b2) - (Sum b1,b3);

definition
let c1 be ComplexUnitarySpace;
let c2 be sequence of c1;
attr a2 is absolutely_summable means :Def8: :: CLVECT_3:def 8
||.a2.|| is summable;
end;

:: deftheorem Def8 defines absolutely_summable CLVECT_3:def 8 :
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 holds
( b2 is absolutely_summable iff ||.b2.|| is summable );

theorem Th25: :: CLVECT_3:25
for b1 being ComplexUnitarySpace
for b2, b3 being sequence of b1 st b2 is absolutely_summable & b3 is absolutely_summable holds
b2 + b3 is absolutely_summable
proof end;

theorem Th26: :: CLVECT_3:26
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Complex st b2 is absolutely_summable holds
b3 * b2 is absolutely_summable
proof end;

theorem Th27: :: CLVECT_3:27
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Real_Sequence st ( for b4 being Nat holds ||.b2.|| . b4 <= b3 . b4 ) & b3 is summable holds
b2 is absolutely_summable
proof end;

theorem Th28: :: CLVECT_3:28
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Real_Sequence st ( for b4 being Nat holds
( b2 . b4 <> 0. b1 & b3 . b4 = ||.(b2 . (b4 + 1)).|| / ||.(b2 . b4).|| ) ) & b3 is convergent & lim b3 < 1 holds
b2 is absolutely_summable
proof end;

theorem Th29: :: CLVECT_3:29
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Real st b3 > 0 & ex b4 being Nat st
for b5 being Nat st b5 >= b4 holds
||.(b2 . b5).|| >= b3 & b2 is convergent holds
lim b2 <> 0. b1
proof end;

theorem Th30: :: CLVECT_3:30
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 st ( for b3 being Nat holds b2 . b3 <> 0. b1 ) & ex b3 being Nat st
for b4 being Nat st b4 >= b3 holds
||.(b2 . (b4 + 1)).|| / ||.(b2 . b4).|| >= 1 holds
not b2 is summable
proof end;

theorem Th31: :: CLVECT_3:31
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Real_Sequence st ( for b4 being Nat holds b2 . b4 <> 0. b1 ) & ( for b4 being Nat holds b3 . b4 = ||.(b2 . (b4 + 1)).|| / ||.(b2 . b4).|| ) & b3 is convergent & lim b3 > 1 holds
not b2 is summable
proof end;

theorem Th32: :: CLVECT_3:32
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Real_Sequence st ( for b4 being Nat holds b3 . b4 = b4 -root ||.(b2 . b4).|| ) & b3 is convergent & lim b3 < 1 holds
b2 is absolutely_summable
proof end;

theorem Th33: :: CLVECT_3:33
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Real_Sequence st ( for b4 being Nat holds b3 . b4 = b4 -root (||.b2.|| . b4) ) & ex b4 being Nat st
for b5 being Nat st b5 >= b4 holds
b3 . b5 >= 1 holds
not b2 is summable
proof end;

theorem Th34: :: CLVECT_3:34
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Real_Sequence st ( for b4 being Nat holds b3 . b4 = b4 -root (||.b2.|| . b4) ) & b3 is convergent & lim b3 > 1 holds
not b2 is summable
proof end;

theorem Th35: :: CLVECT_3:35
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 holds Partial_Sums ||.b2.|| is non-decreasing
proof end;

theorem Th36: :: CLVECT_3:36
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Nat holds (Partial_Sums ||.b2.||) . b3 >= 0
proof end;

theorem Th37: :: CLVECT_3:37
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Nat holds ||.((Partial_Sums b2) . b3).|| <= (Partial_Sums ||.b2.||) . b3
proof end;

theorem Th38: :: CLVECT_3:38
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Nat holds ||.(Sum b2,b3).|| <= Sum ||.b2.||,b3
proof end;

theorem Th39: :: CLVECT_3:39
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3, b4 being Nat holds ||.(((Partial_Sums b2) . b4) - ((Partial_Sums b2) . b3)).|| <= abs (((Partial_Sums ||.b2.||) . b4) - ((Partial_Sums ||.b2.||) . b3))
proof end;

theorem Th40: :: CLVECT_3:40
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3, b4 being Nat holds ||.((Sum b2,b4) - (Sum b2,b3)).|| <= abs ((Sum ||.b2.||,b4) - (Sum ||.b2.||,b3))
proof end;

theorem Th41: :: CLVECT_3:41
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3, b4 being Nat holds ||.(Sum b2,b4,b3).|| <= abs (Sum ||.b2.||,b4,b3)
proof end;

theorem Th42: :: CLVECT_3:42
for b1 being ComplexUnitarySpace
for b2 being sequence of b1 st b1 is Hilbert & b2 is absolutely_summable holds
b2 is summable
proof end;

definition
let c1 be ComplexUnitarySpace;
let c2 be sequence of c1;
let c3 be Complex_Sequence;
func c3 * c2 -> sequence of a1 means :Def9: :: CLVECT_3:def 9
for b1 being Nat holds a4 . b1 = (a3 . b1) * (a2 . b1);
existence
ex b1 being sequence of c1 st
for b2 being Nat holds b1 . b2 = (c3 . b2) * (c2 . b2)
proof end;
uniqueness
for b1, b2 being sequence of c1 st ( for b3 being Nat holds b1 . b3 = (c3 . b3) * (c2 . b3) ) & ( for b3 being Nat holds b2 . b3 = (c3 . b3) * (c2 . b3) ) holds
b1 = b2
proof end;
end;

:: deftheorem Def9 defines * CLVECT_3:def 9 :
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Complex_Sequence
for b4 being sequence of b1 holds
( b4 = b3 * b2 iff for b5 being Nat holds b4 . b5 = (b3 . b5) * (b2 . b5) );

theorem Th43: :: CLVECT_3:43
for b1 being ComplexUnitarySpace
for b2, b3 being sequence of b1
for b4 being Complex_Sequence holds b4 * (b2 + b3) = (b4 * b2) + (b4 * b3)
proof end;

theorem Th44: :: CLVECT_3:44
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3, b4 being Complex_Sequence holds (b3 + b4) * b2 = (b3 * b2) + (b4 * b2)
proof end;

theorem Th45: :: CLVECT_3:45
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3, b4 being Complex_Sequence holds (b3 (#) b4) * b2 = b3 * (b4 * b2)
proof end;

theorem Th46: :: CLVECT_3:46
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Complex_Sequence
for b4 being Complex holds (b4 (#) b3) * b2 = b4 * (b3 * b2)
proof end;

theorem Th47: :: CLVECT_3:47
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Complex_Sequence holds b3 * (- b2) = (- b3) * b2
proof end;

Lemma25: for b1 being Complex_Sequence st b1 is convergent holds
b1 is bounded
proof end;

theorem Th48: :: CLVECT_3:48
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Complex_Sequence st b3 is convergent & b2 is convergent holds
b3 * b2 is convergent
proof end;

theorem Th49: :: CLVECT_3:49
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Complex_Sequence st b3 is bounded & b2 is bounded holds
b3 * b2 is bounded
proof end;

theorem Th50: :: CLVECT_3:50
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Complex_Sequence st b3 is convergent & b2 is convergent holds
( b3 * b2 is convergent & lim (b3 * b2) = (lim b3) * (lim b2) )
proof end;

definition
let c1 be Complex_Sequence;
attr a1 is Cauchy means :Def10: :: CLVECT_3:def 10
for b1 being Real st b1 > 0 holds
ex b2 being Nat st
for b3, b4 being Nat st b3 >= b2 & b4 >= b2 holds
|.((a1 . b3) - (a1 . b4)).| < b1;
end;

:: deftheorem Def10 defines Cauchy CLVECT_3:def 10 :
for b1 being Complex_Sequence holds
( b1 is Cauchy iff for b2 being Real st b2 > 0 holds
ex b3 being Nat st
for b4, b5 being Nat st b4 >= b3 & b5 >= b3 holds
|.((b1 . b4) - (b1 . b5)).| < b2 );

notation
let c1 be Complex_Sequence;
synonym c1 is_Cauchy_sequence for Cauchy c1;
end;

theorem Th51: :: CLVECT_3:51
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Complex_Sequence st b1 is Hilbert & b2 is Cauchy & b3 is Cauchy holds
b3 * b2 is Cauchy
proof end;

theorem Th52: :: CLVECT_3:52
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Complex_Sequence
for b4 being Nat holds (Partial_Sums ((b3 - (b3 ^\ 1)) * (Partial_Sums b2))) . b4 = ((Partial_Sums (b3 * b2)) . (b4 + 1)) - ((b3 * (Partial_Sums b2)) . (b4 + 1))
proof end;

theorem Th53: :: CLVECT_3:53
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Complex_Sequence
for b4 being Nat holds (Partial_Sums (b3 * b2)) . (b4 + 1) = ((b3 * (Partial_Sums b2)) . (b4 + 1)) - ((Partial_Sums (((b3 ^\ 1) - b3) * (Partial_Sums b2))) . b4)
proof end;

theorem Th54: :: CLVECT_3:54
for b1 being ComplexUnitarySpace
for b2 being sequence of b1
for b3 being Complex_Sequence
for b4 being Nat holds Sum (b3 * b2),(b4 + 1) = ((b3 * (Partial_Sums b2)) . (b4 + 1)) - (Sum (((b3 ^\ 1) - b3) * (Partial_Sums b2)),b4) by Th53;