theorem
Hex.GraphIso.Nauty.Sparse.binary_cells_map
{before lab : Array Nat}
{first last : Nat}
{other out ptn : Array Nat}
{level cut : Nat}
(f : Nat → Nat)
(hs : «Sort».Window before lab first last)
(ht : «Sort».Window other out first last)
(hbs : last ≤ before.size)
(hbt : last ≤ other.size)
(hbp : last ≤ ptn.size)
(hc : IsCell ptn level first (last - first))
(hf : first ≤ cut)
(he : cut ≤ last)
(hp : cellsPerm ptn level other (Array.map f before))
(hl : (segN out first (cut - first)).Perm (segN (Array.map f lab) first (cut - first)))
(hr : (segN out cut (last - cut)).Perm (segN (Array.map f lab) cut (last - cut)))
:
Two transported binary fragments and their exterior windows determine cell equivalence for the entire updated partition. Uniform classes retain the old partition and use the whole-window permutation contract.