diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-03-18 20:13:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-18 20:13:27 -0500 |
commit | f1b58cf3d090d252e9349d491c4b43c46bf52b0e (patch) | |
tree | ab6758fa11cfa56e80646582277229ed610c22c3 /test | |
parent | ba3a69d7915292ddb649bdb8b4830623b337818c (diff) |
Fix issue with multiple infinities in CEGQI for LIRA (#4114)
Fixes #4086.
Quantifier instantiation involves two symbolic representations of infinities for real and int and was not handled correctly previously.
Diffstat (limited to 'test')
-rw-r--r-- | test/regress/CMakeLists.txt | 1 | ||||
-rw-r--r-- | test/regress/regress0/quantifiers/issue4086-infs.smt2 | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt index d822ce157..bffb2c4db 100644 --- a/test/regress/CMakeLists.txt +++ b/test/regress/CMakeLists.txt @@ -724,6 +724,7 @@ set(regress_0_tests regress0/quantifiers/issue2033-macro-arith.smt2 regress0/quantifiers/issue2035.smt2 regress0/quantifiers/issue3655.smt2 + regress0/quantifiers/issue4086-infs.smt2 regress0/quantifiers/lra-triv-gn.smt2 regress0/quantifiers/macros-int-real.smt2 regress0/quantifiers/macros-real-arg.smt2 diff --git a/test/regress/regress0/quantifiers/issue4086-infs.smt2 b/test/regress/regress0/quantifiers/issue4086-infs.smt2 new file mode 100644 index 000000000..2ebb45960 --- /dev/null +++ b/test/regress/regress0/quantifiers/issue4086-infs.smt2 @@ -0,0 +1,7 @@ +(set-logic LIRA) +(set-info :status unsat) +(set-option :cbqi-use-inf-int true) +(set-option :cbqi-use-inf-real true) +(set-option :var-ineq-elim-quant false) +(assert (forall (( b Real )) (forall (( c Int )) (and (> c (* b 2 )))))) +(check-sat) |