Christoph M. Wintersteiger
3ffcea0fe4
whitespace
2016-04-18 16:52:12 +01:00
Martin R. Neuhaeusser
67ac1a003e
Avoid conversion between mutable arrays and lists in OCaml API.
...
This patch eliminates the conversion between OCaml arrays and lists
from Z3's OCaml API.
2016-04-18 17:20:27 +02:00
martin-neuhaeusser
34bf4b1d3c
Fix installation of custom error handler during context creation in OCaml bindings
...
This patch fixes a bug detected by valgrind, where a custom error handler
did not get installed correctly.
2016-04-18 17:20:12 +02:00
Nikolaj Bjorner
0094b36636
fix bounds check to fix segfault reported in issue #565
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-16 12:25:29 -07:00
Nikolaj Bjorner
1c8e0918d8
move to std::vector in replayer
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-16 10:08:29 -07:00
Nikolaj Bjorner
d383fd851a
move vector<std::string to std::vector<std::string
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-16 09:34:27 -07:00
Nikolaj Bjorner
4ebf392da7
Fixes #564 : use std::vector on std::strings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-16 09:26:13 -07:00
Nikolaj Bjorner
0f93853a4c
remove labels from evaluation result
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-12 13:17:10 -07:00
Nikolaj Bjorner
aa7b5d80fe
extract array terms for evaluator
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-12 09:41:50 -07:00
Nikolaj Bjorner
2033719c14
fix optimization pre-processing reported by Gereon Kremer
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-09 20:58:57 -07:00
Nikolaj Bjorner
6e57015a12
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-04-09 16:51:42 -07:00
Nikolaj Bjorner
cc6f72aba7
fix handing of ite conditions that have to be included in projection, thanks to bug report by Zak
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-10 01:48:35 +02:00
Christoph M. Wintersteiger
16e487b32a
Bugfix for ackermann helper
2016-04-08 17:20:09 +01:00
Christoph M. Wintersteiger
bd0bd08ecf
add is_considered_uninterpreted checks into acker_helper
2016-04-08 16:58:11 +01:00
Christoph M. Wintersteiger
0597b579b1
Bugfixes for bvarray2uf conversion.
2016-04-07 19:10:31 +01:00
Christoph M. Wintersteiger
5971c20653
Bugfixes for bv_trailing.
2016-04-07 13:08:17 +01:00
Christoph M. Wintersteiger
3a532c08a6
Bugfix for func_interp else-case compression
2016-04-06 19:24:08 +01:00
Christoph M. Wintersteiger
324fcc6a13
Merge branch 'master' of https://github.com/Z3Prover/z3 into new-ml-api
2016-04-06 15:40:13 +01:00
Christoph M. Wintersteiger
e662427060
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-04-06 15:39:37 +01:00
Christoph M. Wintersteiger
e527aca296
Bugfix for unspecified else-case in func_interps.
2016-04-06 15:39:32 +01:00
Nuno Lopes
e2b7ad246a
bv_trailing: fix compiler warning + use of ast_manager
2016-04-06 15:34:31 +01:00
Christoph M. Wintersteiger
7534b53bae
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-04-06 14:51:25 +01:00
martin-neuhaeusser
95454679e2
Another round of pretty printing
2016-04-06 12:45:21 +02:00
martin-neuhaeusser
bd9d13279a
Pretty printing
2016-04-06 12:39:19 +02:00
martin-neuhaeusser
1662ba8353
Add more comments on comparison functions in the C layer of the OCaml bindings
2016-04-06 12:36:11 +02:00
martin-neuhaeusser
b873c6b508
Simplify OCaml API
...
This patch simplifies the implementation of the OCaml bindings. For example,
the applyX wrapper functions have become unnecessary in the new OCaml API.
It also removes the internal ML2C structure that was used as an intermediate
layer between the C and the OCaml layer.
2016-04-06 12:10:59 +02:00
Mikolas Janota
dbffc15b98
Improvements in caching of bv_trailing.
2016-04-06 11:04:15 +01:00
mikolas
9ba5bbfd33
Re-factoring and comments in bv_trailing.
2016-04-06 11:04:13 +01:00
Mikolas Janota
248feace34
fixing the behavior in bv_trailing
2016-04-06 11:04:11 +01:00
mikolas
fced47386e
More work on trailing 0 analysis.
2016-04-06 11:04:09 +01:00
mikolas
ddb6ae4eab
More work on trailing 0 analysis.
2016-04-06 11:04:07 +01:00
mikolas
78cb1e3c7b
More work on trailing 0 analysis.
2016-04-06 11:04:05 +01:00
mikolas
c7f1746321
Starting to work on trailing 0 analysis.
2016-04-06 11:04:03 +01:00
Nikolaj Bjorner
493b86eca7
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-04-05 22:27:11 +02:00
Nikolaj Bjorner
b97d694e5e
undo model evaluation to BR_FULL pending regression in assertion violation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-05 22:26:57 +02:00
mikolas
05ce886afe
Avoiding adding spurious +0 in poly_rewriter::cancel_monomials.
2016-04-05 17:26:48 +01:00
martin-neuhaeusser
71f991c5df
Avoid using physical equality checks in OCaml bindings (z3.ml)
...
This patch avoids the use of physical equality wherever possible
and improves some details of the OCaml implementation.
2016-04-05 12:51:03 +02:00
Nikolaj Bjorner
c454b81b2c
special case branching
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-05 11:57:49 +02:00
Nikolaj Bjorner
ed1a5797fb
check that a clause was not removed to fix issue #551
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-04 20:15:49 +02:00
martin-neuhaeusser
f133f478c8
Translate correctly between OCaml option values and NULL pointers
...
This patch refactors the update_api script and the z3.ml implementation
to properly translate between OCaml options and NULL pointers. Some
unifications and simplifications (avoidance of unnecessary value allocation)
in the script that creates the native bindings.
2016-04-04 17:16:15 +02:00
Nikolaj Bjorner
ec5a4ba63d
add documentation comment for evaluation, Issue #536
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-04 12:59:18 +02:00
Nikolaj Bjorner
9667185af0
issue #549 , replace BoolVal by False, otherwise creates regression
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-03 12:53:50 +02:00
Nikolaj Bjorner
11e8f06272
issue #549 , replace False by BoolVal
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-03 12:52:15 +02:00
Nikolaj Bjorner
33e7640645
disable mb branching pending unit test analysis
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-03 10:53:37 +02:00
martin-neuhaeusser
b85516c271
Fix reference counting in the C layer of the OCaml bindings
...
The Z3 context and its reference counters are stored in a structure which is allocated
by the C layer outside the OCaml heap, whenever a Z3 context is created. The structure
and its Z3 context are disposed, once the last reference counter reaches zero. Reference
counters are decremented by C-level finalizers.
The OCaml representations for a Z3 context wrap only a pointer to the corresponding structure.
2016-04-03 09:41:06 +02:00
Nikolaj Bjorner
03336ab9f2
add evaluation of array equalities to model evaluator
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-04-02 15:07:01 +02:00
Arie Gurfinkel
44d4902bb4
typo: gt -> ge
2016-04-02 10:13:14 +02:00
Christoph M. Wintersteiger
ccd18283e7
Moved extension_converter func_interp entry compression to func_interp.
...
Relates to #547
2016-04-01 15:38:38 +01:00
Christoph M. Wintersteiger
3b82604590
whitespace
2016-04-01 15:37:40 +01:00
Christoph M. Wintersteiger
d55a6725c9
Compressed func_interps in extension_model_converter.
...
Fixes #547 .
2016-04-01 15:17:38 +01:00