defpred S1[ Nat, Element of REAL ] means ex i being Element of NAT st
( $1 = i & $2 = integral ((proj (i,n)) * f) );
A1:
for i being Nat st i in Seg n holds
ex x being Element of REAL st S1[i,x]
consider p being FinSequence of REAL such that
A3:
( dom p = Seg n & ( for i being Nat st i in Seg n holds
S1[i,p . i] ) )
from FINSEQ_1:sch 5(A1);
take
p
; ( p is Element of REAL n & dom p = Seg n & ( for i being Element of NAT st i in Seg n holds
p . i = integral ((proj (i,n)) * f) ) )
A4:
for i being Element of NAT st i in Seg n holds
p . i = integral ((proj (i,n)) * f)
len p = n
by A3, FINSEQ_1:def 3;
hence
( p is Element of REAL n & dom p = Seg n & ( for i being Element of NAT st i in Seg n holds
p . i = integral ((proj (i,n)) * f) ) )
by A3, A4, FINSEQ_2:110; verum