Eliminate uses of Expr in SmtEngine interface (#5240)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Mon, 12 Oct 2020 16:14:08 +0000 (11:14 -0500)
committerGitHub <noreply@github.com>
Mon, 12 Oct 2020 16:14:08 +0000 (11:14 -0500)
commit3ce6e00068c02286704143d82d5f044fdb356516
tree53d8403a8cc2c92db4cb815861f5c7cd56dee446
parente93c443a0bfb1a66909e8467b24da399be3d01ac
Eliminate uses of Expr in SmtEngine interface (#5240)

This eliminates all use of Expr in the SmtEngine except in a few interfaces (setUserAttribute, getAssignment) whose signature is currently in question.

The next steps will be to (1) eliminate Expr from the smt/model.h interface, (2) replace Type by TypeNode in Sort.
19 files changed:
src/api/cvc4cpp.cpp
src/preprocessing/passes/bv_to_int.cpp
src/preprocessing/passes/quantifier_macros.cpp
src/preprocessing/passes/real_to_int.cpp
src/preprocessing/passes/sygus_inference.cpp
src/smt/abduction_solver.cpp
src/smt/defined_function.h
src/smt/interpolation_solver.cpp
src/smt/interpolation_solver.h
src/smt/model_blocker.cpp
src/smt/model_blocker.h
src/smt/model_core_builder.cpp
src/smt/model_core_builder.h
src/smt/smt_engine.cpp
src/smt/smt_engine.h
src/theory/quantifiers/sygus/ce_guided_single_inv.cpp
src/theory/theory_model.cpp
src/theory/theory_model.h
test/unit/expr/type_node_white.h