mirror of
https://github.com/Z3Prover/z3
synced 2025-07-22 20:32:05 +00:00
more fixes on relevancy
This commit is contained in:
parent
5ec7a66a45
commit
bd8de964f7
3 changed files with 44 additions and 9 deletions
|
@ -199,6 +199,8 @@ namespace euf {
|
|||
expr* e = n->get_expr();
|
||||
if (!is_app(e))
|
||||
continue;
|
||||
if (!is_relevant(n))
|
||||
continue;
|
||||
app* a = to_app(e);
|
||||
func_decl* f = a->get_decl();
|
||||
if (!include_func_interp(f))
|
||||
|
@ -297,6 +299,8 @@ namespace euf {
|
|||
ev.set_model_completion(true);
|
||||
TRACE("model",
|
||||
for (enode* n : m_egraph.nodes()) {
|
||||
if (!is_relevant(n))
|
||||
continue;
|
||||
unsigned id = n->get_root_id();
|
||||
expr* val = m_values.get(id, nullptr);
|
||||
if (!val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue