Documentation

HexGraphIso.Nauty.Sparse.SpecMax

Retain an attaining label while comparing the full sparse keys.

Equations
Instances For
    theorem Hex.GraphIso.Nauty.Sparse.SpecLeaf.max_mem {n : Nat} (G : SparseGraph n) (a b : SpecLeaf n) :
    max G a b = a ∨ max G a b = b
    theorem Hex.GraphIso.Nauty.Sparse.SpecLeaf.key_max {n : Nat} (G : SparseGraph n) (a b : SpecLeaf n) :
    key G (max G a b) = (key G a).max (key G b)

    The first greatest leaf in enumeration order.

    Equations
    Instances For
      theorem Hex.GraphIso.Nauty.Sparse.SpecLeaf.best_mem {n : Nat} (G : SparseGraph n) (first : SpecLeaf n) (rest : List (SpecLeaf n)) :
      best G first rest ∈ first :: rest
      theorem Hex.GraphIso.Nauty.Sparse.SpecLeaf.best_bound {n : Nat} (G : SparseGraph n) (first : SpecLeaf n) (rest : List (SpecLeaf n)) (leaf : SpecLeaf n) :
      leaf ∈ first :: rest → (key G leaf).Le (key G (best G first rest))

      A reachable maximum of the complete finite sparse tree. Nonemptiness supplies the initial candidate without an arbitrary fallback.

      Equations
      Instances For

        The sparse declarative maximum, in sparse nauty's own key order.

        Equations
        Instances For

          A labelling attaining the sparse declarative maximum.

          Equations
          Instances For
            theorem Hex.GraphIso.Nauty.Sparse.canonSpecKey_eq {n k : Nat} (G : Sparse.Colored n k) {leaf : SpecLeaf n} (hm : leaf ∈ rootLeaves G) (hb : ∀ (other : SpecLeaf n), other ∈ rootLeaves G → (SpecLeaf.key G.graph other).Le (SpecLeaf.key G.graph leaf)) :

            A reachable upper bound is exactly the declarative maximum.