summaryrefslogtreecommitdiff
path: root/examples/simple_vc_cxx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/simple_vc_cxx.cpp')
-rw-r--r--examples/simple_vc_cxx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/simple_vc_cxx.cpp b/examples/simple_vc_cxx.cpp
index 25a05a1a7..cfd14b089 100644
--- a/examples/simple_vc_cxx.cpp
+++ b/examples/simple_vc_cxx.cpp
@@ -50,9 +50,9 @@ int main() {
em.mkExpr(kind::AND, x_positive, y_positive).
impExpr(twox_plus_y_geq_3);
- cout << "Checking validity of formula " << formula << " with CVC4." << endl;
- cout << "CVC4 should report VALID." << endl;
- cout << "Result from CVC4 is: " << smt.query(formula) << endl;
+ cout << "Checking entailment of formula " << formula << " with CVC4." << endl;
+ cout << "CVC4 should report ENTAILED." << endl;
+ cout << "Result from CVC4 is: " << smt.checkEntailed(formula) << endl;
return 0;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback