Say $G = \langle x \rangle$ and $H = \langle y \rangle$ are cyclic groups of order $n$. These are isomorphic, and the isomorphism has the form $f(x^i) = y^i$.
My question is as follows. I don't want to define this map only for $0 \leq i < n$ because then if I want to prove that $f(x^i y^j) = f(x^i) f(y^j)$, I'd have to construct $x^{i+j}$, and it may be the case that $i + j > n$.
It's clear to me every element of, say $G$, can be written uniquely as $x^i$ if $0 \leq i < n$, but if I allow $i$ to range over all of $\mathbb{Z}$, it is not unique. Would this require me, for a fully rigorous proof, to prove that the map $f$ is well-defined? That is, would I need to show that if $x^i = x^j \in G$, then $y^i = y^j$?