let X be set ; :: thesis: for C being non empty set
for f being PartFunc of C,COMPLEX
for r being Element of COMPLEX holds (r (#) f) | X = r (#) (f | X)

let C be non empty set ; :: thesis: for f being PartFunc of C,COMPLEX
for r being Element of COMPLEX holds (r (#) f) | X = r (#) (f | X)

let f be PartFunc of C,COMPLEX ; :: thesis: for r being Element of COMPLEX holds (r (#) f) | X = r (#) (f | X)
let r be Element of COMPLEX ; :: thesis: (r (#) f) | X = r (#) (f | X)
A1: dom ((r (#) f) | X) = (dom (r (#) f)) /\ X by RELAT_1:90
.= (dom f) /\ X by Th7
.= dom (f | X) by RELAT_1:90
.= dom (r (#) (f | X)) by Th7 ;
now
let c be Element of C; :: thesis: ( c in dom ((r (#) f) | X) implies ((r (#) f) | X) /. c = (r (#) (f | X)) /. c )
assume A2: c in dom ((r (#) f) | X) ; :: thesis: ((r (#) f) | X) /. c = (r (#) (f | X)) /. c
then c in (dom (r (#) f)) /\ X by RELAT_1:90;
then A3: ( c in dom (r (#) f) & c in X ) by XBOOLE_0:def 4;
then c in dom f by Th7;
then c in (dom f) /\ X by A3, XBOOLE_0:def 4;
then A4: c in dom (f | X) by RELAT_1:90;
then A5: c in dom (r (#) (f | X)) by Th7;
thus ((r (#) f) | X) /. c = (r (#) f) /. c by A2, PARTFUN2:32
.= r * (f /. c) by A3, Th7
.= r * ((f | X) /. c) by A4, PARTFUN2:32
.= (r (#) (f | X)) /. c by A5, Th7 ; :: thesis: verum
end;
hence (r (#) f) | X = r (#) (f | X) by A1, PARTFUN2:3; :: thesis: verum