summaryrefslogtreecommitdiff
path: root/test/regress/regress1/quantifiers/quant-wf-int-ind.smt2
blob: 49ca4ffc507f63e7a762fe582625afb4ea93e191 (plain)
1
2
3
4
5
6
7
8
9
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