blob: 846532c28ca8eea1686655a0d14ff7f9d146671e (
plain)
1
2
3
4
5
6
7
8
9
10
|
; EXPECT: sat
(set-logic ALL)
(set-option :incremental false)
(set-option :finite-model-find true)
(set-option :fmf-bound-int true)
(set-option :produce-models true)
(declare-fun X () (Set Int))
(declare-fun Y () (Set Int))
(assert (forall ((x Int)) (=> (member x X) (> x 0))))
(check-sat-assuming ( (=> (and (= (card X) 5) (= Y (union X (singleton 9)))) (<= (card Y) 4)) ))
|