mirror of
https://github.com/Z3Prover/z3
synced 2025-08-24 20:16:00 +00:00
core opt
This commit is contained in:
parent
127af83c53
commit
386c511f54
8 changed files with 182 additions and 56 deletions
|
@ -34,15 +34,19 @@ Notes:
|
|||
#include "sat/smt/sat_internalizer.h"
|
||||
|
||||
class goal2sat {
|
||||
public:
|
||||
typedef obj_map<expr, sat::literal> dep2asm_map;
|
||||
private:
|
||||
struct imp;
|
||||
imp * m_imp;
|
||||
unsigned m_scopes { 0 };
|
||||
unsigned m_scopes = 0;
|
||||
|
||||
void init(ast_manager& m, params_ref const & p, sat::solver_core & t, atom2bool_var & map, dep2asm_map& dep2asm, bool default_external);
|
||||
|
||||
public:
|
||||
goal2sat();
|
||||
~goal2sat();
|
||||
|
||||
typedef obj_map<expr, sat::literal> dep2asm_map;
|
||||
|
||||
static void collect_param_descrs(param_descrs & r);
|
||||
|
||||
|
@ -60,6 +64,10 @@ public:
|
|||
*/
|
||||
void operator()(goal const & g, params_ref const & p, sat::solver_core & t, atom2bool_var & m, dep2asm_map& dep2asm, bool default_external = false);
|
||||
|
||||
void operator()(ast_manager& m, unsigned n, expr* const* fmls, params_ref const & p, sat::solver_core & t, atom2bool_var & map, dep2asm_map& dep2asm, bool default_external = false);
|
||||
|
||||
void assumptions(ast_manager& m, unsigned n, expr* const* fmls, params_ref const & p, sat::solver_core & t, atom2bool_var & map, dep2asm_map& dep2asm, bool default_external = false);
|
||||
|
||||
void get_interpreted_funs(func_decl_ref_vector& funs);
|
||||
|
||||
bool has_interpreted_funs() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue