set I = the carrier of R;
consider R1 being Relation such that
A1:
R1 = {}
;
set f = the carrier of R --> R1;
reconsider f = the carrier of R --> R1 as ManySortedSet of R ;
set f1 = f;
for i being set st i in the carrier of R holds
f . i is Relation of (A . i),(B . i)
then reconsider f2 = f as ManySortedRelation of A,B by MSUALG_4:def 2;
take
f
; ( f is ManySortedRelation of A,B & f is os-compatible )
for s1, s2 being Element of R st s1 <= s2 holds
for x, y being set st x in A . s1 & y in B . s1 holds
( [x,y] in f . s1 iff [x,y] in f . s2 )
proof
let s1,
s2 be
Element of
R;
( s1 <= s2 implies for x, y being set st x in A . s1 & y in B . s1 holds
( [x,y] in f . s1 iff [x,y] in f . s2 ) )
assume
s1 <= s2
;
for x, y being set st x in A . s1 & y in B . s1 holds
( [x,y] in f . s1 iff [x,y] in f . s2 )
let x,
y be
set ;
( x in A . s1 & y in B . s1 implies ( [x,y] in f . s1 iff [x,y] in f . s2 ) )
assume that
x in A . s1
and
y in B . s1
;
( [x,y] in f . s1 iff [x,y] in f . s2 )
f . s1 =
R1
by FUNCOP_1:13
.=
f . s2
by FUNCOP_1:13
;
hence
(
[x,y] in f . s1 iff
[x,y] in f . s2 )
;
verum
end;
then
f2 is os-compatible
by Def1;
hence
( f is ManySortedRelation of A,B & f is os-compatible )
; verum