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

19075 commits

Author SHA1 Message Date
Peli de Halleux
c34c8477f3
Add .gitattributes for genaiscript and update git commit flow script. (#7396) 2024-09-23 17:47:34 +01:00
Nikolaj Bjorner
ec14ef765e Update Ubuntu job name in Azure pipeline and add string variable creation in C API example 2024-09-23 17:42:39 +01:00
Nikolaj Bjorner
95d2e009ef Update OCaml jobs to use Ubuntu-latest in Azure Pipelines configuration 2024-09-23 17:25:44 +01:00
Nikolaj Bjorner
0604d23c57 Check if model_converter is non-null before initializing values in sat_tactic 2024-09-23 13:50:32 +01:00
Nikolaj Bjorner
5a6dc18d0d Override convert_initialize_value method in bit_blaster_model_converter.cpp 2024-09-23 13:46:50 +01:00
Nikolaj Bjorner
5c583299f1 Remove unnecessary const qualifiers from comparison operator overloads in z3++.h 2024-09-23 13:38:07 +01:00
Nikolaj Bjorner
ee347735be remove junk
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-09-23 13:34:33 +01:00
Nikolaj Bjorner
eb8c63080a Refactor and fix uninitialized variables and improve function consistency across multiple modules 2024-09-23 13:34:33 +01:00
Nuno Lopes
499ed5d844 remove unneeded iterator functions 2024-09-23 12:59:04 +01:00
Nuno Lopes
737c2208fa delete more default constructors
reduces code size by 0.1%
2024-09-23 12:59:04 +01:00
Nikolaj Bjorner
4b4a28239f Add const qualifiers to comparison operators and update iterator equality checks in various classes 2024-09-23 11:45:11 +01:00
Nuno Lopes
a62fede64b remove a few default constructors 2024-09-23 08:17:58 +01:00
Nuno Lopes
22d9bfad35 fix warning with iterators due to non-const comparator 2024-09-23 08:10:56 +01:00
Nikolaj Bjorner
1121815439 Standardize C++20 flag across different platforms in build script 2024-09-22 21:45:10 +01:00
Nikolaj Bjorner
1e580a7f12 update to c++20, remove debug output
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-09-22 21:30:44 +01:00
Nikolaj Bjorner
96c1375786 #7391
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-09-22 19:35:03 +01:00
Nikolaj Bjorner
a9f8ec1bcb updated handling of value initialization for bit-vectors 2024-09-22 21:30:11 +03:00
Nikolaj Bjorner
ba5cec7704 additional rewrites for bv2int 2024-09-22 21:29:12 +03:00
Nikolaj Bjorner
fa7fc8ef5e Refactor bv_rewriter functions using unified variable assignment and early break logic 2024-09-22 13:04:49 +03:00
Nikolaj Bjorner
d66609ea14 fix #7389
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-09-22 02:41:11 +03:00
Nikolaj Bjorner
0c48a50d59 Add support for initializing variable values in solver and optimize contexts in Z3 2024-09-20 18:28:26 +03:00
Lev Nachmanson
342dccdc02 correctly process cancellation in gomory cuts
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-09-19 14:11:27 -07:00
Nikolaj Bjorner
b99c4a47a4 Add override specifiers to methods in set_initial_value_cmd class for clarity and consistency 2024-09-19 15:11:59 +03:00
Nikolaj Bjorner
8349ee0069 Add support for const array in all logics as per issue #7383 2024-09-19 11:44:18 +03:00
Nikolaj Bjorner
4896edfb04 Add tracking of values size in scoped_state push method in opt_context 2024-09-19 11:27:17 +03:00
Nikolaj Bjorner
a3f35b6830 Add command to set initial value hints for solver in various components 2024-09-18 17:48:03 +03:00
Nikolaj Bjorner
1c163dbad2 remove output
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-09-18 16:41:00 +03:00
Nikolaj Bjorner
0f896503a9 Add initial value setting API for solver and optimize contexts and update related function signatures 2024-09-18 16:18:47 +03:00
Nikolaj Bjorner
48712b4f60 Add initial value setting for variables in Z3 API, solver, and optimize modules 2024-09-18 16:13:15 +03:00
Nikolaj Bjorner
0ba306e7b3 y 2024-09-17 12:27:13 +03:00
Nikolaj Bjorner
99a9a4af03 fix #7372
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-09-12 10:37:56 -07:00
Nikolaj Bjorner
1ace3d0cf3 fix #7372
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-09-12 10:37:56 -07:00
Nikolaj Bjorner
45c0bda6e2 Add TODO list for enhancements in sls_euf_plugin.cpp 2024-09-11 22:43:05 -07:00
Nikolaj Bjorner
c9bd8d59ac Refactor handling of term registration and enhance distinct handling in sls_euf_plugin 2024-09-08 19:26:51 -07:00
Nikolaj Bjorner
633ea63a62 remove extra file
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-09-08 17:57:17 -07:00
Nikolaj Bjorner
554b325124 replace user plugin by euf plugin
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-09-08 17:56:57 -07:00
Nikolaj Bjorner
b7be589577 Remove model value and user sort plugins from SLS theory 2024-09-08 17:55:51 -07:00
Nikolaj Bjorner
dda5dd7ccf Add support for handling 'distinct' expressions in SLS context and user sort plugin 2024-09-08 13:54:04 -07:00
Nikolaj Bjorner
a24b94828c Enhance array plugin with early termination and propagation verification, and improve euf and user sort plugins with propagation adjustments and debugging enhancements 2024-09-08 13:31:02 -07:00
Nikolaj Bjorner
25c19b61dd Refactor array_plugin in sls to improve handling of select expressions with multiple arguments 2024-09-07 15:12:39 -07:00
Nikolaj Bjorner
2f2559d670 Add array, model value, and user sort plugins to SLS module with enhancements in array propagation logic 2024-09-07 14:54:53 -07:00
Nikolaj Bjorner
f9ec6b45c4 Add array plugin support and update bv_eval in ast_sls module 2024-09-06 16:48:16 -07:00
Nikolaj Bjorner
1d3891f8d6 Refactor sls bv evaluation and fix logic checks for bit operations 2024-09-06 01:06:52 -07:00
Nikolaj Bjorner
fe7dcb0394 fixes to new value propagation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-09-05 17:58:47 -07:00
Nikolaj Bjorner
33364c3f85 Remove redundant return statement in sls_bv_fixed.cpp 2024-09-05 15:42:46 -07:00
Nikolaj Bjorner
cc77ff5c28 Add early return after setting fixed subterms in sls_bv_fixed.cpp 2024-09-05 15:37:00 -07:00
Nikolaj Bjorner
acd6f1d0ef Remove commented verbose output in sls_bv_plugin.cpp during repair process 2024-09-05 14:58:29 -07:00
Nikolaj Bjorner
0308a92ea6 Refactor verbose logging and fix logic in range adjustment functions in sls bv modules 2024-09-05 12:19:42 -07:00
Nikolaj Bjorner
02393c3a5a Enhance bv_eval with use_current, lookahead strategies, and randomization improvements in SLS module 2024-09-04 14:33:04 -07:00
Nuno Lopes
8061765574 remove default destructors & some default constructors
Another ~700 KB reduction in binary size
2024-09-04 22:30:23 +01:00