mirror of
https://github.com/Z3Prover/z3
synced 2026-07-04 14:26:10 +00:00
disregard skolems in instantiation set?
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e87aaa6924
commit
dbe0cf9312
2 changed files with 3 additions and 0 deletions
|
|
@ -355,6 +355,7 @@ public:
|
||||||
m_rewriter(term, simplified);
|
m_rewriter(term, simplified);
|
||||||
if (m_seen_terms.contains(simplified))
|
if (m_seen_terms.contains(simplified))
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
IF_VERBOSE(0, verbose_stream() << "add " << simplified << "\n");
|
||||||
m_seen_terms.insert(simplified);
|
m_seen_terms.insert(simplified);
|
||||||
m_bank.add(simplified, cost);
|
m_bank.add(simplified, cost);
|
||||||
return simplified;
|
return simplified;
|
||||||
|
|
|
||||||
|
|
@ -1423,6 +1423,8 @@ namespace smt {
|
||||||
TRACE(model_finder, tout << "inserting " << mk_pp(e, m) << " into inst set\n");
|
TRACE(model_finder, tout << "inserting " << mk_pp(e, m) << " into inst set\n");
|
||||||
S->insert(e, n->get_generation());
|
S->insert(e, n->get_generation());
|
||||||
}
|
}
|
||||||
|
else if (is_app(e) && to_app(e)->get_decl()->is_skolem())
|
||||||
|
;
|
||||||
else if (is_uninterp_const(e)) {
|
else if (is_uninterp_const(e)) {
|
||||||
TRACE(model_finder, tout << "add production " << mk_pp(e, m) << "\n");
|
TRACE(model_finder, tout << "add production " << mk_pp(e, m) << "\n");
|
||||||
tn.add_production(e);
|
tn.add_production(e);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue