Towards standard usage of evaluator (#7189)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Wed, 22 Sep 2021 20:05:44 +0000 (15:05 -0500)
committerGitHub <noreply@github.com>
Wed, 22 Sep 2021 20:05:44 +0000 (20:05 +0000)
commitba259d66be877de3cc77e4f62083905ace942c82
tree864bd79d72e52516bd9427a9f3d6907843f14b01
parentf9fd2f7a1e37540c0ac6a9ef33f9da91f69a8368
Towards standard usage of evaluator (#7189)

This makes the evaluator accessible via EnvObj through the Rewriter. It furthermore removes Rewriter::rewrite from inside the evaluator itself.

Construction of Evaluator utilities is now discouraged.

The include dependencies were cleaned slightly in this PR, leading to more precise includes throughout.

This is work towards having a configurable cardinality for strings, as well as eliminating SmtEngineScope.
44 files changed:
src/smt/env.cpp
src/smt/env.h
src/smt/env_obj.cpp
src/smt/env_obj.h
src/smt/proof_post_processor.cpp
src/theory/builtin/proof_checker.cpp
src/theory/datatypes/sygus_datatype_utils.cpp
src/theory/datatypes/sygus_extension.cpp
src/theory/datatypes/sygus_extension.h
src/theory/datatypes/sygus_simple_sym.cpp
src/theory/datatypes/theory_datatypes.cpp
src/theory/evaluator.cpp
src/theory/evaluator.h
src/theory/quantifiers/cegqi/ceg_instantiator.cpp
src/theory/quantifiers/cegqi/inst_strategy_cegqi.cpp
src/theory/quantifiers/ematching/inst_match_generator.cpp
src/theory/quantifiers/expr_miner_manager.cpp
src/theory/quantifiers/fmf/bounded_integers.cpp
src/theory/quantifiers/fun_def_evaluator.cpp
src/theory/quantifiers/fun_def_evaluator.h
src/theory/quantifiers/quant_bound_inference.cpp
src/theory/quantifiers/quant_conflict_find.cpp
src/theory/quantifiers/quantifiers_attributes.cpp
src/theory/quantifiers/skolemize.cpp
src/theory/quantifiers/solution_filter.cpp
src/theory/quantifiers/sygus/cegis.cpp
src/theory/quantifiers/sygus/cegis.h
src/theory/quantifiers/sygus/cegis_core_connective.cpp
src/theory/quantifiers/sygus/cegis_core_connective.h
src/theory/quantifiers/sygus/cegis_unif.cpp
src/theory/quantifiers/sygus/enum_value_manager.cpp
src/theory/quantifiers/sygus/rcons_type_info.cpp
src/theory/quantifiers/sygus/rcons_type_info.h
src/theory/quantifiers/sygus/sygus_enumerator.cpp
src/theory/quantifiers/sygus/sygus_grammar_cons.cpp
src/theory/quantifiers/sygus/sygus_unif_io.cpp
src/theory/quantifiers/sygus/term_database_sygus.cpp
src/theory/quantifiers/sygus/term_database_sygus.h
src/theory/quantifiers/sygus_sampler.cpp
src/theory/quantifiers/sygus_sampler.h
src/theory/rewriter.cpp
src/theory/rewriter.h
src/theory/rewriter_tables_template.h
test/unit/theory/evaluator_white.cpp