There is this set $S=\{1,-1,\iota,-\iota\}$, where $\iota=\sqrt{-1}$, and I have to prove that ordinary multiplication "$\times$" is a binary operation on $S$, and that it is commutative and also associative on $S$. Now, I have proved that $\times$ is a binary operation on $S$ employing the Cayley table, and also that it is commutative by showing that the table is symmetric around the diagonal. But, to prove that $\times$ is associative, I found four cases for which $\times$ must be proved associative in order to prove the associativity of $\times$ on $S$. They are:
(1) Is $(1 \times \iota) \times -1 = 1 \times (\iota \times -1)$?
(2) Is $(1 \times -\iota)\times -1 =1 \times (-\iota \times-1)$?
(3) Is $(1 \times -\iota) \times \iota=1 \times (-\iota \times \iota)$?
(4) Is $(-1 \times -\iota) \times \iota=-1 \times (-\iota \times \iota)$?
The Question: If I prove, in all the four cases, that the answer to all the questions is positive, then will it suffice or must I also prove that $\times$ is associative for the cases in which all of the factors in the four cases above are differently arranged?
For example, for the first case, we can arrange the factors in the following different ways:
(1.1) $1 \times -1 \times \iota$ (1.2) $-1 \times 1 \times \iota$ (1.3) $-1 \times \iota \times 1$ (1.4) $\iota \times 1 \times -1$ (1.5) $\iota \times -1 \times 1$ and similarly for the other three cases we have different arrangements of the factors.
Related: How can we determine associativity of a binary structure from its Cayley table?