Add type to uninterpreted constant values (#8891)
authormudathirmahgoub <mudathirmahgoub@gmail.com>
Wed, 22 Jun 2022 01:56:01 +0000 (20:56 -0500)
committerGitHub <noreply@github.com>
Wed, 22 Jun 2022 01:56:01 +0000 (01:56 +0000)
commit12ff8418d65db0ddbf53035100652d9f645d71fc
treebbfef69ef007834b72b3dd9f491edfebe505117f
parentbb1c914e2d4c556bbfe29140715d52867d613c25
Add type to uninterpreted constant values (#8891)

Before
```smt2
(define-fun x () UInt (as @a_0 UInt))
(define-fun y () Atom (as @a_0 Atom))
```
After

```smt2
(define-fun x () UInt (as @UInt_0 UInt))
(define-fun y () Atom (as @Atom_0 Atom))
```
src/printer/smt2/smt2_printer.cpp
src/util/uninterpreted_sort_value.cpp
test/regress/cli/regress0/models-print-2.smt2
test/regress/cli/regress0/parser/issue6908-get-value-uc.smt2