; EXPECT: unsat ; COMMAND-LINE: --sygus-out=status --lang=sygus2 --strings-exp (set-logic S) (set-option :sygus-rec-fun true) (set-option :e-matching false) (define-sort Rex () RegLan) ;SyGuS Grammar Definition. (synth-fun phi () Rex (( Rex)) (( Rex ( ; alphabets (str.to_re "r") ; r = request (str.to_re "g") ; g = grant (str.to_re "e") ; e = empty (str.to_re "b") ; b = request, grant ; (re.none ) ; (re.all ) ; CHOICE (re.union ) ; CONCATENATION (re.++ ) ; INTERSECTION (re.inter ) ; STAR (re.* ) ; PLUS (re.+ ) ; Complement / Don't work (re.comp ) ; Difference / Don't work (re.diff ) (re.opt ) ))) ) (define-fun w1() String "ee") (constraint (str.in_re w1 phi)) (define-fun n1() String "bbegre") (constraint (str.in_re n1 (re.comp phi))) (check-synth)