mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 19:47:52 +00:00
cleanning solver initialization, and fixing named assertion support
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
181bdb6815
commit
b70687acc9
13 changed files with 268 additions and 155 deletions
|
@ -105,9 +105,9 @@ public:
|
|||
void copy_from(goal const & src) { src.copy_to(*this); }
|
||||
|
||||
void assert_expr(expr * f, proof * pr, expr_dependency * d);
|
||||
void assert_expr(expr * f) {
|
||||
assert_expr(f, proofs_enabled() ? m().mk_asserted(f) : 0, 0);
|
||||
}
|
||||
void assert_expr(expr * f, expr_dependency * d);
|
||||
void assert_expr(expr * f, expr * d) { assert_expr(f, m().mk_leaf(d)); }
|
||||
void assert_expr(expr * f) { assert_expr(f, static_cast<expr_dependency*>(0)); }
|
||||
|
||||
unsigned size() const { return m().size(m_forms); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue