3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00
Commit graph

10841 commits

Author SHA1 Message Date
Nikolaj Bjorner dd452e0ac1 eq
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-31 15:29:27 -07:00
Nikolaj Bjorner e79542cc68 fix #2309
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-31 07:46:11 -07:00
Nikolaj Bjorner f1dee935d0 remove UNREACHABLE
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-30 17:07:00 -07:00
Nikolaj Bjorner f11cb77c3d merge
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-30 16:15:55 -07:00
Nikolaj Bjorner 8893913c98 remove internal referenes to set_activity
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-30 16:06:05 -07:00
Nikolaj Bjorner fc4c162e31 add clause proof module, small improvements to bapa
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-30 15:59:28 -07:00
Nikolaj Bjorner f128398bf9 add clause proof module, small improvements to bapa
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-30 15:57:19 -07:00
Nikolaj Bjorner 48fc3d752e add clause proof module, small improvements to bapa
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-30 15:49:19 -07:00
Nikolaj Bjorner 4d30639fd7 merge dotnetcore into dotnet
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-30 13:01:48 -07:00
Nikolaj Bjorner 6604aab1a2 remove dotnet as a build option
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-29 17:08:45 -07:00
Nikolaj Bjorner 30411b319a update build scripts
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-29 17:02:45 -07:00
Nikolaj Bjorner 25c93410b1 add #2298 to regression/example
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-29 07:24:42 -07:00
Nikolaj Bjorner 857dc0fcec
Merge pull request #2294 from AltGr/fix-ml-static-linking
ml API + static linking: small fix on top of #2292
2019-05-29 16:16:17 +02:00
Nikolaj Bjorner 8f36868285 fix #2300
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-27 09:35:55 -07:00
Nikolaj Bjorner f99384c6a3 fix nightly regression from solve-eqs context solver addition
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-27 04:17:43 -07:00
Nikolaj Bjorner 2d0ff7d68a print literals more compactly
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-24 15:39:35 +02:00
Nikolaj Bjorner 8243139fb0 handle div 0 cases as it is uninterpreted #1683
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-24 07:00:56 +04:00
Nikolaj Bjorner e49e5d7145 fix #2297
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-24 06:55:06 +04:00
Louis Gesbert 5c0ad963c1 Fix z3 static link options 2019-05-23 09:49:32 +02:00
Nikolaj Bjorner faf4ba8309 add check for contravariance to fix #2256
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-22 18:32:57 +04:00
Nikolaj Bjorner 082a0f4df4 add get_lstring per #2286
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-22 18:32:57 +04:00
Nikolaj Bjorner b2845d888e add get_lstring per #2286
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-22 18:32:57 +04:00
Nikolaj Bjorner 112e13eeea
Merge pull request #2292 from AltGr/ocaml-static-linking
Fix and enable OCaml static linking by default when --staticlib is specified
2019-05-22 17:26:00 +04:00
Louis Gesbert 9bb0c882fa OCaml API build: provide static linking options by default
when --staticlib is enabled, the linker will still choose to
dynamically link upon encountering `-lz3` when generating an
executable through OCaml.

The interaction between the underlying C linker and OCaml make it very
hard to choose the static version instead. The present patch works
around this issue by copying `libz3.a` to `libz3-static.a`, and using
`-lz3-static` instead: the static version is chosen since no dynamic
one is found.

One can get back to dynamically linking by compiling without
`--staticlib`, or switching back to `-lz3`, but will in the latter
case run into the same problem with specifying the option; if that
needs to be made easier, we could provide two versions of the `cm(x)a`
which differ only by their linking options.

One last solution would be to remove `lz3` altogether from the linking
options included in the cm(x)a, requiring either `-lz3` or
`-lz3-static` to be specified at link time. Simpler and most flexible,
but requires an update of all users that link with the Z3 ml api...
2019-05-21 17:45:19 +02:00
Louis Gesbert 8d5466e781 OCaml / static: fix linking options 2019-05-21 16:09:18 +02:00
Nikolaj Bjorner 1616427792 add cmath
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-17 23:38:14 +03:00
Nikolaj Bjorner d2dcb39c11 add smt lookahead
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-17 20:24:29 +03:00
Nikolaj Bjorner dd4b8b9ff8 select/map rewrite
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-17 00:00:00 +03:00
Nikolaj Bjorner b7f14c5875 update test
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-16 23:48:46 +03:00
Nikolaj Bjorner 335040a4ff track dependencies in context solve
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-16 23:06:21 +03:00
Nikolaj Bjorner 6e3f05b986 remove useless set-activity
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-16 20:24:51 +03:00
Nikolaj Bjorner 483a973b37 add pre-processing to default tactic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-16 20:20:59 +03:00
Nikolaj Bjorner f411b3b201 merge
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-16 20:18:29 +03:00
Nikolaj Bjorner 3e53b6f2db na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-16 19:21:00 +03:00
Nikolaj Bjorner 828e123369
Merge pull request #2283 from barcharcraz/master
Change from CMAKE_*_DIR to PROJECT_*_DIR
2019-05-16 19:06:26 +03:00
Nikolaj Bjorner 78c75662b9
Merge pull request #2281 from agurfinkel/bit2bool
Add bit2bool to list of known bv operators
2019-05-16 19:06:12 +03:00
Charlie Barto 167f968fa8 Change from BINARY_DIR to PROJECT_BINARY_DIR 2019-05-15 11:25:40 -07:00
Arie Gurfinkel 6ad8b7817f Add bit2bool to list of known bv operators 2019-05-15 09:26:38 -04:00
Nikolaj Bjorner e0c3b4a77d dealing with quantifier reference counts
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-14 23:05:07 +03:00
Nikolaj Bjorner f989e4eb38 fix #2276
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-14 19:20:55 +02:00
Nikolaj Bjorner c42d590db3 Merge branch 'master' of https://github.com/z3prover/z3 2019-05-14 19:05:47 +02:00
Nikolaj Bjorner 4fcc4d07ae fix #2277 fix #2221
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-14 19:05:40 +02:00
Nikolaj Bjorner d36b4bf098
Merge pull request #2275 from Nils-Becker/master
Correctly Logging Term Rewritings
2019-05-12 15:21:42 +02:00
Nils Becker 1e2fe9e764 bug fix 2019-05-11 20:13:48 +02:00
Nils Becker 893e604593 generate rewrite proof object early on to avoid logging equality term twice 2019-05-11 17:34:53 +02:00
Nikolaj Bjorner 4d05a11144
Merge pull request #2264 from Nils-Becker/master
Logging Support for Nested Quantifiers
2019-05-09 12:02:40 +02:00
Nikolaj Bjorner fc02114bf4 fix #2242, move purify-arith down to after ite elimination
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-09 11:55:00 +02:00
Nikolaj Bjorner 4ede0d9ec1 commas
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-09 10:16:25 +02:00
Nikolaj Bjorner 6071797ba9 fix again
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-08 12:11:43 +02:00
Nikolaj Bjorner f79dccccfe fix #2238
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-05-08 10:15:57 +02:00