let i, I be set ; for F being multMagma-Family of I
for G being non empty multMagma st i in I & G = F . i & product F is commutative holds
G is commutative
let F be multMagma-Family of I; for G being non empty multMagma st i in I & G = F . i & product F is commutative holds
G is commutative
let G be non empty multMagma ; ( i in I & G = F . i & product F is commutative implies G is commutative )
assume that
A1:
i in I
and
A2:
G = F . i
and
A3:
for x, y being Element of (product F) holds x * y = y * x
; GROUP_1:def 12 G is commutative
let x, y be Element of G; GROUP_1:def 12 x * y = y * x
defpred S1[ object , object ] means ( ( $1 = i implies $2 = y ) & ( $1 <> i implies ex H being non empty multMagma ex a being Element of H st
( H = F . $1 & $2 = a ) ) );
A4:
for j being object st j in I holds
ex k being object st S1[j,k]
consider gy being ManySortedSet of I such that
A7:
for j being object st j in I holds
S1[j,gy . j]
from PBOOLE:sch 3(A4);
set GP = product F;
defpred S2[ object , object ] means ( ( $1 = i implies $2 = x ) & ( $1 <> i implies ex H being non empty multMagma ex a being Element of H st
( H = F . $1 & $2 = a ) ) );
A8:
for j being object st j in I holds
ex k being object st S2[j,k]
consider gx being ManySortedSet of I such that
A11:
for j being object st j in I holds
S2[j,gx . j]
from PBOOLE:sch 3(A8);
A12:
dom gy = I
by PARTFUN1:def 2;
A17:
dom (Carrier F) = I
by PARTFUN1:def 2;
then reconsider gy = gy as Element of product (Carrier F) by A12, A13, CARD_3:9;
A18:
gy . i = y
by A1, A7;
A19:
dom gx = I
by PARTFUN1:def 2;
then reconsider gx = gx as Element of product (Carrier F) by A19, A17, CARD_3:9;
reconsider x1 = gx, y1 = gy as Element of (product F) by Def2;
A23:
x1 * y1 = y1 * x1
by A3;
reconsider xy = x1 * y1 as Element of product (Carrier F) by Def2;
A24:
gx . i = x
by A1, A11;
then
xy . i = x * y
by A1, A2, A18, Th1;
hence
x * y = y * x
by A1, A2, A23, A24, A18, Th1; verum