defpred S1[ object , object ] means ex n being Nat st
( F = n & T = (canFS T) . (n + 1) );
consider f being Function of (card T), the carrier of F such that
B:
for n being object st n in card T holds
S1[n,f . n]
from FUNCT_2:sch 1(A);
take
f
; f is T -evaluating
G:
rng f c= T
E:
f is one-to-one
proof
now for x1, x2 being object st x1 in dom f & x2 in dom f & f . x1 = f . x2 holds
x1 = x2let x1,
x2 be
object ;
( x1 in dom f & x2 in dom f & f . x1 = f . x2 implies x1 = x2 )assume E1:
(
x1 in dom f &
x2 in dom f &
f . x1 = f . x2 )
;
x1 = x2then reconsider n1 =
x1,
n2 =
x2 as
Nat by D;
E2:
(canFS T) . (n1 + 1) =
f . n2
by E1, C
.=
(canFS T) . (n2 + 1)
by E1, C
;
E3:
dom (canFS T) =
Seg (len (canFS T))
by FINSEQ_1:def 3
.=
Seg (card T)
by FINSEQ_1:93
;
n1 < card T
by E1, FIELD_5:3;
then
( 1
<= n1 + 1 &
n1 + 1
<= card T )
by NAT_1:12, NAT_1:13;
then E4:
n1 + 1
in dom (canFS T)
by E3, FINSEQ_1:1;
n2 < card T
by E1, FIELD_5:3;
then
( 1
<= n2 + 1 &
n2 + 1
<= card T )
by NAT_1:12, NAT_1:13;
then
n2 + 1
in dom (canFS T)
by E3, FINSEQ_1:1;
then
n1 + 1
= n2 + 1
by E4, E2, FUNCT_1:def 4;
hence
x1 = x2
;
verum end;
hence
f is
one-to-one
;
verum
end;
then
T c= rng f
;
hence
f is T -evaluating
by E, G, XBOOLE_0:def 10; verum