Recently I was perplexed by a simple abstract algebra question. The question was as follows,
We know that $D_4$ (the Dihedral Group of order $8$) and $Q_8$ (the Quaternion Group) are the only non-abelian groups of order $8$ upto isomorphism. Now does this mean that if $G$ be any non-abelian group of order $8$ then either $G=D_4$ or $G=Q_8$?
The immediate answer is that it is not the case (provided we assume that usual definition of "$=$"). More precisely, if $G$ be a given non-abelian group of order $8$ then $G$ may not be identical either to $D_4$ or to $Q_8$ elementwise, but $G$ will be isomorphic to exactly one of them.
Now let us come to the presentation of $Q_8$. It is (as our professor told us), $$\langle a,b\mid a^4=1,a^2=b^2,b^{-1}ab=a^{-1}\rangle$$Then he said that,
If we replace $a$ by $x$ and $b$ by $y$ then the group thus obtained will be isomorphic to $Q_8$ and not identical to $Q_8$.
This is the part where I am a bit confused. My question is,
Aren't $a,b,x,y$ simply some symbols which we use to denote the elements of a group? If so then why the groups are not identical (assuming the operations on the groups to be identical) even if we denote the same element by different symbols? It is true that the groups are not syntactically identical but are they not semantically identical?