P3996T1AdjacentParentPlacement #
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.
theorem
ApollonianSuperharmonic.P3996T1AdjacentParentPlacement
(q : Fin 4 → CircleCoordinates)
(hq : ProperBandQuadruple q)
(i : Fin 3)
(s : Fin 4)
(U : ProtoTile)
(hU : BandPrototile (q 0) U)
:
∃ (Z : ProtoTile),
BandPrototile (q (if Even ↑s then i - 1 else i + 1).succ) Z ∧ TileCentroid Z - TileCentroid U = (1 / 2) • GaussianRealPoint
({ re := 0, im := 1 } ^ ↑s * if Even ↑s then BandVectors.1 (q 0) (q (i - 1).succ) - BandVectors.1 (q (i - 1).succ) (q 0)
else BandVectors.1 (q (i + 1).succ) (q 0) - BandVectors.1 (q 0) (q (i + 1).succ))