test/regress/cli/regress1/quantifiers/qid.smt2
raw| 1 | ; COMMAND-LINE: --dump-instantiations --print-inst=num --no-print-inst-full |
| 2 | ; EXPECT: unsat |
| 3 | ; EXPECT: (num-instantiations myQuantP 1) |
| 4 | ; EXPECT: (num-instantiations myQuantQ 7) |
| 5 | |
| 6 | (set-logic UFLIA) |
| 7 | (declare-fun P (Int) Bool) |
| 8 | (declare-fun Q (Int) Bool) |
| 9 | (assert (forall ((x Int)) (! (P x) :qid |myQuantP|))) |
| 10 | (assert (forall ((x Int)) (! (=> (Q x) (Q (+ x 1))) :qid |myQuantQ|))) |
| 11 | (assert (Q 0)) |
| 12 | (assert (or (not (P 5)) (not (Q 7)))) |
| 13 | (check-sat) |