3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-23 03:27:52 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-14 10:46:03 -07:00
parent b29c77dc87
commit 51e459d02b
55 changed files with 27 additions and 138 deletions

View file

@ -401,7 +401,6 @@ void goal::display_with_proofs(std::ostream& out) const {
out << "\n |-";
if (pr(i)) {
out << mk_ismt2_pp(pr(i), m(), 4);
SASSERT(m().get_fact(pr(i)) == form(i));
}
out << "\n " << mk_ismt2_pp(form(i), m(), 2);
}
@ -583,12 +582,17 @@ void goal::elim_redundancies() {
shrink(j);
}
bool goal::is_well_sorted() const {
bool goal::is_well_formed() const {
unsigned sz = size();
for (unsigned i = 0; i < sz; i++) {
expr * t = form(i);
if (!::is_well_sorted(m(), t))
return false;
#if 0
SASSERT(m().get_fact(pr(i)) == form(i));
if (m().get_fact(pr(i)) != form(i))
return false;
#endif
}
return true;
}