I want to show $$GM^\top(MGM^\top)^{-1}MG=G$$ where $MGM^\top$ is invertible, $G$ is a symmetric square matrix. $M$ does not have to be a square matrix. I am not 100% sure this is true (90% sure it is) so a contradictory proof will be great as well.
Thanks Justingpassby for the contradictory proof. I came into above from the following but I'm not sure where it is wrong?
Let $u = Mv$, $\text{var}(v)=G$, $u$ and $v$ be both Normal random variables with mean 0 so $\text{var}(u)=MGM^\top$. Then $v=GM^\top(MGM^\top)^{-1}u$ is one possible solution of $u = Mv$ since $$ Mv=MGM^\top(MGM^\top)^{-1}u = u.$$ Now $$\begin{array}\text{var}(v) &=& GM^\top(MGM^\top)^{-1}MGM^\top(MGM^\top)^{-1}MG\\ &=& GM^\top(MGM^\top)^{-1}MG \end{array}$$ Therefore $GM^\top(MGM^\top)^{-1}MG=G$. But as shown this it not true for some non-square $M$ so there must be a hole in my logic somewhere above. Any idea anyone?
Let $G$ be the unit 3 by 3 matrix and $M$ any nonzero 1 by 3 row. Then the LHS has rank 1 (and determinant 0).