projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a893985
)
Add witness to cvc printer. (#5057)
author
Andrew Reynolds
<andrew.j.reynolds@gmail.com>
Fri, 11 Sep 2020 00:09:11 +0000
(19:09 -0500)
committer
GitHub
<noreply@github.com>
Fri, 11 Sep 2020 00:09:11 +0000
(19:09 -0500)
src/printer/cvc/cvc_printer.cpp
patch
|
blob
|
history
diff --git
a/src/printer/cvc/cvc_printer.cpp
b/src/printer/cvc/cvc_printer.cpp
index 2d59bff715c6e3cabe0d5c8a6fc76e827a8b9b14..02afa715d66a097d65b674c6084f00b522601ddc 100644
(file)
--- a/
src/printer/cvc/cvc_printer.cpp
+++ b/
src/printer/cvc/cvc_printer.cpp
@@
-317,6
+317,13
@@
void CvcPrinter::toStream(
out << ")";
return;
break;
+ case kind::WITNESS:
+ out << "(WITNESS";
+ toStream(out, n[0], depth, types, false);
+ out << " : ";
+ toStream(out, n[1], depth, types, false);
+ out << ')';
+ return;
case kind::DISTINCT:
// distinct not supported directly, blast it away with the rewriter
toStream(out, theory::Rewriter::rewrite(n), depth, types, true);