P4564T2DiamondGeometry #
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.P4564T2DiamondGeometry
(K : DiamondParameter)
:
1 < ↑K →
∀ (T : ProtoTile),
BandPrototile (DiamondRecursiveQuadruple K 0) T →
have q := DiamondRecursiveQuadruple K;
LatticeTile T ∧ TileArea T = (q 0).1.toNat ∧ (∀ (S : Fin 3 → Bool → ProtoTile),
(∀ (i : Fin 3) (s : Bool), BandSubtileOccurrence q T i s (S i s)) →
(∀ (x : LatticeCell), x ∈ T.cells ↔ ∃ (i : Fin 3) (s : Bool), x ∈ (S i s).cells) →
∀ (i : Fin 3) (s : Bool),
LatticeTile (TileCellComplement T (S i s)) ∧ TileTouching (TileCellComplement T (S i s)) (S i s)) ∧ QuarterTurnSymmetric T ∧ (1 < (q 0).1 →
∀ (i : Fin 3),
TouchingTriple T (TileTranslation T (BandVectors.1 (q i.succ) (q 0)))
(TileTranslation T (-BandVectors.1 (q (i + 1).succ) (q 0)))) ∧ (1 < (q 0).1 →
∀ (i : Fin 3) (U : ProtoTile),
BandPrototile (q i.succ) U →
TileCentroid U - TileCentroid T = (1 / 2) • (GaussianRealPoint (BandVectors.1 (q i.succ) (q 0)) + GaussianRealPoint (BandVectors.1 (q 0) (q i.succ))) →
TouchingTriple T (TileTranslation T (BandVectors.1 (q i.succ) (q 0))) U) ∧ ∀ (i : Fin 3) (U V : ProtoTile),
BandPrototile (q i.succ) U →
BandPrototile (q (i + 1).succ) V →
TileCentroid U - TileCentroid T = (1 / 2) • (GaussianRealPoint (BandVectors.1 (q i.succ) (q 0)) + GaussianRealPoint (BandVectors.1 (q 0) (q i.succ))) →
TileCentroid V - TileCentroid T = (1 / 2) • (GaussianRealPoint (BandVectors.1 (q (i + 1).succ) (q 0)) - GaussianRealPoint (BandVectors.1 (q 0) (q (i + 1).succ))) →
TouchingTriple T U V