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

4087 commits

Author SHA1 Message Date
Christoph M. Wintersteiger 81eecafa66 Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-08-27 18:17:38 +01:00
Christoph M. Wintersteiger 081ba9093a Bugfix for FP theory; handling of UFs and interpreted functions from other theories. 2015-08-27 18:17:26 +01:00
Nikolaj Bjorner 8622356375 working on pd-maxres
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-27 08:09:46 -07:00
Nikolaj Bjorner 7c47809973 reworking pd-maxres
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-26 16:33:53 -07:00
Nikolaj Bjorner af9143b64a tune initial propagation for pd-maxres
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-25 17:15:31 -07:00
Nikolaj Bjorner d00d6a3506 enable Boolean propagation in AUFBV to fix inefficiency (bit-blasting destroys simplifications that are possible by simple Boolean propagation). Fixes issue #194
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-25 13:21:33 -07:00
Nikolaj Bjorner 68b441770e Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-08-25 11:09:35 -07:00
Nikolaj Bjorner 7639eff29b retain default configuration between calls to SMT tactic so that values are not overwritten between calls to smt-setup. Fixes bug #196
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-25 11:09:10 -07:00
Nikolaj Bjorner b2ebd095cb fix for unintialized variable m_conflict_lvl
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-24 17:01:46 -07:00
Nikolaj Bjorner ef7915858b add filter to detect circumventing the default semantics of bit-vector division with the use of the sat-based bit-vector solver. Provides a way to fix issue #190
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-24 16:27:07 -07:00
Nikolaj Bjorner ee5f1ad6b6 fix issue #203: domain range was one too large
Signed-off-by: unknown <nbjorner@nikolaj-z.redmond.corp.microsoft.com>
2015-08-24 15:55:40 -07:00
unknown 4ce80f1aed Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-08-24 09:33:37 -07:00
Christoph M. Wintersteiger 8c11299be6 Bugfix for theory_fpa, when datatypes contain floats.
Fixes #201.
2015-08-24 15:09:02 +01:00
unknown 3c4b5e22b8 Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-08-23 14:25:24 -07:00
Nikolaj Bjorner 46e0ff486b fix wcnf front-end and unsat case in pd
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-23 14:25:11 -07:00
Nikolaj Bjorner 149549dd52 fix wcnf front-end and unsat case in pd
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-23 14:24:51 -07:00
unknown 42c7277ea8 Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-08-23 12:09:51 -07:00
Nikolaj Bjorner ee458fa601 revising pd-maxres
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-23 12:09:07 -07:00
Nikolaj Bjorner 76c9abada2 remove dbg pp
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-23 11:00:19 -07:00
unknown b06c4d985e Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-08-23 10:58:28 -07:00
unknown 2b48092541 local sat solver change
Signed-off-by: unknown <nbjorner@nikolaj-z.redmond.corp.microsoft.com>
2015-08-23 10:58:12 -07:00
Nikolaj Bjorner 546a9b8f03 revising pd-maxres
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-23 10:53:39 -07:00
Nikolaj Bjorner da0c12cdba move display method to before first SAT call
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-21 18:29:36 -07:00
Nikolaj Bjorner a78fc031bc adding facility to dump wcnf benchmarks
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-21 07:26:49 -07:00
Nikolaj Bjorner 954e612188 redoing pd-maxres
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-20 18:09:43 -07:00
Nikolaj Bjorner a9807878ea reworking pd-maxres
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-20 12:20:30 -07:00
Nikolaj Bjorner e3cb0e2d8b reworking pd-maxres
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-20 12:06:27 -07:00
Nikolaj Bjorner 980e74b4ff add tactic to recognize small discrete domains and convert them into bit-vectors
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-20 06:39:11 -07:00
Nikolaj Bjorner 7c87096237 Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable 2015-08-18 19:10:44 -07:00
Christoph M. Wintersteiger 9ad065a538 Bugfixes for the optimization module in the ML API 2015-08-15 23:51:43 +01:00
Nikolaj Bjorner 655b44c07b make :weight understand both decimal and integral values, remove dweight, remove deprecated commands for optimization
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-15 00:48:22 +02:00
Nikolaj Bjorner 94d83b7be9 n/a
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-14 14:12:14 +02:00
Nikolaj Bjorner cd838e5cf4 fix bug reported in issue #193: MBQI needs to avoid instantiating data-types that contain model values in nested positions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-13 14:29:48 +02:00
Nikolaj Bjorner 702af71a2d Check more frequently for cancelation flags to address grep0095.stp.smt2 in issue #178. Z3 spends time in pre-processing simplification, which indicates there is some opportunity to tune this portion of the code
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-11 23:14:34 +02:00
Nikolaj Bjorner 424f34d3d9 enable smt tactic to be used even if cores are enabled, as long as no cores are tracked, fixes issue #189
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-11 11:16:41 +02:00
Nikolaj Bjorner af23f226bf take 'iff' into account in assertion on transitivity
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-11 09:07:18 +02:00
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