Documentation

LeanPool.ApollonianSuperharmonic.BandOrderedGeneralSubtileCanonicalRows

BandOrderedGeneralSubtileCanonicalRows #

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.BandOrderedGeneralSubtileCanonicalRows (P : Fin 3 → Bool → ProtoTile) (T : ProtoTile) (u v : GaussianInt) (parentSlot : Fin 3) (turn : Fin 4) (edge incoming outgoing : Fin 3 → GaussianInt) (hsuper : edge 0 + edge 1 + edge 2 = 0) (hin0 : incoming 0 = edge 1 - { re := 0, im := 1 } * edge 2) (hin1 : incoming 1 = edge 2 - { re := 0, im := 1 } * edge 0) (hin2 : incoming 2 = edge 0 - { re := 0, im := 1 } * edge 1) (hflip : ∀ (j : Fin 3), outgoing j = { re := 0, im := 1 } * incoming j) (hu : u = outgoing 0) (hv : v = outgoing 1) (hcentroid : ∀ (j : Fin 3) (e : Bool), TileCentroid (P j e) - TileCentroid T = (if e = true then 1 else -1) • (1 / 2) • (GaussianRealPoint (edge j) - (-(GaussianRealPoint (edge j)).2, (GaussianRealPoint (edge j)).1))) :
have uIndex := SubtileRowIndices.source parentSlot turn; have vIndex := SubtileRowIndices.target parentSlot turn; have U := SubtileOccurrenceInterpretation P u v uIndex; have V := SubtileOccurrenceInterpretation P u v vIndex; TileCentroid U - TileCentroid T = (1 / 2) • GaussianRealPoint ({ re := 0, im := 1 } ^ ↑turn * (incoming parentSlot + outgoing parentSlot)) ∧ TileCentroid V - TileCentroid T = (1 / 2) • GaussianRealPoint ({ re := 0, im := 1 } ^ ↑turn * if Even ↑turn then incoming (parentSlot + 1) - outgoing (parentSlot + 1) else outgoing (parentSlot - 1) - incoming (parentSlot - 1))