diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2019-12-05 06:39:32 -0800 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2019-12-05 08:39:32 -0600 |
commit | 97c2553d0b0535bd47517f755897c441e223568e (patch) | |
tree | cfbc5746e6bc3916c7c71a69a9fa9b6c49687ad9 /test/regress/regress0/strings | |
parent | 2c68fa6fea5f98d6e5078961156d8c746bbd13c3 (diff) |
Bi-directional unrolling of R* regular expressions (#3532)
Diffstat (limited to 'test/regress/regress0/strings')
-rw-r--r-- | test/regress/regress0/strings/bidir_star.smt2 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/regress/regress0/strings/bidir_star.smt2 b/test/regress/regress0/strings/bidir_star.smt2 new file mode 100644 index 000000000..7303d138f --- /dev/null +++ b/test/regress/regress0/strings/bidir_star.smt2 @@ -0,0 +1,8 @@ +; COMMAND-LINE: --strings-exp +(set-logic SLIA) +(declare-fun a () String) +(assert (>= (str.len a) 2)) +(assert (str.in.re a (re.+ (re.range "0" "1")))) +(assert (<= 3 (str.to.int (str.substr a (+ (- 2) (str.len a)) 1)))) +(set-info :status unsat) +(check-sat) |