3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-05 13:59:28 -07:00
parent 550852bc62
commit bb1119a6ca

View file

@ -244,7 +244,12 @@ private:
premise = mk_modus_ponens(premise, p1);
fml = fml1;
}
else if (fml1 != fml) {
premise = mk_modus_ponens(premise, m.mk_rewrite(fml, fml1));
fml = fml1;
}
}
SASSERT(!premise || (fml1 == fml && fml == m.get_fact(premise)));
head = fml0;
while (m.is_implies(head, e1, e2)) {
m_body.push_back(e1);