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

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

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

theorem Th3: :: SEQ_2:3  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for g being real number st 0 < g holds
( 0 < g / 2 & 0 < g / 4 ) by XREAL_1:217, XREAL_1:226;

Lm1: for g being real number st 0 < g holds
g / 2 < g
by XREAL_1:218;

Lm2: for g, p being real number st 0 < g & 0 < p holds
0 < g / p
by XREAL_1:141;

Lm3: for g, r, g1, r1 being real number st 0 <= g & 0 <= r & g < g1 & r < r1 holds
g * r < g1 * r1
by XREAL_1:98;

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

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

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

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

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

theorem Th9: :: SEQ_2:9  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for g, r being real number holds
( ( - g < r & r < g ) iff abs r < g )
proof end;

Lm4: for r1, r, g being real number st 0 < r1 & r1 < r & 0 < g holds
g / r < g / r1
by XREAL_1:78;

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

theorem Th11: :: SEQ_2:11  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for g, r being real number st g <> 0 & r <> 0 holds
abs ((g " ) - (r " )) = (abs (g - r)) / ((abs g) * (abs r))
proof end;

definition
let f be real-yielding Function;
attr f is bounded_above means :: SEQ_2:def 1
ex r being real number st
for y being set st y in dom f holds
f . y < r;
attr f is bounded_below means :: SEQ_2:def 2
ex r being real number st
for y being set st y in dom f holds
r < f . y;
end;

:: deftheorem defines bounded_above SEQ_2:def 1 :
for f being real-yielding Function holds
( f is bounded_above iff ex r being real number st
for y being set st y in dom f holds
f . y < r );

:: deftheorem defines bounded_below SEQ_2:def 2 :
for f being real-yielding Function holds
( f is bounded_below iff ex r being real number st
for y being set st y in dom f holds
r < f . y );

definition
let seq be Real_Sequence;
A1: dom seq = NAT by SEQ_1:3;
redefine attr seq is bounded_above means :Def3: :: SEQ_2:def 3
ex r being real number st
for n being Nat holds seq . n < r;
compatibility
( seq is bounded_above iff ex r being real number st
for n being Nat holds seq . n < r )
proof end;
redefine attr seq is bounded_below means :Def4: :: SEQ_2:def 4
ex r being real number st
for n being Nat holds r < seq . n;
compatibility
( seq is bounded_below iff ex r being real number st
for n being Nat holds r < seq . n )
proof end;
end;

:: deftheorem Def3 defines bounded_above SEQ_2:def 3 :
for seq being Real_Sequence holds
( seq is bounded_above iff ex r being real number st
for n being Nat holds seq . n < r );

:: deftheorem Def4 defines bounded_below SEQ_2:def 4 :
for seq being Real_Sequence holds
( seq is bounded_below iff ex r being real number st
for n being Nat holds r < seq . n );

definition
let f be real-yielding Function;
attr f is bounded means :Def5: :: SEQ_2:def 5
( f is bounded_above & f is bounded_below );
end;

:: deftheorem Def5 defines bounded SEQ_2:def 5 :
for f being real-yielding Function holds
( f is bounded iff ( f is bounded_above & f is bounded_below ) );

registration
cluster real-yielding bounded -> real-yielding bounded_above bounded_below set ;
coherence
for b1 being real-yielding Function st b1 is bounded holds
( b1 is bounded_above & b1 is bounded_below )
by Def5;
cluster real-yielding bounded_above bounded_below -> real-yielding bounded set ;
coherence
for b1 being real-yielding Function st b1 is bounded_above & b1 is bounded_below holds
b1 is bounded
by Def5;
end;

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

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

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

theorem Th15: :: SEQ_2:15  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq being Real_Sequence holds
( seq is bounded iff ex r being real number st
( 0 < r & ( for n being Nat holds abs (seq . n) < r ) ) )
proof end;

theorem Th16: :: SEQ_2:16  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq being Real_Sequence
for n being Nat ex r being real number st
( 0 < r & ( for m being Nat st m <= n holds
abs (seq . m) < r ) )
proof end;

definition
let seq be Real_Sequence;
attr seq is convergent means :Def6: :: SEQ_2:def 6
ex g being real number st
for p being real number st 0 < p holds
ex n being Nat st
for m being Nat st n <= m holds
abs ((seq . m) - g) < p;
end;

:: deftheorem Def6 defines convergent SEQ_2:def 6 :
for seq being Real_Sequence holds
( seq is convergent iff ex g being real number st
for p being real number st 0 < p holds
ex n being Nat st
for m being Nat st n <= m holds
abs ((seq . m) - g) < p );

definition
let seq be Real_Sequence;
assume A1: seq is convergent ;
func lim seq -> real number means :Def7: :: SEQ_2:def 7
for p being real number st 0 < p holds
ex n being Nat st
for m being Nat st n <= m holds
abs ((seq . m) - it) < p;
existence
ex b1 being real number st
for p being real number st 0 < p holds
ex n being Nat st
for m being Nat st n <= m holds
abs ((seq . m) - b1) < p
by A1, Def6;
uniqueness
for b1, b2 being real number st ( for p being real number st 0 < p holds
ex n being Nat st
for m being Nat st n <= m holds
abs ((seq . m) - b1) < p ) & ( for p being real number st 0 < p holds
ex n being Nat st
for m being Nat st n <= m holds
abs ((seq . m) - b2) < p ) holds
b1 = b2
proof end;
end;

