3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 04:28:17 +00:00

fix #3728 - fail only model validation if the expression is false, there are too many false positives being reported

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-04 18:34:32 -07:00
parent 82d7ca46ba
commit 6ac19ed8d0

View file

@ -1925,7 +1925,7 @@ void cmd_context::validate_model() {
analyze_failure(evaluator, a, true);
IF_VERBOSE(11, model_smt2_pp(verbose_stream(), *this, *md, 0););
TRACE("model_validate", model_smt2_pp(tout, *this, *md, 0););
invalid_model = true;
invalid_model |= m().is_false(r);
}
}
if (invalid_model) {