3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-01 08:49:52 +00:00

fix a bug in Rule 4.2

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2025-12-04 11:33:56 -10:00
parent e19913779f
commit dffe5c1971
2 changed files with 22 additions and 4 deletions

View file

@ -1146,6 +1146,10 @@ namespace nlsat {
used_vars[v] = true;
}
display(out << "(echo \"#" << m_lemma_count++ << ":" << annotation << ":", n, cls) << "\")\n";
if (m_lemma_count == 60) {
enable_trace("lws");
enable_trace("nlsat_explain");
}
if (m_log_lemma_smtrat)
out << "(set-logic NRA)\n";
else
@ -1159,7 +1163,10 @@ namespace nlsat {
for (unsigned i = 0; i < n; ++i)
display_smt2(out << "(assert ", ~cls[i]) << ")\n";
out << "(check-sat)\n(reset)\n";
if (m_lemma_count == 62) {
std::cout << "early exit\n";
exit(1);
}
}
clause * mk_clause_core(unsigned num_lits, literal const * lits, bool learned, _assumption_set a) {