:: COMSEQ_2 semantic presentation

theorem Th1: :: COMSEQ_2:1
for b1, b2 being Element of COMPLEX st b1 <> 0c & b2 <> 0c holds
|.((b1 " ) - (b2 " )).| = |.(b1 - b2).| / (|.b1.| * |.b2.|)
proof end;

theorem Th2: :: COMSEQ_2:2
for b1 being Complex_Sequence
for b2 being Nat ex b3 being Real st
( 0 < b3 & ( for b4 being Nat st b4 <= b2 holds
|.(b1 . b4).| < b3 ) )
proof end;

definition
let c1 be non empty set ;
let c2 be PartFunc of c1, COMPLEX ;
deffunc H1( set ) -> Element of COMPLEX = (c2 /. a1) *' ;
func c2 *' -> PartFunc of a1, COMPLEX means :Def1: :: COMSEQ_2:def 1
( dom a3 = dom a2 & ( for b1 being Element of a1 st b1 in dom a3 holds
a3 . b1 = (a2 /. b1) *' ) );
existence
ex b1 being PartFunc of c1, COMPLEX st
( dom b1 = dom c2 & ( for b2 being Element of c1 st b2 in dom b1 holds
b1 . b2 = (c2 /. b2) *' ) )
proof end;
uniqueness
for b1, b2 being PartFunc of c1, COMPLEX st dom b1 = dom c2 & ( for b3 being Element of c1 st b3 in dom b1 holds
b1 . b3 = (c2 /. b3) *' ) & dom b2 = dom c2 & ( for b3 being Element of c1 st b3 in dom b2 holds
b2 . b3 = (c2 /. b3) *' ) holds
b1 = b2
proof end;
end;

:: deftheorem Def1 defines *' COMSEQ_2:def 1 :
for b1 being non empty set
for b2, b3 being PartFunc of b1, COMPLEX holds
( b3 = b2 *' iff ( dom b3 = dom b2 & ( for b4 being Element of b1 st b4 in dom b3 holds
b3 . b4 = (b2 /. b4) *' ) ) );

definition
let c1 be non empty set ;
let c2 be Function of c1, COMPLEX ;
redefine func c2 *' -> PartFunc of a1, COMPLEX means :Def2: :: COMSEQ_2:def 2
( dom a3 = a1 & ( for b1 being Element of a1 holds a3 . b1 = (a2 . b1) *' ) );
compatibility
for b1 being PartFunc of c1, COMPLEX holds
( b1 = c2 *' iff ( dom b1 = c1 & ( for b2 being Element of c1 holds b1 . b2 = (c2 . b2) *' ) ) )
proof end;
end;

:: deftheorem Def2 defines *' COMSEQ_2:def 2 :
for b1 being non empty set
for b2 being Function of b1, COMPLEX
for b3 being PartFunc of b1, COMPLEX holds
( b3 = b2 *' iff ( dom b3 = b1 & ( for b4 being Element of b1 holds b3 . b4 = (b2 . b4) *' ) ) );

registration
let c1 be non empty set ;
let c2 be Function of c1, COMPLEX ;
cluster a2 *' -> total ;
coherence
c2 *' is total
proof end;
end;

theorem Th3: :: COMSEQ_2:3
for b1 being Complex_Sequence st b1 is non-zero holds
b1 *' is non-zero
proof end;

theorem Th4: :: COMSEQ_2:4
for b1 being Element of COMPLEX
for b2 being Complex_Sequence holds (b1 (#) b2) *' = (b1 *' ) (#) (b2 *' )
proof end;

theorem Th5: :: COMSEQ_2:5
for b1, b2 being Complex_Sequence holds (b1 (#) b2) *' = (b1 *' ) (#) (b2 *' )
proof end;

theorem Th6: :: COMSEQ_2:6
for b1 being Complex_Sequence holds (b1 *' ) " = (b1 " ) *'
proof end;

theorem Th7: :: COMSEQ_2:7
for b1, b2 being Complex_Sequence holds (b1 /" b2) *' = (b1 *' ) /" (b2 *' )
proof end;

definition
let c1 be Complex_Sequence;
attr a1 is bounded means :Def3: :: COMSEQ_2:def 3
ex b1 being Real st
for b2 being Nat holds |.(a1 . b2).| < b1;
end;

:: deftheorem Def3 defines bounded COMSEQ_2:def 3 :
for b1 being Complex_Sequence holds
( b1 is bounded iff ex b2 being Real st
for b3 being Nat holds |.(b1 . b3).| < b2 );

reconsider c1 = NAT --> 0c as Complex_Sequence by FUNCOP_1:57;

Lemma6: for b1 being Nat holds c1 . b1 = 0c
by FUNCOP_1:13;

registration
cluster bounded Relation of NAT , COMPLEX ;
existence
ex b1 being Complex_Sequence st b1 is bounded
proof end;
end;

theorem Th8: :: COMSEQ_2:8
for b1 being Complex_Sequence holds
( b1 is bounded iff ex b2 being Real st
( 0 < b2 & ( for b3 being Nat holds |.(b1 . b3).| < b2 ) ) )
proof end;

definition
let c2 be Complex_Sequence;
attr a1 is convergent means :Def4: :: COMSEQ_2:def 4
ex b1 being Element of COMPLEX st
for b2 being Real st 0 < b2 holds
ex b3 being Nat st
for b4 being Nat st b3 <= b4 holds
|.((a1 . b4) - b1).| < b2;
end;

:: deftheorem Def4 defines convergent COMSEQ_2:def 4 :
for b1 being Complex_Sequence holds
( b1 is convergent iff ex b2 being Element of COMPLEX st
for b3 being Real st 0 < b3 holds
ex b4 being Nat st
for b5 being Nat st b4 <= b5 holds
|.((b1 . b5) - b2).| < b3 );

definition
let c2 be Complex_Sequence;
assume E9: c2 is convergent ;
func lim c1 -> Element of COMPLEX means :Def5: :: COMSEQ_2:def 5
for b1 being Real st 0 < b1 holds
ex b2 being Nat st
for b3 being Nat st b2 <= b3 holds
|.((a1 . b3) - a2).| < b1;
existence
ex b1 being Element of COMPLEX st
for b2 being Real st 0 < b2 holds
ex b3 being Nat st
for b4 being Nat st b3 <= b4 holds
|.((c2 . b4) - b1).| < b2
by E9, Def4;
uniqueness
for b1, b2 being Element of COMPLEX st ( for b3 being Real st 0 < b3 holds
ex b4 being Nat st
for b5 being Nat st b4 <= b5 holds
|.((c2 . b5) - b1).| < b3 ) & ( for b3 being Real st 0 < b3 holds
ex b4 being Nat st
for b5 being Nat st b4 <= b5 holds
|.((c2 . b5) - b2).| < b3 ) holds
b1 = b2
proof end;
end;

:: deftheorem Def5 defines lim COMSEQ_2:def 5 :
for b1 being Complex_Sequence st b1 is convergent holds
for b2 being Element of COMPLEX holds
( b2 = lim b1 iff for b3 being Real st 0 < b3 holds
ex b4 being Nat st
for b5 being Nat st b4 <= b5 holds
|.((b1 . b5) - b2).| < b3 );

theorem Th9: :: COMSEQ_2:9
for b1 being Complex_Sequence st ex b2 being Element of COMPLEX st
for b3 being Nat holds b1 . b3 = b2 holds
b1 is convergent
proof end;

theorem Th10: :: COMSEQ_2:10
for b1 being Complex_Sequence
for b2 being Element of COMPLEX st ( for b3 being Nat holds b1 . b3 = b2 ) holds
lim b1 = b2
proof end;

registration
cluster convergent Relation of NAT , COMPLEX ;
existence
ex b1 being Complex_Sequence st b1 is convergent
proof end;
end;

registration
let c2 be convergent Complex_Sequence;
cluster |.a1.| -> convergent ;
coherence
|.c2.| is convergent
proof end;
end;

theorem Th11: :: COMSEQ_2:11
for b1 being Complex_Sequence st b1 is convergent holds
lim |.b1.| = |.(lim b1).|
proof end;

registration
let c2 be convergent Complex_Sequence;
cluster a1 *' -> total convergent ;
coherence
c2 *' is convergent
proof end;
end;

theorem Th12: :: COMSEQ_2:12
for b1 being Complex_Sequence st b1 is convergent holds
lim (b1 *' ) = (lim b1) *'
proof end;

theorem Th13: :: COMSEQ_2:13
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent holds
b1 + b2 is convergent
proof end;

theorem Th14: :: COMSEQ_2:14
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent holds
lim (b1 + b2) = (lim b1) + (lim b2)
proof end;

theorem Th15: :: COMSEQ_2:15
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent holds
lim |.(b1 + b2).| = |.((lim b1) + (lim b2)).|
proof end;

theorem Th16: :: COMSEQ_2:16
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent holds
lim ((b1 + b2) *' ) = ((lim b1) *' ) + ((lim b2) *' )
proof end;

theorem Th17: :: COMSEQ_2:17
for b1 being Element of COMPLEX
for b2 being Complex_Sequence st b2 is convergent holds
b1 (#) b2 is convergent
proof end;

theorem Th18: :: COMSEQ_2:18
for b1 being Element of COMPLEX
for b2 being Complex_Sequence st b2 is convergent holds
lim (b1 (#) b2) = b1 * (lim b2)
proof end;

theorem Th19: :: COMSEQ_2:19
for b1 being Element of COMPLEX
for b2 being Complex_Sequence st b2 is convergent holds
lim |.(b1 (#) b2).| = |.b1.| * |.(lim b2).|
proof end;

theorem Th20: :: COMSEQ_2:20
for b1 being Element of COMPLEX
for b2 being Complex_Sequence st b2 is convergent holds
lim ((b1 (#) b2) *' ) = (b1 *' ) * ((lim b2) *' )
proof end;

theorem Th21: :: COMSEQ_2:21
for b1 being Complex_Sequence st b1 is convergent holds
- b1 is convergent
proof end;

theorem Th22: :: COMSEQ_2:22
for b1 being Complex_Sequence st b1 is convergent holds
lim (- b1) = - (lim b1)
proof end;

theorem Th23: :: COMSEQ_2:23
for b1 being Complex_Sequence st b1 is convergent holds
lim |.(- b1).| = |.(lim b1).|
proof end;

theorem Th24: :: COMSEQ_2:24
for b1 being Complex_Sequence st b1 is convergent holds
lim ((- b1) *' ) = - ((lim b1) *' )
proof end;

theorem Th25: :: COMSEQ_2:25
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent holds
b1 - b2 is convergent
proof end;

theorem Th26: :: COMSEQ_2:26
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent holds
lim (b1 - b2) = (lim b1) - (lim b2)
proof end;

theorem Th27: :: COMSEQ_2:27
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent holds
lim |.(b1 - b2).| = |.((lim b1) - (lim b2)).|
proof end;

theorem Th28: :: COMSEQ_2:28
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent holds
lim ((b1 - b2) *' ) = ((lim b1) *' ) - ((lim b2) *' )
proof end;

registration
cluster convergent -> bounded Relation of NAT , COMPLEX ;
coherence
for b1 being Complex_Sequence st b1 is convergent holds
b1 is bounded
proof end;
end;

registration
cluster non bounded -> non convergent Relation of NAT , COMPLEX ;
coherence
for b1 being Complex_Sequence st not b1 is bounded holds
not b1 is convergent
proof end;
end;

theorem Th29: :: COMSEQ_2:29
for b1, b2 being Complex_Sequence st b1 is convergent Complex_Sequence & b2 is convergent Complex_Sequence holds
b1 (#) b2 is convergent
proof end;

theorem Th30: :: COMSEQ_2:30
for b1, b2 being Complex_Sequence st b1 is convergent Complex_Sequence & b2 is convergent Complex_Sequence holds
lim (b1 (#) b2) = (lim b1) * (lim b2)
proof end;

theorem Th31: :: COMSEQ_2:31
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent holds
lim |.(b1 (#) b2).| = |.(lim b1).| * |.(lim b2).|
proof end;

theorem Th32: :: COMSEQ_2:32
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent holds
lim ((b1 (#) b2) *' ) = ((lim b1) *' ) * ((lim b2) *' )
proof end;

theorem Th33: :: COMSEQ_2:33
for b1 being Complex_Sequence st b1 is convergent & lim b1 <> 0c holds
ex b2 being Nat st
for b3 being Nat st b2 <= b3 holds
|.(lim b1).| / 2 < |.(b1 . b3).|
proof end;

theorem Th34: :: COMSEQ_2:34
for b1 being Complex_Sequence st b1 is convergent & lim b1 <> 0c & b1 is non-zero holds
b1 " is convergent
proof end;

theorem Th35: :: COMSEQ_2:35
for b1 being Complex_Sequence st b1 is convergent & lim b1 <> 0c & b1 is non-zero holds
lim (b1 " ) = (lim b1) "
proof end;

theorem Th36: :: COMSEQ_2:36
for b1 being Complex_Sequence st b1 is convergent & lim b1 <> 0c & b1 is non-zero holds
lim |.(b1 " ).| = |.(lim b1).| "
proof end;

theorem Th37: :: COMSEQ_2:37
for b1 being Complex_Sequence st b1 is convergent & lim b1 <> 0c & b1 is non-zero holds
lim ((b1 " ) *' ) = ((lim b1) *' ) "
proof end;

theorem Th38: :: COMSEQ_2:38
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent & lim b2 <> 0c & b2 is non-zero holds
b1 /" b2 is convergent
proof end;

theorem Th39: :: COMSEQ_2:39
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent & lim b2 <> 0c & b2 is non-zero holds
lim (b1 /" b2) = (lim b1) / (lim b2)
proof end;

theorem Th40: :: COMSEQ_2:40
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent & lim b2 <> 0c & b2 is non-zero holds
lim |.(b1 /" b2).| = |.(lim b1).| / |.(lim b2).|
proof end;

theorem Th41: :: COMSEQ_2:41
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is convergent & lim b2 <> 0c & b2 is non-zero holds
lim ((b1 /" b2) *' ) = ((lim b1) *' ) / ((lim b2) *' )
proof end;

theorem Th42: :: COMSEQ_2:42
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is bounded & lim b1 = 0c holds
b1 (#) b2 is convergent
proof end;

theorem Th43: :: COMSEQ_2:43
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is bounded & lim b1 = 0c holds
lim (b1 (#) b2) = 0c
proof end;

theorem Th44: :: COMSEQ_2:44
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is bounded & lim b1 = 0c holds
lim |.(b1 (#) b2).| = 0
proof end;

theorem Th45: :: COMSEQ_2:45
for b1, b2 being Complex_Sequence st b1 is convergent & b2 is bounded & lim b1 = 0c holds
lim ((b1 (#) b2) *' ) = 0c
proof end;