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 product (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 product (MSFuncs A,B) holds
x is ManySortedFunction of A,B )
assume A1:
A is_transformable_to B
; for x being set st x in product (MSFuncs A,B) holds
x is ManySortedFunction of A,B
set f = MSFuncs A,B;
let x be set ; ( x in product (MSFuncs A,B) implies x is ManySortedFunction of A,B )
assume
x in product (MSFuncs A,B)
; x is ManySortedFunction of A,B
then consider g being Function such that
A2:
x = g
and
A3:
dom g = dom (MSFuncs A,B)
and
A4:
for i being set st i in dom (MSFuncs A,B) holds
g . i in (MSFuncs A,B) . i
by CARD_3:def 5;
A5:
dom (MSFuncs A,B) = I
by PARTFUN1:def 4;
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 set st i in I holds
g . i is Function of (A . i),(B . i)
dom g = I
by A3, PARTFUN1:def 4;
then
g is ManySortedSet of I
by PARTFUN1:def 4, RELAT_1:def 18;
hence
x is ManySortedFunction of A,B
by A2, A9, PBOOLE:def 18; verum