3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 17:14:07 +00:00
Commit graph

13830 commits

Author SHA1 Message Date
Nikolaj Bjorner e9119a6eb5 fix #4168 2020-04-30 14:49:48 -07:00
Hari Govind V K dbfa3dd7f1
[spacer] implement spacer::is_clause() (#4170)
Spacer has a different defintion of is_clause() than ast_util.
It is currently only used in assertions.

Main difference:
  x=y
where x and y are Bool atoms is considered to be an atom, so that
(or (= x y) (not (= z y)))
is a literal

Co-authored-by: Arie Gurfinkel <arie.gurfinkel@uwaterloo.ca>
2020-04-30 14:03:48 -07:00
Nikolaj Bjorner 799b6131f2 avoid repeated internalization of lambda #4169
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-30 13:24:26 -07:00
Nikolaj Bjorner 7ae20476c2 remove assignments to lambdas, exposed by #4169 2020-04-30 12:35:07 -07:00
Nikolaj Bjorner 9c52d4e615 debugging #4169 2020-04-30 11:26:56 -07:00
Nikolaj Bjorner 68f1f1e62f fix #4162 2020-04-30 10:22:46 -07:00
Nikolaj Bjorner 9f6a733ff6 add hook for induction 2020-04-29 12:07:02 -07:00
Nikolaj Bjorner fd911a5563 build warning 2020-04-29 12:07:02 -07:00
Nikolaj Bjorner 0e77074e84 another revision of purify_arith, fix #4144 2020-04-29 12:07:02 -07:00
Nikolaj Bjorner 3fc001baea simplifications noticed by trying #4147
The change masks possible bugs in smt.threads and arrays.
2020-04-29 12:07:01 -07:00
Lev Nachmanson 7cfd16c7f9 correct ordered lemmas
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-29 10:21:45 -07:00
Lev Nachmanson 56690d16da remove incorrect order lemmas
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-29 10:21:45 -07:00
Murphy Berzish b0ffad95b0
Merge pull request #4092 from mtrberzi/regex-compl-inter
z3str3: fix support for re.complement and re.intersection
2020-04-29 10:13:20 -05:00
Murphy Berzish 0fb6a7c5d8
Merge pull request #4101 from mtrberzi/int-to-str-leading-zeroes
z3str3: disallow leading zeroes in int-to-string conversion
2020-04-29 10:13:10 -05:00
Nikolaj Bjorner 4d54b4109f #4153 2020-04-28 22:03:11 -07:00
Nikolaj Bjorner e67112f289 NYI control paths 2020-04-28 20:19:20 -07:00
Nikolaj Bjorner ee1d393150 files to make build easier
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-28 19:58:45 -07:00
Daniel Peebles 7e34925035
Improve UX for unreachable/unimplemented errors (#4094)
This should replace several "segfaults" and "illegal instruction" errors
with messages that contain a bit more context. I also put in a link to
the bug tracker to make users' lives a bit easier.

For context, `__builtin_unreachable`'s behavior is undefined and is
intended only as a mechanism to help the compiler see that code will not
return. I do still include it in the new code because if I don't,
compilation produces a lot more warnings as it can't see that
`NOT_IMPLEMENTED_YET` and `UNREACHABLE` cannot return.
2020-04-28 19:54:31 -07:00
Nikolaj Bjorner a11dc5d3b5 shuffle checks for enable_edge around fix #4159 2020-04-28 19:51:34 -07:00
Nikolaj Bjorner 71e9bf1053 initialize local variable 2020-04-28 16:36:53 -07:00
Nikolaj Bjorner 4defe9b6ab reorder
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-28 16:04:37 -07:00
Nikolaj Bjorner 8dde1bf86d compiler warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-28 16:02:32 -07:00
Nikolaj Bjorner 00d35c2777 initialization order 2020-04-28 15:56:50 -07:00
Nikolaj Bjorner a1928a2438 update expected 2020-04-28 15:55:21 -07:00
Lev Nachmanson 97fe2c8609 remove an assert
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-28 15:27:49 -07:00
Lev Nachmanson 35e3df49e2 cosmitic changes in int_branch.cpp
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-28 15:27:49 -07:00
Lev Nachmanson d5162d92ad add an assert
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-28 15:27:49 -07:00
Lev Nachmanson aa0f5db511 fixes
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-28 15:27:49 -07:00
Lev Nachmanson f8037ffda4 always call find_feasible_solution in move_nbasic_columns_to_bounds()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-28 15:27:49 -07:00
Lev Nachmanson ba40a5752f better branching with usage_in_terms()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-28 15:27:49 -07:00
Lev Nachmanson 3bbf1474f3 na
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-28 15:27:49 -07:00
Nikolaj Bjorner ccce599bad fix #4143 2020-04-28 14:11:39 -07:00
Nikolaj Bjorner fa1197a78f fix #4155 2020-04-28 13:51:25 -07:00
Nikolaj Bjorner 815feddd1a fix #4156 2020-04-28 13:47:26 -07:00
Nikolaj Bjorner fa88dabd10 fix #4135 2020-04-28 13:44:57 -07:00
Nikolaj Bjorner b571e43f85 fix #4146 2020-04-28 13:28:46 -07:00
Nikolaj Bjorner c5550e4385 build 2020-04-28 13:18:16 -07:00
Nikolaj Bjorner 1dc8b597b4 fix #4154 2020-04-28 13:17:00 -07:00
Nikolaj Bjorner 1f9e022168 fix #4131 2020-04-28 13:07:25 -07:00
Nikolaj Bjorner e3f712b3cf build 2020-04-28 13:00:56 -07:00
Nikolaj Bjorner 19409a25a6 value sweep 2020-04-27 18:58:43 -07:00
Nikolaj Bjorner 38e0968845 fix #4128 2020-04-27 17:10:48 -07:00
Nikolaj Bjorner 4f462925a0 fix #4116
delta has to be computed based on Simplex tableau not on difference graph.
2020-04-27 17:07:12 -07:00
Nikolaj Bjorner 3a63c3751e fix #4127 2020-04-27 13:27:00 -07:00
Nikolaj Bjorner 8996e8129e fix #4120 2020-04-27 12:06:33 -07:00
Nikolaj Bjorner 4938ea7be6 fix #4123
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-27 11:44:25 -07:00
Nikolaj Bjorner 1c2aa1076b fix #4125 2020-04-27 11:31:02 -07:00
Nikolaj Bjorner a0de244487 pleay nice with alignment
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-26 23:29:42 -07:00
Nikolaj Bjorner d818233063 unused variable warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-26 23:21:48 -07:00
Nikolaj Bjorner 5434f3e31d fix #4105
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-26 22:59:19 -07:00