Documentation

HexGraphIso.Nauty.Sparse.Path

inductive Hex.GraphIso.Nauty.Sparse.DescPath {n : Nat} (G : SparseGraph n) :
Nat → RefineSt n → List (Nat × Nat) → Nat → RefineSt n → Prop

A descent through literal native child calls. Each step records its target, selected offset and actual bounded scratch argument; no fresh-cache substitution or dense refinement appears in the relation.

Instances For
    theorem Hex.GraphIso.Nauty.Sparse.RefineSt.Ready.child_shape {n : Nat} {G : SparseGraph n} {level : Nat} {s : RefineSt n} (h : Ready G level s) {tc len o : Nat} (hc : IsCell s.ptn level tc len) (hb : tc + len ≤ n) (hn : 1 < len) (ho : o < len) (scratch : Scratch) (hs : Scratch.Bounded n scratch) (hshape : NodeShape n level s.ptn) :
    NodeShape n (level + 1) (RefineSt.child (Graph.ofGraph G) level s tc s.lab[tc + o]! scratch).ptn

    The precise cached child call preserves the shape supplied by a cheap ancestor: individualization and native refinement only add boundaries.

    theorem Hex.GraphIso.Nauty.Sparse.DescPath.length {n : Nat} {G : SparseGraph n} {base last : Nat} {root leaf : RefineSt n} {path : List (Nat × Nat)} (h : DescPath G base root path last leaf) :
    last = base + path.length
    theorem Hex.GraphIso.Nauty.Sparse.DescPath.ready {n : Nat} {G : SparseGraph n} {base last : Nat} {root leaf : RefineSt n} {path : List (Nat × Nat)} (h : DescPath G base root path last leaf) (hr : RefineSt.Ready G base root) :
    RefineSt.Ready G last leaf
    theorem Hex.GraphIso.Nauty.Sparse.DescPath.shape {n : Nat} {G : SparseGraph n} {base last : Nat} {root leaf : RefineSt n} {path : List (Nat × Nat)} (h : DescPath G base root path last leaf) (hr : RefineSt.Ready G base root) (hshape : NodeShape n base root.ptn) :
    NodeShape n last leaf.ptn
    theorem Hex.GraphIso.Nauty.Sparse.DescPath.append {n : Nat} {G : SparseGraph n} {base last : Nat} {root leaf middle : RefineSt n} {level : Nat} {xs ys : List (Nat × Nat)} (h : DescPath G base root xs level middle) (h' : DescPath G level middle ys last leaf) :
    DescPath G base root (xs ++ ys) last leaf