[step:Identify both bracketings as the same triple meet and triple join]
Fix $x,y,z\in L$. Let $m_1=(x\wedge y)\wedge z$. Then $m_1\le x\wedge y$, so $m_1\le x$ and $m_1\le y$, and also $m_1\le z$. Thus $m_1$ is a lower bound of $\{x,y,z\}$. If $u\in L$ satisfies $u\le x$, $u\le y$, and $u\le z$, then $u\le x\wedge y$, and therefore $u\le (x\wedge y)\wedge z=m_1$. Hence $m_1$ is the greatest lower bound of $\{x,y,z\}$.
Let $m_2=x\wedge (y\wedge z)$. The same verification gives that $m_2$ is also the greatest lower bound of $\{x,y,z\}$: it is below $x$, $y$, and $z$, and every common lower bound of these three elements is below $y\wedge z$ and hence below $m_2$. By uniqueness of greatest lower bounds, $m_1=m_2$, so
\begin{align*}
(x\wedge y)\wedge z=x\wedge (y\wedge z).
\end{align*}
For joins, let $j_1=(x\vee y)\vee z$. Then $x\le j_1$, $y\le j_1$, and $z\le j_1$. If $v\in L$ satisfies $x\le v$, $y\le v$, and $z\le v$, then $x\vee y\le v$, and hence $j_1\le v$. Thus $j_1$ is the least upper bound of $\{x,y,z\}$.
Let $j_2=x\vee (y\vee z)$. Again, $j_2$ is an upper bound of $\{x,y,z\}$, and every common upper bound of $x$, $y$, and $z$ lies above $j_2$. Hence $j_2$ is also the least upper bound of $\{x,y,z\}$. By uniqueness of least upper bounds,
\begin{align*}
(x\vee y)\vee z=x\vee (y\vee z).
\end{align*}
[/step]