P5290T1ColumnReflection #
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.P5290T1ColumnReflection
(k : ℕ)
(hk : 0 < k)
(i : Fin 3)
(hi : i ≠ 2)
(hreg : 1 < k ∨ i = 1)
:
have j := if i = 0 then 1 else 0;
have S := P5260T1PlacementLedger k i false;
have T := P5260T1PlacementLedger k j true;
have D := DiamondTile k;
have J := fun (z : GaussianInt) => { re := z.re, im := 2 * ↑k - z.im };
have rows :=
[(D, D), (TileTranslation D S.2.1.1, TileTranslation D T.2.1.1), (TileTranslation D S.2.1.2, TileTranslation D T.2.1.2), (S.1.1, T.1.1), (S.1.2, T.1.2)];
(∀ (A B : ProtoTile),
(A, B) ∈ rows →
FootprintVertices B = J '' FootprintVertices A ∧ FootprintEdges B = (fun (e : Finset GaussianInt) => Finset.image J e) '' FootprintEdges A) ∧ J S.2.2.1 = T.2.2.1 ∧ J S.2.2.2 = T.2.2.2