P4638T1EmptyFordLocalization #
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.P4638T1EmptyFordLocalization
(r : Fin 4 → CircleCoordinates)
(hr : ProperBandQuadruple r)
(A B O : ProtoTile)
(hA : BandPrototile (r 0) A)
(hB : BandPrototile (r 0) B)
(hempty : O.cells = ∅)
(hline : (r 1).1 = 0)
(hAcent :
TileCentroid O - TileCentroid A = -((1 / 2) • (GaussianRealPoint (BandVectors.1 (r 3) (r 2)) - (-(GaussianRealPoint (BandVectors.1 (r 3) (r 2))).2, (GaussianRealPoint (BandVectors.1 (r 3) (r 2))).1))))
(hBcent :
TileCentroid O - TileCentroid B = (1 / 2) • (GaussianRealPoint (BandVectors.1 (r 3) (r 2)) - (-(GaussianRealPoint (BandVectors.1 (r 3) (r 2))).2, (GaussianRealPoint (BandVectors.1 (r 3) (r 2))).1)))
:
∃ (P : FordFareyParameter) (g : BandPackingSymmetry) (e : GaussianInt ≃ GaussianInt),
0 < P.q₁ ∧ 0 < P.q₂ ∧ (∀ (T : ProtoTile), (BandPackingSymmetryTileAction g T).cells = Finset.image (⇑e) T.cells) ∧ (∀ (a : GaussianInt),
O.anchor ∈ FootprintVertices { cells := {a}, anchor := a } →
have z := e a - (BandPackingSymmetryTileAction g O).anchor;
z = 0 ∨ z = -1 ∨ z = -{ re := 0, im := 1 } ∨ z = -1 - { re := 0, im := 1 }) ∧ (∀ (a : GaussianInt),
a ∈ (BandPackingSymmetryTileAction g A).cells ↔ have z := a - (BandPackingSymmetryTileAction g O).anchor;
-↑P.q₁ ≤ z.re ∧ z.re < ↑P.q₂ ∧ 0 ≤ z.im ∧ z.im < ↑(P.q₁ + P.q₂)) ∧ ∀ (a : GaussianInt),
a ∈ (BandPackingSymmetryTileAction g B).cells ↔ have z := a - (BandPackingSymmetryTileAction g O).anchor;
-↑P.q₂ ≤ z.re ∧ z.re < ↑P.q₁ ∧ -↑(P.q₁ + P.q₂) ≤ z.im ∧ z.im < 0