:: deftheorem Def7 defines lim SEQ_2:def 7 :
for seq being Real_Sequence st seq is convergent holds
for b2 being real number holds
( b2 = lim seq iff for p being real number st 0 < p holds
ex n being Nat st
for m being Nat st n <= m holds
abs ((seq . m) - b2) < p );

definition
let seq be Real_Sequence;
:: original: lim
redefine func lim seq -> Real;
coherence
lim seq is Real
by XREAL_0:def 1;
end;

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

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

theorem Th19: :: SEQ_2:19  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq, seq' being Real_Sequence st seq is convergent & seq' is convergent holds
seq + seq' is convergent
proof end;

theorem Th20: :: SEQ_2:20  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq, seq' being Real_Sequence st seq is convergent & seq' is convergent holds
lim (seq + seq') = (lim seq) + (lim seq')
proof end;

theorem Th21: :: SEQ_2:21  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for r being real number
for seq being Real_Sequence st seq is convergent holds
r (#) seq is convergent
proof end;

theorem Th22: :: SEQ_2:22  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for r being real number
for seq being Real_Sequence st seq is convergent holds
lim (r (#) seq) = r * (lim seq)
proof end;

theorem Th23: :: SEQ_2:23  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq being Real_Sequence st seq is convergent holds
- seq is convergent
proof end;

theorem Th24: :: SEQ_2:24  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq being Real_Sequence st seq is convergent holds
lim (- seq) = - (lim seq)
proof end;

theorem Th25: :: SEQ_2:25  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq, seq' being Real_Sequence st seq is convergent & seq' is convergent holds
seq - seq' is convergent
proof end;

theorem Th26: :: SEQ_2:26  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq, seq' being Real_Sequence st seq is convergent & seq' is convergent holds
lim (seq - seq') = (lim seq) - (lim seq')
proof end;

theorem Th27: :: SEQ_2:27  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq being Real_Sequence st seq is convergent holds
seq is bounded
proof end;

theorem Th28: :: SEQ_2:28  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq, seq' being Real_Sequence st seq is convergent & seq' is convergent holds
seq (#) seq' is convergent
proof end;

theorem Th29: :: SEQ_2:29  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq, seq' being Real_Sequence st seq is convergent & seq' is convergent holds
lim (seq (#) seq') = (lim seq) * (lim seq')
proof end;

theorem Th30: :: SEQ_2:30  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq being Real_Sequence st seq is convergent & lim seq <> 0 holds
ex n being Nat st
for m being Nat st n <= m holds
(abs (lim seq)) / 2 < abs (seq . m)
proof end;

theorem Th31: :: SEQ_2:31  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq being Real_Sequence st seq is convergent & ( for n being Nat holds 0 <= seq . n ) holds
0 <= lim seq
proof end;

theorem :: SEQ_2:32  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq, seq' being Real_Sequence st seq is convergent & seq' is convergent & ( for n being Nat holds seq . n <= seq' . n ) holds
lim seq <= lim seq'
proof end;

theorem Th33: :: SEQ_2:33  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq, seq', seq1 being Real_Sequence st seq is convergent & seq' is convergent & ( for n being Nat holds
( seq . n <= seq1 . n & seq1 . n <= seq' . n ) ) & lim seq = lim seq' holds
seq1 is convergent
proof end;

theorem :: SEQ_2:34  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq, seq', seq1 being Real_Sequence st seq is convergent & seq' is convergent & ( for n being Nat holds
( seq . n <= seq1 . n & seq1 . n <= seq' . n ) ) & lim seq = lim seq' holds
lim seq1 = lim seq
proof end;

theorem Th35: :: SEQ_2:35  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq being Real_Sequence st seq is convergent & lim seq <> 0 & seq is_not_0 holds
seq " is convergent
proof end;

theorem Th36: :: SEQ_2:36  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq being Real_Sequence st seq is convergent & lim seq <> 0 & seq is_not_0 holds
lim (seq " ) = (lim seq) "
proof end;

theorem :: SEQ_2:37  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq', seq being Real_Sequence st seq' is convergent & seq is convergent & lim seq <> 0 & seq is_not_0 holds
seq' /" seq is convergent
proof end;

theorem :: SEQ_2:38  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq', seq being Real_Sequence st seq' is convergent & seq is convergent & lim seq <> 0 & seq is_not_0 holds
lim (seq' /" seq) = (lim seq') / (lim seq)
proof end;

theorem Th39: :: SEQ_2:39  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq, seq1 being Real_Sequence st seq is convergent & seq1 is bounded & lim seq = 0 holds
seq (#) seq1 is convergent
proof end;

theorem :: SEQ_2:40  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for seq, seq1 being Real_Sequence st seq is convergent & seq1 is bounded & lim seq = 0 holds
lim (seq (#) seq1) = 0
proof end;