mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
debugging model generation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
56562a725d
commit
f41d23bc0f
4 changed files with 21 additions and 13 deletions
|
@ -28,7 +28,6 @@ Notes:
|
|||
#include "lia2card_tactic.h"
|
||||
#include "elim01_tactic.h"
|
||||
#include "tactical.h"
|
||||
#include "th_rewriter.h"
|
||||
|
||||
namespace opt {
|
||||
|
||||
|
@ -65,14 +64,9 @@ namespace opt {
|
|||
}
|
||||
|
||||
unsigned context::add_objective(app* t, bool is_max) {
|
||||
expr_ref tr(t, m);
|
||||
app_ref ar(m);
|
||||
th_rewriter rewrite(m);
|
||||
rewrite(tr);
|
||||
SASSERT(is_app(tr));
|
||||
ar = to_app(tr);
|
||||
app_ref tr(t, m);
|
||||
unsigned index = m_objectives.size();
|
||||
m_objectives.push_back(objective(is_max, ar, index));
|
||||
m_objectives.push_back(objective(is_max, tr, index));
|
||||
return index;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue