diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-05-22 14:27:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-22 14:27:13 -0500 |
commit | 0b49b88e4d1c299a7cd662cd2221fd826b5bc972 (patch) | |
tree | e2405e359c0d6bd6b20542915b43a16dba198b62 /test/regress/regress0 | |
parent | 46501b092b2d9419273d42f28a7a543ae9b2e338 (diff) |
(proof-new) Add rewrite corresponding to regular expression inclusion (#4513)
This introduces a rewrite based on regular expression inclusion (using calls to the RegExpEntail utility function).
This allows us to justify the regular expression inclusion inference as a rewrite.
Diffstat (limited to 'test/regress/regress0')
-rw-r--r-- | test/regress/regress0/strings/re-in-rewrite.smt2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/regress/regress0/strings/re-in-rewrite.smt2 b/test/regress/regress0/strings/re-in-rewrite.smt2 new file mode 100644 index 000000000..d1567768d --- /dev/null +++ b/test/regress/regress0/strings/re-in-rewrite.smt2 @@ -0,0 +1,5 @@ +(set-logic QF_SLIA) +(set-info :status unsat) +(declare-fun x () String) +(assert (str.in_re x (re.inter (re.comp (re.++ re.allchar (re.* re.allchar))) (re.++ (str.to_re "a") (re.* re.allchar))))) +(check-sat) |