let I, i be set ; :: thesis: for F being multMagma-Family of
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 ; :: thesis: 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 ; :: thesis: ( i in I & G = F . i & product F is commutative implies G is commutative )
assume that
A1:
( i in I & G = F . i )
and
A2:
for x, y being Element of (product F) holds x * y = y * x
; :: according to GROUP_1:def 16 :: thesis: G is commutative
set GP = product F;
let x, y be Element of G; :: according to GROUP_1:def 16 :: thesis: x * y = y * x
defpred S1[ set , set ] 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 ) ) );
A3:
for j being set st j in I holds
ex k being set st S1[j,k]
consider gx being ManySortedSet of such that
A6:
for j being set st j in I holds
S1[j,gx . j]
from PBOOLE:sch 3(A3);
defpred S2[ set , set ] 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 ) ) );
A7:
for j being set st j in I holds
ex k being set st S2[j,k]
consider gy being ManySortedSet of such that
A10:
for j being set st j in I holds
S2[j,gy . j]
from PBOOLE:sch 3(A7);
A11:
( dom gx = I & dom gy = I )
by PARTFUN1:def 4;
A12:
dom (Carrier F) = I
by PARTFUN1:def 4;
then reconsider gx = gx as Element of product (Carrier F) by A11, A12, CARD_3:18;
then reconsider gy = gy as Element of product (Carrier F) by A11, A12, CARD_3:18;
reconsider x1 = gx, y1 = gy as Element of (product F) by Def2;
reconsider xy = x1 * y1 as Element of product (Carrier F) by Def2;
A21:
x1 * y1 = y1 * x1
by A2;
A22:
( gx . i = x & gy . i = y )
by A1, A6, A10;
then
xy . i = x * y
by A1, Th4;
hence
x * y = y * x
by A1, A21, A22, Th4; :: thesis: verum