deffunc H1( set ) -> set = [:(F2() . $1),(F2() . $1):];
defpred S1[ set , set ] means P1[$1,$2 `1 ,$2 `2 ];
consider R being Function such that
A1: dom R = F1() and
A2: for i being set st i in F1() holds
for a being set holds
( a in R . i iff ( a in H1(i) & S1[i,a] ) ) from CARD_3:sch 4();
reconsider R = R as ManySortedSet of by A1, PARTFUN1:def 4, RELAT_1:def 18;
R is ManySortedRelation of F2()
proof
let i be set ; :: according to MSUALG_4:def 2 :: thesis: ( not i in F1() or R . i is Element of bool [:(F2() . i),(F2() . i):] )
assume A3: i in F1() ; :: thesis: R . i is Element of bool [:(F2() . i),(F2() . i):]
R . i c= [:(F2() . i),(F2() . i):]
proof
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in R . i or x in [:(F2() . i),(F2() . i):] )
thus ( not x in R . i or x in [:(F2() . i),(F2() . i):] ) by A2, A3; :: thesis: verum
end;
hence R . i is Element of bool [:(F2() . i),(F2() . i):] ; :: thesis: verum
end;
then reconsider R = R as ManySortedRelation of F2() ;
take R ; :: thesis: for i being Element of F1()
for a, b being Element of F2() . i holds
( [a,b] in R . i iff P1[i,a,b] )

let i be Element of F1(); :: thesis: for a, b being Element of F2() . i holds
( [a,b] in R . i iff P1[i,a,b] )

let a, b be Element of F2() . i; :: thesis: ( [a,b] in R . i iff P1[i,a,b] )
( [a,b] `1 = a & [a,b] `2 = b & [a,b] in [:(F2() . i),(F2() . i):] ) by MCART_1:7, ZFMISC_1:106;
hence ( [a,b] in R . i iff P1[i,a,b] ) by A2; :: thesis: verum