Eliminate the use of CAST_TO_REAL (#8759)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Sun, 15 May 2022 17:11:42 +0000 (12:11 -0500)
committerGitHub <noreply@github.com>
Sun, 15 May 2022 17:11:42 +0000 (17:11 +0000)
commita3745c4b50c41e5a1ebd632c3a9e768c9bf8d67f
tree4fc3c7810719f475af068df0bd946060406725c0
parente3bec47e98e76ad6e4a11259af096abb20f7de57
Eliminate the use of CAST_TO_REAL (#8759)

This simplifies the implementation of the API by not relying on CAST_TO_REAL. This was used as a way of manually marking integral reals as having real type.
12 files changed:
src/api/cpp/cvc5.cpp
src/api/cpp/cvc5.h
src/expr/subtype_elim_node_converter.cpp
src/expr/subtype_elim_node_converter.h
src/printer/smt2/smt2_printer.cpp
src/printer/smt2/smt2_printer.h
src/proof/alethe/alethe_nosubtype_node_converter.cpp
src/proof/lfsc/lfsc_node_converter.cpp
src/theory/arith/arith_rewriter.cpp
src/theory/arith/kinds
src/theory/arith/theory_arith_type_rules.cpp
src/theory/evaluator.cpp