defpred S1[ object , object ] means ex t being Element of (Free (S,X)) st
( t = $1 & $2 = (S variables_in t) . s );
consider f being Function such that
A4:
( dom f = Union the Sorts of (Free (S,X)) & rng f c= bool (X . s) )
and
A5:
for x being object st x in Union the Sorts of (Free (S,X)) holds
S1[x,f . x]
from FUNCT_1:sch 6(A3);
reconsider f = f as Function of (Union the Sorts of (Free (S,X))),(bool (X . s)) by A4, FUNCT_2:2;
take
f
; for t being Element of (Free (S,X)) holds f . t = (S variables_in t) . s
let x be Element of (Free (S,X)); f . x = (S variables_in x) . s
ex t being Element of (Free (S,X)) st
( t = x & f . x = (S variables_in t) . s )
by A5;
hence
f . x = (S variables_in x) . s
; verum