Documentation

LeanPool.ApollonianSuperharmonic.BandOrderedGeneralRoutedSelectedContact

BandOrderedGeneralRoutedSelectedContact #

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.BandOrderedGeneralRoutedSelectedContact (q : Fin 4 → CircleCoordinates) (cfg : BandOrderedGeneralConfiguration q) (C₀ : BandCircle) (T : ProtoTile) (cert : BandOrderedGeneralLayoutCertificate q cfg C₀ T) :
have occurrence := SubtileOccurrenceInterpretation cert.P cert.u cert.v; ∀ (a b : PeriodicSubtileIndex) (x : GaussianInt) (j : Fin 4), a = { label := SixSubtileLabel.A, first := -1, second := -1 } ∨ a = { label := SixSubtileLabel.A, first := 0, second := -1 } ∨ a = { label := SixSubtileLabel.C, first := 1, second := 0 } ∨ a = { label := SixSubtileLabel.C, first := 1, second := 1 } ∨ a = { label := SixSubtileLabel.E, first := 0, second := 1 } ∨ a = { label := SixSubtileLabel.E, first := -1, second := 0 } ∨ a = { label := SixSubtileLabel.B, first := 1, second := 1 } ∨ a = { label := SixSubtileLabel.B, first := 0, second := 1 } ∨ a = { label := SixSubtileLabel.D, first := -1, second := 0 } ∨ a = { label := SixSubtileLabel.D, first := -1, second := -1 } ∨ a = { label := SixSubtileLabel.F, first := 0, second := -1 } ∨ a = { label := SixSubtileLabel.F, first := 1, second := 0 } → b = { label := SixSubtileLabel.A, first := 0, second := 0 } ∨ b = { label := SixSubtileLabel.B, first := 0, second := 0 } ∨ b = { label := SixSubtileLabel.C, first := 0, second := 0 } ∨ b = { label := SixSubtileLabel.D, first := 0, second := 0 } ∨ b = { label := SixSubtileLabel.E, first := 0, second := 0 } ∨ b = { label := SixSubtileLabel.F, first := 0, second := 0 } → LatticeVertexIncidentCell x j ∈ (occurrence a).cells → LatticeVertexIncidentCell x (j + 2) ∈ (occurrence b).cells → (∀ (y : GaussianInt), y = x ∨ y = x + 1 ∨ y = x - 1 ∨ y = x + { re := 0, im := 1 } ∨ y = x - { re := 0, im := 1 } → y ∈ FootprintVertices (occurrence a) ∨ y ∈ FootprintVertices (occurrence b)) → ∃ (e : Finset GaussianInt), x ∈ e ∧ e ∈ FootprintEdges (occurrence a) ∩ FootprintEdges (occurrence b) ∧ Nonempty (BandOrderedGeneralSelectedContactRow q cfg C₀ T cert a b)