test/regress/cli/regress1/strings/code-sequence.smt2
raw| 1 | (set-logic SLIA) |
| 2 | |
| 3 | (set-option :strings-fmf true) |
| 4 | (set-option :fmf-bound true) |
| 5 | (set-info :status sat) |
| 6 | (declare-fun x () String) |
| 7 | (assert (forall ((n Int)) (=> (and (<= 0 n) (< n (str.len x))) |
| 8 | (and |
| 9 | (<= 60 (str.to_code (str.at x n))) |
| 10 | (<= (str.to_code (str.at x n)) 90) |
| 11 | (< (+ 1 (str.to_code (str.at x (- n 1)))) (str.to_code (str.at x n))) |
| 12 | )))) |
| 13 | (assert (> (str.len x) 3)) |
| 14 | (check-sat) |