Documentation

LeanPool.ApollonianSuperharmonic.BandOrderedGeneralShiftedRoutedBoundaryLocalization

BandOrderedGeneralShiftedRoutedBoundaryLocalization #

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.BandOrderedGeneralShiftedRoutedBoundaryLocalization (q : Fin 4 → CircleCoordinates) (cfg : BandOrderedGeneralConfiguration q) (C0 : BandCircle) (T : ProtoTile) (cert : BandOrderedGeneralLayoutCertificate q cfg C0 T) (a b : PeriodicSubtileIndex) (x : GaussianInt) (j : Fin 4) (k : Fin 3) (positive : Bool) (hshift : positive = true ∧ (k = 0 ∧ a.first = 1 ∧ a.second = 0 ∨ k = 1 ∧ a.first = 0 ∧ a.second = 1 ∨ k = 2 ∧ a.first = -1 ∧ a.second = -1) ∨ positive = false ∧ (k = 0 ∧ a.first = -1 ∧ a.second = 0 ∨ k = 1 ∧ a.first = 0 ∧ a.second = -1 ∨ k = 2 ∧ a.first = 1 ∧ a.second = 1)) (hcentral : 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 }) (ha : LatticeVertexIncidentCell x j ∈ (SubtileOccurrenceInterpretation cert.P cert.u cert.v a).cells) (hb : LatticeVertexIncidentCell x (j + 2) ∈ (SubtileOccurrenceInterpretation cert.P cert.u cert.v b).cells) (hstar : ∀ (y : GaussianInt), y = x ∨ y = x + 1 ∨ y = x - 1 ∨ y = x + { re := 0, im := 1 } ∨ y = x - { re := 0, im := 1 } → y ∈ FootprintVertices (SubtileOccurrenceInterpretation cert.P cert.u cert.v a) ∨ y ∈ FootprintVertices (SubtileOccurrenceInterpretation cert.P cert.u cert.v b)) :
∃ (edge : Finset GaussianInt), x ∈ edge ∧ edge ∈ FootprintEdges (SubtileOccurrenceInterpretation cert.P cert.u cert.v a) ∩ FootprintEdges (SubtileOccurrenceInterpretation cert.P cert.u cert.v b) ∧ (positive = true ∧ (k = 0 ∧ (a = { label := SixSubtileLabel.C, first := 1, second := 0 } ∨ a = { label := SixSubtileLabel.F, first := 1, second := 0 }) ∨ k = 1 ∧ (a = { label := SixSubtileLabel.E, first := 0, second := 1 } ∨ a = { label := SixSubtileLabel.B, first := 0, second := 1 }) ∨ k = 2 ∧ (a = { label := SixSubtileLabel.A, first := -1, second := -1 } ∨ a = { label := SixSubtileLabel.D, first := -1, second := -1 })) ∨ positive = false ∧ (k = 0 ∧ (a = { label := SixSubtileLabel.D, first := -1, second := 0 } ∨ a = { label := SixSubtileLabel.E, first := -1, second := 0 }) ∨ k = 1 ∧ (a = { label := SixSubtileLabel.F, first := 0, second := -1 } ∨ a = { label := SixSubtileLabel.A, first := 0, second := -1 }) ∨ k = 2 ∧ (a = { label := SixSubtileLabel.B, first := 1, second := 1 } ∨ a = { label := SixSubtileLabel.C, first := 1, second := 1 }))) ∧ Nonempty (BandOrderedGeneralSelectedContactRow q cfg C0 T cert a b)