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

13830 commits

Author SHA1 Message Date
Alberto Garcia Illera 53c14bd554
Use Position Independent Code flag on Static library builds (#4043)
Not compiling libz3 with `-fPIC` may lead to errors when using it in his static flavor from a shared library.

Related https://github.com/Z3Prover/z3/issues/4038
2020-04-22 10:52:05 -07:00
Nuno Lopes 5ec04f7fd2 forgot to remove unneeded class field 2020-04-22 15:30:16 +01:00
Nuno Lopes 220bc7fcd9 fix #4048: incorrect bvurem rewrite when divisor=0
also, always enable this rewrite, since it shrinks formula size globally
2020-04-22 15:26:30 +01:00
Nikolaj Bjorner dd064a5554 delay digit axioms until solving itos succeeds
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-20 00:32:48 -07:00
Nikolaj Bjorner e3e6959b70 fix #4026
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-19 23:30:37 -07:00
Nikolaj Bjorner c8b9eba069 fix #4028
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-19 23:10:00 -07:00
Nikolaj Bjorner ad8eb8fdcb #4024
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-19 22:44:02 -07:00
Nikolaj Bjorner e1fa04b365 disable breaking change to model generation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-19 16:53:20 -07:00
Nikolaj Bjorner eded7d023d fix #4006
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-19 16:00:03 -07:00
Nikolaj Bjorner f76c6424f2 another memory managment leak fix. Relates to different leak exposed by #3997
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-19 12:58:42 -07:00
Nikolaj Bjorner 44957894ea more checks for #4013
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-19 12:43:06 -07:00
Nikolaj Bjorner fcc34a07b2 fix #4019
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-19 12:36:34 -07:00
Nikolaj Bjorner 339a2568b2 fix #4021
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-19 12:18:18 -07:00
Nikolaj Bjorner 79b776fee5 na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-19 12:00:38 -07:00
Nikolaj Bjorner 19e0285b83 move deep internalization out of theory_seq
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-19 11:19:32 -07:00
Nikolaj Bjorner b92b6c0fc6 add missing digit axioms
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-19 11:12:37 -07:00
Nikolaj Bjorner 99c90d2419 fix crash
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-18 19:46:30 -07:00
Nikolaj Bjorner 0fe2d3d8b7 more seq overhaul
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-18 19:46:30 -07:00
Nikolaj Bjorner a9c4984a16 more seq overhaul
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-18 19:46:30 -07:00
Nikolaj Bjorner 76735476d4 fix #3999
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-18 19:46:30 -07:00
Nikolaj Bjorner bcbe802b27 remove buggy bv-trailing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-18 19:45:26 -07:00
Nikolaj Bjorner 3e9479d01a a lot of seq churn
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-17 18:21:40 -07:00
Nikolaj Bjorner b8bf6087ff na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-17 07:34:46 -07:00
Nikolaj Bjorner a83f72b657 some fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-17 07:33:43 -07:00
Nikolaj Bjorner 501aa7927d split into seq_axioms and seq_skolem
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-17 06:14:52 -07:00
Nikolaj Bjorner d5eef9dd8b na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-16 18:53:00 -07:00
Nikolaj Bjorner 040d4b8d24 fix #3994 remove bogus option
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-16 18:51:52 -07:00
Nikolaj Bjorner 767dff4a5a fix #3903
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-16 17:55:23 -07:00
Nikolaj Bjorner 19f655c693 fix #3930
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-16 16:11:00 -07:00
Nikolaj Bjorner dd3e574f81 fix #3983
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-16 14:03:06 -07:00
Lev Nachmanson 1f23ae8aae fix the test build
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-16 12:58:39 -07:00
Lev Nachmanson 95cb828324 make lar_solver pretty printer const on the solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-16 12:58:39 -07:00
Lev Nachmanson 5208b64a6b expose only necessary methods of lar_solver
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-16 12:58:39 -07:00
Lev Nachmanson 6d8e5400fd return an empty model when the status of the solver is neither FEASIBLE nor OPTIMAL
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-04-16 12:58:39 -07:00
Nikolaj Bjorner cb4ceeab3a fix #3985
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-16 12:04:46 -07:00
Nikolaj Bjorner 206c3e2c38 fix #3979
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-16 10:54:19 -07:00
Nikolaj Bjorner dde0c514fa warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 17:14:25 -07:00
Nikolaj Bjorner f67077b7ff warnings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 17:13:02 -07:00
Nikolaj Bjorner d465938496 add lower bounds on lengths if they are not present
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 15:54:40 -07:00
Nikolaj Bjorner e6174c89f3 bail out of mb branching if lengths are not available
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 15:44:17 -07:00
Nikolaj Bjorner 40b4ca7f86 fix #3950
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 15:07:53 -07:00
Nikolaj Bjorner 357ec2fd01 fix #3948 - cache has to be reset also when processing 'and' because it could be processed in an incompatible context by the caller
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 13:29:45 -07:00
Nikolaj Bjorner 2e1e9c9082 na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 12:25:07 -07:00
Nikolaj Bjorner 3845e0859c fix #3878
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 12:23:18 -07:00
Nikolaj Bjorner d0f94055e7 fix #3966
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 11:05:02 -07:00
Nikolaj Bjorner 068f65c8ac fix #3967 regression from using rewriter mode that splits strings
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 10:36:33 -07:00
Nikolaj Bjorner 79a2b52de0 fix #3971
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 10:29:41 -07:00
Nikolaj Bjorner 1ec977930a fix #3972 regression from changing the way assumptions are initialized
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 10:10:07 -07:00
Nikolaj Bjorner 25252af1fc fix #3975
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 08:06:43 -07:00
Nikolaj Bjorner cce27ff65f fix #3976
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-15 07:53:46 -07:00