summaryrefslogtreecommitdiff
path: root/test/regress/regress1/fmf/fmf-fun-no-elim-ext-arith2.smt2
blob: ea5a5e4b74807bc4ad0568272e3b5e01a29a393c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
; COMMAND-LINE: --fmf-fun --no-check-models
; EXPECT: sat
(set-logic UFLIA)
(set-info :status sat)
(define-fun-rec int-and ((n Int) (n1 Int) (n2 Int)) Bool (
    or
    (= n1 n 0)
    (= n2 n 0)
    (
        and
        (> n1 0)
        (> n2 0)
        (>= n 0)
        (= (not (= (mod n 2 ) 0)) (and (not (= (mod n1 2 ) 0)) (not (= (mod n2 2) 0))))
        (int-and (div n 2) (div n1 2) (div n2 2))
    )
))
(declare-const x Int)
(declare-const y Int)
(declare-const z Int)
(assert (= x 1))
(assert (= y 1))
(assert (= z 1))
(assert (int-and z x y))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback