defpred S1[ Nat, set , set ] means ( ( $2 is not PartFunc of X,COMPLEX & $3 = F . $1 ) or ( $2 is PartFunc of X,COMPLEX & ( for F2 being PartFunc of X,COMPLEX st F2 = $2 holds
$3 = F2 + (F . ($1 + 1)) ) ) );
A1:
for n being Nat
for x being set ex y being set st S1[n,x,y]
proof
let n be
Nat;
for x being set ex y being set st S1[n,x,y]let x be
set ;
ex y being set st S1[n,x,y]
now ( x is PartFunc of X,COMPLEX implies ex y being Element of K16(K17(X,COMPLEX)) st
( ( x is not PartFunc of X,COMPLEX & y = F . n ) or ( x is PartFunc of X,COMPLEX & ( for F2 being PartFunc of X,COMPLEX st F2 = x holds
y = F2 + (F . (n + 1)) ) ) ) )assume
x is
PartFunc of
X,
COMPLEX
;
ex y being Element of K16(K17(X,COMPLEX)) st
( ( x is not PartFunc of X,COMPLEX & y = F . n ) or ( x is PartFunc of X,COMPLEX & ( for F2 being PartFunc of X,COMPLEX st F2 = x holds
y = F2 + (F . (n + 1)) ) ) )then reconsider G2 =
x as
PartFunc of
X,
COMPLEX ;
take y =
G2 + (F . (n + 1));
( ( x is not PartFunc of X,COMPLEX & y = F . n ) or ( x is PartFunc of X,COMPLEX & ( for F2 being PartFunc of X,COMPLEX st F2 = x holds
y = F2 + (F . (n + 1)) ) ) )thus
( (
x is not
PartFunc of
X,
COMPLEX &
y = F . n ) or (
x is
PartFunc of
X,
COMPLEX & ( for
F2 being
PartFunc of
X,
COMPLEX st
F2 = x holds
y = F2 + (F . (n + 1)) ) ) )
;
verum end;
hence
ex
y being
set st
S1[
n,
x,
y]
;
verum
end;
consider IT being Function such that
A2:
( dom IT = NAT & IT . 0 = F . 0 & ( for n being Nat holds S1[n,IT . n,IT . (n + 1)] ) )
from RECDEF_1:sch 1(A1);
then
rng IT c= PFuncs (X,COMPLEX)
by TARSKI:def 3;
then reconsider IT = IT as Functional_Sequence of X,COMPLEX by A2, FUNCT_2:def 1, RELSET_1:4;
take
IT
; ( IT . 0 = F . 0 & ( for n being Nat holds IT . (n + 1) = (IT . n) + (F . (n + 1)) ) )
thus
( IT . 0 = F . 0 & ( for n being Nat holds IT . (n + 1) = (IT . n) + (F . (n + 1)) ) )
by A2; verum