-
```smt
(declare-datatypes () ((X A B)))
(declare-const x X)
(assert (not (is-A x)))
(assert (not (is-B x)))
(check-sat)
(get-model)
```
This should be unsat but succeeds with:
```
s…
-
In the past I've hit crashes in STP that required some effort to manually reduce down to the smallest failure-inducing input.
Tools like [C-Reduce](http://embed.cs.utah.edu/creduce/) can automaticall…
-
Is this a bug or am I missing something?
```lisp
(declare-const blah (List Int))
(assert (= (head blah) 1))
(assert (= blah nil))
(check-sat)
sat
```
-
For people to play with it! :)
msoos updated
6 years ago
-
How can I dump internal dimacs representation when I'm running z3 on SMT2 formatted files? Is there option to enable when I'm building z3?
-
Z3 has a frontend for DIMACS CNF files. But unlike SMT-LIB2, we cannot use C++ API to parse a DIMACS file, construct an expression object, and add the expression to a solver. Is there any plan for su…
-
**z3 version:** 5bc4c9809e232d63f46018b200cb930bca993ce5
**issue:** `z3` does not print the value of objective functions.
**steps to reproduce:**
The following formula:
```
(declare-fun x…
-
While trying the following snippet to check the final solver.toString():
```
Context context1 = new Context();
Solver solver1 = context1.mkSolver();
BoolExpr expr1 = context1.parseSMTLIB2String(…
-
Hello,
I am thinking to print out my `z3` formula into `SMT-LIB2` language with `QF_BV` logic. After some [googling](https://stackoverflow.com/questions/14628279/z3-convert-z3py-expression-to-smt-l…
-
I've been tasked with creating more robust C/C++ bindings for CVC4. End goal of getting CVC4 JNI bindings more robust, but helping out sbv along the way would be a good side effect.
As a CVC4 C AP…