summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-03-01 16:29:14 -0600
committerajreynol <andrew.j.reynolds@gmail.com>2016-03-01 16:29:14 -0600
commit811834a6aeab1e055b0417eaf988fc682e74e65a (patch)
tree0c9067c163a4c09faf7e10493124abedf63436fc /test
parent8dc28ec4709b847a995d57bc39b8bfbaf7c5a344 (diff)
Shorter explanations for strings based on tracking which parts of normal forms are dependent upon which equalities. Add anti-skolemization module to quantifiers. Disable rewriting of non-clashing equalities between same constructors.
Diffstat (limited to 'test')
-rw-r--r--test/regress/regress0/quantifiers/Makefile.am3
-rwxr-xr-xtest/regress/regress0/quantifiers/anti-sk-simp.smt210
2 files changed, 12 insertions, 1 deletions
diff --git a/test/regress/regress0/quantifiers/Makefile.am b/test/regress/regress0/quantifiers/Makefile.am
index 02eaeeb47..eff6995e0 100644
--- a/test/regress/regress0/quantifiers/Makefile.am
+++ b/test/regress/regress0/quantifiers/Makefile.am
@@ -74,7 +74,8 @@ TESTS = \
macro-subtype-param.smt2 \
macros-real-arg.smt2 \
subtype-param-unk.smt2 \
- subtype-param.smt2
+ subtype-param.smt2 \
+ anti-sk-simp.smt2
# regression can be solved with --finite-model-find --fmf-inst-engine
diff --git a/test/regress/regress0/quantifiers/anti-sk-simp.smt2 b/test/regress/regress0/quantifiers/anti-sk-simp.smt2
new file mode 100755
index 000000000..ba4f9cbb9
--- /dev/null
+++ b/test/regress/regress0/quantifiers/anti-sk-simp.smt2
@@ -0,0 +1,10 @@
+; COMMAND-LINE: --quant-anti-skolem
+; EXPECT: unsat
+(set-logic ALL_SUPPORTED)
+(set-info :status unsat)
+(declare-fun f (Int) Int)
+(declare-fun a () Int)
+(declare-fun b () Int)
+(assert (forall ((X Int)) (< X (f X))))
+(assert (forall ((X Int)) (> (+ a b) (f X))))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback