P4630T1CellRouteLift #
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.P4630T1CellRouteLift
(q : Fin 4 → CircleCoordinates)
(cfg : BandOrderedGeneralConfiguration q)
(C₀ : BandCircle)
(T : ProtoTile)
(cert : BandOrderedGeneralLayoutCertificate q cfg C₀ T)
:
have safe := fun (a : PeriodicSubtileIndex) =>
¬(a.first = 0 ∧ a.second = 0) ∧ ∀ (i : Fin 3) (k : Fin 4), a ≠ P4630T1RingIndex i k;
have clean := fun (x : LatticeCell) =>
∀ (i : Fin 3) (k : Fin 4), x ∉ (SubtileOccurrenceInterpretation cert.P cert.u cert.v (P4630T1RingIndex i k)).cells;
∀ (a b : PeriodicSubtileIndex),
safe a →
safe b →
Relation.ReflTransGen (fun (c d : PeriodicSubtileIndex) => AllowedSubtileIncidence c d ∧ safe c ∧ safe d) a b →
∀ x ∈ (cert.modified.tile a).cells,
clean x →
∀ y ∈ (cert.modified.tile b).cells,
clean y →
Relation.ReflTransGen (fun (z w : LatticeCell) => FourNeighborAdjacent z w ∧ clean z ∧ clean w) x y