A leaf key of the unpruned search tree: the level codes ending with the sentinel, then the leaf's adjacency rows.
The refinement codes along the path, ending with the sentinel.
The leaf's
g^labrows in nauty's row order.
Instances For
Equations
Lexicographic list comparison from an element comparison.
Equations
- Hex.GraphIso.Nauty.listCmp cmp [] [] = Ordering.eq
- Hex.GraphIso.Nauty.listCmp cmp [] (head :: tail) = Ordering.lt
- Hex.GraphIso.Nauty.listCmp cmp (head :: tail) [] = Ordering.gt
- Hex.GraphIso.Nauty.listCmp cmp (a :: as) (b :: bs) = match cmp a b with | Ordering.eq => Hex.GraphIso.Nauty.listCmp cmp as bs | Ordering.lt => Ordering.lt | Ordering.gt => Ordering.gt
Instances For
The order on keys: level codes first, then rows in nauty's row order.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The greater key, the first argument winning ties.
Equations
- Hex.GraphIso.Nauty.keyMax k1 k2 = if Hex.GraphIso.Nauty.keyCmp k1 k2 = Ordering.lt then k2 else k1
Instances For
The maximum of a list of keys, seeded by an initial key.
Equations
- Hex.GraphIso.Nauty.keysMax k [] = k
- Hex.GraphIso.Nauty.keysMax k (k' :: rest) = Hex.GraphIso.Nauty.keysMax (Hex.GraphIso.Nauty.keyMax k k') rest
Instances For
The incumbent absorbed into a subtree's best key, an absent incumbent contributing nothing.
Equations
- Hex.GraphIso.Nauty.incMax none x✝ = x✝
- Hex.GraphIso.Nauty.incMax (some b) x✝ = Hex.GraphIso.Nauty.keyMax b x✝
Instances For
The specification's nontrivial-join test: some member of the cell
starting at c1 has a neighbour in the splitter set, and some member
misses part of it. Representative-independent, agreeing with nauty's
first-vertex test on every equitable partition.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
- Hex.GraphIso.Nauty.specBestcellRow ctx lab ptn level startArr workset v2 [] x✝ = x✝
Instances For
The key of the maximal leaf of the unpruned search tree below one node.
Equations
Instances For
The canonical key of the unpruned nauty search on n vertices with
adjacency rows g and initial ordered partition (lab0, cellEnds).
Equations
- One or more equations did not get rendered due to their size.
Instances For
The nauty-semantic canonical key of a coloured graph.
Equations
Instances For
The specification's bestcell is position-valued and invariant
under a renaming.
The specification's target cell is position-valued and invariant under a renaming.
The specification's target-cell data transports position and size unchanged and the cell set to its image.
On a discrete partition, cell-equivalent labellings agree pointwise.
The unpruned search tree's maximal leaf key is invariant under a vertex renaming: on the renamed graph with the transported labelling, every node produces the same key.
The unpruned search tree's maximal leaf key depends on the labelling only through cell contents.
The exit relation of refine_seed: labelling, partition, hint and
maxpos agree, cell counts differ by exactly the seed shift, and the
active sets agree whenever the exit partition is not discrete.
Instances For
Seed-independence of refine: two runs whose numcells seeds
differ by δ produce the same lab, ptn, hint and maxpos, cell
counts differing by exactly δ, and the same active set whenever the
exit partition is not discrete. Only longcode and numcells carry
the seed. The hypothesis rules out a guard exit on a non-discrete
partition. It holds whenever the larger seed is at most the true cell
count of (ptn, level), in particular for the counts the search
maintains.