I was working on a toy SMT solver (QF_UF only) and I got stuck implementing get_value and get_model since Solver::solve_limited_th reverts the state of the Theory to level 0 by calling (Theory::pop_levels) before returning. I though it would be helpful to allow these break this reverting out of Solver::solve_limited_th. Does this seem reasonable? I'm open to suggestions about naming.
I was working on a toy SMT solver (
QF_UF
only) and I got stuck implementingget_value
andget_model
sinceSolver::solve_limited_th
reverts the state of theTheory
to level 0 by calling (Theory::pop_levels
) before returning. I though it would be helpful to allow these break this reverting out ofSolver::solve_limited_th
. Does this seem reasonable? I'm open to suggestions about naming.