let Y, X be non empty set ; for F, G being BinOp of Y st F is idempotent & F is commutative & F is associative & G is_distributive_wrt F holds
for B being Element of Fin X st B <> {} holds
for f being Function of X,Y
for a being Element of Y holds G . (F $$ B,f),a = F $$ B,(G [:] f,a)
let F, G be BinOp of Y; ( F is idempotent & F is commutative & F is associative & G is_distributive_wrt F implies for B being Element of Fin X st B <> {} holds
for f being Function of X,Y
for a being Element of Y holds G . (F $$ B,f),a = F $$ B,(G [:] f,a) )
assume that
A1:
F is idempotent
and
A2:
( F is commutative & F is associative )
and
A3:
G is_distributive_wrt F
; for B being Element of Fin X st B <> {} holds
for f being Function of X,Y
for a being Element of Y holds G . (F $$ B,f),a = F $$ B,(G [:] f,a)
let B be Element of Fin X; ( B <> {} implies for f being Function of X,Y
for a being Element of Y holds G . (F $$ B,f),a = F $$ B,(G [:] f,a) )
assume A4:
B <> {}
; for f being Function of X,Y
for a being Element of Y holds G . (F $$ B,f),a = F $$ B,(G [:] f,a)
let f be Function of X,Y; for a being Element of Y holds G . (F $$ B,f),a = F $$ B,(G [:] f,a)
let a be Element of Y; G . (F $$ B,f),a = F $$ B,(G [:] f,a)
defpred S1[ Element of Fin X] means G . (F $$ $1,f),a = F $$ $1,(G [:] f,a);
A5:
for B1, B2 being non empty Element of Fin X st S1[B1] & S1[B2] holds
S1[B1 \/ B2]
proof
let B1,
B2 be non
empty Element of
Fin X;
( S1[B1] & S1[B2] implies S1[B1 \/ B2] )
assume A6:
(
G . (F $$ B1,f),
a = F $$ B1,
(G [:] f,a) &
G . (F $$ B2,f),
a = F $$ B2,
(G [:] f,a) )
;
S1[B1 \/ B2]
thus G . (F $$ (B1 \/ B2),f),
a =
G . (F . (F $$ B1,f),(F $$ B2,f)),
a
by A1, A2, Th30
.=
F . (F $$ B1,(G [:] f,a)),
(F $$ B2,(G [:] f,a))
by A3, A6, BINOP_1:23
.=
F $$ (B1 \/ B2),
(G [:] f,a)
by A1, A2, Th30
;
verum
end;
A7:
for x being Element of X holds S1[{.x.}]
for B being non empty Element of Fin X holds S1[B]
from SETWISEO:sch 3(A7, A5);
hence
G . (F $$ B,f),a = F $$ B,(G [:] f,a)
by A4; verum