3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00
Commit graph

118 commits

Author SHA1 Message Date
Ken McMillan
4763532501 adding compile-time option to replace arrays with maps in smt (define SPARSE_MAP) 2014-09-30 11:25:47 -07:00
Ken McMillan
c007a5e5bd merged with unstable 2014-08-06 11:16:06 -07:00
Christoph M. Wintersteiger
581bbb58fb typo
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-05-02 18:04:32 +01:00
Christoph M. Wintersteiger
8150bd5617 OSX timeout handling bugfix 2014-05-02 17:58:17 +01:00
Christoph M. Wintersteiger
d1376343c7 Compilation fix.
gcc 4.3.2 (on debian 5) did not like the definitions of gcd and abs in class rational, so I moved them outside of the class.

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-03-22 16:42:11 +00:00
Christoph M. Wintersteiger
0e74362ecb Added support for the final draft of the FPA standard (and fpa2bv conversion).
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-01-24 15:36:23 +00:00
Christoph M. Wintersteiger
73a1dddc45 Bugfixes for the build on new OSX machines (XCode 5.0 on). 2014-01-21 17:06:13 +00:00
Nikolaj Bjorner
81f1f7690d fix bug in rational.is_int32, it recognized rationals; fix bug reported by Anvesh for integer arithmetic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-12-31 15:59:56 -08:00
Ken McMillan
a318b0f104 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2013-12-16 12:45:52 -08:00
Ken McMillan
3764064e98 fixed some address dependencies 2013-12-13 18:41:35 -08:00
Christoph M. Wintersteiger
b77d408128 bugfix for FPA rounding when ebits is very small. 2013-11-14 19:11:19 +00:00
Christoph M. Wintersteiger
6a2f987fb7 optimizations for float to float conversions
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-11-14 16:56:13 +00:00
Christoph M. Wintersteiger
7a718d4e07 fixed tabs 2013-11-09 14:57:45 +00:00
Christoph M. Wintersteiger
2924b1acc6 fixed reference to _DEBUG 2013-11-09 14:51:44 +00: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
457b22b00e add TPTP example
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-06 21:49:00 -07:00
Nikolaj Bjorner
878905c13c Adding overflow checks
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-09-02 19:43:22 -07:00
Christoph M. Wintersteiger
76c59cb85c MPF conversion bugfix.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-06-14 17:22:25 +01:00
Nikolaj Bjorner
b6d9d8a601 fix bugs reported by Nuno Lopes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-06-04 12:55:35 -07:00
Nuno Lopes
9a66696639 merge hassel table code from branch
Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
2013-05-29 14:35:32 -07:00
Christoph M. Wintersteiger
7053b7636b Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2013-05-01 14:11:21 +01:00
Christoph M. Wintersteiger
e50a9e8dbf MPF: fused-mul-add fixes. Sometimes this is still off by a bit.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2013-05-01 14:10:50 +01:00
Nikolaj Bjorner
8abdefef6d Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2013-04-28 12:48:10 -07:00
Nikolaj Bjorner
9158fb17c1 add special procedures for UTVPI and horn arithmetic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-04-28 12:47:55 -07:00
Nikolaj Bjorner
c58b4f9a53 optimize rule processing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-04-26 11:43:06 -07:00
Nikolaj Bjorner
a1277a57ae resolved conflicts
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-04-23 10:01:50 -07:00
Nikolaj Bjorner
d849dbf21f remove pointer comparisons/hash
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-04-23 09:58:30 -07:00
Nikolaj Bjorner
4ceb228583 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2013-04-21 18:17:56 -07:00
Nikolaj Bjorner
0fbdd37e89 working on horn difference logic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-04-21 18:17:49 -07:00
Nuno Lopes
7ce88d4da9 fix a few compilation warnings
- remove unused variables and class fields
 - add support for gcc 4.5 & clang's __builtin_unreachable
 - fix 2 bugs related to strict aliasing
 - remove a few unused function parameters

Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
2013-04-21 14:36:39 -07:00
Nuno Lopes
adc8224dba use svector instead of vector where appropriate
Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
2013-04-16 09:02:40 -07:00
Nikolaj Bjorner
a054b099c1 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2013-04-11 13:44:30 -07:00
Nikolaj Bjorner
18ea547cea compiler optimization and fixes to unit tests
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-04-11 13:44:23 -07:00
Leonardo de Moura
dc77141dce Fix warning messages
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-04-10 19:14:10 -07:00
Leonardo de Moura
f6f59ad6bc Fix memory allocation problems in RCF module
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-04-10 19:03:25 -07:00
Leonardo de Moura
75ad174567 Initialize int64_min constant when using GMP
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-04-08 15:02:51 -07:00
Leonardo de Moura
3d34aa7f01 Fix is_int64 bug in mpz when compiling with GMP
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-04-08 14:50:17 -07:00
Leonardo de Moura
03c1b24dea Fix get_int64 and is_int64 methods in mpz. Fix INT64_MAX constant definition.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-04-08 14:25:25 -07:00
Leonardo de Moura
1c96a7d52f Add option smt.bv.enable_int2bv in the new parameter setting framework. This is the new name for the old parameter :bv-enable-int2bv-propagation. This modification addresses an issue reported at http://stackoverflow.com/questions/15798984/bv-enable-int2bv-propagation-option.
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-04-03 15:51:09 -07:00
Nikolaj Bjorner
435c6dd365 convert mega-bytes to bytes in env_params
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-03-29 09:05:36 -07:00
Nikolaj Bjorner
c9109132da test hilbert-basis with fdds and checked integers
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-03-26 17:33:44 -07:00
Nikolaj Bjorner
00e79e6b6b test hilbert-basis with fdds and checked integers
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-03-26 17:31:11 -07:00
Nuno Lopes
25a41d48dc speedup bit_vector::num_words()
Proof of equivalence w.r.t. previous code: http://rise4fun.com/Z3/aiLV

Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
2013-03-25 15:41:52 -07:00
Nikolaj Bjorner
e61fa50dc3 fix build breaks
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-03-24 11:26:46 -07:00
Nikolaj Bjorner
ee5d61bd60 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2013-03-24 11:26:07 -07:00
Nikolaj Bjorner
6084cbd065 fix build breaks
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-03-24 11:25:43 -07:00
Leonardo de Moura
9d0b0df985 Fix gcc compilation errors
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-03-24 09:07:51 -07:00
Nikolaj Bjorner
26f4d3be20 significant update to Horn routines: add module hnf to extract Horn normal form (removed from rule_manager). Associate proof objects with rules to track (all) rewrites, so that proof traces can be tracked back to original rules after transformations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2013-03-23 14:11:54 -07:00
Nuno Lopes
c824178e7e bit_vector: fix operator==() for the case that num_bits is a multiple of 32
Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
2013-03-22 11:50:41 -07:00
Nuno Lopes
b8598225bf fix definition of bit_vector::empty()
Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
2013-03-18 09:20:25 -07:00