注意到$(3,4)=(1)$
$A=\pmatrix{3\\&2+2\sqrt{-5}\\&&4}$可以通过初等行、列变换化成$A'=\pmatrix{1\\&2+2\sqrt{-5}\\&&12}$
The matrix $A'$ is in SNF, since $1\mid 2+2\sqrt{-5}$ and $2+2\sqrt{-5}\mid12$[because $12=(2+2\sqrt{-5})(1-\sqrt{-5})$]
In non-Bezout domain, not all matrices can be transformed into Smith normal form.
SageMath strictly follows the SNF algorithm of Bezout domain, it fails to find GCD of $3$ and $2+2\sqrt{-5}$, so it fails to find SNF of $A$, however $A$ does have SNF $A'$.