summaryrefslogtreecommitdiff
path: root/test/regress/regress0
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-08-15 13:02:46 -0500
committerGitHub <noreply@github.com>2018-08-15 13:02:46 -0500
commit4748af3ee298ce5aae36a8ab8cad4426d1398c17 (patch)
tree94ce5eb140a1f5898b9145a9ecc1ebe92b0ced0e /test/regress/regress0
parente09be1045fc6cc8c5373f9eb96137add66b8d5d5 (diff)
Make sort inference a preprocessing pass (#2309)
Diffstat (limited to 'test/regress/regress0')
-rw-r--r--test/regress/regress0/fmf/sort-inf-int.smt213
1 files changed, 13 insertions, 0 deletions
diff --git a/test/regress/regress0/fmf/sort-inf-int.smt2 b/test/regress/regress0/fmf/sort-inf-int.smt2
new file mode 100644
index 000000000..e4a8978d4
--- /dev/null
+++ b/test/regress/regress0/fmf/sort-inf-int.smt2
@@ -0,0 +1,13 @@
+; COMMAND-LINE: --finite-model-find --sort-inference --no-check-models
+; EXPECT: sat
+(set-logic UFLIRA)
+(set-info :status sat)
+(declare-fun f (Int) Int)
+(declare-fun g (Int) Int)
+(declare-fun h (Int) Int)
+(assert (forall ((x Int)) (or (= (f x) (h x)) (= (f x) (g x)))))
+(assert (not (= (f 3) (h 3))))
+(assert (not (= (f 5) (g 5))))
+(assert (= (f 4) (g 8)))
+
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback