summaryrefslogtreecommitdiff
path: root/examples/SimpleVC.java
diff options
context:
space:
mode:
Diffstat (limited to 'examples/SimpleVC.java')
-rw-r--r--examples/SimpleVC.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/SimpleVC.java b/examples/SimpleVC.java
index e77a5e99f..798dc08af 100644
--- a/examples/SimpleVC.java
+++ b/examples/SimpleVC.java
@@ -55,8 +55,9 @@ public class SimpleVC {
new Expr(em.mkExpr(Kind.AND, x_positive, y_positive)).
impExpr(new Expr(twox_plus_y_geq_3));
- System.out.println("Checking validity of formula " + formula + " with CVC4.");
- System.out.println("CVC4 should report VALID.");
- System.out.println("Result from CVC4 is: " + smt.query(formula));
+ System.out.println(
+ "Checking entailment of formula " + formula + " with CVC4.");
+ System.out.println("CVC4 should report ENTAILED.");
+ System.out.println("Result from CVC4 is: " + smt.checkEntailed(formula));
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback