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 | x m y m z m x o y o z = x o y o z

Detailed syntax breakdown

Step Hyp Ref Expression
0 casslaw class assLaw
1 vo setvar o
2 vm setvar m
3 vx setvar x
4 2 cv setvar m
5 vy setvar y
6 vz setvar z
7 3 cv setvar x
8 1 cv setvar o
9 5 cv setvar y
10 7 9 8 co class x o y
11 6 cv setvar z
12 10 11 8 co class x o y o z
13 9 11 8 co class y o z
14 7 13 8 co class x o y o z
15 12 14 wceq wff x o y o z = x o y o z
16 15 6 4 wral wff z m x o y o z = x o y o z
17 16 5 4 wral wff y m z m x o y o z = x o y o z
18 17 3 4 wral wff x m y m z m x o y o z = x o y o z
19 18 1 2 copab class o m | x m y m z m x o y o z = x o y o z
20 0 19 wceq wff assLaw = o m | x m y m z m x o y o z = x o y o z