3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

fix relevancy bug for recfun

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-01-30 07:19:57 -08:00
parent 39bfdbd8c0
commit 657ed4db7a
5 changed files with 14 additions and 4 deletions

View file

@ -106,10 +106,13 @@ namespace euf {
SASSERT(!find(f));
force_push();
enode *n = mk_enode(f, generation, num_args, args);
SASSERT(n->class_size() == 1);
if (num_args == 0 && m.is_unique_value(f))
n->mark_interpreted();
if (num_args == 0)
if (m_on_make)
m_on_make(n);
if (num_args == 0)
return n;
if (m.is_eq(f)) {
n->set_is_equality();