mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 03:45:51 +00:00
detect quantifiers in model expressions to quiet down failing model validation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
75cfd14e5a
commit
ef9230d8f8
2 changed files with 5 additions and 2 deletions
|
@ -1568,6 +1568,9 @@ void cmd_context::validate_model() {
|
|||
// If r contains as_array/store/map/const expressions, then we do not generate the error.
|
||||
// TODO: improve evaluator for model expressions.
|
||||
// Note that, if "a" evaluates to false, then the error will be generated.
|
||||
if (has_quantifiers(r)) {
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
for_each_expr(contains_array, r);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue