Debian Codegraph @

test/regress/cli/regress0/arith/arith-mixed-types-no-tighten.smt2

raw
1 ; COMMAND-LINE:
2 ; EXPECT: unsat
3 (set-logic QF_LIRA)
4
5 (declare-fun x () Real)
6 (declare-fun n () Int)
7
8 ; Even though `n` is an integer, this would be UNSAT for real `n`, so the integrality can be ignored.
9 (assert
10 (and
11 (>= (+ x (to_real n)) 1.0)
12 (<= n 0)
13 (<= x 0.0)
14 )
15 )
16
17 (check-sat)
18