Similarity of matrices and Smith normal form

498 Views Asked by At

It is stated in the wikipedia article https://en.wikipedia.org/wiki/Smith_normal_form that $A \sim B$ iff SNF($xI-A$)=SNF($xI-B$).

How do you prove that?