Remove many static calls to rewrite (#7580)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Fri, 5 Nov 2021 16:54:30 +0000 (11:54 -0500)
committerGitHub <noreply@github.com>
Fri, 5 Nov 2021 16:54:30 +0000 (11:54 -0500)
commita82b7fb2760e705aba57516fc32041214e701559
tree4b1bf5b14898dd6a4ae06c5934cb32f34ed660ac
parent71cab467df779fc1a52e8a5f981132f49d9d3182
Remove many static calls to rewrite (#7580)

This is the result of a global replace Rewriter::rewrite( -> rewrite( + patching the results.

It makes several classes into EnvObj. Many calls to Rewriter::rewrite remain (that are embedded in classes that should not be EnvObj).
67 files changed:
src/smt/model_blocker.cpp
src/theory/arith/approx_simplex.cpp
src/theory/arith/arith_ite_utils.cpp
src/theory/arith/branch_and_bound.cpp
src/theory/arith/congruence_manager.cpp
src/theory/arith/congruence_manager.h
src/theory/arith/inference_manager.cpp
src/theory/arith/nl/ext/factoring_check.cpp
src/theory/arith/nl/ext/factoring_check.h
src/theory/arith/nl/ext/monomial_bounds_check.cpp
src/theory/arith/nl/ext/monomial_bounds_check.h
src/theory/arith/nl/ext/monomial_check.cpp
src/theory/arith/nl/ext/monomial_check.h
src/theory/arith/nl/ext/split_zero_check.cpp
src/theory/arith/nl/ext/split_zero_check.h
src/theory/arith/nl/ext/tangent_plane_check.cpp
src/theory/arith/nl/ext/tangent_plane_check.h
src/theory/arith/nl/iand_solver.cpp
src/theory/arith/nl/icp/icp_solver.cpp
src/theory/arith/nl/icp/icp_solver.h
src/theory/arith/nl/nonlinear_extension.cpp
src/theory/arith/nl/pow2_solver.cpp
src/theory/arith/nl/transcendental/exponential_solver.cpp
src/theory/arith/nl/transcendental/exponential_solver.h
src/theory/arith/nl/transcendental/sine_solver.cpp
src/theory/arith/nl/transcendental/sine_solver.h
src/theory/arith/nl/transcendental/transcendental_solver.cpp
src/theory/arith/nl/transcendental/transcendental_solver.h
src/theory/arith/operator_elim.cpp
src/theory/arith/pp_rewrite_eq.cpp
src/theory/arith/theory_arith.cpp
src/theory/arith/theory_arith_private.cpp
src/theory/decision_strategy.cpp
src/theory/inference_manager_buffered.cpp
src/theory/quantifiers/conjecture_generator.cpp
src/theory/quantifiers/expr_miner.cpp
src/theory/quantifiers/fmf/first_order_model_fmc.cpp
src/theory/quantifiers/fun_def_evaluator.cpp
src/theory/quantifiers/ho_term_database.cpp
src/theory/quantifiers/sygus/cegis_core_connective.cpp
src/theory/quantifiers/sygus/sygus_eval_unfold.cpp
src/theory/quantifiers/sygus/sygus_eval_unfold.h
src/theory/quantifiers/sygus/sygus_reconstruct.cpp
src/theory/quantifiers/sygus/synth_conjecture.cpp
src/theory/quantifiers/sygus/synth_verify.cpp
src/theory/quantifiers/sygus/synth_verify.h
src/theory/quantifiers/sygus/template_infer.cpp
src/theory/quantifiers/sygus/template_infer.h
src/theory/quantifiers/sygus/term_database_sygus.cpp
src/theory/quantifiers/sygus/transition_inference.cpp
src/theory/quantifiers/sygus/transition_inference.h
src/theory/sets/theory_sets_type_enumerator.cpp
src/theory/sort_inference.cpp
src/theory/strings/base_solver.cpp
src/theory/strings/extf_solver.cpp
src/theory/strings/inference_manager.cpp
src/theory/strings/solver_state.cpp
src/theory/strings/term_registry.cpp
src/theory/theory_engine.cpp
src/theory/theory_inference_manager.cpp
src/theory/theory_model_builder.cpp
src/theory/theory_preprocessor.cpp
src/theory/uf/cardinality_extension.cpp
src/theory/uf/ho_extension.cpp
src/theory/uf/symmetry_breaker.cpp
src/theory/uf/symmetry_breaker.h
src/theory/uf/theory_uf.cpp