| 1 |
(set-logic ALL) |
| 2 |
|
| 3 |
(set-option :fmf-bound true) |
| 4 |
|
| 5 |
|
| 6 |
(set-info :status unsat) |
| 7 |
|
| 8 |
; forall a_fh:A. 2a_fh + |~f| - 2n >= 1 or 1 <= 0 |
| 9 |
|
| 10 |
(declare-fun n () Int) |
| 11 |
(declare-fun t () Int) |
| 12 |
|
| 13 |
(declare-fun f () (Bag Int)) |
| 14 |
(declare-fun UNIVERALSET () (Bag Int)) |
| 15 |
|
| 16 |
(assert (bag.subbag f UNIVERALSET)) |
| 17 |
(assert (= (bag.card UNIVERALSET) n)) |
| 18 |
|
| 19 |
(assert (> n 0)) |
| 20 |
(assert (> n (* 3 t))) |
| 21 |
(assert (<= (bag.card f) t)) |
| 22 |
|
| 23 |
(declare-fun a_fh () Int) |
| 24 |
|
| 25 |
(assert (<= a_fh n)) |
| 26 |
(assert (>= a_fh 0)) |
| 27 |
(assert (>= a_fh (- n t))) |
| 28 |
|
| 29 |
|
| 30 |
(assert |
| 31 |
(and |
| 32 |
(< (- (+ (* 2 a_fh) (bag.card (bag.difference_subtract UNIVERALSET f))) (* 2 n)) 1) |
| 33 |
(> 1 0))) |
| 34 |
|
| 35 |
(check-sat) |