let X be non empty set ; :: thesis: for Y being set
for F being BinOp of X
for f, g being Function of Y,X
for x being Element of X st F is associative holds
F .: (F [:] f,x),g = F .: f,(F [;] x,g)

let Y be set ; :: thesis: for F being BinOp of X
for f, g being Function of Y,X
for x being Element of X st F is associative holds
F .: (F [:] f,x),g = F .: f,(F [;] x,g)

let F be BinOp of X; :: thesis: for f, g being Function of Y,X
for x being Element of X st F is associative holds
F .: (F [:] f,x),g = F .: f,(F [;] x,g)

let f, g be Function of Y,X; :: thesis: for x being Element of X st F is associative holds
F .: (F [:] f,x),g = F .: f,(F [;] x,g)

let x be Element of X; :: thesis: ( F is associative implies F .: (F [:] f,x),g = F .: f,(F [;] x,g) )
assume A1: F is associative ; :: thesis: F .: (F [:] f,x),g = F .: f,(F [;] x,g)
per cases ( Y = {} or Y <> {} ) ;
suppose Y = {} ; :: thesis: F .: (F [:] f,x),g = F .: f,(F [;] x,g)
hence F .: (F [:] f,x),g = F .: f,(F [;] x,g) ; :: thesis: verum
end;
suppose A2: Y <> {} ; :: thesis: F .: (F [:] f,x),g = F .: f,(F [;] x,g)
now
let y be Element of Y; :: thesis: (F .: (F [:] f,x),g) . y = F . (f . y),((F [;] x,g) . y)
reconsider x1 = f . y, x2 = g . y as Element of X by A2, FUNCT_2:7;
thus (F .: (F [:] f,x),g) . y = F . ((F [:] f,x) . y),(g . y) by A2, Th48
.= F . (F . x1,x),x2 by A2, Th60
.= F . x1,(F . x,x2) by A1, BINOP_1:def 3
.= F . (f . y),((F [;] x,g) . y) by A2, Th66 ; :: thesis: verum
end;
hence F .: (F [:] f,x),g = F .: f,(F [;] x,g) by A2, Th49; :: thesis: verum
end;
end;