BandOrderedGeneralAggregatePatches #
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.BandOrderedGeneralAggregatePatches
(q : Fin 4 → CircleCoordinates)
(cfg : BandOrderedGeneralConfiguration q)
(C₀ : BandCircle)
(T : ProtoTile)
(cert : BandOrderedGeneralLayoutCertificate q cfg C₀ T)
:
have K := fun (m n : ℤ) =>
{{ label := SixSubtileLabel.A, first := m, second := n }, { label := SixSubtileLabel.B, first := m, second := n }, { label := SixSubtileLabel.C, first := m, second := n }, { label := SixSubtileLabel.D, first := m, second := n }, { label := SixSubtileLabel.E, first := m, second := n }, { label := SixSubtileLabel.F, first := m, second := n }};
have triangles := {{(0, 0), (1, 0), (0, -1)}, {(0, 0), (0, 1), (1, 1)}, {(0, 0), (-1, -1), (-1, 0)}};
∀ τ ∈ triangles,
∀ σ ∈ τ.powerset,
σ.Nonempty →
∃ (patch : FiniteInducedTilePatch cert.modified.plane cert.modified.tile),
(patch.indices = σ.biUnion fun (mn : ℤ × ℤ) => K mn.1 mn.2) ∧ ∀ (x : LatticeCell), x ∈ patch.unionTile.cells ↔ ∃ mn ∈ σ, ∃ a ∈ K mn.1 mn.2, x ∈ (cert.modified.tile a).cells