test/regress/cli/regress1/proofs/eq-engine-corner-case-constants-disequal.smt2
raw| 1 | ; COMMAND-LINE: --produce-proofs |
| 2 | ; EXPECT: sat |
| 3 | (set-logic QF_SLIA) |
| 4 | (declare-const x Bool) |
| 5 | (declare-fun s () String) |
| 6 | (assert (ite (str.prefixof "-" (str.substr s 1 1)) true x)) |
| 7 | (assert (> (- (str.len s) 1 (+ 1 1) (+ 1 1)) 0)) |
| 8 | (assert (str.in_re s (re.+ (re.range "0" "9")))) |
| 9 | (assert (= 1 (str.to_int (str.substr s (+ 1 1 1 1) (+ 1 1))))) |
| 10 | (check-sat) |