3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 12:28:44 +00:00
Commit graph

4101 commits

Author SHA1 Message Date
Nikolaj Bjorner 40eb7c9c84 fix 0-1 translation bug reported by Klaus Becker
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-10 16:21:02 +02:00
Nikolaj Bjorner e532657d77 .. adding core validation debug option to ease diagnose issue #158
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-10 11:01:46 +02:00
Nikolaj Bjorner db24cb8087 add core validation option to directly validate cores using the context
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-10 10:56:07 +02:00
Nikolaj Bjorner 76ca64b93b add consistency per request from Gabriel R
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-09 18:56:42 +02:00
Nikolaj Bjorner eb5af100bd adding optimize bindings for ML, adding get_reason_unknown to optimize, mentioned in pull request issue #188, second edition
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-09 17:49:20 +02:00
Nikolaj Bjorner 7c9dd6b8a8 fix exception unsafety leading to double free, issues #184 and issue #175. Location and fix strategy suggested by Nuno
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-09 00:34:59 +02:00
Nikolaj Bjorner ff24375550 have opt_frontend display results by default
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-08 14:19:05 +02:00
Nikolaj Bjorner aa431bb67f ensure pb on lex > 1 constraints
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-08 14:10:11 +02:00
Nikolaj Bjorner 8505ca843b recognize more pb patterns
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-08 13:39:39 +02:00
Nikolaj Bjorner c7649088e7 have solver pretty print declarations, include also datatype declarations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-07 08:54:03 +02:00
Nikolaj Bjorner 052ac51ed7 have solver pretty print declarations, include also datatype declarations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-07 08:52:27 +02:00
Nikolaj Bjorner 7f517c625f have solver pretty print declarations, include also datatype declarations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-07 08:48:24 +02:00
Nikolaj Bjorner a3c43c34fb change default behavior of solver pretty printer to include declarations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-06 18:57:11 +02:00
Nikolaj Bjorner 6780784bcf filter instantiations for model values to fix issue #183
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-06 14:43:08 +02:00
Nikolaj Bjorner f96c0b6963 fixes #186, remove ite-lifting from opt_context to detect weighted maxsat
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-06 11:52:59 +02:00
Nikolaj Bjorner e59ec5fefd fixes issue #185
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-06 11:04:37 +02:00
Nikolaj Bjorner b8e6a0d0dc Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-08-05 11:13:05 +02:00
Christoph M. Wintersteiger 5e0aaee2c7 Made num_clauses in sat_solver public 2015-08-04 15:26:03 +01:00
Christoph M. Wintersteiger ca4a7ca74e style 2015-08-01 14:29:45 +01:00
Christoph M. Wintersteiger bea8744f7d Disabled superfluous wellformedness check and fixed type checking in basic_decl_plugin::join 2015-07-31 11:20:01 +01:00
Nikolaj Bjorner ef945fbf77 add joinability type checking
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-30 15:15:55 -03:00
Nikolaj Bjorner d94e12104d Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-07-30 11:32:29 -03:00
Nikolaj Bjorner a0894ac7bf add basic example of using optimizaiton context to Java as raised in issue #179
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-30 11:32:14 -03:00
Christoph M. Wintersteiger 9d31b64273 Enforced well_sorted_check/type_check by default (to match default parameter settings and to produce better error messages).
Fixes #180

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-07-30 09:32:14 +01:00
Christoph M. Wintersteiger 0cd406ca0b Fixed initialization order and unused variable warnings.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-07-30 09:09:13 +01:00
Christoph M. Wintersteiger 7c282d3719 bugfix for smt::model_finder::set_cancel
follow-up to fixed #178
2015-07-29 17:18:15 +01:00
Christoph M. Wintersteiger b9e273800c Made quantifier-related parts of smt::model_finder and smt::model_checker interruptable.
Fixes #178
2015-07-29 16:55:45 +01:00
Nikolaj Bjorner 0e886cfe5e add default constructor and tester to python API, fixes issue #168
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-28 22:54:37 -03:00
Nikolaj Bjorner 318ee3a86d fix issue #176
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-28 22:31:41 -03:00
Ken McMillan 52de96fcfc merge with unstable 2015-07-27 11:24:17 -07:00
Ken McMillan 5aa74644fc fix for issue #171 (interpolation crash) 2015-07-27 11:15:33 -07:00
Zachary Kincaid 6214ba900b Z3_lbool should be signed in API 2015-07-26 21:17:59 -04:00
Zachary Kincaid eca2488ab4 If ocamlfind is installed, add destdir/stublibs to rpath 2015-07-26 19:59:17 -04:00
Dmitriy Trubenkov ab88708f9a Remove extra semicolons in C++ headers. Useful for projects builded with -Wpedantic 2015-07-25 23:46:01 +03:00
vhalros 68c086c589 Added default operator to array interface. 2015-07-24 15:24:23 -04:00
Nikolaj Bjorner fc3e1af4a9 add dump_models option per suggestion from Pankaj Chauhan
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-24 09:45:17 -07:00
Nuno Lopes 3d7785cc18 Merge pull request #166 from hguenther/unstable
Improve filter_rules performance
2015-07-23 16:55:09 +01:00
Henning Guenther 5fdc104f82 Improve filter_rules performance
Perform lookup and insert in one operation to avoid duplicate work.
2015-07-23 16:08:09 +01:00
Nikolaj Bjorner 5718c23632 Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-07-16 18:01:16 -07:00
Nikolaj Bjorner 7d5c144dfe add java Optimize context
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-16 18:00:45 -07:00
Nikolaj Bjorner 92f731e51c add java Optimize context
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-16 18:00:26 -07:00
Nikolaj Bjorner a7a0deed3f Merge pull request #164 from mlr-msft/master
clarified README with information provided in issue #163.
2015-07-16 10:40:52 -07:00
Michael Lowell Roberts e5b702b3f1 clarified README with information provided in issue #163. 2015-07-16 10:38:17 -07:00
Nuno Lopes f62a192357 remove __in/__out SAL annotations.
They break the build with recent glibc versions and apparently noone is using them.

Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-07-15 13:46:32 +01:00
Nikolaj Bjorner d7b3aaffbd Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-07-14 13:18:16 -07:00
Christoph M. Wintersteiger 1bad614646 Fixed .equals for AST, FuncDecl, and Sort, and AST.compareTo in Java
Fixes #143
2015-07-14 13:09:00 -07:00
Christoph M. Wintersteiger 5f755a5bd8 Adjusted return types of set functions to ArrayExprs in Java and .NET
Fixes #137
2015-07-14 13:07:16 -07:00
Christoph M. Wintersteiger 31eb738db5 Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-07-14 12:08:34 -07:00
Christoph M. Wintersteiger f9e2ad76fa Bugfix for fp.to_sbv
Fixes #114.
2015-07-14 12:05:45 -07:00
Nikolaj Bjorner 6e22250d1a fixup model construction on undef results for arithmetic. Fixes issue #161
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-13 12:44:55 -07:00