P5203T1DecreasingInterface #
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.P5203T1DecreasingInterface
(k : ℕ)
(hk : 0 < k)
(u : GaussianInt)
:
have T := TileTranslation (DiamondTile k) u;
have U := TileTranslation (DiamondTile k) (u + { re := ↑k + 1, im := ↑k });
have p := fun (j : ℕ) => u + { re := ↑k - ↑(j / 2), im := ↑k + ↑((j + 1) / 2) };
have V :=
{z : GaussianInt | 1 ≤ (z - u).re ∧ (z - u).re ≤ ↑k ∧ 2 * ↑k ≤ (z - u).re + (z - u).im ∧ (z - u).re + (z - u).im ≤ 2 * ↑k + 1};
have E := {e : Finset GaussianInt | ∃ j < 2 * k - 1, e = {p j, p (j + 1)}};
Finset.Nonempty T.cells ∧ Finset.Nonempty U.cells ∧ Disjoint T.cells U.cells ∧ BoundaryFootprintVertices T ∩ BoundaryFootprintVertices U = V ∧ BoundaryFootprintEdges T ∩ BoundaryFootprintEdges U = E ∧ SimpleGridPath V E