blob: 56290436648dc954676a75cc50f60688f3ed304d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
(set-info :smt-lib-version 2.6)
(set-logic SLIA)
(set-info :status sat)
(set-option :strings-exp true)
(define-fun stringEval ((?s String)) Bool (str.in_re ?s
(re.union
(str.to_re "H")
(re.++ ((_ re.loop 2 2) (str.to_re "{") ) ((_ re.loop 2 4) (re.union re.none (re.range "\u{1d}" "]") (re.range "\u{e}" "^") ) ) ) ) ) )
(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)
|