P5203T1IncreasingInterface #
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.P5203T1IncreasingInterface
(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 := 1 + ↑(j / 2), im := ↑((j + 1) / 2) };
have V := {z : GaussianInt | 1 ≤ (z - u).re ∧ (z - u).re ≤ ↑k ∧ (z - u).re - 1 ≤ (z - u).im ∧ (z - u).im ≤ (z - u).re};
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