P4564T2GeneralT6Transport #
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.P4564T2GeneralT6Transport
(q : Fin 4 → CircleCoordinates)
(hq : ProperBandQuadruple q)
(T : ProtoTile)
(hT : BandPrototile (q 0) T)
(a : Fin 3)
(g : BandPackingSymmetry)
(hphase : BandPackingSymmetryScopedPhase g ![q 0, q a.succ, q (a + 1).succ, q (a + 2).succ] false)
(hpredecessor :
∀ (r : Fin 4 → CircleCoordinates),
ProperBandQuadruple r →
r 0 = ![q 0, q a.succ, q (a + 1).succ, q (a + 2).succ] 1 →
r 2 = ![q 0, q a.succ, q (a + 1).succ, q (a + 2).succ] 2 →
r 3 = ![q 0, q a.succ, q (a + 1).succ, q (a + 2).succ] 3 → BandPackingSymmetryScopedPhase g r false)
(cfg :
BandOrderedGeneralConfiguration
(BandPackingSymmetryQuadrupleAction g ![q 0, q a.succ, q (a + 1).succ, q (a + 2).succ]))
(C : BandCircle)
(cert :
BandOrderedGeneralLayoutCertificate
(BandPackingSymmetryQuadrupleAction g ![q 0, q a.succ, q (a + 1).succ, q (a + 2).succ]) cfg C
(BandPackingSymmetryTileAction g T))
(r : Fin 4 → CircleCoordinates)
:
ProperBandQuadruple r →
r 0 = q 1 →
r 2 = q 2 →
r 3 = q 3 →
(q 2).1 ≤ (q 1).1 →
(q 3).1 ≤ (q 2).1 →
1 < (q 2).1 →
∀ (P Q S : Fin 3 → Bool → ProtoTile),
(∀ (i : Fin 3) (s : Bool), BandSubtileOccurrence q T i s (P i s)) →
(∀ (x : LatticeCell), x ∈ T.cells ↔ ∃ (i : Fin 3) (s : Bool), x ∈ (P i s).cells) →
(∀ (i : Fin 3) (s : Bool), BandSubtileOccurrence r (P 0 true) i s (Q i s)) →
(∀ (x : LatticeCell), x ∈ (P 0 true).cells ↔ ∃ (i : Fin 3) (s : Bool), x ∈ (Q i s).cells) →
(∀ (i : Fin 3) (s : Bool), BandSubtileOccurrence r (P 0 false) i s (S i s)) →
(∀ (x : LatticeCell), x ∈ (P 0 false).cells ↔ ∃ (i : Fin 3) (s : Bool), x ∈ (S i s).cells) →
have u := BandVectors.1 (q 0) (q 1);
have v := BandVectors.1 (q 0) (q 2);
(∀ (a b : PeriodicSubtileIndex),
a ≠ b →
((FootprintEdges (SubtileOccurrenceInterpretation P u v a) ∩
FootprintEdges (SubtileOccurrenceInterpretation P u v b)).Nonempty →
AllowedSubtileIncidence a b) ∧ (¬AllowedSubtileIncidence a b →
FootprintVertices (SubtileOccurrenceInterpretation P u v a) ∩
FootprintVertices (SubtileOccurrenceInterpretation P u v b) = ∅ ∨ (FootprintVertices (SubtileOccurrenceInterpretation P u v a) ∩
FootprintVertices
(SubtileOccurrenceInterpretation P u v b)).Subsingleton)) ∧ FootprintVertices (P 0 true) ∩ FootprintVertices (P 1 true) ⊆
FootprintVertices (Q 1 true) ∩ FootprintVertices (P 1 true) ∧ FootprintVertices (P 0 true) ∩ FootprintVertices (P 0 false) ⊆
FootprintVertices (Q 1 true) ∩ FootprintVertices (S 2 false) ∪
FootprintVertices (Q 0 false) ∪
FootprintVertices (Q 2 true) ∩ FootprintVertices (S 1 false)