Documentation

LeanPool.Sabidussi.LocalPattern

Local difference patterns #

For every number n + 2 of transition occurrences we construct three admissible local patterns. The construction is the degree-splitting step of the manuscript written without changing the graph: remove pairs of occurrences recursively, ending with a pair or a triple.

A fixed enumeration of the three nonzero colours.

Equations
Instances For
    def Sabidussi.localDifference (n : ℕ) :
    Fin 3 → Fin (n + 2) → Color

    Three local patterns on n + 2 occurrences. For 2 occurrences the difference is constant; for 3 it is the anisotropic triple; every additional pair receives the same nonzero colour and is then removed recursively.

    Equations
    Instances For
      theorem Sabidussi.localDifference_ne_zero (n : ℕ) (c : Fin 3) (i : Fin (n + 2)) :
      theorem Sabidussi.sum_localDifference_occurrences (n : ℕ) (c : Fin 3) :
      ∑ i : Fin (n + 2), localDifference n c i = 0
      theorem Sabidussi.sum_localDifference_choices (n : ℕ) (i : Fin (n + 2)) :
      ∑ c : Fin 3, localDifference n c i = 0