let I be set ; for A, B being ManySortedSet of I st A is_transformable_to B holds
for x being set st x in MSFuncs (A,B) holds
x is ManySortedFunction of A,B
let A, B be ManySortedSet of I; ( A is_transformable_to B implies for x being set st x in MSFuncs (A,B) holds
x is ManySortedFunction of A,B )
assume A1:
A is_transformable_to B
; for x being set st x in MSFuncs (A,B) holds
x is ManySortedFunction of A,B
set f = (Funcs) (A,B);
let x be set ; ( x in MSFuncs (A,B) implies x is ManySortedFunction of A,B )
assume
x in MSFuncs (A,B)
; x is ManySortedFunction of A,B
then
x in product ((Funcs) (A,B))
by A1, Def4;
then consider g being Function such that
A2:
x = g
and
A3:
dom g = dom ((Funcs) (A,B))
and
A4:
for i being object st i in dom ((Funcs) (A,B)) holds
g . i in ((Funcs) (A,B)) . i
by CARD_3:def 5;
A5:
dom ((Funcs) (A,B)) = I
by PARTFUN1:def 2;
A6:
for i being set st i in I holds
g . i in Funcs ((A . i),(B . i))
A8:
for i being set st i in I holds
ex F being Function st
( F = g . i & dom F = A . i & rng F c= B . i )
A9:
for i being object st i in I holds
g . i is Function of (A . i),(B . i)
dom g = I
by A3, PARTFUN1:def 2;
then
g is ManySortedSet of I
by PARTFUN1:def 2, RELAT_1:def 18;
hence
x is ManySortedFunction of A,B
by A2, A9, PBOOLE:def 15; verum