summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/pierre150331.smt2
blob: 88d5ec10c63bc1df555a438459a9ef309b294c49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(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