summaryrefslogtreecommitdiff
path: root/test/regress/regress1/quantifiers/nl-pow-trick.smt2
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-08-24 15:16:44 -0500
committerGitHub <noreply@github.com>2018-08-24 15:16:44 -0500
commitb15739e75b2b6b7c0cc2ac31c92ece3e6aae71be (patch)
tree6d27e1e564a1b2947be4340d6c9878dbf44b0406 /test/regress/regress1/quantifiers/nl-pow-trick.smt2
parent3b728a49c482ea447e3b82c7aa1251ad0866c12a (diff)
Remove spurious disabling of cbqi-all (#2368)
Diffstat (limited to 'test/regress/regress1/quantifiers/nl-pow-trick.smt2')
-rw-r--r--test/regress/regress1/quantifiers/nl-pow-trick.smt213
1 files changed, 13 insertions, 0 deletions
diff --git a/test/regress/regress1/quantifiers/nl-pow-trick.smt2 b/test/regress/regress1/quantifiers/nl-pow-trick.smt2
new file mode 100644
index 000000000..a369fd9f9
--- /dev/null
+++ b/test/regress/regress1/quantifiers/nl-pow-trick.smt2
@@ -0,0 +1,13 @@
+; COMMAND-LINE: --cbqi-all
+; EXPECT: unsat
+(set-logic NIA)
+(declare-fun a () Int)
+(declare-fun b () Int)
+(declare-fun c () Int)
+(define-fun s ((x Int)) Int (+ x 1))
+(define-fun seq ((a Int) (b Int) (k Int) (x Int)) Bool ( = x (mod (+ 1 (* b (+ 1 k))) a)))
+(define-fun power ((a Int) (b Int) (c Int)) Bool
+(exists ((x Int) (y Int)) (and (seq x y 0 1) (seq x y b c) (forall ((k Int) (z Int)) (=> (and (< k b) (seq x y k z)) (seq x y (+ 1 k) (* a z))))))
+)
+(assert (power 2 3 8))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback