def
Hex.GraphIso.Nauty.Max.Loop.Choice
{n : Nat}
(ctx : Ctx n)
(tcLevel : Nat)
(l : Loop n)
(best : Option (Key n))
:
A target agrees with the specification, or a negative code comparison already bounds the entire frozen node by the incumbent.
Equations
- One or more equations did not get rendered due to their size.
Instances For
structure
Hex.GraphIso.Nauty.Max.Parent.Valid
{n k : Nat}
(G : Colored n k)
(ctx : Ctx n)
(tcLevel : Nat)
(p : Parent n)
:
Reference and geometric facts retained at a suspended parent.
- node : Frame.Valid G p.loop.node
- choice : Loop.Choice ctx tcLevel p.loop (SearchState.key ctx p.bs p.state)
- first : p.state.gcaFirst = p.loop.node.level → Generic.Covers (Loop.key ctx tcLevel p.loop p.state.firstlab[(Loop.prepare ctx tcLevel p.loop).snd.fst.toNat]!) (SearchState.key ctx p.bs p.state) ∧ cellsPerm (Loop.prepare ctx tcLevel p.loop).snd.snd.snd.snd.ptn p.loop.node.level (Loop.prepare ctx tcLevel p.loop).snd.snd.snd.snd.lab p.state.firstlab
Instances For
@[reducible, inline]
Suspended ancestors indexed by their sweep levels.
Equations
Instances For
def
Hex.GraphIso.Nauty.Max.Parents.frames
{n : Nat}
(ctx : Ctx n)
(tcLevel : Nat)
(parents : Parents n)
:
Frames n
Each suspended parent names its current child's specification subtree. The outermost parent also retains the root subtree at return target zero.
Equations
- One or more equations did not get rendered due to their size.
Instances For
structure
Hex.GraphIso.Nauty.Max.Scope
{n k : Nat}
(G : Colored n k)
(ctx : Ctx n)
(tcLevel level : Nat)
(cs bs : List Nat)
(st : Search n)
(parents : Parents n)
:
The current call retains each ancestor's cell frame, chosen vertex, reference location, code prefix, and previously installed incumbent.
- grows (t : Nat) (p : Parent n) : parents t = some p → Generic.Grows (SearchState.key ctx p.bs p.state) (SearchState.key ctx bs st)
- boundary (t : Nat) (p : Parent n) : parents t = some p → st.noncheaplevel = p.state.noncheaplevel ∨ t + 1 ≤ st.noncheaplevel
Instances For
def
Hex.GraphIso.Nauty.Max.Entry
{n k : Nat}
(G : Colored n k)
(ctx : Ctx n)
(tcLevel : Nat)
(first : Bool)
(f : Frame n)
(bs fs : List Nat)
:
Before the first leaf, only the first path's stored code prefix is needed. Later entries have both comparison machines and an installed incumbent.
Equations
- One or more equations did not get rendered due to their size.
Instances For
structure
Hex.GraphIso.Nauty.Max.NodeInput
{n k : Nat}
(G : Colored n k)
(ctx : Ctx n)
(tcLevel fuel : Nat)
(first : Bool)
(f : Frame n)
(bs fs : List Nat)
(parents : Parents n)
:
A node contract is quantified over its actual semantic context.
- frame : Frame.Valid G f
- entry : Entry G ctx tcLevel first f bs fs