api: Add Solver::mkUnresolvedSort(). (#7817)
authorAina Niemetz <aina.niemetz@gmail.com>
Fri, 17 Dec 2021 04:24:23 +0000 (20:24 -0800)
committerGitHub <noreply@github.com>
Fri, 17 Dec 2021 04:24:23 +0000 (04:24 +0000)
commit6c98b2f66aaee9e8f266bee816d730cc5ffee821
tree3729b6641ef8890ccfad788ebc0f7d8c5e535b92
parent3973cfaa8763068a635f9091367b7642f322cbd9
api: Add Solver::mkUnresolvedSort(). (#7817)

This adds a function to create unresolved sorts for mutually recursive
datatpes. This function creates an uninterpreted sort if the arity of
the unresolved sort is 0, and a sort constructor sort otherwise.
12 files changed:
src/api/cpp/cvc5.cpp
src/api/cpp/cvc5.h
src/api/java/io/github/cvc5/api/Solver.java
src/api/java/jni/solver.cpp
src/api/python/cvc5.pxd
src/api/python/cvc5.pxi
test/unit/api/cpp/datatype_api_black.cpp
test/unit/api/cpp/solver_black.cpp
test/unit/api/java/DatatypeTest.java
test/unit/api/java/SolverTest.java
test/unit/api/python/test_datatype_api.py
test/unit/api/python/test_solver.py