blob: 552a0a7067e1da4ae75b8ccae067e5e30e88a685 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
; COMMAND-LINE: --strings-print-ascii --strings-exp
; EXPECT: sat
(set-info :smt-lib-version 2.6)
(set-logic ALL)
(set-info :status sat)
(declare-fun x () String)
(assert
(and
(not (=
(str.in_re x (re.++ (str.to_re "B") (re.* (str.to_re "B"))))
(str.in_re x (re.++ (str.to_re "B") (str.to_re (str.++ "B" "B"))))
))
(not (=
(str.in_re x (re.++ (re.union (re.++ (str.to_re "A") re.allchar ) re.allchar ) (str.to_re "B")))
(str.in_re x (re.++ (str.to_re "A") (str.to_re "B")))
))
)
)
(check-sat)
|