summaryrefslogtreecommitdiff
path: root/test/regress/regress0/bug161.smtv1.smt2
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2021-10-19 07:12:06 -0700
committerAndres Noetzli <andres.noetzli@gmail.com>2021-10-20 05:41:10 -0700
commit23a1a56576072911f23c940b5709c62d902e3525 (patch)
tree5e32ec4c905bf26b2cdb37c7f0a5ed259248ee95 /test/regress/regress0/bug161.smtv1.smt2
parent1c744822538cff4e598b411514c4580848f1517b (diff)
Unify abstract values and uninterpreted constantsabstractValsPR
This commit unifies abstract values and "uninterpreted constants" into a single kind. Note that "uninterpreted constants" is a bit of a misnomer in the context of the new API, since they do not correspond to the equivalent of a `declare-const` command, but instead are values for symbols of an uninterpreted sort (and thus special cases of abstract values). Instead of treating "uninterpreted constants" as a separate kind, this commit extends abstract values to hold a type (instead of marking their type via attribute in `NodeManager::mkAbstractValue()`) and uses the type of the abstract values to determine whether they are a value for a constant of uninterpreted sort or not. Unifying these representations simplifies code and brings the terminology more in line with the SMT-LIB standard. This commit also updates the APIs to remove support for creating abstract values and "uninterpreted constants". Users should never create those. They can only be returned as a value for a term after a satisfiability check. Finally, the commit removes code in the parser for parsing abstract values and updates the code for getting values involving abstract values. Since the parser does not allow the declaration/definition of abstract values, and determining whether a symbol is an abstract value was broken (not all symbols starting with an `@` are abstract values), the code was effectively dead. Getting values involving "uninterpreted constants" now no longer requires parsing the string of the values, but instead, we can use existing API functionality.
Diffstat (limited to 'test/regress/regress0/bug161.smtv1.smt2')
0 files changed, 0 insertions, 0 deletions
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback