Suppose that $P=(X,\leq)$ is a lattice. Prove that $\forall x,y,z\in X$:
$$(x\wedge y)\wedge z =x\wedge(y\wedge z) \hspace{6mm}\mbox{(associativity)},$$ where $\wedge$ indicates the meet of the two sets, i.e., the greatest lower bound.
I have proved commutativity but I am not sure how to prove associativity.
Let $a=(x\wedge y)\wedge z$ and $b = x \wedge (y \wedge z)$. Then $a \le x\wedge y$ and $a \le z$, so we must also have $a \le x$ and $a \le y$. Similarly for $b$, $b \le x$, $b \le y $, and $b \le z$.
The above relations, and the definition of $\wedge$ tell us that $a \le b$ and $b \le a$, so we must have that $a=b$.
To see the use of the definition of $\wedge$, notice that since $b \le x$ and $b \le y$, it must be that $b \le x\wedge y$, so that $b \le a$ .