summaryrefslogtreecommitdiff
path: root/test/regress/regress1/fmf/fmf-fun-divisor-pp.smt2
blob: 93bfb930d1b1c1547166cec5891c4fabb44f9823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; COMMAND-LINE: --fmf-fun
; EXPECT: unsat
(set-logic UFNIA)
(set-info :status unsat)
(define-fun-rec pow ((a Int)(b Int)) Int 
    (ite (<= b 0) 
         1 
         (* a (pow a (- b 1)))))

(declare-fun x () Int)

(assert (>= x 0))
(assert (< x (pow 2 2)))
(assert (>= (mod (div x (pow 2 3)) (pow 2 2)) 2))

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