theorem
Hex.GraphIso.Nauty.refine_discrete_iff
{n k : Nat}
{G : Colored n k}
{ctx : Ctx n}
(hn0 : 0 < n)
{level numcells : Nat}
{st : Search n}
(hok : SearchOk G level numcells st)
(hlevel : 1 ≤ level)
:
Under the search invariant, the search's refined cell-count guard agrees with the specification's discreteness guard.