Prove that if $g$ and $h$ are primitive roots modulo $m$ so $\text{ind}_g (h)$ is the inverse of $\text{ind}_h (g)$ modulo $\phi(m)$
My attempt:
I need to prove that $\text{ind}_h (g)\cdot \text{ind}_g (h)\equiv 1 \pmod{\phi (m)}$
Because $g$ and $h$ are primitive roots modulo $m$
$$\text{ord}_m (g)=\text{ord}_m (h)=\phi(m)$$
$$\Longrightarrow g^{\phi(m)}\equiv h^{\phi(m)}$$
$$\Longrightarrow h=g$$
$$\Longrightarrow \text{ind}_h (h)\cdot \text{ind}_h (h)=1$$
I am not sure at all about what I did