Documentation

LeanPool.ApollonianSuperharmonic.P4194T1DiamondBoundaryLedger

P4194T1DiamondBoundaryLedger #

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.

@[instance_reducible]

Classical decidability of membership in a tile's boundary vertices.

Equations
Instances For
    theorem ApollonianSuperharmonic.P4194T1DiamondBoundaryLedger (m : ℕ) (hm : 1 < m) (C : Fin 3 → Bool → ProtoTile) (h00 : C 0 true = { cells := {{ re := -↑m, im := ↑m - 1 }}, anchor := { re := -↑m, im := ↑m - 1 } }) (h01 : C 0 false = { cells := {{ re := ↑m - 1, im := ↑m }}, anchor := { re := ↑m - 1, im := ↑m } }) (h10 : C 1 true = { cells := {{ re := ↑m - 1, im := ↑m - 1 }}, anchor := { re := ↑m - 1, im := ↑m - 1 } }) (h11 : C 1 false = { cells := {{ re := -↑m, im := ↑m }}, anchor := { re := -↑m, im := ↑m } }) (h2f : C 2 false = DiamondTile (m - 1)) (h2t : C 2 true = TileTranslation (DiamondTile (m - 1)) { re := 0, im := 2 }) (z : GaussianInt) (hz : ∀ (j : Fin 4), LatticeVertexIncidentCell z j ∈ DiamondCellDomain m) :
    have k := Nat.card { a : Fin 3 × Bool // z ∈ BoundaryFootprintVertices (C a.1 a.2) }; (k = 2 ↔ z.im = ↑m ∧ (z.re = ↑m - 2 ∨ z.re = -(↑m - 2))) ∧ k ≠ 3 ∧ (k = 4 ↔ z.im = ↑m ∧ (z.re = ↑m - 1 ∨ z.re = -(↑m - 1))) ∧ (z.im ≠ ↑m → k ≤ 1) ∧ (z.im = ↑m → (k = 0 ↔ -(↑m - 3) ≤ z.re ∧ z.re ≤ ↑m - 3)) ∧ ((k = 2 ∨ k = 4) ∨ ∃ (s : Bool), ∀ (j : Fin 4), LatticeVertexIncidentCell z j ∈ (C 2 s).cells)