3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00

fix unsoundness reported in issue #777, disable ematching on recursive function definition axioms exposed in #793

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-11-19 15:29:43 -08:00
parent 2ff5af7d42
commit 6a9b5ea3af
2 changed files with 43 additions and 39 deletions

View file

@ -901,7 +901,10 @@ namespace pdr {
SASSERT(m_prev);
SASSERT(children().empty());
if (this == m_next) {
root = 0;
SASSERT(m_prev == this);
if (root == this) {
root = 0;
}
}
else {
m_next->m_prev = m_prev;