Word-RAM forget node handler #
This module certifies forgetNodeProg (along with the private loops forgetInnerProg and
forgetFillProg). It uses eraseBagProg, radixProjProg, powProg, bagMemProg, and the shared
descriptor/table-fill infrastructure (NodeDesc), and has no dependency on ConstraintScan,
LeafIntro, or Join.
Main definitions #
Cslib.Algorithms.WordRAM.TreeDecomposition.ForgetNodeArgs,Cslib.Algorithms.WordRAM.TreeDecomposition.forgetNodeProg:forgetnode handler.
Main results #
Cslib.Algorithms.WordRAM.TreeDecomposition.forgetNodeProg_spec,Cslib.Algorithms.WordRAM.TreeDecomposition.forgetNodeProg_realizes: correctness and realization offorgetNodeProg.
3. Forget node handler (forgetInnerProg, forgetFillProg, forgetNodeProg) #
Register arguments for the forget node handler forgetNodeProg.
- mode : ℕ
Mode flag (
1for exact model counting,0for satisfiability). - q : ℕ
Domain size
q. - v : ℕ
Forgotten variable label
v. - varsPtr : ℕ
Base address of the serialized CSP active-variable list
vars. - varsLen : ℕ
Length of the serialized
varslist. - dChild : ℕ
Base address of the child node's 4-word descriptor slot.
- dCur : ℕ
Base address of the current node's 4-word descriptor slot.
Instances For
Erase a.v from the child bag, aggregate DP entries over a.v, and write the descriptor
for a forget node.
Memory validity, framing, NodeDescAt, and cost bound for forgetNodeProg.
Exact-basis Word-RAM realization certificate for forgetNodeProg.