theorem
Hex.GraphIso.Nauty.Sparse.splitCounts_cells
{n : Nat}
(level first : Nat)
(distance : Bool)
(s : RefineSt n)
(hf : first ≤ s.cellend[first]!)
(hb : s.cellend[first]! < s.lab.size)
(hc : IsCell s.ptn level first (s.cellend[first]! + 1 - first))
:
cellsPerm s.ptn level (splitCounts level first distance s).lab s.lab
Count splitting preserves the contents of every old partition cell. The refined cells can be treated as subdivisions of the original cell.