Add table.project evaluator (#8632)
authormudathirmahgoub <mudathirmahgoub@gmail.com>
Tue, 19 Apr 2022 18:49:14 +0000 (13:49 -0500)
committerGitHub <noreply@github.com>
Tue, 19 Apr 2022 18:49:14 +0000 (18:49 +0000)
commit7b581e4bd7a139efff494a729eb17e02ad7126fe
tree1ac94d08b62879efcb5e8daa800900d1a5912247
parentf37078447757601cf24eb3ee92970f275a434d82
Add table.project evaluator (#8632)

This PR

adds evaluator for table.project operator
updates the parser to interpret "Table" as a table with zero columns
23 files changed:
src/CMakeLists.txt
src/api/cpp/cvc5.cpp
src/api/cpp/cvc5_kind.h
src/parser/smt2/Smt2.g
src/parser/smt2/smt2.cpp
src/printer/smt2/smt2_printer.cpp
src/theory/bags/bags_utils.cpp
src/theory/bags/bags_utils.h
src/theory/bags/kinds
src/theory/bags/table_project_op.cpp [new file with mode: 0644]
src/theory/bags/table_project_op.h [new file with mode: 0644]
src/theory/bags/theory_bags.cpp
src/theory/bags/theory_bags_type_rules.cpp
src/theory/bags/theory_bags_type_rules.h
src/theory/datatypes/datatypes_rewriter.cpp
src/theory/datatypes/theory_datatypes_type_rules.cpp
src/theory/datatypes/theory_datatypes_type_rules.h
src/theory/datatypes/tuple_project_op.cpp
src/theory/datatypes/tuple_project_op.h
src/theory/datatypes/tuple_utils.cpp
src/theory/datatypes/tuple_utils.h
test/regress/cli/CMakeLists.txt
test/regress/cli/regress1/bags/table_project1.smt2 [new file with mode: 0644]