P4994T6UnitCoordinates #
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.
The additive coordinate isomorphism $K_\epsilon:\mathbb Z[i]\to\mathbb Z^2$ is $K_{\mathsf{standard}}(z)=(\Re z,\Im z)$ and $K_{\mathsf{rotated}}(z)=(\Im z,-\Re z)$. These are the coordinates in the positive bases $(1,i)$ and $(i,-1)$, respectively; standard is the Boolean true and rotated is false.
Equations
- One or more equations did not get rendered due to their size.