DiamondPeakMatrix #
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.
For the positive diamond parameter $k$, the exceptional peak matrix is $$ A_k=\frac12\begin{pmatrix}k/(k+1)&1\\1&(1-k)/k\end{pmatrix}. $$ Positivity of $k$ makes both displayed denominators nonzero.