summaryrefslogtreecommitdiff
path: root/test/regress/regress0/quantifiers/is-even-pred.smt2
blob: e4559df2a43687ddc4d36d6b3518db1f8f9b45f2 (plain)
1
2
3
4
5
6
7
(set-logic ALL)
(set-info :status unsat)

(define-funs-rec ((is-even ((x Int)) Bool) (is-odd ((x Int)) Bool)) ((or (= x 0) (is-odd (- x 1))) (and (not (= x 0)) (is-even (- x 1)))))

(assert (is-even 5))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback