summaryrefslogtreecommitdiff
path: root/test/regress/regress1
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2019-06-11 16:25:28 -0700
committerAndres Noetzli <andres.noetzli@gmail.com>2019-06-11 16:25:28 -0700
commit589a6855997c37c46bc58c3eea30bf73b1a3c222 (patch)
tree0b9d8e4949a44a7ceebc15d4c2d8d7c336c31dd1 /test/regress/regress1
parenta6f694c852b22789a1cca9116ba5de4b6663ccce (diff)
parent6c6957ccee127548824062d282cc81270e5deb17 (diff)
Merge branch 'master' into fixBetterSkolemsfixBetterSkolems
Diffstat (limited to 'test/regress/regress1')
-rw-r--r--test/regress/regress1/strings/re-neg-concat-reduct.smt212
-rw-r--r--test/regress/regress1/sygus/sygus-dt.sy2
2 files changed, 13 insertions, 1 deletions
diff --git a/test/regress/regress1/strings/re-neg-concat-reduct.smt2 b/test/regress/regress1/strings/re-neg-concat-reduct.smt2
new file mode 100644
index 000000000..cbe8c4a8b
--- /dev/null
+++ b/test/regress/regress1/strings/re-neg-concat-reduct.smt2
@@ -0,0 +1,12 @@
+(set-info :smt-lib-version 2.5)
+(set-logic QF_S)
+(set-info :status sat)
+(set-option :strings-exp true)
+
+(declare-fun x () String)
+
+(assert (not (= x "")))
+(assert (not (str.in.re x (re.++ (str.to.re "AB") (re.* (str.to.re "A"))))))
+(assert (not (str.in.re x (re.++ (re.* (str.to.re "A")) (str.to.re "B")))))
+
+(check-sat)
diff --git a/test/regress/regress1/sygus/sygus-dt.sy b/test/regress/regress1/sygus/sygus-dt.sy
index 2f3f4dbb9..336c59b27 100644
--- a/test/regress/regress1/sygus/sygus-dt.sy
+++ b/test/regress/regress1/sygus/sygus-dt.sy
@@ -7,7 +7,7 @@
(define-fun g ((x Int)) List (cons (+ x 1) nil))
(define-fun i () List (cons 3 nil))
-(synth-fun f ((x Int)) List ((Start List ((g StartInt) i (cons StartInt Start) (nil) (tail Start)))
+(synth-fun f ((x Int)) List ((Start List ((g StartInt) i (cons StartInt Start) nil (tail Start)))
(StartInt Int (x 0 1 (+ StartInt StartInt)))))
(declare-var x Int)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback