deffunc H1( Nat) -> set = 1 / ($1 + 1);
consider s0 being Real_Sequence such that
A1:
for n being Nat holds s0 . n = H1(n)
from SEQ_1:sch 1();
deffunc H2( Nat) -> set = 1 / (2 * ($1 + 1));
consider s1 being Real_Sequence such that
A2:
for n being Nat holds s1 . n = H2(n)
from SEQ_1:sch 1();
deffunc H3( Nat) -> set = 1 + (1 / (2 * ($1 + 1)));
consider s2 being Real_Sequence such that
A3:
for n being Nat holds s2 . n = H3(n)
from SEQ_1:sch 1();
deffunc H4( Nat) -> set = (s2 . $1) * PI;
consider s3 being Real_Sequence such that
A4:
for n being Nat holds s3 . n = H4(n)
from SEQ_1:sch 1();
A5:
for n being Nat holds s1 . n = (1 / 2) * (s0 . n)
A6:
( s1 is convergent & lim s1 = 0 )
reconsider s4 = seq_const 1 as convergent Real_Sequence ;
A8:
dom ((seq_const 1) + s1) = NAT
by FUNCT_2:def 1;
A9:
for n being Nat holds s2 . n = ((seq_const 1) + s1) . n
A10:
s2 = (seq_const 1) + s1
by A9;
then A11: lim s2 =
(lim (seq_const 1)) + (lim s1)
by A6, SEQ_2:6
.=
1 + 0
by A6
;
A12:
for n being Nat holds s3 . n <> 0
for n being Nat holds s3 . n = (PI (#) s2) . n
then A15:
s3 = PI (#) s2
;
then A16: lim s3 =
PI * (lim s2)
by A10, A6, SEQ_2:8
.=
PI
by A11
;
for n being Nat holds w_seq . n = (s3 ") . n
then
w_seq = s3 "
;
hence
( w_seq is convergent & lim w_seq = 1 / PI )
by SEQ_2:21, SEQ_2:22, SEQ_1:5, A12, A10, A6, A15, A16, COMPTRIG:5; verum