3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-26 13:06:05 +00:00

add unit extraction

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-03-06 01:08:17 -08:00
parent 75ba65a18a
commit 718e5a9b6c
27 changed files with 207 additions and 76 deletions

View file

@ -203,6 +203,11 @@ public:
virtual model_converter_ref get_model_converter() const { return m_mc0; }
/**
\brief extract units from solver.
*/
expr_ref_vector get_units(ast_manager& m);
class scoped_push {
solver& s;
bool m_nopop;
@ -220,7 +225,6 @@ protected:
bool is_literal(ast_manager& m, expr* e);
void hoist_converter(model_converter_ref& mc);
};
typedef ref<solver> solver_ref;