Basic support for regular expression complement (#3437)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Wed, 26 Feb 2020 19:54:41 +0000 (13:54 -0600)
committerGitHub <noreply@github.com>
Wed, 26 Feb 2020 19:54:41 +0000 (13:54 -0600)
commitb320aa323923822a7702997bbca05e8512da55a4
tree62ed510b54bbfef908296a264002052efc4fff98
parentf26ea8026e94252e4f1418be473d10a5f957b988
Basic support for regular expression complement (#3437)

Fixes #3408 .

Adds basic rewriter, parsing, type checking and implements the required cases in regexp_operation.cpp. It also adds some missing documentation in regexp_operation.h
12 files changed:
src/api/cvc4cpp.cpp
src/api/cvc4cppkind.h
src/parser/cvc/Cvc.g
src/parser/smt2/smt2.cpp
src/printer/smt2/smt2_printer.cpp
src/theory/strings/kinds
src/theory/strings/regexp_operation.cpp
src/theory/strings/regexp_operation.h
src/theory/strings/theory_strings_rewriter.cpp
test/regress/CMakeLists.txt
test/regress/regress0/strings/complement-simple.smt2 [new file with mode: 0644]
test/regress/regress1/strings/complement-test.smt2 [new file with mode: 0644]