defpred S1[ object , object ] means ex a, s being Element of A st
( s in S & $1 = Class ((EqRel S),[a,s]) & $2 = (f . a) * ((f . s) ["]) );
A2:
for x being object st x in the carrier of (S ~ A) holds
ex y being object st
( y in the carrier of B & S1[x,y] )
ex g being Function of (S ~ A),B st
for x being object st x in the carrier of (S ~ A) holds
S1[x,g . x]
from FUNCT_2:sch 1(A2);
then consider g being Function of (S ~ A),B such that
A6:
for x being object st x in the carrier of (S ~ A) holds
ex a, s being Element of A st
( s in S & x = Class ((EqRel S),[a,s]) & g . x = (f . a) * ((f . s) ["]) )
;
take
g
; for x being object st x in the carrier of (S ~ A) holds
ex a, s being Element of A st
( s in S & x = Class ((EqRel S),[a,s]) & g . x = (f . a) * ((f . s) ["]) )
thus
for x being object st x in the carrier of (S ~ A) holds
ex a, s being Element of A st
( s in S & x = Class ((EqRel S),[a,s]) & g . x = (f . a) * ((f . s) ["]) )
by A6; verum