MarkedOdometerAdjacencyReduction #
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.MarkedOdometerAdjacencyReduction :
(∀ (C : BandCircle) (T T₀ : ProtoTile) (h h₀ : PartialOdometer) (x : GaussianInt),
¬((∃ (g : BandPackingSymmetry) (P : FordFareyParameter),
BandPackingSymmetryCircleAction g (FordCircleCoordinate P.p P.q) = ↑↑C) ∨ ∃ (g : BandPackingSymmetry) (K : DiamondParameter),
BandPackingSymmetryCircleAction g (DiamondRecursiveQuadruple K 0) = ↑↑C) →
RightLatticeAdjacent C T T₀ h h₀ →
x ∈ h.domain →
x ∈ h₀.domain →
(∀ (y : GaussianInt),
y = x ∨ y = x + 1 ∨ y = x - 1 ∨ y = x + { re := 0, im := 1 } ∨ y = x - { re := 0, im := 1 } →
y ∈ h.domain ∨ y ∈ h₀.domain) →
∃ (C' : BandCircle) (T' : ProtoTile) (h' : PartialOdometer) (p₀ : ℝ × ℝ) (p' : ℝ × ℝ) (q :
Fin 4 → CircleCoordinates) (i : Fin 3) (s : Fin 4),
TileSubodometer (↑↑C) (↑↑C') T T' h h' ∧ PartialOdometerSlope h₀ = some p₀ ∧ PartialOdometerSlope h' = some p' ∧ ProperBandQuadruple q ∧ q 0 = ↑↑C ∧ q i.succ = ↑↑C' ∧ TileCentroid T' - TileCentroid T₀ = (1 / 2) • GaussianRealPoint
({ re := 0, im := 1 } ^ ↑s * (BandVectors.1 (q i.succ) (q 0) + BandVectors.1 (q 0) (q i.succ))) ∧ p'.1 - p₀.1 = ((1 / 2) • GaussianRealPoint
((-{ re := 0, im := 1 }) ^ ↑s * (BandVectors.2 (q i.succ) (q 0) + BandVectors.2 (q 0) (q i.succ)))).1 ∧ p'.2 - p₀.2 = ((1 / 2) • GaussianRealPoint
((-{ re := 0, im := 1 }) ^ ↑s * (BandVectors.2 (q i.succ) (q 0) + BandVectors.2 (q 0) (q i.succ)))).2 ∧ SubtileLatticeAdjacent C C' T₀ T' h₀ h' ∧ x ∈ h₀.domain ∧ x ∈ h'.domain ∧ (∀ (y : GaussianInt),
y = x ∨ y = x + 1 ∨ y = x - 1 ∨ y = x + { re := 0, im := 1 } ∨ y = x - { re := 0, im := 1 } →
y ∈ h₀.domain ∨ y ∈ h'.domain) ∧ (↑↑C).1.toNat + (↑↑C').1.toNat < (↑↑C).1.toNat + (↑↑C).1.toNat ∧ ((¬∀ (z : GaussianInt),
z = x ∨ z = x - 1 ∨ z = x - { re := 0, im := 1 } ∨ z = x - 1 - { re := 0, im := 1 } →
z ∈ T.cells ∨ z ∈ T₀.cells) ↔ x ∈ FootprintVertices
(TileTranslation T₀
({ re := 0, im := 1 } ^ ↑s * if Even ↑s then BandVectors.1 (q 0) (q i.succ)
else BandVectors.1 (q i.succ) (q 0))))) ∧ ∀ (C₀ Cᵢ : BandCircle) (q : Fin 4 → CircleCoordinates) (i : Fin 3) (s : Fin 4) (T₀ Tᵢ : ProtoTile)
(h₀ hᵢ : PartialOdometer) (x : GaussianInt) (p₀ pᵢ : ℝ × ℝ),
¬((∃ (g : BandPackingSymmetry) (P : FordFareyParameter),
BandPackingSymmetryCircleAction g (FordCircleCoordinate P.p P.q) = ↑↑C₀) ∨ ∃ (g : BandPackingSymmetry) (K : DiamondParameter),
BandPackingSymmetryCircleAction g (DiamondRecursiveQuadruple K 0) = ↑↑C₀) →
ProperBandQuadruple q →
q 0 = ↑↑C₀ →
q i.succ = ↑↑Cᵢ →
PartialOdometerSlope h₀ = some p₀ →
PartialOdometerSlope hᵢ = some pᵢ →
TileCentroid Tᵢ - TileCentroid T₀ = (1 / 2) • GaussianRealPoint
({ re := 0, im := 1 } ^ ↑s * (BandVectors.1 (q i.succ) (q 0) + BandVectors.1 (q 0) (q i.succ))) →
pᵢ.1 - p₀.1 = ((1 / 2) • GaussianRealPoint
((-{ re := 0, im := 1 }) ^ ↑s * (BandVectors.2 (q i.succ) (q 0) + BandVectors.2 (q 0) (q i.succ)))).1 →
pᵢ.2 - p₀.2 = ((1 / 2) • GaussianRealPoint
((-{ re := 0, im := 1 }) ^ ↑s * (BandVectors.2 (q i.succ) (q 0) + BandVectors.2 (q 0) (q i.succ)))).2 →
SubtileLatticeAdjacent C₀ Cᵢ T₀ Tᵢ h₀ hᵢ →
x ∈ h₀.domain →
x ∈ hᵢ.domain →
(∀ (y : GaussianInt),
y = x ∨ y = x + 1 ∨ y = x - 1 ∨ y = x + { re := 0, im := 1 } ∨ y = x - { re := 0, im := 1 } →
y ∈ h₀.domain ∨ y ∈ hᵢ.domain) →
have oldUR :=
TileTranslation T₀
({ re := 0, im := 1 } ^ ↑s * if Even ↑s then BandVectors.1 (q 0) (q i.succ) else BandVectors.1 (q i.succ) (q 0));
∃ (C' : BandCircle) (T' : ProtoTile) (h' : PartialOdometer),
TileSubodometer (↑↑C₀) (↑↑C') T₀ T' h₀ h' ∧ x ∈ hᵢ.domain ∧ x ∈ h'.domain ∧ (∀ (y : GaussianInt),
y = x ∨ y = x + 1 ∨ y = x - 1 ∨ y = x + { re := 0, im := 1 } ∨ y = x - { re := 0, im := 1 } →
y ∈ hᵢ.domain ∨ y ∈ h'.domain) ∧ (↑↑Cᵢ).1.toNat + (↑↑C').1.toNat < (↑↑C₀).1.toNat + (↑↑Cᵢ).1.toNat ∧ (C' = Cᵢ ∧ LeftLatticeAdjacent Cᵢ Tᵢ T' hᵢ h' ∧ x ∉ FootprintVertices oldUR ∨ (∃ (a₀ : ℝ × ℝ) (a' : ℝ × ℝ) (r : Fin 4 → CircleCoordinates) (j : Fin 3) (t
: Fin 4),
PartialOdometerSlope hᵢ = some a₀ ∧ PartialOdometerSlope h' = some a' ∧ ProperBandQuadruple r ∧ r 0 = ↑↑Cᵢ ∧ r j.succ = ↑↑C' ∧ TileCentroid T' - TileCentroid Tᵢ = (1 / 2) • GaussianRealPoint
({ re := 0, im := 1 } ^ ↑t * (BandVectors.1 (r j.succ) (r 0) + BandVectors.1 (r 0) (r j.succ))) ∧ a'.1 - a₀.1 = ((1 / 2) • GaussianRealPoint
((-{ re := 0, im := 1 }) ^ ↑t * (BandVectors.2 (r j.succ) (r 0) + BandVectors.2 (r 0) (r j.succ)))).1 ∧ a'.2 - a₀.2 = ((1 / 2) • GaussianRealPoint
((-{ re := 0, im := 1 }) ^ ↑t * (BandVectors.2 (r j.succ) (r 0) + BandVectors.2 (r 0) (r j.succ)))).2 ∧ SubtileLatticeAdjacent Cᵢ C' Tᵢ T' hᵢ h' ∧ (x ∈ FootprintVertices oldUR ↔ x ∈ FootprintVertices (TileTranslation Tᵢ ⋯))) ∨ ∃ (a₀ : ℝ × ℝ) (aᵢ : ℝ × ℝ) (r : Fin 4 → CircleCoordinates) (j : Fin 3) (t
: Fin 4),
PartialOdometerSlope h' = some a₀ ∧ PartialOdometerSlope hᵢ = some aᵢ ∧ ProperBandQuadruple r ∧ r 0 = ↑↑C' ∧ r j.succ = ↑↑Cᵢ ∧ TileCentroid Tᵢ - TileCentroid T' = (1 / 2) • GaussianRealPoint
({ re := 0, im := 1 } ^ ↑t * (BandVectors.1 (r j.succ) (r 0) + BandVectors.1 (r 0) (r j.succ))) ∧ aᵢ.1 - a₀.1 = ((1 / 2) • GaussianRealPoint
((-{ re := 0, im := 1 }) ^ ↑t * (BandVectors.2 (r j.succ) (r 0) + BandVectors.2 (r 0) (r j.succ)))).1 ∧ aᵢ.2 - a₀.2 = ((1 / 2) • GaussianRealPoint
((-{ re := 0, im := 1 }) ^ ↑t * (BandVectors.2 (r j.succ) (r 0) + BandVectors.2 (r 0) (r j.succ)))).2 ∧ SubtileLatticeAdjacent C' Cᵢ T' Tᵢ h' hᵢ ∧ (x ∈ FootprintVertices oldUR ↔ x ∈ FootprintVertices (TileTranslation T' ⋯)))