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=om|xmymzmxoyoz=xoyoz

Detailed syntax breakdown

Step Hyp Ref Expression
0 casslaw classassLaw
1 vo setvaro
2 vm setvarm
3 vx setvarx
4 2 cv setvarm
5 vy setvary
6 vz setvarz
7 3 cv setvarx
8 1 cv setvaro
9 5 cv setvary
10 7 9 8 co classxoy
11 6 cv setvarz
12 10 11 8 co classxoyoz
13 9 11 8 co classyoz
14 7 13 8 co classxoyoz
15 12 14 wceq wffxoyoz=xoyoz
16 15 6 4 wral wffzmxoyoz=xoyoz
17 16 5 4 wral wffymzmxoyoz=xoyoz
18 17 3 4 wral wffxmymzmxoyoz=xoyoz
19 18 1 2 copab classom|xmymzmxoyoz=xoyoz
20 0 19 wceq wffassLaw=om|xmymzmxoyoz=xoyoz