SymmetricMatrixCoordinates #
Adapted from Wesley Pegden’s Apache-2.0 Trellis formalization of Levine–Pegden–Smart. Changes: pool module paths, public exports, project namespace and current Mathlib compatibility.
noncomputable def
ApollonianSuperharmonic.SymmetricMatrixCoordinates
(A : Matrix (Fin 2) (Fin 2) ℝ)
:
For a real $2\times2$ matrix $A$, define its spatial coordinates by $$ \operatorname{coord}(A)=(x,r),\qquad x=(A_{00}-A_{11})+2A_{01}i,\qquad r=\operatorname{trace}(A). $$ When $A$ is symmetric these are the $(x_1,x_2,r)$ coordinates used in the paper, with $x=x_1+ix_2$.