3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +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

@ -39,6 +39,8 @@ public:
virtual ~ackr_model_converter() { }
virtual void get_units(obj_map<expr, bool>& units) { units.reset(); }
virtual void operator()(model_ref & md, unsigned goal_idx) {
SASSERT(goal_idx == 0);
SASSERT(!fixed_model || md.get() == 0 || (!md->get_num_constants() && !md->get_num_functions()));

View file

@ -43,6 +43,8 @@ public:
operator()(md, 0);
}
virtual void get_units(obj_map<expr, bool>& units) { units.reset(); }
//void display(std::ostream & out);
virtual model_converter * translate(ast_translation & translator) {