Metamath Proof Explorer


Definition df-asslaw

Description: The associative law for binary operations, see definitions of laws A1. and M1. in section 1.1 of Hall p. 1, or definition 5 in BourbakiAlg1 p. 4: the value of a binary operation applied the value of the binary operation applied to two operands and a third operand equals the value of the binary operation applied to the first operand and the value of the binary operation applied to the second and third operand. By this definition, the associative law is expressed as binary relation: a binary operation is related to a set by assLaw if the associative law holds for this binary operation regarding this set. Note that the binary operation needs neither to be closed nor to be a function. (Contributed by FL, 1-Nov-2009) (Revised by AV, 13-Jan-2020)

Ref Expression
Assertion df-asslaw
|- assLaw = { <. o , m >. | A. x e. m A. y e. m A. z e. m ( ( x o y ) o z ) = ( x o ( y o z ) ) }

Detailed syntax breakdown

Step Hyp Ref Expression
0 casslaw
 |-  assLaw
1 vo
 |-  o
2 vm
 |-  m
3 vx
 |-  x
4 2 cv
 |-  m
5 vy
 |-  y
6 vz
 |-  z
7 3 cv
 |-  x
8 1 cv
 |-  o
9 5 cv
 |-  y
10 7 9 8 co
 |-  ( x o y )
11 6 cv
 |-  z
12 10 11 8 co
 |-  ( ( x o y ) o z )
13 9 11 8 co
 |-  ( y o z )
14 7 13 8 co
 |-  ( x o ( y o z ) )
15 12 14 wceq
 |-  ( ( x o y ) o z ) = ( x o ( y o z ) )
16 15 6 4 wral
 |-  A. z e. m ( ( x o y ) o z ) = ( x o ( y o z ) )
17 16 5 4 wral
 |-  A. y e. m A. z e. m ( ( x o y ) o z ) = ( x o ( y o z ) )
18 17 3 4 wral
 |-  A. x e. m A. y e. m A. z e. m ( ( x o y ) o z ) = ( x o ( y o z ) )
19 18 1 2 copab
 |-  { <. o , m >. | A. x e. m A. y e. m A. z e. m ( ( x o y ) o z ) = ( x o ( y o z ) ) }
20 0 19 wceq
 |-  assLaw = { <. o , m >. | A. x e. m A. y e. m A. z e. m ( ( x o y ) o z ) = ( x o ( y o z ) ) }