Add skolem lemmas for bags card terms (#7995)
authormudathirmahgoub <mudathirmahgoub@gmail.com>
Tue, 15 Mar 2022 19:28:41 +0000 (14:28 -0500)
committerGitHub <noreply@github.com>
Tue, 15 Mar 2022 19:28:41 +0000 (19:28 +0000)
commite5e9ca94a9171914694bcf009cb2968af93af624
treecd59143d5b5df1ec5f9ab7be8d81035b728f6808
parent030cea7270b61225d24c0768613dd73317b8e21d
Add skolem lemmas for bags card terms (#7995)

This PR refactors the way skolem lemmas are generated for bags, count terms, and card terms.
As a side effect, this refactoring fixed cvc5/cvc5-projects#481
22 files changed:
src/expr/skolem_manager.cpp
src/expr/skolem_manager.h
src/theory/bags/bag_solver.cpp
src/theory/bags/bags_rewriter.cpp
src/theory/bags/bags_rewriter.h
src/theory/bags/card_solver.cpp
src/theory/bags/card_solver.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/solver_state.cpp
src/theory/bags/solver_state.h
src/theory/bags/theory_bags.cpp
src/theory/bags/theory_bags.h
src/theory/inference_id.cpp
src/theory/inference_id.h
src/theory/theory_state.cpp
src/theory/theory_state.h
test/regress/CMakeLists.txt
test/regress/regress1/bags/murxla5.smt2 [new file with mode: 0644]
test/unit/theory/theory_bags_rewriter_white.cpp