Nikolaj Bjorner
082936bca6
enable overloading resolution on define-fun declarations, fix #1199
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-08-08 09:21:06 +02:00
Nikolaj Bjorner
2b82fd5d0c
updated include directives
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-08-01 10:51:47 -07:00
Nikolaj Bjorner
b19f94ae5b
make include paths uniformly use path relative to src. #534
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-07-31 13:24:11 -07:00
Dan Liew
4b517b96df
[CMake] Move CMake files into their intended location so the
...
`contrib/cmake/bootstrap.py` script no longer needs to be executed.
The previous location of the CMake files was a compromise proposed
by @agurfinkel in #461 . While this has served us well (allowing progress
to be made) over time limitations of this approach have appeared.
The main problem is that doing many git operations (e.g. pull, rebase)
means the CMake files don't get updated unless the user remembers to
run the script. This can lead to broken and confusing build system
behaviour.
This commit only does the file moving and necessary changes to
`.gitignore`. Other changes will be done in subsequent commits.
2017-06-12 11:59:00 +01:00
Nikolaj Bjorner
edb164587f
get rid of a simplifier dependency
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-23 10:12:32 -07:00
Nikolaj Bjorner
d14f2af5ae
deal with subtraction that manages to sneak in. Issue #996
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-05-01 15:22:06 -07:00
Christoph M. Wintersteiger
27a1758857
Added rewriter.ignore_patterns_on_ground_qbody option to disable simplification of quantifiers that have their universals appear only in patterns, but otherwise have a ground body.
2017-04-07 21:19:20 +01:00
Nikolaj Bjorner
25d839ed10
fix bug in simplifier of bv2int over concatentations exposed by #948
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-03-22 10:55:55 -07:00
Nikolaj Bjorner
8d18fd075e
remove sources for unused variable warnings
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-12-21 09:54:45 -08:00
Nikolaj Bjorner
152321bce6
fix crash in poly normalizer exposed by qe. Issue #775
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-11-04 20:29:12 +00:00
Christoph M. Wintersteiger
0a575936d0
Merge branch 'master' of https://github.com/Z3Prover/z3
2016-06-23 19:31:08 +01:00
Christoph M. Wintersteiger
8bde7b8a4c
Added facilities for dumping smt_params for debugging purposes
2016-06-23 19:31:00 +01:00
Nikolaj Bjorner
5b497b6249
reduce set of mainly verbose warnings raised by -Wmaybe-uninitialized and unused variable warnings from release mode builds
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-06-22 20:25:47 -07:00
Christoph M. Wintersteiger
ade2dbe15a
Cache cleanup fix for bv_simplifier_plugin.
...
Fixes #615
2016-05-31 16:47:14 +01: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
Nikolaj Bjorner
709a5d9524
fix bug: & -> &&
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-03-24 16:09:12 -07:00
Christoph M. Wintersteiger
e9d94e53f6
Improved FPA simplifier plugin
2016-02-07 15:01:22 +00:00
Christoph M. Wintersteiger
37b11cdc74
Comments, whitespace.
2016-02-07 15:01:09 +00:00
Nikolaj Bjorner
5b50d98b89
ensure that seq rewriter gets invoked during pre-processing
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-02-06 16:13:31 +00:00
Nikolaj Bjorner
e0215400e2
add empty/full regular languages, escape sequence fixes, check cancellation inside simplifier
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2016-01-13 20:13:17 +01:00
Nikolaj Bjorner
54e8612f4d
fix bounds elimination bug for nested quantifiers. Codeplex post z3: A formula and its negation are unsatisfiable
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-12-22 12:26:38 -08:00
Nikolaj Bjorner
4d6977eaea
Remove old_simplify.bv.hi_div0 option, reconciling it with rewriter.bv.hi_div0. To address issue #237
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-10-28 12:53:53 -07:00
Nikolaj Bjorner
4bc044c982
update header guards to be C++ style. Fixes issue #9
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-08 23:18:40 -07:00
Nikolaj Bjorner
4675643271
fixes to githup issue #133 and stackoverflow reported bug on assertion violation in poly_simplifier_plugin
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-21 13:49:15 -07:00
Nikolaj Bjorner
b08ccc7816
added missing Copyright forms
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-10 11:54:02 -07:00
Christoph M. Wintersteiger
32fb679066
tabs
2015-05-19 11:01:15 +01:00
Nikolaj Bjorner
52619b9dbb
pull unstable
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-01 14:57:11 -07:00
Nikolaj Bjorner
49483fdc28
take conflicts during restart into account. reported by Arie Gurfinkel
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-02-21 02:08:00 -08:00
nikolajbjorner
7735a40752
fix bug in array simplification. Codeplex issue 173
...
Signed-off-by: nikolajbjorner <nbjorner@microsoft.com>
2015-02-19 07:01:55 -08:00
Christoph M. Wintersteiger
0a22f1e0f5
array simplifier fix for a fix...
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-08 18:07:10 +00:00
Christoph M. Wintersteiger
321c181fd8
Bugfix for array_simplifier_plugin. Thanks to codeplex user mtappler for reporting this.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-08 18:04:23 +00:00
Christoph M. Wintersteiger
0298519b4f
Revert "Bugfix for array simplifier"
...
This reverts commit f9d38a97df
.
2015-02-08 17:53:06 +00:00
Christoph M. Wintersteiger
f9d38a97df
Bugfix for array simplifier
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-08 17:49:30 +00:00
Christoph M. Wintersteiger
5e60bcd920
FPA: fixes for the fpa_rewriter to enable model extraction and validation.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-06 16:53:31 +00:00
Christoph M. Wintersteiger
95300e801d
fixed build errors and warnings
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-21 18:24:36 +00:00
Christoph M. Wintersteiger
caafee0033
Added simplifier plugin for FP
2015-01-15 19:18:18 +00:00
Nikolaj Bjorner
05b7aa3ebb
flush cache when proof mode changes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-01-15 14:32:18 +05:30
Nikolaj Bjorner
e28701a64c
add assertions to simplifier
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-01-14 22:09:48 +05:30
Christoph M. Wintersteiger
71912830f1
Formatting, mostly tabs
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-01-08 17:54:44 +00:00
Nikolaj Bjorner
129e048a1b
Adding field update feature
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-01-03 01:27:52 -08:00
Christoph M. Wintersteiger
86f39cd4c1
Changed references to _DEBUG to Z3DEBUG.
...
(gcc does not define _DEBUG for debug builds.)
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-08 19:21:55 +00:00
Nikolaj Bjorner
3b64265c27
remove duplicated definition of is_store and is_select
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-08-09 09:15:04 -07:00
Leonardo de Moura
110fa0b7fb
Fix issue http://z3.codeplex.com/workitem/45
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-06-05 13:50:22 -07:00
Leonardo de Moura
f32eaee62e
Replace std::sort with std::stable_sort when the given relation is just a partial order. This change avoids discrepancies when using different implmentations of std::sort.
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-03-25 15:40:52 -07:00
Leonardo de Moura
c4f762028f
Add support for abs (absolute value) function in theory arith (it is part of the SMT-LIB 2.0 standard)
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-02-03 15:28:56 -08:00
Leonardo de Moura
d92efeb0c5
Make ast_manager::get_family_id(symbol const &) side-effect free. The version with side-effects is now called ast_manager::mk_family_id
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-18 17:14:25 -08:00
Leonardo de Moura
cec328cfdc
Add get_sort(expr * n) function that does not depend on ast_manager. Move power_of_two to rational class. Add arith_recognizers and bv_recognizers classes. The two new classes contain the 'read-only' methods from arith_util and bv_util.
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-18 14:44:51 -08:00
Leonardo de Moura
a07b459fdf
Added is_unique_value. Its semantics is equal to the old is_value method. The contract for is_value changed. See comments at ast.h for more information.
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-07 12:53:51 -08:00
Leonardo de Moura
fa53b1eb92
added module descriptions
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-02 13:15:56 -08:00
Leonardo de Moura
32854c677c
exposed old simplifier parameters
...
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2012-12-02 12:10:06 -08:00