FordPeakMatrix #
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.FordPeakMatrix
(p : ℤ)
(q : ℕ)
(_q_pos : 0 < q)
(_reduced : q.Coprime p.natAbs)
:
For relatively prime $q$ and $|p|$, with $q>0$, the exceptional peak matrix of the Ford circle $C_{p,q}$ is $$ A_{p,q}=\frac1{q^2}\begin{pmatrix}1&pq\\pq&0\end{pmatrix}. $$ This definition is made only for $q>0$ Ford circles; it assigns no matrix to the curvature-zero line parent.