P5635T1EndpointDiagonalOwnership #
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.P5635T1EndpointDiagonalOwnership
{ι : Type}
(P : PeriodicTileComplex ι)
(owner : GaussianInt → ι)
(owner_mem_iff : ∀ (c : GaussianInt) (a : ι), c ∈ (P.tile a).cells ↔ owner c = a)
(owner_no_fourfold :
∀ (x : GaussianInt),
owner (LatticeVertexIncidentCell x 0) = owner (LatticeVertexIncidentCell x 1) ∨ owner (LatticeVertexIncidentCell x 0) = owner (LatticeVertexIncidentCell x 2) ∨ owner (LatticeVertexIncidentCell x 0) = owner (LatticeVertexIncidentCell x 3) ∨ owner (LatticeVertexIncidentCell x 1) = owner (LatticeVertexIncidentCell x 2) ∨ owner (LatticeVertexIncidentCell x 1) = owner (LatticeVertexIncidentCell x 3) ∨ owner (LatticeVertexIncidentCell x 2) = owner (LatticeVertexIncidentCell x 3))
(T0 T0' R U V : ProtoTile)
(E : ExactTileInterfaceTriple T0 T0' R)
(hT : LatticeTile T0)
(hT' : LatticeTile T0')
(hR : LatticeTile R)
(hdis : Disjoint T0.cells T0'.cells)
(hTm : Disjoint T0.cells R.cells)
(hT'm : Disjoint T0'.cells R.cells)
(hreg : ∀ x ∈ FootprintVertices T0, ∀ y ∈ FootprintVertices T0, FourNeighborAdjacent x y → {x, y} ∈ FootprintEdges T0)
(hreg' :
∀ x ∈ FootprintVertices T0', ∀ y ∈ FootprintVertices T0', FourNeighborAdjacent x y → {x, y} ∈ FootprintEdges T0')
(endpointIndex ia ib : ι)
(hRidx : P.tile endpointIndex = R)
(hUidx : P.tile ia = U)
(hVidx : P.tile ib = V)
(hidxne : ia ≠ ib)
(hUsub : U.cells ⊆ T0.cells)
(hVsub : V.cells ⊆ T0'.cells)
(x y : GaussianInt)
(hstart : x = E.point)
(hstar :
∀ (z : GaussianInt),
z = x ∨ z = x + 1 ∨ z = x - 1 ∨ z = x + { re := 0, im := 1 } ∨ z = x - { re := 0, im := 1 } →
z ∈ FootprintVertices T0 ∨ z ∈ FootprintVertices T0')
(hedgeUV : {x, y} ∈ FootprintEdges U ∩ FootprintEdges V)
(hEndpointEdge : ∀ (e : Finset GaussianInt), x ∈ e → e ∈ FootprintEdges T0 ∩ FootprintEdges T0' → e = {x, y})
: