Documentation

LeanPool.ApollonianSuperharmonic.BandOrderedGeneralSubtileSelectedRowGeometry

BandOrderedGeneralSubtileSelectedRowGeometry #

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.BandOrderedGeneralSubtileSelectedRowGeometry (C D : BandCircle) (T N : ProtoTile) (h k : PartialOdometer) (x : GaussianInt) (bundle : BandOrderedGeneralNormalizedOccurrenceBundle C D T N h k x) (placement : BandOrderedGeneralSubtilePlacement bundle.normalizedPresentation bundle.configuration bundle.normalizedCircle bundle.normalizedFixedCircle bundle.normalizedRoot bundle.normalizedFixed bundle.normalizedRootFunction bundle.normalizedFixedFunction bundle.normalizedPoint bundle.pieces bundle.functions bundle.selectedSlot bundle.selectedSign bundle.routedDirection) (selectedEdge : Finset GaussianInt) :
bundle.normalizedPoint ∈ selectedEdge → selectedEdge ∈ FootprintEdges (SubtileOccurrenceInterpretation placement.layout.P placement.layout.u placement.layout.v placement.exteriorIndex) ∩ FootprintEdges (SubtileOccurrenceInterpretation placement.layout.P placement.layout.u placement.layout.v placement.centralIndex) → ∀ (a✝ : BandOrderedGeneralSelectedContactRow bundle.normalizedPresentation bundle.configuration bundle.normalizedCircle bundle.normalizedRoot placement.layout placement.exteriorIndex placement.centralIndex), ¬((∃ (g : BandPackingSymmetry) (P : FordFareyParameter), BandPackingSymmetryCircleAction g (FordCircleCoordinate P.p P.q) = ↑↑bundle.normalizedCircle) ∨ ∃ (g : BandPackingSymmetry) (K : DiamondParameter), BandPackingSymmetryCircleAction g (DiamondRecursiveQuadruple K 0) = ↑↑bundle.normalizedCircle) → ∀ (r : Fin 4 → CircleCoordinates) (i : Fin 3) (s : Fin 4), ProperBandQuadruple r → r 0 = ↑↑bundle.normalizedCircle → r i.succ = ↑↑bundle.normalizedFixedCircle → TileCentroid bundle.normalizedFixed - TileCentroid bundle.normalizedRoot = (1 / 2) • GaussianRealPoint ({ re := 0, im := 1 } ^ ↑s * (BandVectors.1 (r i.succ) (r 0) + BandVectors.1 (r 0) (r i.succ))) → bundle.normalizedFixedSlope.1 - bundle.normalizedRootSlope.1 = ((1 / 2) • GaussianRealPoint ((-{ re := 0, im := 1 }) ^ ↑s * (BandVectors.2 (r i.succ) (r 0) + BandVectors.2 (r 0) (r i.succ)))).1 → bundle.normalizedFixedSlope.2 - bundle.normalizedRootSlope.2 = ((1 / 2) • GaussianRealPoint ((-{ re := 0, im := 1 }) ^ ↑s * (BandVectors.2 (r i.succ) (r 0) + BandVectors.2 (r 0) (r i.succ)))).2 → have selectedSupport := bundle.pieces bundle.selectedSlot bundle.selectedSign; have selectedFunction := bundle.functions bundle.selectedSlot bundle.selectedSign; have oldRight := TileTranslation bundle.normalizedRoot ({ re := 0, im := 1 } ^ ↑s * if Even ↑s then BandVectors.1 (r 0) (r i.succ) else BandVectors.1 (r i.succ) (r 0)); ∃ (C' : BandCircle) (selectedSlope : ℝ × ℝ), ↑↑C' = bundle.normalizedPresentation bundle.selectedSlot.succ ∧ TileSubodometer (↑↑bundle.normalizedCircle) (↑↑C') bundle.normalizedRoot selectedSupport bundle.normalizedRootFunction selectedFunction ∧ PartialOdometerSlope selectedFunction = some selectedSlope ∧ bundle.normalizedPoint ∈ bundle.normalizedFixedFunction.domain ∧ bundle.normalizedPoint ∈ selectedFunction.domain ∧ (∀ (y : GaussianInt), y = bundle.normalizedPoint ∨ y = bundle.normalizedPoint + 1 ∨ y = bundle.normalizedPoint - 1 ∨ y = bundle.normalizedPoint + { re := 0, im := 1 } ∨ y = bundle.normalizedPoint - { re := 0, im := 1 } → y ∈ bundle.normalizedFixedFunction.domain ∨ y ∈ selectedFunction.domain) ∧ (↑↑bundle.normalizedFixedCircle).1.toNat + (↑↑C').1.toNat < (↑↑bundle.normalizedCircle).1.toNat + (↑↑bundle.normalizedFixedCircle).1.toNat ∧ (C' = bundle.normalizedFixedCircle ∧ LeftLatticeAdjacent bundle.normalizedFixedCircle bundle.normalizedFixed selectedSupport bundle.normalizedFixedFunction selectedFunction ∧ bundle.normalizedPoint ∉ FootprintVertices oldRight ∨ (∃ (q : Fin 4 → CircleCoordinates) (j : Fin 3) (t : Fin 4), ProperBandQuadruple q ∧ q 0 = ↑↑bundle.normalizedFixedCircle ∧ q j.succ = ↑↑C' ∧ TileCentroid selectedSupport - TileCentroid bundle.normalizedFixed = (1 / 2) • GaussianRealPoint ({ re := 0, im := 1 } ^ ↑t * (BandVectors.1 (q j.succ) (q 0) + BandVectors.1 (q 0) (q j.succ))) ∧ selectedSlope.1 - bundle.normalizedFixedSlope.1 = ((1 / 2) • GaussianRealPoint ((-{ re := 0, im := 1 }) ^ ↑t * (BandVectors.2 (q j.succ) (q 0) + BandVectors.2 (q 0) (q j.succ)))).1 ∧ selectedSlope.2 - bundle.normalizedFixedSlope.2 = ((1 / 2) • GaussianRealPoint ((-{ re := 0, im := 1 }) ^ ↑t * (BandVectors.2 (q j.succ) (q 0) + BandVectors.2 (q 0) (q j.succ)))).2 ∧ SubtileLatticeAdjacent bundle.normalizedFixedCircle C' bundle.normalizedFixed selectedSupport bundle.normalizedFixedFunction selectedFunction ∧ (bundle.normalizedPoint ∈ FootprintVertices oldRight ↔ bundle.normalizedPoint ∈ FootprintVertices (TileTranslation bundle.normalizedFixed ({ re := 0, im := 1 } ^ ↑t * if Even ↑t then BandVectors.1 (q 0) (q j.succ) else BandVectors.1 (q j.succ) (q 0))))) ∨ ∃ (q : Fin 4 → CircleCoordinates) (j : Fin 3) (t : Fin 4), ProperBandQuadruple q ∧ q 0 = ↑↑C' ∧ q j.succ = ↑↑bundle.normalizedFixedCircle ∧ TileCentroid bundle.normalizedFixed - TileCentroid selectedSupport = (1 / 2) • GaussianRealPoint ({ re := 0, im := 1 } ^ ↑t * (BandVectors.1 (q j.succ) (q 0) + BandVectors.1 (q 0) (q j.succ))) ∧ bundle.normalizedFixedSlope.1 - selectedSlope.1 = ((1 / 2) • GaussianRealPoint ((-{ re := 0, im := 1 }) ^ ↑t * (BandVectors.2 (q j.succ) (q 0) + BandVectors.2 (q 0) (q j.succ)))).1 ∧ bundle.normalizedFixedSlope.2 - selectedSlope.2 = ((1 / 2) • GaussianRealPoint ((-{ re := 0, im := 1 }) ^ ↑t * (BandVectors.2 (q j.succ) (q 0) + BandVectors.2 (q 0) (q j.succ)))).2 ∧ SubtileLatticeAdjacent C' bundle.normalizedFixedCircle selectedSupport bundle.normalizedFixed selectedFunction bundle.normalizedFixedFunction ∧ (bundle.normalizedPoint ∈ FootprintVertices oldRight ↔ bundle.normalizedPoint ∈ FootprintVertices (TileTranslation selectedSupport ({ re := 0, im := 1 } ^ ↑t * if Even ↑t then BandVectors.1 (q 0) (q j.succ) else BandVectors.1 (q j.succ) (q 0)))))