summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/pierre150331.smt2
blob: add60d5346a00b4732c61646be6b7f938ff25f63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(set-info :smt-lib-version 2.5)
(set-logic SLIA)
(set-info :status sat)
(set-info :smt-lib-version 2.5)
(set-option :strings-exp true)
(define-fun stringEval ((?s String)) Bool (str.in.re ?s 
(re.union 
(str.to.re "H")
(re.++ (re.loop (str.to.re "{") 2 2 ) (re.loop (re.union re.nostr (re.range "" "]") (re.range "" "^") ) 2 4 ) ) ) ) )
(declare-fun s0() String)
(declare-fun s1() String)
(declare-fun s2() String)
(assert (and true (stringEval s0) (stringEval s1) (distinct s0 s1) (stringEval s2) (distinct s0 s2) (distinct s1 s2) ) )
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback