Refactor bags::SolverState (#5783)
authormudathirmahgoub <mudathirmahgoub@gmail.com>
Mon, 25 Jan 2021 20:38:45 +0000 (14:38 -0600)
committerGitHub <noreply@github.com>
Mon, 25 Jan 2021 20:38:45 +0000 (14:38 -0600)
commiteaad5bdc7a38fcc38baa0e3b73f6c39a0ec6fb05
tree42452e177fa8a24a523ce715aa3a40a99644ab17
parent7f851ea2e2b40f7e5d6e0c0fbe4e9c6ea0450209
Refactor bags::SolverState (#5783)

Couple of changes:

SolverState now keep tracks of elements per bag instead of per type.
bags::InferInfo now stores multiple conclusions (conjuncts).
BagSolver applies upward/downward closures for bag elements
14 files changed:
src/theory/bags/bag_solver.cpp
src/theory/bags/bag_solver.h
src/theory/bags/bags_rewriter.h
src/theory/bags/infer_info.cpp
src/theory/bags/infer_info.h
src/theory/bags/inference_generator.cpp
src/theory/bags/inference_generator.h
src/theory/bags/inference_manager.h
src/theory/bags/solver_state.cpp
src/theory/bags/solver_state.h
src/theory/bags/theory_bags.cpp
test/regress/CMakeLists.txt
test/regress/regress1/bags/difference_remove1.smt2 [new file with mode: 0644]
test/regress/regress1/bags/issue5759.smt2 [new file with mode: 0644]