summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/re-neg-unfold-rev-a.smt2
blob: 0f869f155609c6fd4dee30efa1100f6ca5f0ab39 (plain)
1
2
3
4
5
6
7
8
9
10
(set-info :smt-lib-version 2.6)
(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