Debian Codegraph @

test/regress/cli/regress1/sygus/issue8956-2.smt2

raw
1 ; COMMAND-LINE: --tlimit-per=500 --check-models
2 ; SCRUBBER: grep -v -E '.*'
3 ; EXIT: 0
4 ; In this example, a finite grammar is inferred as the set of possible terms in rewrites.
5 ; We terminate with an exception to indicate that the rewrite rule synthesis finished.
6 (set-logic QF_S)
7 (declare-fun s () String)
8 (declare-fun i () String)
9 (declare-fun x () String)
10 (assert (or (= x i) (= x s)))
11 (assert (str.in_re x (re.* (re.++ re.allchar re.allchar))))
12 (find-synth :rewrite_input)