3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 08:35:31 +00:00
Commit graph

1785 commits

Author SHA1 Message Date
Christoph M. Wintersteiger
ca83f47be6 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-10-08 21:03:01 +01:00
Christoph M. Wintersteiger
b03a9d3f0a Interpolation API: infrastructure fixes and .NET API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-08 21:01:27 +01:00
Nikolaj Bjorner
335f9a9be1 add parameter validation to tactic parameters
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-08 10:55:24 -07:00
Christoph M. Wintersteiger
4370d40dd8 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-10-08 10:56:20 +01:00
Nikolaj Bjorner
4ea3ed7e27 ensure parameters are updated and ensure that global use of auto-config is not obscured by smt.auto-config scoping
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-07 11:00:45 -07:00
Christoph M. Wintersteiger
7fc95aff3c Minor cleanliness fix.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-07 14:24:28 +01:00
Nikolaj Bjorner
c7e27fb2d9 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-10-06 15:43:38 -07:00
Nikolaj Bjorner
8438ac6e21 fix internalization bug when bit2bool is applied to numeral
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-06 15:43:24 -07:00
Christoph M. Wintersteiger
a77694d9a8 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-10-06 18:10:13 +01:00
Christoph M. Wintersteiger
3222ecd992 tabs
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-10-06 18:09:40 +01:00
Christoph M. Wintersteiger
30b72809c5 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-10-06 18:07:07 +01:00
Christoph M. Wintersteiger
929880e4fd Fix for bogus runtime reports on Linux. Thanks to Vladimir Klebanov for reporting this one. 2014-10-06 18:06:36 +01:00
Nikolaj Bjorner
6d8daacdec fix check for satisfiability before calling final_check
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-06 08:35:05 -07:00
Nikolaj Bjorner
7ef1e8a3de turn friends into inliers to respect namespace for non-operator friends. Operaor friends will stil be in file scope so do not take name-space qualifier
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-05 19:04:15 -07:00
Nikolaj Bjorner
18e77bd539 fix qe for undef scenarios, codeplex issue 130
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-05 18:36:15 -07:00
Nikolaj Bjorner
c6683fd6fa to fix that timeout of 0 has different interpretations across platforms
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-05 12:27:57 -07:00
Nikolaj Bjorner
cbf470422e remove extra verbose output
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-05 12:10:23 -07:00
Nikolaj Bjorner
4e55f04942 use more efficient encoding of shift operations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-05 10:41:37 -07:00
Nikolaj Bjorner
6a3f75822d fix format bug (issue 126) and smaller nits in sat solver (const annotation, disable elimination of external or already elimianted variables)
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-04 18:35:18 -07:00
Nikolaj Bjorner
fbb01f3699 prevent usage that mixes E/e notation with division / for numerals
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-02 23:58:52 -07:00
Nikolaj Bjorner
47b81d2ec0 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-10-02 14:33:55 -07:00
Nikolaj Bjorner
d03a4bc306 check cancel flag after bcp. BCP returns in incomplete state after it check's the cancel flag. Propagate returns 'true' in this case so that the main loop exits
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-10-02 14:33:42 -07:00
Nuno Lopes
97a5e6d326 assorted compiler warnings fixes
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-28 12:21:56 +01:00
Nuno Lopes
5f59dd1644 revert usage of popcnt is MSVC
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-28 11:37:11 +01:00
Nikolaj Bjorner
e57e5328ce configuration update to SAT solver on creation time. Adding random_seed to sat parameters to enable command-line and module mode to work at the level of sat solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-26 16:42:11 -07:00
Nikolaj Bjorner
9412890c63 trace reason for undef in arithmetic, enable model generation on THEORY incompleteness, but retain undef result
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-26 12:58:55 -07:00
Nikolaj Bjorner
4995ce1fde disable unstable interpolation sample
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-22 22:22:26 -07:00
Nikolaj Bjorner
dca3ce6b24 update documentation on models associated with solver objects
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-22 01:16:16 -07:00
Nuno Lopes
b243ac945f hoprfully fix the build for MSVC 2010
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-21 15:20:43 +01:00
Nuno Lopes
d36cecc2f3 make use of count population intrinsincs on MSVC/gcc/clang
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-19 15:51:08 +01:00
Christoph M. Wintersteiger
bb56885147 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-09-18 17:10:38 +01:00
Christoph M. Wintersteiger
9949c7e31c fixed typos
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-09-18 17:09:22 +01:00
Nuno Lopes
61d67dc2de fix a few compiler warnings
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-18 14:38:40 +01:00
Nikolaj Bjorner
45bfcda16c remove typename
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-17 16:37:53 -07:00
Nuno Lopes
4717d9d1f4 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-09-17 16:33:45 +01:00
Nuno Lopes
b95f5b0fea fix bug in the datalog compiler when using negation
We now perform negation after filtering with interpreted constraints so that
the table reflects relevant columns which were not being added by the negation

Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-17 16:33:27 +01:00
Nikolaj Bjorner
a85f1784db updated answer to binary interpolant
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-16 23:25:39 -07:00
Nikolaj Bjorner
1636e35bf9 fix scope accounting bug in deprecated solver mode
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-16 20:11:44 -07:00
Nikolaj Bjorner
e8b9c251d5 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-09-16 17:13:20 -07:00
Nikolaj Bjorner
d01ca11001 reduce asymptotic overhead of asserting bounds
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-16 17:13:09 -07:00
Nuno Lopes
79326e24df fix debug build..
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-16 15:29:25 +01:00
Nuno Lopes
f7c3559c31 fix a few compiler warnings
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-16 15:26:01 +01:00
Nuno Lopes
d3570484bb Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-09-16 14:57:22 +01:00
Nuno Lopes
919e0a5ea2 Z3Py: fix bug in substitute() with a list of on variable
e.g. print substitute(Int('x'), [(Int('x'), Int('y'))])

Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-09-16 14:56:59 +01:00
Nikolaj Bjorner
67b802c9d9 fix scope accounting bug and documentation per Konrad's request
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-12 17:38:34 -07:00
Nikolaj Bjorner
c917c1c53d reset ast trail on context deletion
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-12 15:54:42 -07:00
Nikolaj Bjorner
dd62ca5eb3 simplify models
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-06 20:54:16 -07:00
Nikolaj Bjorner
36816e3b2f clear cache for crash
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-06 19:03:37 -07:00
Nikolaj Bjorner
904ab4bf9e address race condition in cleanup methods
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-09-05 11:18:34 -07:00
Nikolaj Bjorner
19a8fa8a25 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-09-04 14:50:19 -07:00