Documentation

HexGraphIso.Nauty.Sparse.RowOrder

theorem Hex.GraphIso.Nauty.Sparse.RowOrder.lex_lt {n : Nat} {a b : List (Fin n)} {v : Fin n} (ha : List.Pairwise (fun (x1 x2 : Fin n) => x1 < x2) a) (hb : List.Pairwise (fun (x1 x2 : Fin n) => x1 < x2) b) (hlen : a.length = b.length) (hv : v ∈ a) (hn : ¬v ∈ b) (hmin : ∀ (w : Fin n), w ∈ b → ¬w ∈ a → v < w) :

In equally long sorted rows, an exclusive member smaller than every exclusive member of the other row determines the lexicographic comparison.

theorem Hex.GraphIso.Nauty.Sparse.RowOrder.row_gt {n : Nat} {a b : List (Fin n)} {v : Fin n} (ha : List.Pairwise (fun (x1 x2 : Fin n) => x1 < x2) a) (hb : List.Pairwise (fun (x1 x2 : Fin n) => x1 < x2) b) (hlen : a.length = b.length) (hv : v ∈ a) (hn : ¬v ∈ b) (hmin : ∀ (w : Fin n), w ∈ b → ¬w ∈ a → v < w) :

Sparse nauty prefers the row containing the first differing vertex when both degrees agree.

theorem Hex.GraphIso.Nauty.Sparse.RowOrder.row_lt {n : Nat} {a b : List (Fin n)} {v : Fin n} (ha : List.Pairwise (fun (x1 x2 : Fin n) => x1 < x2) a) (hb : List.Pairwise (fun (x1 x2 : Fin n) => x1 < x2) b) (hlen : a.length = b.length) (hv : v ∈ b) (hn : ¬v ∈ a) (hmin : ∀ (w : Fin n), w ∈ a → ¬w ∈ b → v < w) :