Eliminate more uses of CONST_RATIONAL (#8590)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Fri, 8 Apr 2022 20:58:02 +0000 (15:58 -0500)
committerGitHub <noreply@github.com>
Fri, 8 Apr 2022 20:58:02 +0000 (20:58 +0000)
commitde3d3cabc372a50c953404e3e193b15ef7609ba4
treedc2b21414b53faee5696be131dcdd085915d91cd
parent80959b3c2c4ace7a7a06b996418776b554e3f184
Eliminate more uses of CONST_RATIONAL (#8590)

To eliminate arithmetic subtyping, we require distinguishing CONST_RATIONAL and CONST_INTEGER internally. Code should avoid usage of these kinds and use trusted utilities instead (e.g. mkConstReal, mkConstInst, isConst).
src/theory/arith/arith_ite_utils.cpp
src/theory/arith/arith_utilities.cpp
src/theory/arith/arith_utilities.h
src/theory/arith/nl/ext_theory_callback.cpp
src/theory/arith/nl/ext_theory_callback.h
src/theory/arith/nl/nl_model.cpp
src/theory/arith/type_enumerator.h
src/theory/bags/bags_utils.cpp
src/theory/bags/theory_bags.cpp
src/theory/strings/theory_strings.cpp