I'm reading a proof of Cayley's theorem. In the following two snippets I want to know why it's needed(although it's apparently true) that $\pi_a\circ\pi_b=\pi_{ab}$ to prove that $G^*$ is closed under composition?
I meant, why not just said: Since $a,b\in G, ab\in G$ so by the construction of $\pi_a:G\to G$ clearly $\pi_{ab}\in G^*$.
At the end of the proof the equality is used, so I wonder whether the author just want to condense two steps into one? (I skip the part of $G^*$ is closed on its inverse)




You're right that it is clear that $\pi_{ab} \in G^*$. But we want $G^*$ to be closed under the group operation of $G^*$, in which the product of $\pi_a$ and $\pi_b$ is defined to be $\pi_a \circ \pi_b$, not $\pi_{ab}$.
Once we prove that these two are equal - that $\pi_a \circ \pi_b = \pi_{ab}$ - then we know that $G^*$ is closed under $\circ$, precisely because we know that $\pi_{ab} \in G^*$.