3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-30 04:15:51 +00:00
Commit graph

220 commits

Author SHA1 Message Date
Nikolaj Bjorner
0a09d5ff52 check for non-nullness when handling optional info fields for marking. Fixes issue #719
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-08-23 11:33:40 -03:00
Nikolaj Bjorner
5f39c4371c fix proof generation for unit resolution. Issue #691
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-20 11:54:39 -07:00
Nikolaj Bjorner
cf48eb5f72 mark also ast in parameters as GC roots. Issue #676
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-17 19:16:15 -04:00
Nikolaj Bjorner
3a83788b97 remove unfinished ite-macro finder, tune ast GC to ensure nodes are roots only once
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-14 09:46:09 -07:00
Nikolaj Bjorner
4720d578a4 add proper garbage collection to ast_manager. Issue #679
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-07-14 09:05:16 -07:00
Nikolaj Bjorner
9253ca9d86 make use of warning_msg safe for formatting. Thanks to Scott McPeak for reporting
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-14 08:10:10 -07:00
Nikolaj Bjorner
eab5a84f62 fix issues with int.to.str and seq.len encodings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-02 20:57:52 -07:00
Nikolaj Bjorner
39acd3594a test variants for seq_solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-30 18:15:10 -07:00
Nikolaj Bjorner
f03032bd09 updated seq solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-29 14:01:05 -07:00
Nikolaj Bjorner
c3f498a640 strengthen support for int.to.str and length reasoning. Issue #589
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-28 12:26:47 -07:00
Nikolaj Bjorner
96e157e201 fix warnings for unused variables
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-05-17 13:54:22 -07:00
Christoph M. Wintersteiger
3ffcea0fe4 whitespace 2016-04-18 16:52:12 +01:00
Nuno Lopes
d0de8fff62 ensure ast_manager::are_equal returns true if expr ptrs are equal
found by Nikolaj
2016-03-08 16:53:09 +00:00
Nikolaj Bjorner
70f13ced33 make proto-model evaluation use model_evaluator instead of legacy evaluator
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-05 10:14:15 -08:00
Nikolaj Bjorner
7c6540e18f recursive function definitions; combine model-building functionality
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-03 07:59:03 -08:00
Nikolaj Bjorner
30f8110488 fix bugs exposed by Chris' sequence unit tests. Improve diagnostics for reason-unknown in combined solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-28 08:51:04 -08:00
Nikolaj Bjorner
b352d43e50 fix bugs exposed by Chris' sequence unit tests. Improve diagnostics for reason-unknown in combined solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-28 08:50:13 -08:00
Nikolaj Bjorner
79a5b133d7 fix debugging code in ast.cpp to take into account that literals may be repeated
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-11 11:04:44 -08:00
Nikolaj Bjorner
9c6271dded add debugging facilities for github issues #384 #367
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-22 10:43:18 -08:00
Nikolaj Bjorner
baee4225a7 reworking cancellation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-11 16:21:24 -08:00
Nuno Lopes
0e387b2abe use Z3_fallthrough instead of __falthrough directly to avoid messing with reserved identifiers
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-10-09 18:06:49 +01:00
Christoph M. Wintersteiger
d2c9b69eb3 fixed memory leak (`mem' remained allocated upon exception thrown in check_args). 2015-09-17 13:20:24 +01: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
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
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
e13bf2424e fix type checking for non-associative basic operations, fixes issue #160
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-13 08:29:24 -07:00
Nuno Lopes
c577ab361b fix assorted undefined behaviors caught by clang
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-23 11:45:12 +01:00
Nikolaj Bjorner
8a34bd2bf1 fixes issue #88
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-05-21 15:08:39 -07:00
Nikolaj Bjorner
c969d78042 throw exception instead of debug mode assertion in ast_manager on malformed input
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-05-21 15:07:01 -07:00
Nikolaj Bjorner
9377779e58 merge with unstable
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-30 10:40:03 -07:00
Nikolaj Bjorner
620c11932b type check distinct operator. fixes #62
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-27 11:10:37 -07:00
Nikolaj Bjorner
52619b9dbb pull unstable
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-01 14:57:11 -07:00
Christoph M. Wintersteiger
359c7e4da9 Removed unnecessary variables and added initialization to others to silence warnings.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-07 14:47:26 +00:00
Christoph M. Wintersteiger
71912830f1 Formatting, mostly tabs
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 17:54:44 +00:00
Christoph M. Wintersteiger
0381e4317a Formatting, mostly tabs.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 17:54:04 +00:00
Nikolaj Bjorner
c61e9f27db local changes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-12-22 09:27:33 -08:00
Nikolaj Bjorner
a309dbfdc2 coerce equality and ite upward instead of downward for int2real coercions. Fixes bug reported by Enric Carbonell
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-11-12 20:28:11 -08:00
Nikolaj Bjorner
7e91fb5c15 remove mk_or_reduced
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-16 22:14:58 -07:00
Nikolaj Bjorner
e32448d7ea more fun with docs
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-16 21:46:39 -07:00
Nikolaj Bjorner
019ff77613 fix sorting network bug, add network compilation,...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-11 18:47:21 -07:00
Nikolaj Bjorner
da4793de76 fix type checking bug reported by Nate
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-01-09 21:14:30 -08:00
Ken McMillan
3764064e98 fixed some address dependencies 2013-12-13 18:41:35 -08:00
Christoph M. Wintersteiger
e1a6c5098d fixed memory leak
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-11 17:33:02 +00:00
Ken McMillan
d8972d4b17 removed commented-out code 2013-11-05 13:35:37 -08:00
Ken McMillan
49c72abb2d new interpolation fixes; re-added fixedpoint-push/pop 2013-11-05 12:17:09 -08:00
Ken McMillan
3a0947b3ba merged with unstable 2013-10-18 17:26:41 -07:00
Ken McMillan
b27abc501e set proof mode by default to avoid crash on pop if we set it later in duality 2013-05-27 19:22:19 -07:00
Ken McMillan
e939dd2bc5 still integrating duality 2013-04-30 13:07:49 -07:00
Nuno Lopes
7ce88d4da9 fix a few compilation warnings
- remove unused variables and class fields
 - add support for gcc 4.5 & clang's __builtin_unreachable
 - fix 2 bugs related to strict aliasing
 - remove a few unused function parameters

Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
2013-04-21 14:36:39 -07:00