Documentation

LeanPool.ApollonianSuperharmonic.P4418T3RoutedBlockCriterion

P4418T3RoutedBlockCriterion #

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.P4418T3RoutedBlockCriterion (q : Fin 4 → CircleCoordinates) (cfg : BandOrderedGeneralConfiguration q) (C : BandCircle) (T : ProtoTile) (cert : BandOrderedGeneralLayoutCertificate q cfg C T) (a b : PeriodicSubtileIndex) (row : BandOrderedGeneralSelectedContactRow q cfg C T cert a b) (hT : LatticeTile T) (data : P4418T3SelectedInterfaceData (SubtileOccurrenceInterpretation cert.P cert.u cert.v a) (SubtileOccurrenceInterpretation cert.P cert.u cert.v b) (SubtileOccurrenceInterpretation cert.P cert.u cert.v (P4418T3EndpointOwnerIndices q cfg C T cert a b row).1) (SubtileOccurrenceInterpretation cert.P cert.u cert.v (P4418T3EndpointOwnerIndices q cfg C T cert a b row).2)) (x : GaussianInt) (j : Fin 4) (edge : Finset GaussianInt) (hx : x ∈ edge) (hedge : edge ∈ FootprintEdges (SubtileOccurrenceInterpretation cert.P cert.u cert.v a) ∩ FootprintEdges (SubtileOccurrenceInterpretation cert.P cert.u cert.v b)) (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) :
have oldShift := match P3996T1SRowTable q cfg C T cert row with | some z => z.oldShift | none => match a.label with | SixSubtileLabel.A => if a.first = -1 then -cert.u else cert.u | SixSubtileLabel.B => if a.first = 1 then cert.u else -cert.u | SixSubtileLabel.C => -cert.v | SixSubtileLabel.D => cert.v | SixSubtileLabel.E => 0 | SixSubtileLabel.F => 0; x ∈ FootprintVertices (TileTranslation T oldShift) ↔ match P3996T1SRowTable q cfg C T cert row with | none => False | some z => x = if z.parentSlot = 0 then data.first else data.last