theorem
Hex.GraphIso.Nauty.Selects.reference
{n : Nat}
{ctx : Ctx n}
{tcLevel level : Nat}
{root : RefineSt n}
{path : List (Nat × Nat)}
(h : Selects ctx tcLevel level root path)
:
Generation.referenceTargets ctx tcLevel level root path
The selected descent uses the same target rule as a reference occurrence.
theorem
Hex.GraphIso.Nauty.FirstRef.occurs
{n : Nat}
{ctx : Ctx n}
{tcLevel level : Nat}
{root : RefineSt n}
{st : Search n}
(h : FirstRef ctx tcLevel level root st)
:
A saved first descent supplies occurrence and exact stored matching, including the terminal sentinel. Neither conclusion assumes key maximality.
theorem
Hex.GraphIso.Nauty.FirstPre.occurs
{n k : Nat}
{G : Colored n k}
{ctx : Ctx n}
{inf tcLevel fuel level numcells : Nat}
{st : Search n}
(h : FirstPre G ctx level numcells st)
(hn0 : 0 < n)
(hsymm : ∀ (u v : Nat), u < n → v < n → ctx.g[u]!.mem v = ctx.g[v]!.mem u)
(hempty : st.genTrace = #[])
(hfuel : n + 1 ≤ level + fuel)
:
A valid first call produces a matching occurrence from its actual descent, without assuming the call's maximum or its return level.