let X, Y, Z, D be set ; :: thesis: ( D c= Funcs X,(Funcs Y,Z) implies ex F being ManySortedSet of st
( F is uncurrying & rng F c= Funcs [:X,Y:],Z ) )
assume A1:
D c= Funcs X,(Funcs Y,Z)
; :: thesis: ex F being ManySortedSet of st
( F is uncurrying & rng F c= Funcs [:X,Y:],Z )
per cases
( D is empty or not D is empty )
;
suppose A2:
not
D is
empty
;
:: thesis: ex F being ManySortedSet of st
( F is uncurrying & rng F c= Funcs [:X,Y:],Z )
for
x being
set st
x in D holds
x is
Function
by A1;
then reconsider E =
D as non
empty functional set by A2, FUNCT_1:def 19;
deffunc H1(
Function)
-> set =
uncurry $1;
consider F being
ManySortedSet of
such that A3:
for
d being
Element of
E holds
F . d = H1(
d)
from PBOOLE:sch 5();
reconsider F1 =
F as
ManySortedSet of ;
take
F1
;
:: thesis: ( F1 is uncurrying & rng F1 c= Funcs [:X,Y:],Z )thus
F1 is
uncurrying
:: thesis: rng F1 c= Funcs [:X,Y:],Zthus
rng F1 c= Funcs [:X,Y:],
Z
:: thesis: verumproof
let y be
set ;
:: according to TARSKI:def 3 :: thesis: ( not y in rng F1 or y in Funcs [:X,Y:],Z )
assume
y in rng F1
;
:: thesis: y in Funcs [:X,Y:],Z
then consider x being
set such that A5:
(
x in dom F1 &
y = F1 . x )
by FUNCT_1:def 5;
reconsider d =
x as
Element of
E by A5, PARTFUN1:def 4;
(
y = uncurry d &
d in Funcs X,
(Funcs Y,Z) )
by A1, A3, A5, TARSKI:def 3;
hence
y in Funcs [:X,Y:],
Z
by FUNCT_6:20;
:: thesis: verum
end; end; end;