GaussianQuarterTurn #
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 counterclockwise quarter-turn of the Gaussian-integer grid about the origin is $q(a+bi)=-b+ai=iz$.