Dan Liew
5b511f12b3
Fix minor typo in C API documentation
2017-07-12 13:07:19 +01:00
Dan Liew
89c8f1722f
Fix typo that prevented uses of bvsmod_i
being parsed.
2017-07-12 12:53:10 +01:00
Jack Feser
0e45777104
add get_num_scopes to python solver api
2017-07-11 14:42:34 -04:00
Murphy Berzish
86e7f83e06
proper theory_arith integration in theory_str::get_arith_value()
2017-07-11 13:24:48 -04:00
Nikolaj Bjorner
2b0106c199
doc fixes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-09 11:26:27 +02:00
Nikolaj Bjorner
2af08a378d
avoid complaining about division by 0 as unhandled in theory-lra
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-08 18:21:47 -07:00
Nikolaj Bjorner
5714f830b0
fix check for finite sorts #1122
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-08 13:37:24 -07:00
Nikolaj Bjorner
ea331ebfbe
revert update to #1134
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-07 08:29:16 -07:00
Nikolaj Bjorner
d06e48a361
detect overlapping signatures #1134
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-07 08:13:14 -07:00
Nikolaj Bjorner
49cf3f8008
update documentation according to #1058
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-07 07:44:55 -07:00
Nikolaj Bjorner
465ed7d068
adding doc #1132
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-05 10:21:57 -07:00
Murphy Berzish
b14364a117
fix theory_str warnings: rename get_value() to get_arith_value()
2017-07-05 11:06:40 -04:00
Nikolaj Bjorner
41803ec1cf
fix trace/debug build for unreferenced variables
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-04 19:55:38 -07:00
Nikolaj Bjorner
cba9a160d3
deal with warning messages
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-04 19:42:22 -07:00
Nikolaj Bjorner
5b8e3ae198
Merge pull request #1129 from mtrberzi/fix-warnings
...
clean up warnings in theory_str
2017-07-04 19:41:43 -07:00
Nikolaj Bjorner
bd92797663
fix compiler warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-04 15:25:59 -07:00
Nikolaj Bjorner
d66db280a8
fix compiler warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-04 13:43:32 -07:00
Nikolaj Bjorner
a1306eaab6
fix compiler warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-04 13:17:37 -07:00
Nikolaj Bjorner
253870c6d7
fix compiler warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-04 13:08:23 -07:00
Murphy Berzish
03fe3d74f8
clean up warnings in theory_str
2017-07-04 13:28:18 -04:00
Nikolaj Bjorner
031d7e1b59
use iterators, update build icon for osx
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-01 16:58:40 -07:00
Nikolaj Bjorner
08524a2d90
cleanup for warning message
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-01 11:47:17 -07:00
Nikolaj Bjorner
be4b0ffe69
fix unsoundness bug instroduced when fixing #1125
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-30 19:36:38 -07:00
Nikolaj Bjorner
c44c8284bd
use worklist algorithm to avoid stack overflow #1125
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-30 18:10:36 -07:00
Christoph M. Wintersteiger
1a59123819
Fixed x86/x64 issues in theory_str
2017-06-28 12:49:10 +01:00
Lev Nachmanson
4d0fda81df
fix run of lp_solver for mps files
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2017-06-27 11:45:29 -07:00
Lev Nachmanson
dfe15adf7e
fix maybe non initialized warning
...
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
2017-06-26 16:32:44 -07:00
Nikolaj Bjorner
244cbc2638
ensure that auxiliary PB booleans are recognized during rewriting. Fixes segementation fault #1113 , but does not address performance issues with quantifiers and optimization combinations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-26 10:04:50 -07:00
Nikolaj Bjorner
7db1847f51
fix bitrot in maxsat example reference management #1116
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-26 09:36:53 -07:00
Dan Liew
42e0f8f9ce
Unbreak Z3 C++ API exception support for GCC < 5.0. This was broken
...
by 0b1d564509
.
Older versions of GCC do not define `__cpp_exceptions` which caused
exceptions to not be raised leading to unexpected failures. To fix
this also check the `__EXCEPTIONS` macro which is used by older GCC
versions.
Also `#undef` the `Z3_THROW` macro at the end of the header file
because this is an implementation detail that we don't want to leak
to clients.
2017-06-25 23:03:39 +01:00
Christoph M. Wintersteiger
2fceac04d4
Merge branch 'master' of https://github.com/Z3Prover/z3
2017-06-25 22:19:54 +01:00
Christoph M. Wintersteiger
c395516058
Adjusted rlimit increments in theory_arith to avoid non-termination issues
2017-06-25 22:19:42 +01:00
Christoph M. Wintersteiger
ffbf19d944
Merge branch 'master' of https://github.com/wintersteiger/z3
2017-06-25 20:46:14 +01:00
Christoph M. Wintersteiger
ad7aff2334
Added rlimit increments in theory_arith to avoid non-termination issues via F*.
2017-06-25 20:45:56 +01:00
Nikolaj Bjorner
1631a68981
make the option soup dependencies more user-friendly, #1109
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-23 16:57:50 -07:00
Nikolaj Bjorner
1681419052
adding change notes to release notes for a future release
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-23 16:50:33 -07:00
Nikolaj Bjorner
9d1852343c
add separate get-objectives command #1107
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-23 16:34:38 -07:00
Nikolaj Bjorner
e3ec7e7d05
Merge branch 'master' of https://github.com/z3prover/z3
2017-06-23 11:34:18 -07:00
Nikolaj Bjorner
cd4bb5beaf
another fix for #1101
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-23 11:34:10 -07:00
Arie Gurfinkel
c7fbab0c11
propagate rule names during xform
2017-06-23 09:38:04 -04:00
Arie Gurfinkel
0dead22dca
fix missing initialization
2017-06-23 09:38:04 -04:00
Arie Gurfinkel
9874db7458
[CMake] typos in cmake
2017-06-23 09:37:49 -04:00
Nikolaj Bjorner
7386f2e045
#1101
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-06-22 14:18:53 -07:00
Lev Nachmanson
2a5f1d6e93
add a template instantination
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2017-06-22 10:32:35 -07:00
Nikolaj Bjorner
77ffa9f32f
Merge pull request #1095 from agurfinkel/mev_fix
...
model_evaluator fix
2017-06-21 20:17:44 -07:00
Arie Gurfinkel
972ab6298c
(mev) only reduce function interpretation
2017-06-21 22:59:52 -04:00
Nikolaj Bjorner
2d49119d2a
add note to Context documentation about scoped uses of contexts #1077
2017-06-21 18:56:16 -07:00
Arie Gurfinkel
493a3a6312
(mev) call expand_value only at the end
...
There is no need to expand array values throughout evaluation.
They are expanded during array equality checking (if requested), and
can be expanded at the very end of evaluation (if needed).
2017-06-21 20:58:10 -04:00
Arie Gurfinkel
d5ca902bf6
(mev) bug fix in expanding array equalities
...
The stores were processed in the wrong order so that
(store (store a x y) x u)
was reduced to
(store a x y)
instead of
(store a x u)
2017-06-21 20:58:10 -04:00
Arie Gurfinkel
e62e563e2d
(mev) renamed variable to clarify that it is unused
2017-06-21 20:58:10 -04:00