diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2017-05-15 16:43:50 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2017-05-15 16:44:02 -0500 |
commit | 35f6efbd087dff865709b0a859b782fb03bdf859 (patch) | |
tree | 7878ce4c8e1e330b233c63081db2ecd5b4b110c1 /test/regress/regress0/nl/div-mod-partial.smt2 | |
parent | 7edea2f0ad49de9f33e8c3eb50540e191a4f3728 (diff) |
Cleanup handling of division (possible fix for bugs 803, 804, 805).
Diffstat (limited to 'test/regress/regress0/nl/div-mod-partial.smt2')
-rw-r--r-- | test/regress/regress0/nl/div-mod-partial.smt2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/regress/regress0/nl/div-mod-partial.smt2 b/test/regress/regress0/nl/div-mod-partial.smt2 new file mode 100644 index 000000000..fa75ee594 --- /dev/null +++ b/test/regress/regress0/nl/div-mod-partial.smt2 @@ -0,0 +1,10 @@ +; COMMAND-LINE: --nl-ext --nl-ext-tplanes +; EXPECT: sat +(set-logic QF_UFNIA) +(set-info :status sat) +(declare-fun x () Int) +(declare-fun y () Int) +(assert (not (= y 0))) +; should be SAT if the partial functions for div and mod are different +(assert (not (= (- y (* (div y x) x)) (mod y x)))) +(check-sat) |