theorem
Hex.GraphIso.Nauty.Max.SweepInput.singletons
{n k : Nat}
{G : Colored n k}
{ctx : Ctx n}
{tcLevel fuel cfuel : Nat}
{first : Bool}
{level numcells tc tv1 index : Nat}
{cursor : Option Nat}
{cell : VSet n}
{st : Search n}
{l : Loop n}
{bs fs : List Nat}
{parents : Parents n}
(h : SweepInput G ctx tcLevel fuel cfuel first level numcells tc tv1 cursor cell index st l bs fs parents)
{t : Nat}
{p : Parent n}
(hp : parents t = some p)
:
The saved ancestor chain supplies every earlier selected singleton. No additional singleton invariant is required at the sweep entry.
theorem
Hex.GraphIso.Nauty.Max.SweepInput.child_chosen
{n k : Nat}
{G : Colored n k}
{ctx : Ctx n}
{tcLevel fuel cfuel : Nat}
{first : Bool}
{level numcells tc tv1 tv index : Nat}
{cell : VSet n}
{st : Search n}
{l : Loop n}
{bs fs : List Nat}
{parents : Parents n}
(h : SweepInput G ctx tcLevel fuel cfuel first level numcells tc tv1 (some tv) cell index st l bs fs parents)
{t : Nat}
{p : Parent n}
(hp : parents t = some p)
:
Individualizing the next target preserves all earlier chosen vertices.
theorem
Hex.GraphIso.Nauty.Max.extend_effect
{n k : Nat}
{G : Colored n k}
{t level nc mc : Nat}
{base st out : Search n}
(ht : 1 ≤ t)
(htl : t ≤ level)
(hb : SearchOk G t nc base)
(hs : SearchOk G level mc st)
(he : SearchOut G t t base st)
(ho : SearchOut G level level st out)
:
SearchOut G t t base out
A finer partition effect composes with a saved ancestor's effect, including references installed within the finer partition.