3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00
Commit graph

13792 commits

Author SHA1 Message Date
Nikolaj Bjorner 6088da5159 fix #4176 2020-05-01 16:34:33 -07:00
Nikolaj Bjorner c94a9e8ddd na 2020-05-01 13:17:37 -07:00
Nikolaj Bjorner 8dd522d805 fix #4057 fix #4061 2020-05-01 13:16:56 -07:00
Nikolaj Bjorner dcb75c4b31 fix #4174 2020-05-01 13:15:51 -07:00
Nikolaj Bjorner 166be6c3b9 add constructor preservation axiom to update-field 2020-05-01 11:09:55 -07:00
Nikolaj Bjorner f8590634bd fix #4164 2020-05-01 11:04:48 -07:00
Nikolaj Bjorner 5b6255e3d1 small updates 2020-04-30 19:31:39 -07:00
Nikolaj Bjorner 397bf2dec6 move windows dependencies down 2020-04-30 19:31:11 -07:00
Nikolaj Bjorner 16bc5b8432 build warning 2020-04-30 19:30:54 -07:00
Nikolaj Bjorner 97574134e0 fix #4163 2020-04-30 19:30:40 -07:00
Nikolaj Bjorner cb5c2d3a98 fix unit test build 2020-04-30 14:49:49 -07:00
Nikolaj Bjorner 893265ce94 fix #4166 2020-04-30 14:49:48 -07:00
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