summaryrefslogtreecommitdiff
path: root/test/regress/regress0/ho/declare-fun-variants.smt2
blob: de37f7044d9bdc23cde2c814db082beddb2b96ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; EXPECT: sat
(set-logic HO_ALL)
(set-info :status sat)
(declare-fun f (Int Int) Int)
(declare-fun g (Int) (-> Int Int))
(declare-fun h () (-> Int Int Int))

(assert (and (= f g) (= g h)))

(assert (= (f 1 2) 5))
(assert (= (f 2 1) 7))

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