summaryrefslogtreecommitdiff
path: root/test/regress/regress1/nl/pinto-model-core-ni.smt2
blob: 1e09f8439813972571d7c668b96b3924f7e1dc42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
; COMMAND-LINE: --nl-ext-tplanes --produce-models --model-core=non-implied
; EXPECT: sat
(set-logic ALL)
(declare-fun i1 () Real)
(declare-fun i2 () Real)
(declare-fun n () Int)
(declare-fun x () Int)
(declare-fun y () Int)
(declare-fun i11 () Real)
(declare-fun i21 () Real)

(assert (>= n 1))
(assert (and (<= 1 x)(<= x n)))
(assert (and (<= 1 y)(<= y n)))
(assert (or (= (/ (* (- 1) x) n) i1)(= i1 (/ x n))))
(assert (or (= (/ (* (- 1) y) n) i2)(= i2 (/ y n))))

(assert (and (= i1 i11) (= i2 i21) ))

(assert (not (and (or (= (- 1) i11 )(= i11 1)) (or (= (- 1) i21)(= i21 1)) )))

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