diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-03-05 14:38:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-05 14:38:16 -0600 |
commit | d26ee67911fedfef966a0e4d64ffda02007d65a0 (patch) | |
tree | d8d5511eeb12ecace73845785546df95e8f67f1f /test/regress/regress1 | |
parent | 04039407e6308070c148de0d5e93640ec1b0a341 (diff) |
Fix issues with real to int (#3918)
This fixes a few issues in the real to int preprocessing pass. Previously it was not robust to cases where the input had constraints that were not over the reals.
Fixes #3915 and fixes #3913 and fixes #3916.
Diffstat (limited to 'test/regress/regress1')
-rw-r--r-- | test/regress/regress1/quantifiers/real-to-int-quant.smt2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/regress/regress1/quantifiers/real-to-int-quant.smt2 b/test/regress/regress1/quantifiers/real-to-int-quant.smt2 new file mode 100644 index 000000000..5d7b8d44e --- /dev/null +++ b/test/regress/regress1/quantifiers/real-to-int-quant.smt2 @@ -0,0 +1,6 @@ +; COMMAND-LINE: --solve-real-as-int +; EXPECT: sat +(set-logic ALL) +(set-info :status sat) +(assert (forall ((x Real) (y Real)) (=> (< x y) (exists ((z Real)) (and (< x z) (< z (+ y 2)))))) ) +(check-sat) |