3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00
Commit graph

1216 commits

Author SHA1 Message Date
Nikolaj Bjorner
b79d1a6956 fix #1488 for smtlib basic printer
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-28 09:22:20 +09:00
Nikolaj Bjorner
ce1b135ec3 address accessor inconsistencies between - and from #1506
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-26 14:57:17 +09:00
Nikolaj Bjorner
e9b6de0746
Merge pull request #1501 from mikhailramalho/master
Convert BVULT(X,Y) into !BVULE(Y,X)
2018-02-25 13:19:11 +09:00
Moritz Kiefer
5d0e33c9ad Fix assignment of family ids 2018-02-23 20:22:07 +01:00
Mikhail Ramalho
c5336f8003 Convert BVULT(X,Y) into !BVULE(Y,X)
Signed-off-by: Mikhail Ramalho <mikhail.ramalho@gmail.com>
2018-02-23 17:17:02 +00:00
Nikolaj Bjorner
a4c58ec4c2 fix #1496
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-22 08:05:28 +09:00
Nikolaj Bjorner
a231ff3735 Merge branch 'master' of https://github.com/z3prover/z3 2018-02-14 21:47:25 -08:00
Nikolaj Bjorner
0bbdee810d fix #1488
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-14 21:46:20 -08:00
Nikolaj Bjorner
1323b8f63f
Merge pull request #1485 from waywardmonkeys/modernize-redundant-void-arg
Remove redundant void arg.
2018-02-13 08:14:05 -08:00
Bruce Mitchener
971a5eddcb Use bool literal false instead of 0. 2018-02-13 19:23:47 +07:00
Bruce Mitchener
7bf80c66d0 Remove redundant void arg.
While this was needed in ANSI C, it isn't in C++ and triggers a warning
in clang-tidy when `modernize-redundant-void-arg` is enabled.
2018-02-13 18:51:52 +07:00
Bruce Mitchener
76eb7b9ede Use nullptr. 2018-02-12 14:05:55 +07:00
Bruce Mitchener
7167fda1dc Use override rather than virtual. 2018-02-10 09:56:33 +07:00
Bruce Mitchener
b7d1753843 Use override rather than virtual. 2018-02-09 21:19:27 +07:00
Nikolaj Bjorner
2b847478a2
Merge pull request #1478 from waywardmonkeys/unnecessary-value-param-fixes
Remove unnecessary value parameter copies.
2018-02-09 02:20:47 -08:00
Bruce Mitchener
757b7c66ef Remove unnecessary value parameter copies. 2018-02-09 16:35:34 +07:00
Bruce Mitchener
50f3e9c3c0 Fix typos. 2018-02-09 16:35:26 +07:00
Nikolaj Bjorner
3f7453f5c5 fixing build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-07 20:23:31 -08:00
Nikolaj Bjorner
61934d8106 align semantics of re.allchar with string proposal. #1475
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-07 20:08:15 -08:00
Nikolaj Bjorner
9d37257059
Merge pull request #1465 from waywardmonkeys/fix-typos
thanks
2018-02-05 18:31:09 -08:00
Nikolaj Bjorner
3e810d6c54 remove static from format (not thread safe), remove std::move #1466
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-02-05 16:46:49 -08:00
Nikolaj Bjorner
2853558bc2
Merge pull request #1466 from waywardmonkeys/reduce-copying
Use const refs to reduce copying.
2018-02-05 16:37:44 -08:00
Christoph M. Wintersteiger
333374229d Fixed UFs for unspecified cases of FP conversion operators. Thanks for Youcheng Sun for reporting this bug. 2018-02-03 16:48:05 +00:00
Christoph M. Wintersteiger
c3ed986031 Fixed RNA FP rounding mode semantics. Fixes #1190 and bugs reported by Youcheng Sun. 2018-02-03 16:46:21 +00:00
Christoph M. Wintersteiger
8689921e9c Fixed missing bit of precision in fp.to_ubv/fp.to_sbv. Thanks to Youcheng Sun for reporting this bug. 2018-02-03 15:16:23 +00:00
Christoph M. Wintersteiger
ad3b0ecad0 Fixed pattern rewriting to produce only valid patterns (which led to a segfault). Bug reported by Youcheng Sun. 2018-02-02 19:27:36 +00:00
Bruce Mitchener
ae8027e594 Fix typos. 2018-02-01 19:39:43 +07:00
Bruce Mitchener
177414c0ee Use const refs to reduce copying.
These are things that have been found by `clang-tidy`.
2018-01-30 21:43:56 +07:00
Bruce Mitchener
11f5fdccdf Use noreturn attribute and __declspec version. 2018-01-03 01:02:07 +07:00
Nikolaj Bjorner
16044c74bf revert use of [[noreturn]]. It's not fully supported on compilers #1435
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-02 09:29:14 -08:00
Nikolaj Bjorner
7457fa77cb add noreturn attribute #1435
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-02 08:46:17 -08:00
Bruce Mitchener
b06f413585 raise_exception: Annotate that this doesn't return. 2018-01-02 23:20:00 +07:00
Bruce Mitchener
73b3da37d8 Typo fixes. 2018-01-02 22:48:06 +07:00
Nikolaj Bjorner
8dadd30db5 add __copy__, __deepcopy__ as alias to translate on same context #1427. Add generalized Gaussian elimination as an option to first-pass NL solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2018-01-01 17:11:43 -08:00
Nikolaj Bjorner
79a9dfd8fd adding pre-processing to nlsat for equations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-12-30 20:35:33 -08:00
Christoph M. Wintersteiger
2e186633ee Turned assertion failure into proper error message. 2017-12-11 14:59:25 +00:00
Nikolaj Bjorner
a5d5dfdf86 fix setup for non-linear real arithmetic per QF_UFNRA regresssions
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-12-08 09:23:57 +05:30
Nikolaj Bjorner
2749e547cf fix c example, remove more smtlib1 printing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-28 18:14:24 -08:00
Nikolaj Bjorner
b8e5fc9f43 remove SMTLIB1 printing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-28 15:08:28 -08:00
Nikolaj Bjorner
5a35d00766 remove std::cout
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-28 08:55:45 -08:00
Nikolaj Bjorner
103ce78c29 save model from level 0, fix #1380
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-28 08:53:06 -08:00
Nikolaj Bjorner
81ec5bae95 fix #1377
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-27 11:02:48 -08:00
Nikolaj Bjorner
36e5d4dec9 fix #1377
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-27 11:01:44 -08:00
Nikolaj Bjorner
1c5f798cbe expose extra symbols for logic ALL, requested in #1364
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-25 12:03:47 -08:00
Christoph M. Wintersteiger
0194df611c Merge branch 'master' of https://github.com/Z3Prover/z3 2017-11-17 21:15:36 +00:00
Christoph M. Wintersteiger
f5ff9fae34 Fixed bug check in bv2fpa converter. Fixes #1291. 2017-11-17 21:15:30 +00:00
Nikolaj Bjorner
7f13cf13f2 clean up bv_numeral code and fix bug in how they are initialized
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-15 15:00:11 -08:00
Nikolaj Bjorner
795e0c641a add method to create bit-vectors directly from an array of Booleans
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-15 14:44:59 -08:00
Nikolaj Bjorner
195d81ebef fix rewriter loop reported in #1354
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2017-11-13 13:49:03 -08:00
Christoph M. Wintersteiger
2d221155b3 Fixed bug in fp.to_ieee_bv with rewriter.hi_fp_unspecified=true. Reported in #1349. 2017-11-08 20:52:48 +00:00