summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/re-neg-unfold-rev-a.smt2
blob: 3f99f85076cd067d6ce9adf58b49b252053a5840 (plain)
1
2
3
4
5
6
7
8
9
10
(set-info :smt-lib-version 2.5)
(set-logic QF_S)
(set-info :status unsat)
(set-option :strings-exp true)

(declare-const x String)
(declare-const y String)
(assert (and (= y "foobar") (str.in.re x (re.++ (str.to.re "ab") (re.* re.allchar) (str.to.re "b") (re.* re.allchar) (str.to.re "b") (re.* re.allchar) (str.to.re "b")))))
(assert (not (and (= y "foobar") (str.in.re x (re.++ (str.to.re "a") (re.* re.allchar) (str.to.re "b") (re.* re.allchar) (str.to.re "b") (re.* re.allchar) (str.to.re "b"))))))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback