summaryrefslogtreecommitdiff
path: root/test/regress/regress1/quantifiers/recfact.cvc.smt2
blob: 02676b625a9af496a643f61060c594c3045555d1 (plain)
1
2
3
4
5
6
7
8
9
; EXPECT: unsat
(set-logic ALL)
(set-option :incremental false)
(set-option :fmf-fun true)
(declare-fun x () Int)
(define-fun-rec fact ((x Int)) Int (ite (> x 0) (* x (fact (- x 1))) 1))
(assert (= (fact 0) 2))
(assert (= x (fact 3)))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback