Nikolaj Bjorner
16ced7cda5
Merge pull request #453 from delcypher/fix_clause_allocator_bound_check
...
Fix incorrect (off by one) bound check in clause_allocator
2016-02-17 08:50:51 -08:00
Nuno Lopes
a4cfcd4550
bv_bounds: fix bug in interval intersection for non-wrapping disjoint values
2016-02-17 16:32:43 +00:00
Nuno Lopes
ac20d8bc11
bv_bounds: fix intersection of wrapped intervals
...
e.g., [117, 115] /\ [115, 113] -> [115, 113]
2016-02-17 15:41:12 +00:00
Nuno Lopes
98a92b9255
bv_bounds tactic: change representation to intervals
...
Code by myself and Nikolaj Bjorner
2016-02-17 10:02:40 +00:00
Dan Liew
6c966bba59
Fix incorrect (off by one) bound check. Also assert that we don't
...
increment ``m_num_segments`` beyond the maximum value
(``c_max_segments``).
This is related to #436 .
When doing an AddressSanitized build and running the ``c_example``
it looks like Z3 tries to create too many segments and index out of
bounds. Fixing the checks here causes them to fail which should help
us narrow down the problem.
2016-02-16 14:04:21 +00:00
Nuno Lopes
c05a0dfa61
revert my previous attempt to simplify the destructor of ctx-simplify
...
there can be assertions at level 0
2016-02-16 13:10:17 +00:00
Christoph M. Wintersteiger
cb814ec65d
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-02-16 12:13:04 +00:00
Christoph M. Wintersteiger
3b92128ed8
Fixed old-style C variable declaration problem in interpolation C example.
2016-02-16 12:12:59 +00:00
Nuno Lopes
293566d464
ctx-simplify: simplify destructor
2016-02-16 09:53:04 +00:00
Nuno Lopes
98c5a5c86c
move ctx_propagate_assertions class to .cpp file
2016-02-16 09:34:45 +00:00
Nikolaj Bjorner
07953342ac
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-02-15 17:29:54 -08:00
Nikolaj Bjorner
d3805bbdf6
fix location of level retrieval
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-15 17:29:46 -08:00
Nuno Lopes
96f6bf7028
ctx_simplify: simplify ite if then/else values become equal
2016-02-15 12:06:20 +00:00
Nikolaj Bjorner
8fc58e1ace
propagate bounds implementation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-13 02:07:41 +00:00
Nikolaj Bjorner
d7186eede8
bv bounds tactic for Nuno
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-13 00:13:16 +00:00
Nikolaj Bjorner
e484fc365d
add outline of bv bounds tactic
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-12 22:57:47 +00:00
Nikolaj Bjorner
94be6fc776
remove passing suffixes into pdr_sym_mux, trying to isolate cause of issue #420
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-12 19:25:52 +00:00
Nikolaj Bjorner
660eff0b9e
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-02-12 18:59:05 +00:00
Nikolaj Bjorner
45999b254c
hoist simplifier functionality out of context loop to allow plugging in other contextual simplification methods
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-12 18:58:37 +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
da502a79dc
Merge branch 'cheshire-codesmells'
2016-02-12 18:32:25 +00:00
Christoph M. Wintersteiger
f399fe5e1d
resolved conflicts
2016-02-12 18:29:46 +00:00
Christoph M. Wintersteiger
3356f36b8f
Merge pull request #446 from msullivan/arm-build
...
Fix gcc build failure on ARM caused by including <emmintrin.h>
2016-02-12 18:27:14 +00:00
Nikolaj Bjorner
e2dc7c6f64
add note that current re.complement is non-standard
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-12 17:12:43 +00:00
Nikolaj Bjorner
94453033b6
add partial support for complementation of regular expressions. Handles case of complementing character ranges
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-12 15:59:33 +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
Michael Sullivan
fa598edf43
Fix gcc build failure on ARM caused by including <emmintrin.h>
...
src/util/hwf.cpp tries to use <emmintrin.h> to directly use SSE
intrinsics. Make sure to only use those when actually on x86 or
x86_64.
2016-02-10 20:47:08 +00:00
Nikolaj Bjorner
9ed7dadc02
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-02-10 15:02:28 +00: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
Christoph M. Wintersteiger
fa68b00563
Cleanliness
2016-02-10 14:39:33 +00:00
Christoph M. Wintersteiger
8c80ed33fa
Merge branch 'MikolasJanota-lackr'
2016-02-10 14:26:20 +00:00
Christoph M. Wintersteiger
c01f0323c3
Merge branch 'lackr' of https://github.com/MikolasJanota/z3 into MikolasJanota-lackr
2016-02-10 14:26:04 +00:00
Nikolaj Bjorner
84cf208d5f
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-02-10 12:02:51 +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
56f15e98b5
Merge pull request #444 from delcypher/explicit_solver_timeout_units
...
Explicitly state what the units of the timeout parameter for the "smt" module are.
2016-02-10 11:43:31 +00:00
Dan Liew
ea900db337
Explicitly state what the units of the timeout parameter for the "smt"
...
module are.
2016-02-10 11:35:15 +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
Nikolaj Bjorner
cacfa0cb98
fix build, likely addressing issue #420
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-09 22:58:08 +00:00
Nikolaj Bjorner
a0503ba6a1
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-02-09 22:24:48 +00:00
Nikolaj Bjorner
6c6da44f8f
removing const qualifiers, perhaps this helps for #420 and adding assert to enable Clang analysis earlier for issue #440
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-09 22:24:37 +00:00
Nikolaj Bjorner
5ce85aba40
removing const qualifiers, perhaps this helps for #420 and adding assert to enable Clang analysis earlier for issue #440
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-09 22:23:37 +00:00
Christoph M. Wintersteiger
a16f524eae
Install target fix for ocamlfind_install on Windows.
...
Relates to #409
2016-02-09 19:58:52 +00:00
Mikolas Janota
73ef125171
Merge remote-tracking branch 'upstream/master' into lackr
2016-02-09 17:28:24 +00:00
Christoph M. Wintersteiger
4ba744987d
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-02-09 16:38:42 +00:00
Christoph M. Wintersteiger
3df9fea54c
removed unused variables
2016-02-09 16:38:35 +00:00
Nuno Lopes
564343c39c
remove unused methods in ast.cpp
2016-02-09 15:30:05 +00:00
Nikolaj Bjorner
60c0e73b2f
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-02-09 11:08:52 +00:00
Nikolaj Bjorner
133e3693de
fix bug in replace built-in and move length-equality propagation to branch final check
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-09 11:08:33 +00:00