The two-pointer partition, characterized: the final pointers are the adjacency count of the cell multiset, positions outside the cell are untouched, and the two output segments are permutations of the adjacency filters.
A maximal run of the partition at level: len positions from a,
open on the inside and closed at both ends.
Equations
Instances For
Splitting one cell at an interior boundary: the new partition's cells are the two halves of the split cell and the untouched old cells, so cell-contents equivalence follows from equivalence of the halves and of every disjoint old cell.
Equal position-level fields with cell-multiset-equal labellings, relative to the state's own partition.
Instances For
A cell-equivalent state is its partner with the labelling swapped out.
The split bookkeeping never reads the labelling, so it commutes with swapping the labelling out.
One trivial-splitter cell preserves cell-contents equivalence: the positional results agree and the labellings stay cell-equivalent for the result's partition.
The trivial-splitter pass preserves cell-contents equivalence.
Cell-contents equivalence after arbitrary partition edits confined to the interior of one old cell: every new cell either lies inside the edited region (equivalence supplied per new cell) or is an untouched old cell.
The running minimum seeded by the head is permutation-invariant.
The running maximum seeded by the head is permutation-invariant.