summaryrefslogtreecommitdiff
path: root/test/regress/regress3/strings/unsat-circ-reduce.smt2
blob: b584c0fb1abfbd0fb1d59cbc65f4cbc5d2fd2c28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; COMMAND-LINE: --strings-exp --no-re-elim
; EXPECT: unsat
(set-logic QF_SLIA)
(set-info :status unsat)
(declare-fun x () String)
(assert (not (=                                                                                                                                                     
(let ((_let_0 (re.* re.allchar ))) 
(str.in_re x (re.++ re.allchar  _let_0 (str.to_re "AC") _let_0 (str.to_re "CA") _let_0)))                                        
(let ((_let_0 (+ 0 1))) (let ((_let_1 (str.indexof x "AC" _let_0))) (and (not (= _let_1 (- 1))) (not (= (str.indexof x "CA" (+ _let_1 (str.len "AC"))) (- 1))))))   
)))        
(assert (<= (str.len x) 8))
; adding --strings-fmf to command line above incorrectly said "sat" for this at ad0b69e6
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback