expand bag.choose operator (#7481)
authormudathirmahgoub <mudathirmahgoub@gmail.com>
Mon, 8 Nov 2021 23:13:27 +0000 (17:13 -0600)
committerGitHub <noreply@github.com>
Mon, 8 Nov 2021 23:13:27 +0000 (23:13 +0000)
commite398f79c61304378cc736828632a462c74ce39d2
tree7e06f2d70f4185337de34cb8edb73923193701b5
parent89dfd279d8786c54c35ff8f5e2802ec51a59a969
expand bag.choose operator (#7481)

This PR expands bag.choose operator as a preprocessing step.
It also refactors the implementation of choose operator for sets
16 files changed:
src/expr/skolem_manager.cpp
src/expr/skolem_manager.h
src/theory/bags/bags_rewriter.cpp
src/theory/bags/inference_generator.cpp
src/theory/bags/normal_form.cpp
src/theory/bags/normal_form.h
src/theory/bags/theory_bags.cpp
src/theory/bags/theory_bags.h
src/theory/sets/theory_sets_private.cpp
src/theory/sets/theory_sets_private.h
test/regress/CMakeLists.txt
test/regress/regress1/bags/choose1.smt2 [new file with mode: 0644]
test/regress/regress1/bags/choose2.smt2 [new file with mode: 0644]
test/regress/regress1/bags/choose3.smt2 [new file with mode: 0644]
test/regress/regress1/bags/choose4.smt2 [new file with mode: 0644]
test/unit/theory/theory_bags_normal_form_white.cpp