mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
hack to filter out Boogie axioms with large "distinct" predicates that cause legacy solver death
This commit is contained in:
parent
2b492f04f6
commit
58ffffe4d4
|
@ -253,6 +253,10 @@ protected:
|
|||
}
|
||||
|
||||
void assert_axiom(const expr &axiom){
|
||||
// HACK: large "distict" predicates can kill the legacy SMT solver -- ignore them
|
||||
if(axiom.is_app() && axiom.decl().get_decl_kind() == Distinct)
|
||||
if(axiom.num_args() > 10)
|
||||
return;
|
||||
islvr->AssertInterpolationAxiom(axiom);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue