P4387T1PlacedCoordinates #
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.P4387T1PlacedCoordinates
{q : Fin 4 → CircleCoordinates}
{cfg : BandOrderedGeneralConfiguration q}
{C₀ : BandCircle}
{T₀ : ProtoTile}
(cert : BandOrderedGeneralLayoutCertificate q cfg C₀ T₀)
(h₀ : PartialOdometer)
(C : BandCircle)
(T : ProtoTile)
(h : PartialOdometer)
(a : PeriodicSubtileIndex)
(pa : P4261T1PlacedOdometer cert h₀ C T h a)
:
have F := fun (J V W : GaussianInt) (x : PeriodicSubtileIndex) =>
(1 / 2) • GaussianRealPoint
(match x.label with
| SixSubtileLabel.A => (1 - J) * W
| SixSubtileLabel.B => -((1 - J) * W)
| SixSubtileLabel.C => -((1 - J) * (V + W))
| SixSubtileLabel.D => (1 - J) * (V + W)
| SixSubtileLabel.E => (1 - J) * V
| SixSubtileLabel.F => -((1 - J) * V)) + GaussianRealPoint (↑x.first * (V - J * (V + W)) + ↑x.second * (W + J * V));
TileCentroid T = TileCentroid T₀ + F { re := 0, im := 1 } (BandVectors.1 (q 2) (q 1)) (BandVectors.1 (q 3) (q 2)) a ∧ pa.slope = pa.rootSlope + F (-{ re := 0, im := 1 }) (BandVectors.2 (q 2) (q 1)) (BandVectors.2 (q 3) (q 2)) a