api: Remove Sort::isComparableTo(). (#7903)
authorAina Niemetz <aina.niemetz@gmail.com>
Mon, 10 Jan 2022 19:27:04 +0000 (11:27 -0800)
committerGitHub <noreply@github.com>
Mon, 10 Jan 2022 19:27:04 +0000 (19:27 +0000)
commitacba737109e440f0b57494bc999dd80169ae64ea
tree86ed5594ba0f4d6c208d1eb5d5721878210e662e
parent966407c1490695bdac2a4d95397625adbcce433a
api: Remove Sort::isComparableTo(). (#7903)

Since we do not support arithmetic subtyping on the API level anymore,
this function is obsolete. Consequently, this now requires that
replacement terms as arguments to Term::substitute() are of the same
sort as the replaced terms.
15 files changed:
src/api/cpp/cvc5.cpp
src/api/cpp/cvc5.h
src/api/cpp/cvc5_checks.h
src/api/java/io/github/cvc5/api/Sort.java
src/api/java/jni/sort.cpp
src/api/python/cvc5.pxd
src/api/python/cvc5.pxi
src/parser/smt2/smt2.cpp
test/regress/regress1/sygus/node-discrete.sy
test/unit/api/cpp/datatype_api_black.cpp
test/unit/api/cpp/sort_black.cpp
test/unit/api/java/DatatypeTest.java
test/unit/api/java/SortTest.java
test/unit/api/python/test_datatype_api.py
test/unit/api/python/test_sort.py