Something about the notion of equality bothers me. Let's consider an example from group theory, the group with two elements $\mathbb{Z}/2\mathbb{Z}=\{0,1\}$ under the binary operation satisfying $0+0=0$ and $0+1=1+0=1$.
Based on my understanding of equality, the statement $(1+1)+1=1$, contains no mathematical content beyond $1=1$, since the group element $(1+1)+1$ literally is the group element $1$. This bothers me...
It seems to me that there are two mathematical structures in question. The group $G=\mathbb{Z}/2\mathbb{Z}$ which is the set $\{0,1\}$ coupled with a binary function (subset of $\big((G\times G),G\big)$) which is the set $\{\big((0,0),0\big),\big((0,1),1\big),\,\big((1,0),1\big)\}$. This group structure seems to induce (or maybe the other way around?) a new mathematical structure describing the behavior of the symbols used to describe $G$. Perhaps this new mathematical structure $\mathcal{G}$, could be thought of as equivalence classes of words in $\mathbb{Z}/2\mathbb{Z}$ under the natural operation. Then, the statement $[(1+1)+1]=[1]$ where $[1]\in\mathcal{G}$ and $[(1+1)+1]\in\mathcal{G}$ are both equivalence classes of words in $G$ actually has real mathematical content, namely that $(1+1)+1$ and $1$ are in the same equivalence class.
When I read the statement $(1+1)+1=1$, I want to be able to mathematically (not just mentally) interpret equality as $(1+1)+1$ and $1$ are distinct representations of the same group element.
Is this point of view wrong/unhelpful? Is there some field that studies questions like this? If so, I would love textbook recommendations (early graduate level). Based on my very limited knowledge, I wonder if this is related to model theory or the theory of formal languages. Feel free to retag.