Nikolaj Bjorner
|
f30fb7639e
|
Merge branch 'master' of https://github.com/Z3Prover/z3
|
2016-07-13 20:32:24 -07:00 |
|
Nikolaj Bjorner
|
3989d238c0
|
fix bugs exposed in #677. to_int(x) has the semantics that to_int(x) <= x, and to_int(x) is the largest integer satisfying this inequality. The encoding in purify_arith had it the other way x <= to_int(x) contrary to how to_int(x) is handled elsewhere. Another bug in theory_arith for mixed-integer linear case was also exposed. Fractional bounds on expressions of the form to_int(x), and more generally on integer rows were not rounded prior to internalization
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-07-13 20:32:18 -07:00 |
|
Nikolaj Bjorner
|
3a70b6aab4
|
fix model generation, add rewrite rules for sin(acos(x)) reduction to help model validation. Issue #680
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-07-13 11:12:27 -07:00 |
|
Christoph M. Wintersteiger
|
1e5a87887d
|
Merge branch 'master' of https://github.com/Z3Prover/z3
|
2016-07-13 15:36:27 +01:00 |
|
Christoph M. Wintersteiger
|
cfbe16639f
|
Bugfix for fpa2bv translation
|
2016-07-13 15:35:14 +01:00 |
|
Nikolaj Bjorner
|
63f89f8c45
|
add sin/cos conversions for #680
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-07-12 15:12:40 -07:00 |
|
Fabian Wolff
|
6eaab00e83
|
Fix spelling errors
|
2016-07-09 11:46:43 +02:00 |
|
Nikolaj Bjorner
|
d5ee7e24bc
|
add simplification for equalities between itos and constant strings, Issue #589
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-07-08 11:50:39 -07:00 |
|
Murphy Berzish
|
b31d1a92aa
|
add more support for unroll (WIP)
|
2016-06-27 14:41:57 -04:00 |
|
Nikolaj Bjorner
|
7fc294d329
|
move arithmetical mbp functionality to model_based_opt
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-06-26 14:30:35 -07:00 |
|
Nikolaj Bjorner
|
30cf0d19eb
|
use of mk_bool_val
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-06-24 09:11:45 -07:00 |
|
Nikolaj Bjorner
|
f72d9c25c6
|
merge with update to bv rewriter
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-06-24 09:08:01 -07:00 |
|
Nikolaj Bjorner
|
017165c474
|
fix bug with model completion and remove spurious std::cout
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-06-24 09:02:12 -07:00 |
|
Christoph M. Wintersteiger
|
70301ad3c8
|
Added bv*mul_no*flow handling in bv_rewriter.
Fixes #657.
|
2016-06-24 16:25:11 +01:00 |
|
Nikolaj Bjorner
|
67ea78a4a5
|
Add basic MARCO example
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-06-24 08:00:23 -07:00 |
|
Nikolaj Bjorner
|
914bf2ff3b
|
extend constant folding for bit-vector overflow/underflow operators, #657
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-06-24 07:43:05 -07:00 |
|
Murphy Berzish
|
04803d7a3b
|
starting regex support
|
2016-06-23 15:24:35 -04: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 |
|
Murphy Berzish
|
4c34629806
|
starting regex support, rewriter
|
2016-06-21 21:13:16 -04:00 |
|
Murphy Berzish
|
5b3c868c90
|
theory_str Replace method
|
2016-06-15 21:14:54 -04:00 |
|
Murphy Berzish
|
fb20951064
|
theory_str Substr support WIP
|
2016-06-15 20:26:07 -04:00 |
|
Murphy Berzish
|
7c8b882ae6
|
decl and rewriter support for LastIndexof in theory_str (WIP)
|
2016-06-15 18:04:33 -04:00 |
|
Murphy Berzish
|
dc5a334d42
|
support for Indexof2 in theory_str
|
2016-06-15 17:37:17 -04:00 |
|
Murphy Berzish
|
db2a5854e9
|
decl and rewriter for Indexof (WIP)
|
2016-06-14 20:10:06 -04:00 |
|
Murphy Berzish
|
a3986d6d0e
|
decl and rewriter support for Contains (WIP)
|
2016-06-14 18:36:43 -04:00 |
|
Murphy Berzish
|
fd38b4c729
|
EndsWith decl and rewriter, WIP
|
2016-06-14 17:55:46 -04:00 |
|
Nikolaj Bjorner
|
bfe26390f0
|
fix bug introduced when hiding unused variables in 96e157e , reported by Mikolas Janota
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-06-14 08:12:32 -07:00 |
|
Nikolaj Bjorner
|
9253ca9d86
|
make use of warning_msg safe for formatting. Thanks to Scott McPeak for reporting
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-06-14 08:10:10 -07:00 |
|
Murphy Berzish
|
7d8e54c50f
|
decl and rewriter for string StartsWith
|
2016-06-13 22:27:46 -04:00 |
|
Murphy Berzish
|
be5cc02a45
|
working axiomatization for CharAt
|
2016-06-13 21:57:08 -04:00 |
|
Murphy Berzish
|
389845180c
|
add CharAt to theory_str and basic rewrite rule for constant CharAt exprs
|
2016-06-13 16:34:24 -04:00 |
|
Murphy Berzish
|
7d09dbb8ec
|
basic infrastructure for string rewriting
|
2016-06-12 20:46:52 -04:00 |
|
Nikolaj Bjorner
|
c7ff05cc78
|
enable core minimization with qsat in case it turns out to be useful
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-06-12 15:58:12 -07:00 |
|
Christoph M. Wintersteiger
|
bd187e0989
|
Bugfix for fp.min/fp.max in fpa2bv converter; hide BV UFs from FP models.
Fixes #642
|
2016-06-09 17:51:31 +01:00 |
|
Christoph M. Wintersteiger
|
879363157f
|
Bugfix for fpa2bv_converter
|
2016-06-09 12:09:53 +01:00 |
|
Nikolaj Bjorner
|
e9e926d4d6
|
UINT32_MAX -> UINT_MAX
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-06-02 21:00:18 -07:00 |
|
Nikolaj Bjorner
|
21158ea03f
|
Merge branch 'master' of https://github.com/Z3Prover/z3
|
2016-06-02 20:58:20 -07:00 |
|
Nikolaj Bjorner
|
eab5a84f62
|
fix issues with int.to.str and seq.len encodings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-06-02 20:57:52 -07:00 |
|
Christoph M. Wintersteiger
|
83ad5d65e4
|
Replaced fp.rem conversion to bit-vectors with an SMT-compliant one.
Fixes #561
|
2016-06-02 20:22:02 +01:00 |
|
Murphy Berzish
|
33205cea71
|
completely bypass theory_seq; sorry! I'll put it back when I'm done
|
2016-06-01 17:57:00 -04:00 |
|
Murphy Berzish
|
d79837eed0
|
Merge branch 'develop' into upstream-master
Conflicts:
.gitignore
README
src/ast/ast_smt2_pp.h
src/ast/ast_smt_pp.cpp
src/ast/reg_decl_plugins.cpp
src/cmd_context/cmd_context.cpp
src/parsers/smt2/smt2parser.cpp
|
2016-06-01 17:40:52 -04:00 |
|
Christoph M. Wintersteiger
|
ade2dbe15a
|
Cache cleanup fix for bv_simplifier_plugin.
Fixes #615
|
2016-05-31 16:47:14 +01:00 |
|
Christoph M. Wintersteiger
|
03f6b465b9
|
comment typos
|
2016-05-31 16:14:50 +01:00 |
|
Nikolaj Bjorner
|
39acd3594a
|
test variants for seq_solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-05-30 18:15:10 -07:00 |
|
Nikolaj Bjorner
|
f03032bd09
|
updated seq solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-05-29 14:01:05 -07:00 |
|
Nikolaj Bjorner
|
c3f498a640
|
strengthen support for int.to.str and length reasoning. Issue #589
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-05-28 12:26:47 -07:00 |
|
Nikolaj Bjorner
|
18a9b89e30
|
bypass stale rules as part of unbounded compression. Issue #624
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2016-05-27 09:38:23 -07:00 |
|
Christoph M. Wintersteiger
|
15d871cfe0
|
Bug and style fix for fpa2bv converter.
|
2016-05-26 13:39:54 +01:00 |
|