let S, T be non empty RelStr ; :: thesis: for g being Function of S,T
for d being Function of T,S holds
( g | (Closed d) is Function of (Closed d),(Closed g) & d | (Closed g) is Function of (Closed g),(Closed d) )

let g be Function of S,T; :: thesis: for d being Function of T,S holds
( g | (Closed d) is Function of (Closed d),(Closed g) & d | (Closed g) is Function of (Closed g),(Closed d) )

let d be Function of T,S; :: thesis: ( g | (Closed d) is Function of (Closed d),(Closed g) & d | (Closed g) is Function of (Closed g),(Closed d) )
reconsider g1 = g | (Closed d) as Function of (Closed d), the carrier of T by FUNCT_2:32;
D: dom g1 = Closed d by FUNCT_2:def 1;
now :: thesis: for o being object st o in rng g1 holds
o in Closed g
let o be object ; :: thesis: ( o in rng g1 implies o in Closed g )
assume o in rng g1 ; :: thesis: o in Closed g
then consider x being object such that
D1: ( x in dom g1 & g1 . x = o ) by FUNCT_1:def 3;
reconsider x = x as Element of S by D, D1;
g . x = g1 . x by D1, FUNCT_1:49;
hence o in Closed g by D1; :: thesis: verum
end;
then rng g1 c= Closed g ;
then reconsider g1 = g1 as Function of (Closed d),(Closed g) by D, FUNCT_2:2;
g1 = g | (Closed d) ;
hence g | (Closed d) is Function of (Closed d),(Closed g) ; :: thesis: d | (Closed g) is Function of (Closed g),(Closed d)
reconsider d1 = d | (Closed g) as Function of (Closed g), the carrier of S by FUNCT_2:32;
E: dom d1 = Closed g by FUNCT_2:def 1;
rng d1 c= Closed d
proof
let o be object ; :: according to TARSKI:def 3 :: thesis: ( not o in rng d1 or o in Closed d )
assume o in rng d1 ; :: thesis: o in Closed d
then consider x being object such that
E1: ( x in dom d1 & d1 . x = o ) by FUNCT_1:def 3;
reconsider x = x as Element of T by E, E1;
d . x = d1 . x by E1, FUNCT_1:49;
hence o in Closed d by E1; :: thesis: verum
end;
then reconsider d1 = d1 as Function of (Closed g),(Closed d) by E, FUNCT_2:2;
d1 = d | (Closed g) ;
hence d | (Closed g) is Function of (Closed g),(Closed d) ; :: thesis: verum