1 Release Notes for CVC4 1.4, July 2014
5 If you run CVC4 without arguments, you will find yourself in an interactive
6 CVC4 session, which expects commands in CVC4's native language (the so-called
7 "presentation" language). To use SMT-LIB, use the "--lang smt" option on the
8 command line. For stricter adherence to the standard, use "--smtlib-strict"
9 (see below regarding SMT-LIB compliance).
11 When a filename is given on the command line, the file's extension determines
12 the language parser that's used (e.g., file.smt is SMT-LIB 1.2, file.smt2
13 is SMT-LIB 2.0, and file.cvc is the presentation language). To override
14 this, you can use the --lang option.
18 The CVC family of systems relies on Type Correctness Conditions (TCCs) when
19 mixing two types that have a compatible base type. TCCs, and the checking of
20 such, are not supported by CVC4 1.4. This is an issue when mixing integers and
21 reals. A function defined only on integers can be applied to REAL (as INT is a
22 subtype of REAL), and CVC4 will not complain. It is up to the user to ensure
23 that the REAL expression must be an integer. If the REAL expression is not
24 an integer and is used where an INT is expected, CVC4 may produce strange
35 % f : (INT) -> INT = LAMBDA(x1:INT) : 0;
37 This kind of problem can be identified by checking TCCs. Though CVC4 does not
38 (yet) support TCCs, CVC3 can be used to produce TCCs for this input (with the
39 +dump-tcc option). The TCC can then be checked by CVC4 or another solver.
40 (CVC3 can also check TCCs at the same time it creates them, with +tcc.)
42 ** Changes in CVC's Presentation Language
44 The native language of all solvers in the CVC family, referred to as the
45 "presentation language," has undergone some revisions for CVC4. The
46 most notable is that CVC4 does _not_ add counterexample assertions to
47 the current assertion set after a SAT/INVALID result. For example:
50 ASSERT x = 1 OR x = 2;
51 ASSERT y = 1 OR y = 2;
60 Here, CVC4 responds "invalid" to the second and third queries, because
61 each has a counterexample (x=2 is a counterexample to the first, and
62 x=1 is a counterexample to the second). However, CVC3 will respond
63 with "valid" to one of these two, as the first query (the CHECKSAT)
64 had the side-effect of locking CVC3 into one of the two cases; the
65 later queries are effectively querying the counterexample that was
66 found by the first. CVC4 removes this side-effect of the CHECKSAT and
69 CVC4 supports rational literals (of type REAL) in decimal; CVC3 did not
72 CVC4 does not have support for predicate subtypes, although these are
73 planned for future releases.
77 Every effort has been made to make CVC4 compliant with the SMT-LIB 2.0
78 standard (http://smtlib.org/). However, when parsing SMT-LIB input,
79 certain default settings don't match what is stated in the official
80 standard. To make CVC4 adhere more strictly to the standard, use the
81 "--smtlib-strict" command-line option. Even with this setting, CVC4 is
82 somewhat lenient; some non-conforming input may still be parsed and
85 For the latest news on SMT-LIB compliance, please check:
87 http://cvc4.cs.nyu.edu/wiki/SMT-LIB_Compliance
91 Statistics can be dumped on exit (both normal and abnormal exits) with
92 the --stats command line option.
94 ** Time and resource limits
96 CVC4 can be made to self-timeout after a given number of milliseconds.
97 Use the --tlimit command line option to limit the entire run of
98 CVC4, or use --tlimit-per to limit each individual query separately.
99 Preprocessing time is not counted by the time limit, so for some large
100 inputs which require aggressive preprocessing, you may notice that
101 --tlimit does not work very well. If you suspect this might be the
102 case, you can use "-vv" (double verbosity) to see what CVC4 is doing.
104 Time-limited runs are not deterministic; two consecutive runs with the
105 same time limit might produce different results (i.e., one may time out
106 and respond with "unknown", while the other completes and provides an
107 answer). To ensure that results are reproducible, use --rlimit or
108 --rlimit-per. These options take a "resource count" (presently, based on
109 the number of SAT conflicts) that limits the search time. A word of
110 caution, though: there is no guarantee that runs of different versions of
111 CVC4 or of different builds of CVC4 (e.g., two CVC4 binaries with different
112 features enabled, or for different architectures) will interpret the resource
113 count in the same manner.
115 CVC4 does not presently have a way to limit its memory use; you may opt
116 to run it from a shell after using "ulimit" to limit the size of the
121 CVC4 1.4 has limited support for proofs, and they are disabled by default.
122 (Run the configure script with --enable-proof to enable proofs). Proofs
123 are exported in LFSC format and are limited to the propositional backbone
124 of the discovered proof (theory lemmas are stated without proof in this
127 ** Nonlinear arithmetic
129 CVC4 1.4 has a state-of-the-art linear arithmetic solver. However, there
130 is extremely limited support for nonlinear arithmetic in this release.
134 If enabled at configure-time (./configure --with-portfolio), a second
135 CVC4 binary will be produced ("pcvc4"). This binary has support for
136 running multiple instances of CVC4 in different threads. Use --threads=N
137 to specify the number of threads, and use --thread0="options for thread 0"
138 --thread1="options for thread 1", etc., to specify a configuration for the
139 threads. Lemmas are *not* shared between the threads by default; to adjust
140 this, use the --filter-lemma-length=N option to share lemmas of N literals
141 (or smaller). (Some lemmas are ineligible for sharing because they include
142 literals that are "local" to one thread.)
144 Currently, the portfolio **does not work** with the theory of inductive
145 datatypes. This limitation will be addressed in a future release.
149 CVC4 and its predecessors have an active user base. You might want to
150 subscribe to the mailing list (http://cs.nyu.edu/mailman/listinfo/cvc-users)
151 and post a question there.
153 ** Reporting bugs and making feature requests
155 CVC4 is under active development. Should you find a bug in CVC4's
156 documentation, behavior, API, or SMT-LIB compliance, or if you have
157 a feature request, please let us know on our bugtracker at
159 http://cvc4.cs.nyu.edu/bugs/
161 or send an email to cvc-bugs@cims.nyu.edu.