@[irreducible]
Equations
- Evaluate.evaluate O I = match h : O.bdd.root with | Pointer.terminal b => b | Pointer.node j => bif I[O.bdd.heap[j].var] then Evaluate.evaluate (O.high h) I else Evaluate.evaluate (O.low h) I
Instances For
theorem
Evaluate.evaluate_terminal
{n m : ℕ}
{O : OBdd n m}
{b : Bool}
:
O.bdd.root = Pointer.terminal b → evaluate O = Function.const (Vector Bool n) b