Documentation

LeanPool.ApollonianSuperharmonic.BandOrderedGeneralMixedAggregatePatches

BandOrderedGeneralMixedAggregatePatches #

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.BandOrderedGeneralMixedAggregatePatches (q : Fin 4 → CircleCoordinates) (cfg : BandOrderedGeneralConfiguration q) (C₀ : BandCircle) (T : ProtoTile) (cert : BandOrderedGeneralLayoutCertificate q cfg C₀ T) (hsym : QuarterTurnSymmetric T) :
have junctionData := fun (A B C : ProtoTile) => ∃ (AB : ProtoTile) (BC : ProtoTile) (CA : ProtoTile) (ABC : ProtoTile), LatticeTile A ∧ LatticeTile B ∧ LatticeTile C ∧ LatticeTile AB ∧ LatticeTile BC ∧ LatticeTile CA ∧ LatticeTile ABC ∧ Disjoint A.cells B.cells ∧ Disjoint B.cells C.cells ∧ Disjoint C.cells A.cells ∧ (∀ (z : LatticeCell), z ∈ AB.cells ↔ z ∈ A.cells ∨ z ∈ B.cells) ∧ (∀ (z : LatticeCell), z ∈ BC.cells ↔ z ∈ B.cells ∨ z ∈ C.cells) ∧ (∀ (z : LatticeCell), z ∈ CA.cells ↔ z ∈ C.cells ∨ z ∈ A.cells) ∧ (∀ (z : LatticeCell), z ∈ ABC.cells ↔ z ∈ A.cells ∨ z ∈ B.cells ∨ z ∈ C.cells) ∧ (FootprintEdges A ∩ FootprintEdges B).Nonempty ∧ (FootprintEdges B ∩ FootprintEdges C).Nonempty ∧ (FootprintEdges C ∩ FootprintEdges A).Nonempty; have pairedEndpointData := fun (i : Fin 3) (s : Fin 4) (U V : ProtoTile) => have uR := { re := 0, im := 1 } ^ ↑s * if Even ↑s then BandVectors.1 (q 0) (q i.succ) else BandVectors.1 (q i.succ) (q 0); have uL := { re := 0, im := 1 } ^ ↑s * if Even ↑s then BandVectors.1 (q i.succ) (q 0) else BandVectors.1 (q 0) (q i.succ); ∃ (rightData : ExactTileInterfaceTriple T (TileTranslation T uR) U) (incomingData : ExactTileInterfaceTriple T (TileTranslation T uL) U) (t5Data : ExactTileInterfaceTriple T U V), rightData.point = t5Data.point ∧ incomingData.point ≠ t5Data.point ∧ incomingData.otherCA = t5Data.point ∧ rightData.otherCA = incomingData.point ∧ t5Data.otherAB = incomingData.point; (∀ (i : Fin 3) (U : ProtoTile), BandPrototile (q i.succ) U → TileCentroid U - TileCentroid T = (1 / 2) • (GaussianRealPoint (BandVectors.1 (q i.succ) (q 0)) + GaussianRealPoint (BandVectors.1 (q 0) (q i.succ))) → junctionData T (TileTranslation T (BandVectors.1 (q i.succ) (q 0))) U) ∧ (∀ (i : Fin 3) (U V : ProtoTile), BandPrototile (q i.succ) U → BandPrototile (q (i + 1).succ) V → TileCentroid U - TileCentroid T = (1 / 2) • (GaussianRealPoint (BandVectors.1 (q i.succ) (q 0)) + GaussianRealPoint (BandVectors.1 (q 0) (q i.succ))) → TileCentroid V - TileCentroid T = (1 / 2) • (GaussianRealPoint (BandVectors.1 (q (i + 1).succ) (q 0)) - GaussianRealPoint (BandVectors.1 (q 0) (q (i + 1).succ))) → junctionData T U V) ∧ ∀ (i : Fin 3) (s : Fin 4) (U V : ProtoTile), BandPrototile (q i.succ) U → BandPrototile (q (if Even ↑s then i + 1 else i - 1).succ) V → TileCentroid U - TileCentroid T = (1 / 2) • GaussianRealPoint ({ re := 0, im := 1 } ^ ↑s * (BandVectors.1 (q i.succ) (q 0) + BandVectors.1 (q 0) (q i.succ))) → TileCentroid V - TileCentroid T = (1 / 2) • GaussianRealPoint ({ re := 0, im := 1 } ^ ↑s * if Even ↑s then BandVectors.1 (q (i + 1).succ) (q 0) - BandVectors.1 (q 0) (q (i + 1).succ) else BandVectors.1 (q 0) (q (i - 1).succ) - BandVectors.1 (q (i - 1).succ) (q 0)) → pairedEndpointData i s U V