3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-09-05 09:37:44 +00:00
Commit graph

73 commits

Author SHA1 Message Date
Lev Nachmanson
98d8083d15 preprocess the input of levelwise to drop a level
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-27 13:16:14 -10:00
Lev Nachmanson
c87e7c312a rename explain::main_operator to compute_conflict_explanation 2025-08-27 10:05:31 -10:00
Lev Nachmanson
d15718346c refact lws
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-15 19:47:57 -07:00
Lev Nachmanson
2da6b2ff35 define indexed root expression
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-15 14:37:09 -07:00
Lev Nachmanson
f74d1fc8ec refactor
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-15 11:47:34 -07:00
Lev Nachmanson
4acdd952c2 refactor
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-15 11:44:57 -07:00
Lev Nachmanson
5cb046f9fb pass nlsat::solver to levelwise
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-14 16:24:58 -07:00
Lev Nachmanson
1dc3670a57 use new display functions 2025-08-14 16:18:12 -07:00
Lev Nachmanson
62101fef90 pass pmanager
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-14 15:50:02 -07:00
Lev Nachmanson
7949e77d1a pass anum_manager to levelwise, crash on sign
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-14 15:39:13 -07:00
Lev Nachmanson
1df11c7e4c more scaffolding
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-14 11:58:01 -07:00
Lev Nachmanson
b15162d7ef closer to the paper
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-14 11:58:01 -07:00
Lev Nachmanson
516a3d5594 scaffolding
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-14 11:58:01 -07:00
Lev Nachmanson
3c9c7105d3 scaffoldin 2025-08-14 11:58:01 -07:00
Lev Nachmanson
2213e16666 t1
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-14 11:58:01 -07:00
Lev Nachmanson
cf8a17a6ae restore the square-free check
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-11 13:16:37 -07:00
Lev Nachmanson
e33dc47d83 remove unused square-free check
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-11 07:24:42 -07:00
Lev Nachmanson
8598a74cca rename add_lcs to add_lc
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-08 11:02:30 -07:00
Lev Nachmanson
88293bf45b get the finest factorizations before project
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-08-08 11:02:30 -07:00
Lev Nachmanson
8f88bf9998 use is_square_free_at_sample instead of is_well_oriented
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-06-17 07:22:03 -07:00
Lev Nachmanson
0e71a9d11c comment and restore
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-06-17 07:22:03 -07:00
Lev Nachmanson
84c8a93ca5 renaming
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-06-17 07:22:03 -07:00
Lev Nachmanson
945eef7ab6 work on well-orientedness
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-06-17 07:22:03 -07:00
LeeYoungJoon
0a93ff515d
Centralize and document TRACE tags using X-macros (#7657)
* Introduce X-macro-based trace tag definition
- Created trace_tags.def to centralize TRACE tag definitions
- Each tag includes a symbolic name and description
- Set up enum class TraceTag for type-safe usage in TRACE macros

* Add script to generate Markdown documentation from trace_tags.def
- Python script parses trace_tags.def and outputs trace_tags.md

* Refactor TRACE_NEW to prepend TraceTag and pass enum to is_trace_enabled

* trace: improve trace tag handling system with hierarchical tagging

- Introduce hierarchical tag-class structure: enabling a tag class activates all child tags
- Unify TRACE, STRACE, SCTRACE, and CTRACE under enum TraceTag
- Implement initial version of trace_tag.def using X(tag, tag_class, description)
  (class names and descriptions to be refined in a future update)

* trace: replace all string-based TRACE tags with enum TraceTag
- Migrated all TRACE, STRACE, SCTRACE, and CTRACE macros to use enum TraceTag values instead of raw string literals

* trace : add cstring header

* trace : Add Markdown documentation generation from trace_tags.def via mk_api_doc.py

* trace : rename macro parameter 'class' to 'tag_class' and remove Unicode comment in trace_tags.h.

* trace : Add TODO comment for future implementation of tag_class activation

* trace : Disable code related to tag_class until implementation is ready (#7663).
2025-05-28 14:31:25 +01:00
Lev Nachmanson
f89e133d52
revert the behavior of add_zero_assumption (#7631)
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-04-28 16:07:46 -07:00
Nuno Lopes
3586b613f7 remove default destructors 2024-10-02 22:20:12 +01:00
Nikolaj Bjorner
b84b4e7f9a fix attribute order
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-08-26 11:38:27 -07:00
Nikolaj Bjorner
49ba3bc12f address compiler warnings gcc-13
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-08-26 11:33:54 -07:00
Lev Nachmanson
209366ba55 cleanup porting comments
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-08-11 12:45:36 -10:00
Lev Nachmanson
a09e412cf0 cleaning up
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-08-11 12:45:36 -10:00
Lev Nachmanson
6ce0fcd3ef port sample cell projection
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-08-11 12:45:36 -10:00
Nikolaj Bjorner
c18a42cf5b change signed projection to include root object. 2024-03-23 16:14:24 -04:00
Nikolaj Bjorner
f840d5d965 na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-03-20 21:29:13 -07:00
Nikolaj Bjorner
70d2263a85 cast, updated nlexplain 2024-03-20 21:29:08 -07:00
Lev Nachmanson
730f9ad9b7 Nikolaj's fix in add_zero_assumption
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-03-20 09:39:20 -10:00
Lev Nachmanson
4d06c399cc replace DEBUG_CODE by #ifdef Z3DEBUG in nlsat
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-02-13 10:51:44 -10:00
Nikolaj Bjorner
1b94d43a8b fix build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-24 08:52:56 -08:00
Nikolaj Bjorner
fad428381a prepare for integer intervals 2024-01-23 15:33:48 -08:00
Nikolaj Bjorner
be7856c57d fix #7027
TODO: review old nlsat bugs for effect of this fix.
2024-01-23 14:56:15 -08:00
Nuno Lopes
d9fcfdab34 fix debug build 2022-06-17 14:35:33 +01:00
Nikolaj Bjorner
4a6083836a call it data instead of c_ptr for approaching C++11 std::vector convention. 2021-04-13 18:17:35 -07:00
Nikolaj Bjorner
b56372fe76 fix some build warnings exposed in #5005
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2021-02-08 10:57:50 -08:00
Nikolaj Bjorner
b889b110ee bool_vector, some spacer tidy
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-04-05 12:59:04 -07:00
Nikolaj Bjorner
193a99da29 fix #3152
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-03-05 09:46:32 +01:00
Lev Nachmanson
9c62b431e4 address the NB's comments
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Lev
cc6dc9e7d4 switching to rooted monomials if there is no sign lemma
Signed-off-by: Lev <levnach@hotmail.com>
2020-01-28 10:04:21 -08:00
Nikolaj Bjorner
d3b105f9f8 move out sign
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2020-01-20 16:22:38 -06:00
Nikolaj Bjorner
64dd4e1c83 fix #2659
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-25 10:42:21 -07:00
Nikolaj Bjorner
60dde9f3d5 unit test for #2650
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-24 10:32:56 -07:00
Nikolaj Bjorner
3fcd9e64c7 logging
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2019-10-23 20:18:21 -07:00