3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00
Commit graph

933 commits

Author SHA1 Message Date
Nuno Lopes
d642d5fe4c API: add smt.logic parameter to enable setting the logic through the API
currently only Z3_solver_set_params() is supported
logic has to be set before solver first usage or before solver reset
2016-02-25 09:47:51 +00:00
Christoph M. Wintersteiger
6319861e26 Merge branch 'master' of https://github.com/Z3Prover/z3 2016-02-12 18:32:46 +00:00
Christoph M. Wintersteiger
f399fe5e1d resolved conflicts 2016-02-12 18:29:46 +00:00
Christoph M. Wintersteiger
9dbb8057ca Merge pull request #449 from kenmcmil/issue243
fixed logging on return of Z3_compute_interpolant...
2016-02-12 12:40:01 +00:00
Nikolaj Bjorner
8d61d36c3f add documentation methods to param_descrs, add C++ API and example for param_descrs. Issue #443
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-12 11:45:00 +00:00
Ken McMillan
8b90bc9e91 fixed logginf on return of Z3_compute_interpolant and added interpolation example to test_capi.c 2016-02-11 16:09:54 -08:00
Nikolaj Bjorner
a6e1c70eab fix documentation/default bug. #445
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-10 15:02:22 +00:00
Nikolaj Bjorner
535fb39313 add documentation comments as raised in #443
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-10 12:02:40 +00:00
Nikolaj Bjorner
5285a795ac handle configuration passed in as null, deal with crash in logs attached to issue #243
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-10 01:20:16 +00:00
Christoph M. Wintersteiger
3df9fea54c removed unused variables 2016-02-09 16:38:35 +00:00
Christoph M. Wintersteiger
7e2783c6a2 Fixed javadoc links in comments.
Relates to #401.
2016-02-08 15:25:53 +00:00
Nikolaj Bjorner
3ef6d91038 fix #434: repeat documentation remarks about reference counting for disambiguation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-07 14:46:53 +00:00
Nuno Lopes
16a69e750a fix break in configure 2016-02-01 17:38:14 +00:00
Nuno Lopes
ea55bd495f add new API function Z3_get_estimated_alloc_size() that returns *estimated* allocated memory size by Z3
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2016-02-01 17:19:55 +00:00
Nikolaj Bjorner
87228b6a9d add a little more verbiage to description of simplify. Issue #424
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-27 14:47:15 -08:00
Nuno Lopes
23cc8258fe remove m_ast_lim from API context since that one isn't used either
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2016-01-19 15:37:58 +00:00
Nuno Lopes
1f872e720d remove m_replay_stack from API context since it's never used
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2016-01-19 15:19:00 +00:00
Nikolaj Bjorner
14c19fe928 add parameter validation to sequence expressions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-15 10:39:21 +05:30
Christoph M. Wintersteiger
357ec9e7d1 Changed FP significand/exponent functions to return non-normalized results. Clarified function remarks. Relates to #383. 2016-01-13 16:32:32 +00:00
Nikolaj Bjorner
22fbed18cc fix regressions exposed by build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-12 11:18:52 -08:00
Nikolaj Bjorner
db746e0c2f fix more unused variable warning messages
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-12 09:52:16 -08:00
Nikolaj Bjorner
0df4931c4b dealing with issue #402
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-09 15:43:47 -08:00
Nikolaj Bjorner
20cfbcd66b dealing with issues #402 #399 #258
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-09 13:29:44 -08:00
Nikolaj Bjorner
03cef7b03c add some conveniences for expressing string constraints
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-08 16:19:32 -08:00
Nikolaj Bjorner
9fb3d36961 pin expressions during substitution. Issue #367
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-08 13:39:23 -08:00
Nikolaj Bjorner
98f750f90d ml build failure, issue #403
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 20:37:47 -08:00
Nikolaj Bjorner
183d3821ce ml build failure, issue #403
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 20:14:43 -08:00
Nikolaj Bjorner
17a32a4e5f ml build failure
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 20:14:16 -08:00
Nikolaj Bjorner
023c564839 Issue #406
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-07 20:10:54 -08:00
George Karpenkov
f93c41b1be Since classes are non-final "instanceof" check is better in #equals 2016-01-06 11:27:58 +01:00
George Karpenkov
529b9d6833 The locking field should be final. 2016-01-06 11:19:38 +01:00
George Karpenkov
8bb0010dc3 Javadoc and indentation fixes
- A proper way to refer to the function in the same class is "#funcName"

- There is no point in "@param p" declaration if no description follows
it.
2016-01-06 11:19:26 +01:00
George Karpenkov
54e5bf2422 Remove redundant cast 2016-01-06 11:18:22 +01:00
George Karpenkov
93ad8d32b9 Remove redundant "throw" statement which has no effect. 2016-01-06 11:17:32 +01:00
George Karpenkov
d0d7a5b712 Consistent Sort#equals 2016-01-06 11:16:45 +01:00
George Karpenkov
a816b4895c Logic simplifications
There is no point in writing "boolean ? true : false" instead of
"boolean"
2016-01-06 11:16:30 +01:00
George Karpenkov
52fdf73178 IDisposable is effectively an abstract class. 2016-01-06 11:15:11 +01:00
George Karpenkov
c435bc379b Added braces
Lack of braces on multi-line statements is considered very scary in
Java.
2016-01-06 11:14:53 +01:00
George Karpenkov
ccd88a63a5 No need to call "new String()" 2016-01-06 11:12:33 +01:00
George Karpenkov
27c684f743 AST#hashCode bugfix
Previous implementation always returned zero.
I can only assume that it wanted to cache it as well,
but I haven't implemented that to keep the changes light.
2016-01-06 11:11:01 +01:00
George Karpenkov
4d3675cb4e Consistent #equals() implementation
Also dropped #hashCode(), as it just calls the parent class
implementation.
2016-01-06 11:10:03 +01:00
George Karpenkov
1dcaddbec7 Adding @Override declarations
They are important, as they prevent miss-spelling the parent method  and
/or arguments name.
2016-01-06 11:07:48 +01:00
George Karpenkov
a3a8ba40e7 "static final" does not do anything 2016-01-06 10:25:52 +01:00
George Karpenkov
56db1867ef Proper idiomatic isEquals implementation. 2016-01-06 10:24:00 +01:00
George Karpenkov
92bb984305 catch/throw is redundant. 2016-01-06 10:19:44 +01:00
Christoph M. Wintersteiger
de3cb7e5dc More FPA exponent/siginficand order consistency 2016-01-05 18:05:21 +00:00
Christoph M. Wintersteiger
d176c8714a Merge branch 'master' of https://github.com/Z3Prover/z3 into jan4 2016-01-05 16:38:12 +00:00
Nikolaj Bjorner
752a973e53 missing files?
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-05 08:32:48 -08:00
Christoph M. Wintersteiger
13cbd19411 FPA Python API cleanup. 2016-01-05 14:48:42 +00:00
Christoph M. Wintersteiger
097552768f Merged Python API changes. 2016-01-05 11:51:28 +00:00