Refactor theory inference manager constructor (#7457)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Fri, 22 Oct 2021 16:56:05 +0000 (11:56 -0500)
committerGitHub <noreply@github.com>
Fri, 22 Oct 2021 16:56:05 +0000 (16:56 +0000)
commit5d0bc27685611a9ee738507a45f5b68b6da42d8a
tree5603889d590cd5364b2259d0e738488a1dc05ade
parenta06b10cf51c22dd86bf266ef1494dded4b53e9f0
Refactor theory inference manager constructor (#7457)

Eliminates a style where proof node manager was passed as an argument to indicate proofs enabled if non-null. All theory inference managers now check Env::isTheoryProofProducing instead.

Since BV did not pass a proof node manager to its inference manager, this PR also incidentally enables equality engine proofs for BV.
34 files changed:
src/theory/arith/inference_manager.cpp
src/theory/arith/inference_manager.h
src/theory/arith/theory_arith.cpp
src/theory/arrays/inference_manager.cpp
src/theory/arrays/inference_manager.h
src/theory/arrays/theory_arrays.cpp
src/theory/bags/inference_manager.cpp
src/theory/bags/inference_manager.h
src/theory/bags/theory_bags.cpp
src/theory/builtin/theory_builtin.cpp
src/theory/bv/theory_bv.cpp
src/theory/datatypes/inference_manager.cpp
src/theory/datatypes/inference_manager.h
src/theory/datatypes/theory_datatypes.cpp
src/theory/fp/theory_fp.cpp
src/theory/inference_manager_buffered.cpp
src/theory/inference_manager_buffered.h
src/theory/quantifiers/instantiate.cpp
src/theory/quantifiers/instantiate.h
src/theory/quantifiers/quantifiers_inference_manager.cpp
src/theory/quantifiers/quantifiers_inference_manager.h
src/theory/quantifiers/skolemize.cpp
src/theory/quantifiers/skolemize.h
src/theory/quantifiers/theory_quantifiers.cpp
src/theory/sep/theory_sep.cpp
src/theory/sets/inference_manager.cpp
src/theory/sets/inference_manager.h
src/theory/sets/theory_sets.cpp
src/theory/strings/inference_manager.cpp
src/theory/strings/inference_manager.h
src/theory/strings/theory_strings.cpp
src/theory/theory_inference_manager.cpp
src/theory/theory_inference_manager.h
src/theory/uf/theory_uf.cpp