test/regress/cli/regress0/quantifiers/macros-real-arg.smt2
raw| 1 | ; COMMAND-LINE: --macros-quant |
| 2 | ; EXPECT: unsat |
| 3 | ; this will fail if type rule for APPLY_UF is made strict |
| 4 | (set-logic UFLIRA) |
| 5 | (declare-fun P (Int) Bool) |
| 6 | (declare-fun Q (Int) Bool) |
| 7 | (assert (and (forall ((x Int)) (P x)) (forall ((x Int)) (Q x)))) |
| 8 | (declare-fun k () Real) |
| 9 | (declare-fun k2 () Int) |
| 10 | (assert (or (not (P (to_int k))) (not (P k2)))) |
| 11 | (assert (= k 0.0)) |
| 12 | (check-sat) |