Let $X$ be a non-empty subset and $F(X)$ the free group on $X$. If $z\in F(X)$, it can be expressed in the form $z=x_1^{\epsilon _1} \cdots x_n^{\epsilon _n} $ where $\epsilon _i =\pm 1$, $x_i\in X$ and it contains no pair of consecutive symbols of the form $xx^{-1}$ or $x^{-1}x$. Such an expression is called the reduced form of $z$.
Suppose that $z = x_1^{\epsilon _1}\cdots x_n^{\epsilon _n} = y_1^{\delta _1}\cdots y_n^{\delta _n}$ (both of them are reduced forms of $z$).
Can we conclude that $x_i=y_i$ for each $i$?
Thanks!