mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
address divergence in the case of shared theory symbols. Codeplex issue 147, thanks to George Karpenkov
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
commit
08cb8b8de8
74 changed files with 1280 additions and 896 deletions
|
@ -21,6 +21,7 @@ void demorgan() {
|
|||
// adding the negation of the conjecture as a constraint.
|
||||
s.add(!conjecture);
|
||||
std::cout << s << "\n";
|
||||
std::cout << s.to_smt2() << "\n";
|
||||
switch (s.check()) {
|
||||
case unsat: std::cout << "de-Morgan is valid\n"; break;
|
||||
case sat: std::cout << "de-Morgan is not valid\n"; break;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
### This is work-in-progress and does not work yet.
|
||||
A small example using the Z3 Java bindings.
|
||||
|
||||
Small example using the Z3 Java bindings.
|
||||
To build the example execute
|
||||
To build the example, configure Z3 with the --java option to scripts/mk_make.py, build via
|
||||
make examples
|
||||
in the build directory.
|
||||
|
||||
|
@ -11,5 +10,5 @@ which can be run on Windows via
|
|||
|
||||
On Linux and FreeBSD, we must use
|
||||
LD_LIBRARY_PATH=. java -cp com.microsoft.z3.jar:. JavaExample
|
||||
|
||||
|
||||
On OSX, the corresponding option is DYLD_LIBRARY_PATH:
|
||||
DYLD_LIBRARY_PATH=. java -cp com.microsoft.z3.jar:. JavaExample
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue