let seq be ExtREAL_sequence; :: thesis: ( seq is non-decreasing implies ( seq is convergent & lim seq = sup seq ) )
assume A1:
seq is non-decreasing
; :: thesis: ( seq is convergent & lim seq = sup seq )
per cases
( for n being Element of NAT holds seq . n <= -infty or ex n being Element of NAT st not seq . n <= -infty )
;
suppose
not for
n being
Element of
NAT holds
seq . n <= -infty
;
:: thesis: ( seq is convergent & lim seq = sup seq )then consider k being
Element of
NAT such that A8:
-infty < seq . k
;
per cases
( +infty <> sup seq or +infty = sup seq )
;
suppose A9:
+infty <> sup seq
;
:: thesis: ( seq is convergent & lim seq = sup seq )set seq0 =
seq ^\ k;
A10:
sup seq = sup (seq ^\ k)
by A1, Th26;
A11:
seq ^\ k is
non-decreasing
by A1, Th26;
seq . k <= sup seq
by Th23;
then
seq . k < +infty
by A9, XXREAL_0:2, XXREAL_0:4;
then A12:
seq ^\ k is
bounded_below
by A1, A8, Th31;
then A13:
rng (seq ^\ k) is
bounded_below
by Def3;
then A15:
-infty < inf (rng (seq ^\ k))
by A13, XXREAL_0:12, XXREAL_2:58;
inf (seq ^\ k) <= sup (seq ^\ k)
by Th24;
then A16:
sup (rng (seq ^\ k)) in REAL
by A9, A10, A15, XXREAL_0:14;
sup (rng (seq ^\ k)) is
UpperBound of
rng (seq ^\ k)
by XXREAL_2:def 3;
then
rng (seq ^\ k) is
bounded_above
by A16, SUPINF_1:def 11;
then
seq ^\ k is
bounded_above
by Def4;
then
seq ^\ k is
bounded
by A12, Def5;
then
(
seq ^\ k is
convergent &
lim (seq ^\ k) = sup (seq ^\ k) )
by A11, Lm5;
hence
(
seq is
convergent &
lim seq = sup seq )
by A10, Th17;
:: thesis: verum end; end; end; end;