mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
add facility to add lemmas
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
af6ebbcd92
commit
ce592d7716
16 changed files with 111 additions and 21 deletions
|
@ -179,6 +179,12 @@ public:
|
|||
m_solver2->assert_expr(t, a);
|
||||
}
|
||||
|
||||
virtual void assert_lemma(expr* t) {
|
||||
m_solver1->assert_lemma(t);
|
||||
if (m_solver2_initialized)
|
||||
m_solver2->assert_lemma(t);
|
||||
}
|
||||
|
||||
virtual void push() {
|
||||
switch_inc_mode();
|
||||
m_solver1->push();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue