test/regress/cli/regress1/nl/div-mod-partial.smt2
raw| 1 | ; COMMAND-LINE: --nl-ext=full --nl-ext-tplanes |
| 2 | ; EXPECT: sat |
| 3 | (set-logic QF_UFNIA) |
| 4 | (set-info :status sat) |
| 5 | (declare-fun x () Int) |
| 6 | (declare-fun y () Int) |
| 7 | (assert (not (= y 0))) |
| 8 | ; should be SAT if the partial functions for div and mod are different |
| 9 | (assert (not (= (- y (* (div y x) x)) (mod y x)))) |
| 10 | (check-sat) |