summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/complement-test.smt2
blob: 5d3c8310f9d29b68815114a46086f7a2c88c932e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(set-logic SLIA)
(set-info :status sat)
(declare-fun x () String)
(declare-fun y () String)
(declare-fun z () String)
(assert (= x (str.++ "AB" y)))
(assert (or (= y "C") (= y (str.++ "D" z)) (= (str.len y) 10)))
(assert (str.in_re x 
            (re.inter 
              (re.comp (str.to_re "AB")) 
              (re.comp (re.++ (str.to_re "AB") (re.range "A" "E") (re.* re.allchar))))))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback