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

3388 commits

Author SHA1 Message Date
Christoph M. Wintersteiger
2258988b37 MPF bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-31 14:48:06 +00:00
Nikolaj Bjorner
a296023823 incorrect offset calculation in diff logic optimization. codeplex issue 156
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-12-29 16:15:19 -08:00
Nikolaj Bjorner
7d62ceeadc Merge branch 'opt' of https://git01.codeplex.com/z3 into opt 2014-12-29 12:57:17 -08:00
Nikolaj Bjorner
c54a19b084 generate proof justifications in theory_pb: codeplex issue 157
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-12-29 12:57:02 -08:00
Christoph M. Wintersteiger
defb6158fe MPF: bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-29 17:09:28 +00:00
Christoph M. Wintersteiger
33af7e8468 FPA: bugfixes for fp.to_ubv
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-29 17:09:18 +00:00
Christoph M. Wintersteiger
0ab2782048 FPA: name consistency
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-29 17:08:46 +00:00
Christoph M. Wintersteiger
05121e25d4 FPA theory support for conversion functions
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 19:28:48 +00:00
Christoph M. Wintersteiger
621be0f47f FPA: Added fp.to_ubv
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 18:01:18 +00:00
Christoph M. Wintersteiger
96c8bd7e91 MPF conversion bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 17:57:21 +00:00
Nuno Lopes
a211fcfb9e muZ/datalog/udoc: fix bug in join_project
The bug was that we could project out don't care columns and don't take copied bits into account.
Bug reported by Ari Fogel

Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-12-28 17:05:17 +00:00
Christoph M. Wintersteiger
12aaa0610b FPA: added get_some_value/s for FP models
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 15:27:40 +00:00
Christoph M. Wintersteiger
4d1f71775d FPA: added to_fp_unsigned
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 15:26:52 +00:00
Christoph M. Wintersteiger
1aae53f48c FPA: comment fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 15:26:41 +00:00
Christoph M. Wintersteiger
23aa614d55 FPA: New theory implementation with support for "hidden" variables, relevancy, and eq/diseq.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 13:44:29 +00:00
Christoph M. Wintersteiger
7a15c41c47 FPA: improved error messages for to_fp
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 13:40:36 +00:00
Christoph M. Wintersteiger
d1cb2566e4 fpa2bv: adjustments for consistency
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 13:39:46 +00:00
Christoph M. Wintersteiger
55662bcf6b fpa2bv: added reset(), adjustments for consistency
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 13:33:19 +00:00
Christoph M. Wintersteiger
6ebeebde50 Added parameter to display floating point numerals as reals
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 13:32:34 +00:00
Christoph M. Wintersteiger
7f8a34d2e1 Adjusted default model display for float literals.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-28 13:31:30 +00:00
Christoph M. Wintersteiger
65cc5fbe8b Merge branch 'unstable' of https://git01.codeplex.com/z3 into fpa-api 2014-12-27 11:09:03 +00:00
Nikolaj Bjorner
d827713ce3 revert to SMT tactic on bv1_blaster_tactic - equalities are not removed, and conjunctions are not converted to NNF (or/not), so the formula still isn't sufficiently blasted
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-12-22 15:40:02 -08:00
Nikolaj Bjorner
f373996f09 Merge branch 'opt' of https://git01.codeplex.com/z3 into opt 2014-12-22 09:27:48 -08:00
Nikolaj Bjorner
c61e9f27db local changes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-12-22 09:27:33 -08:00
Christoph M. Wintersteiger
b8c373bbce fpa2bv tactic bugfix
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-22 14:25:23 +00:00
Nuno Lopes
ee71c434b6 muZ/datalog: remove a few spurious make_empty() calls from the instruction handlers
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-12-22 14:17:07 +00:00
Nuno Lopes
dddb31fc37 minor optimization to previous patch
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-12-22 13:03:06 +00:00
Nuno Lopes
4ee83c1774 Datalog/DoC: add fast path for join_project for the case 'h(X) :- f(X), g(X).'
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
2014-12-22 12:53:35 +00:00
Nuno Lopes
a7c7b70e19 muZ Datalog: be more aggressive when forming join_project 2014-12-22 12:49:31 +00:00
Christoph M. Wintersteiger
8d761d8383 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-12-22 01:41:47 +00:00
Christoph M. Wintersteiger
9dd4d7b011 Python API bugfix. Thanks to Tom Ball for reporting this one.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-21 20:43:26 +00:00
Christoph M. Wintersteiger
0ceb67ae33 Merge branch 'unstable' of https://git01.codeplex.com/z3 into fpa-api 2014-12-21 18:47:02 +00:00
Christoph M. Wintersteiger
cf4b7219e1 new theory_fpa. plenty of bugs remain.
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-21 18:45:36 +00:00
Christoph M. Wintersteiger
d394b9579f FPA: new conversion
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-21 18:45:05 +00:00
Christoph M. Wintersteiger
a1b4ef9e1b fpa2bv refactoring
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-21 18:44:12 +00:00
Christoph M. Wintersteiger
d5fef38c00 FPA: Switched default value representation to 3-bitvector
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-21 18:43:22 +00:00
Christoph M. Wintersteiger
1f29b3e0a9 Merge branch 'unstable' of https://git01.codeplex.com/z3 into bvsls 2014-12-19 12:33:03 +00:00
Christoph M. Wintersteiger
75bae1b00c BV-SLS optimization
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-19 12:32:57 +00:00
Christoph M. Wintersteiger
47325c5fd3 FPA: bugfixes, naming convention, core theory additions
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-16 23:59:27 +00:00
Nikolaj Bjorner
18c3c1d9d6 Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable 2014-12-16 11:21:24 -08:00
Nikolaj Bjorner
f4d256ef30 fix issue 153: assert rem/mod axiom no matter what is status of second argument
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-12-16 11:20:34 -08:00
Christoph M. Wintersteiger
d53fdb2848 typo
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-16 15:36:31 +00:00
Christoph M. Wintersteiger
1244d5a22e Python API: Added BVRedAnd, BVRedOr
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-16 15:28:52 +00:00
Nikolaj Bjorner
21ea48bfd8 epsilon should have real type, reported by GeorgeKarpenkov, codeplex issue 145
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-12-15 16:27:35 -08:00
Nikolaj Bjorner
1d18934ddb fix overflow and integrality bugs reported by Phan
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-12-15 16:19:38 -08:00
Nikolaj Bjorner
ae3d16bc50 fix overflow and integrality bugs reported by Phan
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2014-12-15 16:18:09 -08:00
Christoph M. Wintersteiger
f11ee40c38 FPA: bug and leak fixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-14 19:09:17 +00:00
Christoph M. Wintersteiger
4e913bb18c FPA bugfixes
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-14 17:34:18 +00:00
Christoph M. Wintersteiger
b30e61e528 FPA: bugfixes, leakfixes, added fp.to_real
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-13 19:34:55 +00:00
Christoph M. Wintersteiger
d6ac98a494 FPA API: reintroduced to_ieee_bv
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
2014-12-11 12:05:52 +00:00