Nikolaj Bjorner
4145b92136
use of regions for AUX lemmas from pb solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-03-11 11:52:07 -07:00
Nikolaj Bjorner
f47cc70236
use of regions for AUX lemmas from pb solver
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-03-11 11:48:52 -07:00
Nuno Lopes
4ed062d54a
fix missing memset in my previous commit
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-03-11 11:04:33 +00:00
Nikolaj Bjorner
695ce643f5
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2015-03-11 00:45:09 -07:00
Nikolaj Bjorner
755a259ea0
fix codeplex issue 188
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-03-11 00:44:56 -07:00
Nikolaj Bjorner
51267f3aba
take into account that bound from optimization may create atom that clashes with inequality bound from term
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-03-11 00:26:49 -07:00
nikolajbjorner
fe6af38d97
debugging assertion violation
...
Signed-off-by: nikolajbjorner <nbjorner@microsoft.com>
2015-03-10 20:57:01 -07:00
Nuno Lopes
44e647e72b
add reallocate() function and use it in bit_vector and vector containers
...
give a speedup of 1-4%
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-03-10 16:53:47 +00:00
Christoph M. Wintersteiger
55ca6ce44b
Resurrected the dack* options.
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-03-04 19:15:22 +00:00
Christoph M. Wintersteiger
6630994a3d
+ bug reporter
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-03-04 18:31:08 +00:00
Christoph M. Wintersteiger
858ce1158d
Bugfix in model translation (ast_manager mismatch after par-or). Thanks to stackoverflow user user297886 for reporting this issue.
...
http://stackoverflow.com/questions/28852722/segmentation-fault-while-using-par-or-tactic
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-03-04 18:30:06 +00:00
Christoph M. Wintersteiger
8d11c431b7
Bugfix for the OCaml bindings on Windows
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-03-04 17:44:53 +00:00
Christoph M. Wintersteiger
ec4a07318e
Bugfix for the Java API on Windows
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-03-04 15:19:15 +00:00
Christoph M. Wintersteiger
1f8119f601
Bugfix for the Java API. Thanks to codeplex user susmitj for reporting this problem!
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-03-04 15:14:07 +00:00
Christoph M. Wintersteiger
400e203bce
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-03-02 17:31:42 +00:00
Christoph M. Wintersteiger
71f2d358ef
Bugfix in windows dist scripts
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-03-02 17:30:41 +00:00
Nuno Lopes
dd2c179663
Fix warnings during compilation with MSVC due to /LTCG
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-03-02 15:05:38 +00:00
Nuno Lopes
89c43676d5
save memory in the sat solver to tentatively speed things up.
...
I get a slight speedup on my benchmarks. There's still one extra sign extend, which will be removed in a follow-up patch
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-03-02 09:50:35 +00:00
Nuno Lopes
e64760abbd
fix the build with VS
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-03-02 09:18:15 +00:00
Nikolaj Bjorner
8bcd6edd08
temporary build fix
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-03-01 15:19:57 -08:00
Nuno Lopes
8029e31ddd
add compiler attributes to allocation functions
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-28 17:31:50 +00:00
nikolajbjorner
3bf22964dd
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2015-02-27 11:09:05 -08:00
nikolajbjorner
3ca3c948cf
add bit-vector extract shortcuts to C++ API
...
Signed-off-by: nikolajbjorner <nbjorner@microsoft.com>
2015-02-27 11:08:49 -08:00
Nuno Lopes
71d31c1267
minor optimization to reset() methods in smt::ketnel and smt::quantifier_manager
...
Signed-off-by: Nuno Lopes <a-nlopes@MSRC-4051274.europe.corp.microsoft.com>
2015-02-27 11:48:14 +00:00
Nuno Lopes
8d303a09b5
Compile Z3 with link-time optimizations on Windows, yielding a 2-3% speedup
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-25 13:10:29 +00:00
Nikolaj Bjorner
696a1a453a
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2015-02-24 17:34:52 -08:00
Nikolaj Bjorner
64e2011d42
fix crash in explanation generation. Codeplex issue 181
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-02-24 17:34:38 -08:00
Nikolaj Bjorner
dffb0ff844
Merge branch 'opt' of https://git01.codeplex.com/z3 into opt
2015-02-24 17:04:01 -08:00
Nikolaj Bjorner
b8fbc32689
fix crash in explanation generation. Codeplex issue 181
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-02-24 17:03:34 -08:00
nikolajbjorner
fbf8289394
probe also hard constraints before enabling SAT solver. Bug reported by Zvonimir Pavlinovic
...
Signed-off-by: nikolajbjorner <nbjorner@microsoft.com>
2015-02-24 14:02:23 -08:00
Christoph M. Wintersteiger
a51aed0133
Fixed bug in constant propagation
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-24 21:26:25 +00:00
nikolajbjorner
fcb4962016
add patch suggested by Arie Gurfinkel
...
Signed-off-by: nikolajbjorner <nbjorner@microsoft.com>
2015-02-23 11:18:24 -08:00
nikolajbjorner
f0967c0572
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2015-02-23 10:29:10 -08:00
nikolajbjorner
0d9f949ab2
Fix memory smash on double free of clauses
...
Signed-off-by: nikolajbjorner <nbjorner@microsoft.com>
2015-02-23 10:28:32 -08:00
Nikolaj Bjorner
8ea7a1905f
reset scope on reset, codeplex issue 183
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-02-22 10:16:38 -08:00
Nikolaj Bjorner
c3232693f0
use PB solver instead of full arithmetic for bouding Pareto fronts so that difference logic theory isn't broken. Codeplex issue 175
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-02-22 09:46:21 -08:00
Nuno Lopes
a106b4125a
move definition of Z3_API to the right file
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-22 11:57:40 +00:00
Nuno Lopes
1e30fd2c65
Hide non-exported symbols when compiling with gcc/clang.
...
I get a 17% reduction in the size of libz3.so on linux 32 bits, plus a 0.5-1% speedup when using the API.
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-22 11:38:46 +00:00
Nuno Lopes
5676fbbc9e
compiler love: make a few symbols static and avoid unneeded relocations
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-22 11:13:51 +00: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
a96a9a076d
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
2015-02-19 19:10:21 -08:00
nikolajbjorner
aa40316268
rewrite terminology for policheck
...
Signed-off-by: nikolajbjorner <nbjorner@microsoft.com>
2015-02-19 19:09:12 -08:00
Ken McMillan
ece838bc80
merge interpolation fix
2015-02-19 12:38:23 -08:00
Ken McMillan
185f9325a6
fixed interpolation bug
2015-02-19 12:25:06 -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
6537390171
+ bug reporter
...
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-18 16:34:35 +00:00
Christoph M. Wintersteiger
9b137d54d3
Bugfix and new examples for implicit assumptions in Z3_solver_assert_and_track. Thanks to Amir Ebrahimi for reporting this issue!
...
(See http://stackoverflow.com/questions/28558683/modeling-constraints-in-z3-and-unsat-core-cases )
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2015-02-18 16:25:27 +00:00
Nikolaj Bjorner
911ffc370a
separate MaxSMT functionality to enable using this independently (and incrementally) of overall context
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2015-02-16 09:11:28 +01:00
Nuno Lopes
d3fb5f2a4c
fix misc compiler warnings
...
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2015-02-15 11:53:24 +00:00
Christoph M. Wintersteiger
614caaca62
Fix for arrays with arity > 1 in static_features
2015-02-09 16:20:17 +00:00