def
Hex.GraphIso.Nauty.Sparse.Binary.hits
(lab : Array Nat)
(pred : Nat → Bool)
(first last : Nat)
:
Equations
- Hex.GraphIso.Nauty.Sparse.Binary.hits lab pred first last = (List.filter pred (Hex.GraphIso.Nauty.Sparse.Binary.seen lab first last)).length
Instances For
Equations
- Hex.GraphIso.Nauty.Sparse.Binary.cut lab pred first last = first + (List.filter (fun (v : Nat) => !pred v) (Hex.GraphIso.Nauty.Sparse.Binary.seen lab first last)).length
Instances For
structure
Hex.GraphIso.Nauty.Sparse.Binary.Cell
{n : Nat}
(level first last : Nat)
(pred : Nat → Bool)
(s t : RefineSt n)
:
Observations of one complete executed singleton-cell body. The cut and hit count refer to its input traversal; the loop theorem derives every field from the executed compaction, reverse fill and finalization.
- control : CountTrace.control t = (((CountTrace.control s).hash first).hash (hits s.lab pred first last)).binary first (cut s.lab pred first last) last
- frame : CountFrame s t
- window : «Sort».Window s.lab t.lab first last