Closed c-cube closed 7 years ago
Would it be enough to have such a fonction in the signature of the solver, or do you need it in the slice ? Also note that such a function would add literals to the set of literals on which to decide, so that they will be decided on at some time later in the algorithm, but not right away.
I'm aware they will not be decided just yet, sure. It can be in the signature directly, I guess?
Also:
val reset : unit -> unit
to go back to level 0 without solving again immediately. Should backtrack the theory as well, but not forget the learnt clauses.
About the reset
function, two things:
base_level
(i.e. level 0 plus the local/temp assumptions)Would that be sufficient ? If not, what exactly would be your use case of reset
?
bah, should be fine anyway.
Closed with 928622b5115e3c2247de196a6b8ab9c715ccd047
would be nice to have
add_lit: lit -> unit
that forces the solver to decide on this literal, even if there is no constraint on it yet.