Debian Codegraph @

test/regress/cli/regress1/strings/re-uf-unsat.smt2

raw
1 ; COMMAND-LINE: --re-first-class
2 ; EXPECT: unsat
3 (set-logic ALL)
4 (declare-fun f (RegLan) Int)
5 (declare-fun s () String)
6 (declare-fun x () Int)
7 (assert (< x (- 4)))
8 (assert (not (= (f (re.++ (str.to_re s) (re.* (str.to_re "A")))) (f (re.+ (str.to_re "A"))))))
9 (assert (or (> x 0) (= s "A")))
10 (check-sat)