P5606T1SubtileTerminalTransport #
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.P5606T1SubtileTerminalTransport
(q : Fin 4 → CircleCoordinates)
(hq : ProperBandQuadruple q)
(i : Fin 3)
(s : Fin 4)
(hpos : 0 < (q i.succ).1)
(a : Fin 3)
(w : BandPackingSymmetry)
(hnormal :
(∃ (P : FordFareyParameter),
1 < P.q ∧ BandPackingSymmetryQuadrupleAction w ![q 0, q a.succ, q (a + 1).succ, q (a + 2).succ] = FordRecursiveQuadruple P) ∨ ∃ (K : DiamondParameter),
1 < ↑K ∧ BandPackingSymmetryQuadrupleAction w ![q 0, q a.succ, q (a + 1).succ, q (a + 2).succ] = DiamondRecursiveQuadruple K)
(T U : ProtoTile)
(h k : PartialOdometer)
(p p' : ℝ × ℝ)
(g : IntegerLatticeFunction)
(x : GaussianInt)
(hT : TileOdometer (q 0) T h)
(hU : TileOdometer (q i.succ) U k)
(hp : PartialOdometerSlope h = some p)
(hp' : PartialOdometerSlope k = some p')
(hc :
TileCentroid U - TileCentroid T = (1 / 2) • GaussianRealPoint ({ re := 0, im := 1 } ^ ↑s * (BandVectors.1 (q i.succ) (q 0) + BandVectors.1 (q 0) (q i.succ))))
(hr :
p'.1 - p.1 = ((1 / 2) • GaussianRealPoint
((-{ re := 0, im := 1 }) ^ ↑s * (BandVectors.2 (q i.succ) (q 0) + BandVectors.2 (q 0) (q i.succ)))).1)
(hi :
p'.2 - p.2 = ((1 / 2) • GaussianRealPoint
((-{ re := 0, im := 1 }) ^ ↑s * (BandVectors.2 (q i.succ) (q 0) + BandVectors.2 (q 0) (q i.succ)))).2)
(hcompat : OdometerCompatibility h k)
(hg : GlobalOdometerExtends g h)
(kg : GlobalOdometerExtends g k)
(hx : x ∈ h.domain)
(kx : x ∈ k.domain)
(hstar :
∀ (y : GaussianInt),
y = x ∨ y = x + 1 ∨ y = x - 1 ∨ y = x + { re := 0, im := 1 } ∨ y = x - { re := 0, im := 1 } →
y ∈ h.domain ∨ y ∈ k.domain)
:
have UR :=
TileTranslation T
({ re := 0, im := 1 } ^ ↑s * if Even ↑s then BandVectors.1 (q 0) (q i.succ) else BandVectors.1 (q i.succ) (q 0));
(x ∈ FootprintVertices UR → FourNeighborLaplacian g x = 0) ∧ (x ∉ FootprintVertices UR → FourNeighborLaplacian g x = 1)