summaryrefslogtreecommitdiff
path: root/test/regress/regress1/model-blocker-values.smt2
blob: b5ab4609b47ef355261e01f44be09b225b9ce6ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
; COMMAND-LINE: --incremental --produce-models --block-models=values --no-check-unsat-cores
; EXPECT: sat
; EXPECT: sat
; if we only block models restricted to (a,b), then there are only 2 models
; EXPECT: unsat
(set-logic QF_UFLIA)
(declare-fun a () Int)
(declare-fun b () Int)
(declare-fun c () Int)
(declare-fun f (Int) Int)
(assert (distinct (f a) (f b)))
(assert (= c (f a)))
(assert (distinct a b))
(assert (and (>= a 0) (>= b 0) (< a 2) (< b 2)))
(check-sat)
(block-model)
(check-sat)
(block-model)
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback