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.
- form : SparseGraph n
- label : GraphIso.Label n
Instances For
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
- G.canonicalize = { form := (Hex.GraphIso.Sparse.canonicalize G.toColored).form.graph, label := (Hex.GraphIso.Sparse.canonicalize G.toColored).label }
Instances For
Equations
- G.canon = G.canonicalize.form
Instances For
Equations
- G.label = G.canonicalize.label
Instances For
Equations
Instances For
Instances For
The bare result uses precisely the native coloured search's form.
The wrapper exposes the literal optimized search's canonical-label array.
Every returned bare transporter preserves native adjacency.
Bare sparse canonical forms are invariant at every order, including the zero-colour empty case of the native wrapper.