Add DUPICATE_REMOVAL operator to bags (#5336)
authormudathirmahgoub <mudathirmahgoub@gmail.com>
Tue, 27 Oct 2020 01:13:23 +0000 (20:13 -0500)
committerGitHub <noreply@github.com>
Tue, 27 Oct 2020 01:13:23 +0000 (20:13 -0500)
commit8fb135c25038c617679f96dd40dfba3d2585380e
treec24098540ed3417be0f9c0649e6be4a01130e791
parent04640a15faeee34b064dc4f1d2045300c2a6f329
Add DUPICATE_REMOVAL operator to bags (#5336)

This PR adds duplicate removal operator to bags (also known as delta or squash).
Other changes:

print MK_BAG operator as "bag" in smt2 instead of "mkBag"
renamed BAG_IS_INCLUDED operator to SUBBAG.
16 files changed:
src/api/cvc4cpp.cpp
src/api/cvc4cppkind.h
src/parser/smt2/smt2.cpp
src/theory/bags/bags_rewriter.cpp
src/theory/bags/bags_rewriter.h
src/theory/bags/kinds
src/theory/bags/make_bag_op.cpp
src/theory/bags/normal_form.cpp
src/theory/bags/normal_form.h
src/theory/bags/rewrites.cpp
src/theory/bags/rewrites.h
src/theory/bags/theory_bags.cpp
src/theory/bags/theory_bags_type_rules.h
test/unit/theory/theory_bags_normal_form_white.h
test/unit/theory/theory_bags_rewriter_white.h
test/unit/theory/theory_bags_type_rules_white.h