3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-30 20:35:51 +00:00

bugfixes to hsmax

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-06-14 17:29:53 -07:00
parent 5427964c54
commit 7fbe7124f9
4 changed files with 24 additions and 75 deletions

View file

@ -71,23 +71,6 @@ namespace pdr {
virtual expr* get_unsat_core_expr(unsigned i) { return m_context.get_unsat_core_expr(i); }
};
// TBD:
class sat_context : public smt_context {
sat::solver m_solver;
public:
sat_context(smt::kernel & ctx, smt_context_manager& p, app* pred);
virtual ~sat_context() {}
virtual void assert_expr(expr* e);
virtual lbool check(expr_ref_vector& assumptions);
virtual void get_model(model_ref& model);
virtual proof* get_proof();
virtual void pop() { m_solver.pop(1); }
virtual void push() { m_solver.push(); }
// TBD: add unsat core extraction with sat::solver.
virtual unsigned get_unsat_core_size();
virtual expr* get_unsat_core_expr(unsigned i);
};
class smt_context_manager {
smt_params& m_fparams;
ast_manager& m;