Valid input views are precisely native simple sparse graphs.
Equations
Instances For
structure
Hex.GraphIso.Nauty.Sparse.Rows.Prefix
{n : Nat}
(R : Rows n)
(G : SparseGraph n)
(count : Nat)
:
A partially installed canonical graph. Only its first count rows and
their offsets describe G; the remaining entries are allocated scratch.
Rows retain their unsorted nauty order, so row correctness is a permutation.
Instances For
theorem
Hex.GraphIso.Nauty.Sparse.Rows.Prefix.mono
{n : Nat}
{R : Rows n}
{G : SparseGraph n}
{count small : Nat}
(h : R.Prefix G count)
(hs : small ≤ count)
:
R.Prefix G small
theorem
Hex.GraphIso.Nauty.Sparse.Rows.Prefix.mem_iff
{n : Nat}
{R : Rows n}
{G : SparseGraph n}
{count : Nat}
(h : R.Prefix G count)
(i v : Fin n)
(hi : ↑i < count)
:
Membership in an installed row agrees with the canonical graph.
theorem
Hex.GraphIso.Nauty.Sparse.Rows.Prefix.blank
{n : Nat}
(G : SparseGraph n)
:
(Graph.ofGraph G).blank.Prefix G 0