test/regress/cli/regress1/quantifiers/quant-wf-int-ind.smt2
raw| 1 | ; COMMAND-LINE: --int-wf-ind |
| 2 | ; EXPECT: unsat |
| 3 | (set-logic UFLIA) |
| 4 | (declare-fun P (Int) Bool) |
| 5 | (assert (forall ((x Int)) (=> (P x) (P (+ x 1))))) |
| 6 | (declare-fun k () Int) |
| 7 | (assert (P k)) |
| 8 | (assert (exists ((y Int)) (and (>= y 0) (not (P (+ y k)))))) |
| 9 | ; requires well-found induction on integers |
| 10 | (check-sat) |