Documentation

HexGraphIso.Sparse.UncoloredOps

The native uncoloured view has one colour on nonempty graphs and no colours on the empty graph. Both cases retain the original sparse graph.

Equations
Instances For

    The zero-or-one-colour view has precisely the bare graph's forward isomorphisms, including the empty graph.

    A bare sparse canonical form and its new-to-old labelling.

    Instances For
      def Hex.SparseGraph.instDecidableEqCanonResult.decEq {n✝ : Nat} (x✝ x✝¹ : CanonResult n✝) :
      Decidable (x✝ = x✝¹)
      Equations
      Instances For

        Total native canonicalization of a bare sparse graph. The internal colouring represents its sole cell, including the zero-cell empty case.

        Equations
        Instances For
          Equations
          Instances For
            Equations
            Instances For
              Equations
              Instances For

                The bare result uses precisely the native coloured search's form.

                The wrapper exposes the literal optimized search's canonical-label array.

                theorem Hex.SparseGraph.findIso_sound {n : Nat} {G H : SparseGraph n} {p : Perm n} (h : G.findIso H = some p) :
                G.IsIso H p

                Every returned bare transporter preserves native adjacency.

                theorem Hex.SparseGraph.canon_invariant {n : Nat} {G H : SparseGraph n} (h : G.Isomorphic H) :

                Bare sparse canonical forms are invariant at every order, including the zero-colour empty case of the native wrapper.