mirror of
https://github.com/Z3Prover/z3
synced 2025-06-15 18:36:16 +00:00
fix #1365. Filter MBQI instantiations for as-array terms that lead the array theory to return unknown and therefore block further instantiations. as-array terms are at this point almost always created from internal model values so quantifier instantiations with these have little value, other than instantiations of other paraameters that may indepdendently help
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c5f231acdf
commit
357b4b20fd
4 changed files with 10 additions and 16 deletions
|
@ -643,12 +643,8 @@ namespace smt {
|
|||
return t_result;
|
||||
}
|
||||
|
||||
bool is_infinite(sort * s) const {
|
||||
// we should not assume that uninterpreted sorts are infinite in benchmarks with quantifiers.
|
||||
return
|
||||
!m.is_uninterp(s) &&
|
||||
s->is_infinite();
|
||||
}
|
||||
// we should not assume that uninterpreted sorts are infinite in benchmarks with quantifiers.
|
||||
bool is_infinite(sort * s) const { return !m.is_uninterp(s) && s->is_infinite(); }
|
||||
|
||||
/**
|
||||
\brief Return a fresh constant k that is used as a witness for elements that must be different from
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue