State carried by the unique descent before the first leaf exists.
- searchOk : SearchOk G level numcells st
- codes : DescentCodes n cs st
- cheap : CheapOk ctx (initialPartition G).fst (initPtn n (n + 2) (initialPartition G).snd) level st
- trailOk : TrailOk ctx level st trail
- workspace : WorkspaceOk st
Instances For
A nonempty root starts the first descent with empty stores, identity orbits, and no active ancestor frame.
Refining a first-descent node produces the well-formed equitable state from which either the first leaf or the next child is selected.
The selected target-cell child preserves the pre-incumbent invariant and records its exact parent sweep position in the active trail.
Reaching a discrete node installs the first leaf and enters the stable post-incumbent invariant.
A discrete node on the first descent returns an exact located receipt and the stable state installed by that leaf.
Charging target-cell statistics changes no logical search field.
Parking the cheap-automorphism boundary changes only the CheapOk
component of the stable invariant.
First and canonical controls that point at the current loop level are backed by children already absorbed into the semantic incumbent.
Instances For
Frame references survive an incumbent increase.
Recovering a state related to a valid loop entry restores the full parent invariant as well as the composable parent-level effect.
Invariant of one imperative child loop. base is the refined state
whose labelling and partition were frozen for specNode. st is the
current recovered state after zero or more children and pruning steps.
- baseOk : SearchOk G level numcells base
- run : RunInv G ctx tcLevel level codes bs fs numcells st best trail
- effect : SearchOut G level level base st
- equitable : Equitable ctx level rsLab rsPtn
- cell : IsCell rsPtn level tc len
- cover : SweepCover ctx tcLevel specFuel level codes rsLab rsPtn tc len numcells tcell cursor best
- refs : FrameRefs ctx tcLevel specFuel level codes rsLab rsPtn tc len numcells st best
Instances For
A fresh sweep freezes the current equitable target-cell frame. The strict guide bounds make current-level frame references vacuous before the first child is explored.
The current recovered partition is exactly the frozen partition.
Recovery may reorder a cell, but cannot change its vertex set.
A recursive child effect, followed by temporary fixed-point cleanup
and recover, composes back into the frozen parent frame.
A vertex selected from the mutable bitset has both its frozen specification offset and its current executable offset.
Every vertex returned by a verified sibling sweep lies in the graph vertex range. This is the cursor bound used by the fuel induction, and it is derived from the frozen target-cell membership rather than from the mutable bitset alone.
The next mutable-loop selection enters a valid recursive node while recording the corresponding frozen specification offset in the trail.
An internal off-path node reaches a fresh verified child sweep after the executable refinement, comparison, target-accounting, and cheap-rule bookkeeping. The returned target is simultaneously the executable and specification target, so the accompanying equality exposes the whole node key as this sweep's bound.
The nonnegative internal branch with a failed cheap-automorphism test parks the boundary before entering its child loop.