summaryrefslogtreecommitdiff
path: root/test/regress/regress1/quantifiers/quant-wf-int-ind.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/quantifiers/quant-wf-int-ind.smt2')
-rw-r--r--test/regress/regress1/quantifiers/quant-wf-int-ind.smt210
1 files changed, 10 insertions, 0 deletions
diff --git a/test/regress/regress1/quantifiers/quant-wf-int-ind.smt2 b/test/regress/regress1/quantifiers/quant-wf-int-ind.smt2
new file mode 100644
index 000000000..49ca4ffc5
--- /dev/null
+++ b/test/regress/regress1/quantifiers/quant-wf-int-ind.smt2
@@ -0,0 +1,10 @@
+; COMMAND-LINE: --int-wf-ind
+; EXPECT: unsat
+(set-logic UFLIA)
+(declare-fun P (Int) Bool)
+(assert (forall ((x Int)) (=> (P x) (P (+ x 1)))))
+(declare-fun k () Int)
+(assert (P k))
+(assert (exists ((y Int)) (and (>= y 0) (not (P (+ y k))))))
+; requires well-found induction on integers
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback