Let $A, G, H$ ∈ $M_n$ be positive definite and suppose that $GAG = HAH$.
Why does $G = H$?
It is well known that the square root of a positive definite matrix is unique (see Square root of Positive Definite Matrix), but this only solves the case $A=\rm{id}$. Does the general case also follow from this?