3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-28 10:51:28 +00:00

disable buggy clausification in ba_solver

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-01-15 17:20:19 -08:00
parent 3047d930e1
commit ae728374c8
3 changed files with 25 additions and 5 deletions

View file

@ -2649,6 +2649,7 @@ namespace sat {
}
bool ba_solver::clausify(literal lit, unsigned n, literal const* lits, unsigned k) {
return false;
bool is_def = lit != null_literal;
if ((!is_def || !s().was_eliminated(lit)) &&
!std::any_of(lits, lits + n, [&](literal l) { return s().was_eliminated(l); })) {
@ -2667,6 +2668,7 @@ namespace sat {
}
bool ba_solver::clausify(card& c) {
return false;
if (get_config().m_card_solver)
return false;