ValentinPromies
187f013224
Nl2lin ( #7827 )
...
* fix linear projection
* fix linear projection
* use an explicit cell description in check_assignment
2025-08-28 08:17:37 -07:00
Nikolaj Bjorner
5d08ebdffd
fixes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-08-20 08:02:31 -07:00
Nikolaj Bjorner
d15c0e396e
updates
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-08-20 07:53:43 -07:00
Nikolaj Bjorner
964dd2a71a
fixup loop
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-08-20 07:46:53 -07:00
ValentinPromies
4b4e8cbc6e
Nl2lin ( #7795 )
...
* add linearized projection in nlsat
* implement nlsat check for given assignment
* add some comments
2025-08-20 07:36:35 -07:00
Nikolaj Bjorner
c3488fcfa9
add material in nra-solver to interface
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-07-11 20:02:28 +02:00
Nikolaj Bjorner
46284c434a
outline of signature for assignment based conflict generation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-07-11 18:36:28 +02:00
Lev Nachmanson
d2990e2f68
use usize to suppress the data loss warnings
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-07-02 14:42:55 -07:00
Nikolaj Bjorner
f544dd4ab2
deal with warnings
...
@levnach - there are some additional warnings.
You could revert the change to std_vector or use usize() that I added to vector.h. Look at build logs from the pipelines or actions or figure out how to add a continuous AI script to fixup build warnings (I tried a few times earlier on but the features available to do this were not for laymen).
2025-07-02 10:59:56 -07:00
Lev Nachmanson
f2912b25a2
remove debug output
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
Lev Nachmanson
e4897fff00
replace Exists by ForAll in the mathematica lemmas
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-03-27 12:32:37 -07:00
Lev Nachmanson
39df8999c8
enable shorterter mathematica printouts in nlsat
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-03-27 12:23:32 -07:00
Lev Nachmanson
fa1a2cdc1e
disable simple check in nlsat
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-09-23 10:10:46 -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
Kirill A. Korinsky
cff1e9233f
Avoid broken stack at few places ( #7353 )
...
* Avoid broken stack by degree_lit_num_lt
* Avoid broken stack by fix_dl_var_tactic
---------
Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-08-26 10:02:54 -07:00
Lev Nachmanson
f2d35ddc5e
more cleanup
2024-08-12 08:32:01 -10:00
Lev Nachmanson
8999e1a340
use standard name conventions and add file headers
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-08-12 08:29:06 -10:00
Lev Nachmanson
752c999e0a
cleanup
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-08-11 12:45:36 -10:00
Lev Nachmanson
f81303f2f3
delete unused nlsat_symmetry_checker
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-08-11 12:45:36 -10:00
Lev Nachmanson
f7905a5d69
remove printouts
2024-08-11 12:45:36 -10:00
Lev Nachmanson
4b3a06a3c5
port hybridSMT
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-08-11 12:45:36 -10:00
Lev Nachmanson
1a5bddb4f0
port more from hybridSMT
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-08-11 12:45:36 -10:00
Lev Nachmanson
839594ac12
remove option look_for_0_witness
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-08-11 12:45:36 -10:00
Lev Nachmanson
0306eff692
port look for 0 witness
...
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
Lev Nachmanson
18b6087b72
trigger the build with a comment change
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-07-08 11:43:24 -07:00
Lev Nachmanson
bf3615d4fb
fix lemma logging in nlsat
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2024-06-17 13:14:31 -07:00
Nikolaj Bjorner
8fe357f1f2
Nlsat simplify ( #7227 )
...
* dev branch for simplification
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* bug fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* bugfixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* fix factorization
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* separate out simplification functionality
* reorder initialization
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* reorder initialization
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* Update README.md
* initial warppers for seq-map/seq-fold
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* expose fold as well
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* add C++ bindings for sequence operations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* add abs function to API
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* add parameter validation to ternary and 4-ary functions for API #7219
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* add pre-processing and reorder
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
* add pre-processing and reorder
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
---------
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-05-14 22:19:33 -07:00
Nikolaj Bjorner
8f4ffc7caf
add logging for first conflict
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-05-01 20:50:52 -07:00
Nikolaj Bjorner
04c55c34e5
fix unsoundness bug
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-05-01 14:45:15 -07:00
Nikolaj Bjorner
869643a551
fix memory leak
2024-05-01 10:07:37 -07:00
Nikolaj Bjorner
1ef4354080
fix build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-04-30 17:52:00 -07:00
Nikolaj Bjorner
aa1a596394
add doc-string
2024-04-30 17:05:40 -07:00
Nikolaj Bjorner
29e724f787
add gc to lemmas, convert bounds constraints to lemmas, add simplification pre-processing beyond equality extraction
2024-04-30 17:05:21 -07:00
Nikolaj Bjorner
bebcd94703
enable logging nla lemmas
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-04-25 10:29:34 -04: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
c40e72aaa3
include debug output
2024-02-05 15:31:33 -08:00
Nikolaj Bjorner
f4eaa6fc98
improve logging
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-02-05 14:41:29 -08:00
Nikolaj Bjorner
683070a175
finish encoding of n'th root
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-02-05 10:44:41 -08:00
Nikolaj Bjorner
8555f25587
add todo note, and log more lemmas
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-02-04 21:08:04 -08:00
Nikolaj Bjorner
d743e1b47c
add note that the encoding is a first approximation
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-02-04 19:11:35 -08:00
Nikolaj Bjorner
b9528b1c56
update self-validator to handle root expressions
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-02-04 19:06:30 -08:00
Nikolaj Bjorner
1b94d43a8b
fix build
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2024-01-24 08:52:56 -08:00
Nikolaj Bjorner
98c9fa7faf
prepare for handling integer intervals
2024-01-23 15:29:11 -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
Nikolaj Bjorner
125a82bea5
improved diagnostics
2024-01-22 16:23:55 -08:00
Nikolaj Bjorner
0ebd8d655b
prepare for printing more cases of root objects in SMT
2024-01-22 15:48:45 -08:00