Documentation

HexGraphIso.Nauty.Sparse.Literal.Check

def Hex.GraphIso.Nauty.Sparse.Literal.checkNode {n : Nat} (G : SparseGraph n) (tcLevel : Nat) :
Nat → Nat → Array Nat → Array Nat → VSet n → Nat → CertNode → Key n → Option Bool

Replay a sparse subtree against its claimed maximum suffix. Failure is inconclusive; success records whether an actual leaf attains the bound.

Equations
Instances For

    Check a sparse key from the actual stable ordered colour buckets. The empty input retains its unique empty label and terminal sentinel.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For

      Literal replay follows exactly the specification checker. Only the bounded iterator spelling changes; native sparse operations and all proof rules retain their values.

      theorem Hex.GraphIso.Nauty.Sparse.Literal.checkKey_sound {n k : Nat} {G : Sparse.Colored n k} {cert : CertNode} {B : Key n} (h : checkKey G cert B = true) :

      Kernel acceptance of the literal sparse replay identifies the full canonical key.

      theorem Hex.GraphIso.Nauty.Sparse.Literal.not_isomorphic_of_checkKeys {n k : Nat} {G H : Sparse.Colored n k} {cg ch : CertNode} {bg bh : Key n} (hg : checkKey G cg bg = true) (hh : checkKey H ch bh = true) (hd : checkDiff bg bh = true) :