Nikolaj Bjorner
af23f226bf
take 'iff' into account in assertion on transitivity
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-11 09:07:18 +02:00
Nikolaj Bjorner
8505ca843b
recognize more pb patterns
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-08 13:39:39 +02:00
Nikolaj Bjorner
c7649088e7
have solver pretty print declarations, include also datatype declarations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-07 08:54:03 +02:00
Nikolaj Bjorner
052ac51ed7
have solver pretty print declarations, include also datatype declarations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-07 08:52:27 +02:00
Nikolaj Bjorner
7f517c625f
have solver pretty print declarations, include also datatype declarations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-07 08:48:24 +02:00
Nikolaj Bjorner
a3c43c34fb
change default behavior of solver pretty printer to include declarations
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-06 18:57:11 +02:00
Nikolaj Bjorner
f96c0b6963
fixes #186 , remove ite-lifting from opt_context to detect weighted maxsat
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-06 11:52:59 +02:00
Nikolaj Bjorner
e59ec5fefd
fixes issue #185
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-08-06 11:04:37 +02:00
Christoph M. Wintersteiger
bea8744f7d
Disabled superfluous wellformedness check and fixed type checking in basic_decl_plugin::join
2015-07-31 11:20:01 +01:00
Christoph M. Wintersteiger
31eb738db5
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
2015-07-14 12:08:34 -07:00
Christoph M. Wintersteiger
f9e2ad76fa
Bugfix for fp.to_sbv
...
Fixes #114 .
2015-07-14 12:05:45 -07:00
Nikolaj Bjorner
6e22250d1a
fixup model construction on undef results for arithmetic. Fixes issue #161
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-13 12:44:55 -07:00
Nikolaj Bjorner
96c8b1e7ff
fixup model construction on undef results for arithmetic. Fixes issue #161
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-13 12:44:07 -07:00
Nikolaj Bjorner
e13bf2424e
fix type checking for non-associative basic operations, fixes issue #160
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-13 08:29:24 -07:00
Nikolaj Bjorner
a9a5a69b73
remove double underscores
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-07-09 13:31:22 -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
bf5419d44a
move functionality from qe_util to ast_util
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-23 14:33:45 +02: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
Christoph M. Wintersteiger
6980fb3035
Bugfix for distinct of floats.
2015-06-12 12:58:19 +01:00
Nikolaj Bjorner
94f8ecb06d
Merge pull request #126 from ahorn/minimum
...
Basic infrastructure for minimum aggregation function
2015-06-11 09:38:39 -07:00
Christoph M. Wintersteiger
31cb81111d
Bugfix for fp.roundToIntegral
2015-06-11 16:56:36 +01:00
Alex Horn
bd57994f78
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into minimum
...
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
Conflicts:
src/test/dl_table.cpp
2015-06-10 20:35:28 +01:00
Nikolaj Bjorner
b08ccc7816
added missing Copyright forms
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-06-10 11:54:02 -07:00
Alex Horn
140fb7942d
Add datalog infrastructure for min aggregation function
...
This patch adds an instruction to the datalog interpreter and
constructs a new AST node for min aggregation functions.
The compiler is currently still work in progress and depends on
changes made to the handling of simple joins and the preprocessor.
Signed-off-by: Alex Horn <t-alexh@microsoft.com>
2015-06-10 18:14:14 +01:00
Nuno Lopes
b65d5797f8
optimize expr_safe_replace for when a subexpression has no substitutions
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-06-03 17:21:01 +01:00
Christoph M. Wintersteiger
81218c0983
Bugfix for fp.fma
2015-06-02 18:36:19 +01:00
Christoph M. Wintersteiger
a7b12e6321
Bugfix for fp.fma with sbits <= 3
2015-06-02 18:31:09 +01:00
Christoph M. Wintersteiger
17c06199a8
Relaxed BV type checking, follow up to issue #116
2015-06-02 12:46:30 +01:00
Nikolaj Bjorner
d4dd608bad
improve type checking and reporting, fixes issue #116
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-06-01 14:11:31 -07:00
Nikolaj Bjorner
46a5aeaef1
improve type checking and reporting, fixes issue #116
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-06-01 14:10:22 -07:00
Christoph M. Wintersteiger
8d55159dc8
Proper declaration of locals to make clang happy.
2015-05-30 15:23:30 +01:00
Christoph M. Wintersteiger
fde873ac09
Bugfix for rounding in FP to_sbv.
...
Fixes #113
2015-05-30 14:50:15 +01:00
Christoph M. Wintersteiger
e240e6c430
Bugfix for variable renamings ( fec815b41e
)
2015-05-30 12:12:23 +01:00
Christoph M. Wintersteiger
fec815b41e
Various variable renamings to avoid conflicts with previously defined local variables, function parameters, or members (Visual Studio 2015 warnings).
2015-05-29 18:13:39 +01:00
Christoph M. Wintersteiger
d35ebd6e57
Bugfix for FP to_fp from non-numeral reals.
2015-05-29 14:49:26 +01:00
Christoph M. Wintersteiger
9428acd578
Bugfix for FPA rewriter.
2015-05-29 13:58:33 +01:00
Christoph M. Wintersteiger
7619d609f9
FPA min/max -+0.0 special cases changed to +0.0 instead of second argument.
...
Fixes #68
2015-05-28 12:20:48 +01:00
Nuno Lopes
c577ab361b
fix assorted undefined behaviors caught by clang
...
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
2015-05-23 11:45:12 +01:00
Christoph M. Wintersteiger
6f6cd61817
Bugfix for float-to-float conversion.
...
Fixes #77
2015-05-22 20:30:12 +01:00
Christoph M. Wintersteiger
8fc0ba0ab5
Moved auxiliary fp.isNaN lemma injection to the right place.
...
Fixes #102
2015-05-22 12:33:53 +01:00
Nikolaj Bjorner
8a34bd2bf1
fixes issue #88
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-05-21 15:08:39 -07:00
Nikolaj Bjorner
a3c5207f91
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
2015-05-21 15:07:24 -07:00
Nikolaj Bjorner
c969d78042
throw exception instead of debug mode assertion in ast_manager on malformed input
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-05-21 15:07:01 -07:00
Christoph M. Wintersteiger
6f575689b1
Added injection of auxiliary lemmas for fp.isNaN, so that the value propagation can pick up these values and propagate them.
...
Fixes #96 .
2015-05-21 19:02:09 +01:00
Christoph M. Wintersteiger
eee076b9f8
Bugfixes for fp.min, fp.max.
...
Fixes the fix for #68
2015-05-21 18:16:02 +01:00
Christoph M. Wintersteiger
8c18bdcca9
Bugfix for fp.roundToIntegral.
...
Fixes #69
2015-05-21 18:12:14 +01:00
Nikolaj Bjorner
cd8f82ebc2
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
2015-05-20 10:41:50 -07:00
Nikolaj Bjorner
9d0e3abd24
use static features to set hidden configuration parameters on small integers and int vs. real
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-05-20 10:41:41 -07:00
Christoph M. Wintersteiger
51040d3e19
Bugfix for fp.isNormal
2015-05-20 18:32:40 +01:00
Christoph M. Wintersteiger
1e3952406c
disabled debug output
2015-05-20 18:14:38 +01:00