Nikolaj Bjorner
6c1a5390ef
fix big-int bug for shift amounts, github issue 44, reported by Dejan
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-20 10:20:06 +02:00
Nikolaj Bjorner
7d88d04514
fix crash reported by Jojanovich, github issue 45'
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-20 00:55:30 +02:00
Christoph M. Wintersteiger
7e6ab736c0
Merge branch 'unstable' of https://github.com/Z3Prover/z3 into unstable
2015-04-17 16:10:13 +01:00
Christoph M. Wintersteiger
f1a1267d4c
Added missing notes on fpToIEEEBV in Python.
2015-04-17 16:08:53 +01:00
Alberto Griggio
8e772b428b
use a base iz3_exception class for exceptions raised during interpolation
...
Using a base exception class, derived from z3_exception, makes it possible to
recover gracefully if something goes wrong during the computation of
interpolants.
2015-04-16 19:14:34 +02:00
Ken McMillan
af444beb2e
re-indenting interp and duality
2015-04-15 12:22:50 -07:00
Christoph M. Wintersteiger
e1303e1eab
Python API: Fixed expression types for floating point conversion functions.
...
Partially fixes #39
2015-04-15 12:07:53 +01:00
Nikolaj Bjorner
80a13977fc
fix race condition from cancellation exposed by build regression tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-15 05:44:10 +01:00
Christoph M. Wintersteiger
2948e47240
Java API doc fix
2015-04-13 17:43:29 +01:00
Nikolaj Bjorner
3ba2e712b2
merge with unstable branch
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-12 15:54:52 -07:00
Christoph M. Wintersteiger
b7bb53406f
Turned Z3Exception into a RuntimeException such that throws declarations are not needed anymore. Thanks to codeplex user steimann for this suggestion.
2015-04-08 13:16:32 +01:00
Christoph M. Wintersteiger
2f4c923216
Bugfix; InterpolationContext deleted Z3_config objects (inconsistent with non-Interpolation mk_context).
...
Fixes #25
2015-04-08 13:09:27 +01:00
Nikolaj Bjorner
841c1c2290
scope precedence of ||, github issue 24
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-03 12:06:31 -07:00
Nikolaj Bjorner
0e8a0822f1
fix used_vars reported by Daniel J. H, issue #24
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-03 11:59:27 -07:00
Ken McMillan
d797b0c285
merge
2015-04-03 11:25:43 -07:00
Daniel J. Hofmann
4b6b718222
Wunused-exception-parameter
2015-04-03 20:11:58 +02:00
Daniel J. Hofmann
2252836cf8
Wstring-conversion
...
static_cast<bool>("string lit") evaluates to true. The assert is
supposed to always trigger, thus assert(false && "string lit").
2015-04-03 19:55:21 +02:00
Daniel J. Hofmann
42e0132639
Wshift-sign-overflow
...
See:
http://stackoverflow.com/questions/26331035/why-was-1-31-changed-to-be-implementation-defined-in-c14
And Howard Hinnant's explanation:
http://stackoverflow.com/questions/19593938/is-left-shifting-a-negative-integer-undefined-behavior-in-c11#comment29091986_19593938
2015-04-03 19:45:49 +02:00
Daniel J. Hofmann
88f6e74a27
Wnewline-eof
2015-04-03 19:31:09 +02:00
Daniel J. Hofmann
6150083276
Wignored-qualifiers
2015-04-03 19:24:35 +02:00
Daniel J. Hofmann
4e59ba922b
Wc++11-extensions
2015-04-03 19:13:52 +02:00
Nikolaj Bjorner
bd162588b2
enable SAT solver by default for MaxSAT constraints
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-02 17:09:01 -07:00
Nikolaj Bjorner
26c53d055a
Merge branch 'opt' of https://github.com/Z3Prover/z3 into opt
2015-04-02 15:22:41 -07:00
Nikolaj Bjorner
dca0fb77c2
use same defaults as unstable branch for difference logic configuration
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-02 15:22:32 -07:00
Ken McMillan
b6787fe5a9
merge
2015-04-02 13:13:10 -07:00
Ken McMillan
d42e3ce651
possible header problem for std::less
2015-04-02 13:10:23 -07:00
Nikolaj Bjorner
d01c3491a6
simplify with caching, but without expanding number of asserted formulas. Bug reported by Heizmann, codeplex issue 197
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-02 10:28:30 -07:00
Christoph M. Wintersteiger
b47851d7da
Made GetInterpolant and ComputeInterpolant public in Java and .NET.
...
Fixes Codeplex discussion #616450
2015-04-02 16:51:30 +01:00
Nikolaj Bjorner
6b995c4077
disable wrong fix for simplification
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-02 02:56:40 -07:00
Nikolaj Bjorner
e944f89505
fix bug introduced when clearing state between calls to Pareto/Box
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-02 02:36:01 -07:00
Nikolaj Bjorner
fc36d861a7
update default to maxres for MaxSAT, reset pareto and box state on every constraint update
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-04-01 19:32:50 -07:00
Nikolaj Bjorner
9978cba5a8
Codeplex issue 191: inconsistent results from PDR engine. The report exposed bugs in the implementation of the priority queue leaving unexplored leaves durin search. The priority queue has now been revised to address the exposed bugs
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-01 16:27:15 -07:00
Nikolaj Bjorner
f8d04118d8
switch models for multiple box objectives. Feature request at codeplex issue 194, George Karpenov. Usage model is same as Pareto fronts you call check-sat multiple times until retrieving unsat
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-01 16:21:56 -07:00
Nikolaj Bjorner
52619b9dbb
pull unstable
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-01 14:57:11 -07:00
Nikolaj Bjorner
9c55be14fb
change print parameters to use hyphen instead of namespace dots
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-04-01 10:56:40 -07:00
Christoph M. Wintersteiger
1d9c9bcf7a
Made the InterpolationContext public.
...
Fixes #20
2015-03-31 19:51:42 +02:00
Christoph M. Wintersteiger
99ea0a8c19
Bugfix for mpf is_normal.
...
Fixes #17
2015-03-30 08:02:57 +01:00
Christoph M. Wintersteiger
5911f788c3
Improved translation from reals to floats (fp.to_real).
...
Fixes #14
2015-03-29 14:39:47 +01:00
Christoph M. Wintersteiger
0ed16c09f9
Bugfix for fp.isNegative.
...
Fixes #13
2015-03-29 13:57:11 +01:00
Christoph M. Wintersteiger
690eb8eaca
Bugfix for fp.isSubnormal.
...
Fixes #10
2015-03-29 13:31:44 +01:00
Ivo Wever
d4ba3a8864
Corrected typo: interger -> integer
2015-03-28 23:08:46 +01:00
Christoph M. Wintersteiger
fc84461e31
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2015-03-26 14:49:45 +00:00
Christoph M. Wintersteiger
9cbf45f689
Added int to float conversion.
2015-03-26 14:48:55 +00:00
Nikolaj Bjorner
10cdbb881f
enable canceling simplex on interrupt, investigating PDR inconsistency
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-03-25 12:13:57 -07:00
Nikolaj Bjorner
39892aae10
cache datatype util in context to avoid performance bug, codeplex issue 195
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-03-25 11:46:17 -07:00
Nikolaj Bjorner
3c5897eea0
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2015-03-25 11:25:12 -07:00
Nikolaj Bjorner
2aa91eee70
cache datatype util in context to avoid performance bug, codeplex issue 195
...
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
2015-03-25 11:24:47 -07:00
Christoph M. Wintersteiger
a792790882
Fixed performance problems with enumeration sorts (Codeplex #190 ).
2015-03-25 18:08:56 +00:00
Christoph M. Wintersteiger
1c77ad00c3
Added accessors to enumeration sorts. Thanks to codeplex user steimann for suggesting this.
...
(http://z3.codeplex.com/workitem/195 )
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-03-24 21:42:05 +00:00
Christoph M. Wintersteiger
b76d588c28
Renamed the soft_timeout option to just timeout.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-03-21 16:10:30 +00:00