Lev Nachmanson
8f726c11e6
work on seed_properties
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
6ecba78d98
rename
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
83ccc3d7ba
renaming
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
33ad61ca70
ttt
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
64cf2815e4
preprocess the input of levelwise to drop a level
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
5da5bed466
rename explain::main_operator to compute_conflict_explanation
2026-01-31 15:56:41 -10:00
Lev Nachmanson
a3d0bc049c
trying to figure out right indices
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
00dc462ffa
refactor lws
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
280a7e31f0
refact lws
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
efb8e49234
refact lws
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
e6aeb027ca
define indexed root expression
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
51778e3ef7
refactor
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
8cb7373c21
refactor
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
2581c1ce38
add trace tag for levelwise
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
ef6e3e21a8
pass nlsat::solver to levelwise
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
0ccdbf96e5
use new display functions
2026-01-31 15:56:41 -10:00
Lev Nachmanson
1923bc80e1
create free function display functions
2026-01-31 15:56:41 -10:00
Lev Nachmanson
738084c651
pass pmanager
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
0ae7394362
pass anum_manager to levelwise, crash on sign
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
53edb0211f
t
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
c22b9416ff
more accurate init of the relation between polynomial properties
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
b77bf3c97e
use std::map instead of std::unordered_map
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:41 -10:00
Lev Nachmanson
7030832273
t
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:40 -10:00
Lev Nachmanson
0800dd9bc7
define symbolic_interval
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:40 -10:00
Lev Nachmanson
9d5295fa97
more scaffolding
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:40 -10:00
Lev Nachmanson
d41ba603c8
closer to the paper
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:40 -10:00
Lev Nachmanson
0fdbd2cba1
scaffolding
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:40 -10:00
Lev Nachmanson
2ea22b5972
scaffoldin
2026-01-31 15:56:40 -10:00
Lev Nachmanson
66a7eb24f7
t2
2026-01-31 15:56:40 -10:00
Lev Nachmanson
b53317bb9a
t1
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:40 -10:00
Lev Nachmanson
9e51f34475
t0
...
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-31 15:56:40 -10:00
Copilot
89e2ceffd0
Use structured bindings for stack entries in theory_datatype ( #8442 )
...
* Initial plan
* Refactor theory_datatype to use C++17 structured bindings
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Fix structured binding syntax error in smt_justification.cpp
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-01-31 17:14:47 -08:00
Copilot
e7d46d2566
Refactor expr_stat to use structured bindings for traversal pairs ( #8441 )
...
* Initial plan
* Refactor expr_stat.cpp to use C++17 structured bindings
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Fix structured binding inside DEBUG_CODE macro in smt_justification.cpp
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-01-31 17:14:02 -08:00
Copilot
ff485eb545
Refactor sat_model_converter to use C++17 structured bindings ( #8440 )
...
* Initial plan
* Refactor sat_model_converter to use C++17 structured bindings
- Updated model_converter::process_stack() to use structured bindings
- Updated model_converter::display() to use structured bindings
- Updated model_converter::expand() to use structured bindings in range-based loop
- All changes compile successfully
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Fix build error in smt_justification.cpp structured binding
- Changed invalid syntax `enode_pair const & [n1, n2]` to `auto const& [n1, n2]`
- Wrapped for loop in extra parentheses to protect structured binding comma from macro expansion
- Build now completes successfully
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Fix DEBUG_CODE macro issue with structured bindings
- Reverted DEBUG_CODE block to use .first/.second instead of structured bindings
- Structured bindings with commas cause issues in macros (treated as argument separators)
- Build now works in both debug and release modes
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-31 17:13:07 -08:00
Copilot
db6e15361b
Add Java APIs for polymorphic datatypes ( #8438 )
...
* Initial plan
* Add Java APIs for polymorphic datatypes and type variables
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Fix code review issue and add documentation
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Add TypeVarSort.java to CMakeLists.txt for Java bindings
The CMake build was failing because TypeVarSort.java was not included in the Z3_JAVA_JAR_SOURCE_FILES list in src/api/java/CMakeLists.txt. Added it in alphabetical order between TupleSort.java and UninterpretedSort.java.
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-31 15:31:36 -08:00
Nuno Lopes
b008b5e926
remove another use of rational::power_of_two()
2026-01-31 14:29:33 +00:00
Nuno Lopes
e1fc837141
minor simplification
2026-01-31 14:19:53 +00:00
Nuno Lopes
09370d7782
optimize has_sign_bit and mod2k to not compute powers of two
...
this is very useful for bitvectors of large bitwidths
2026-01-31 10:38:41 +00:00
Copilot
74cbd6de32
Enable ad-hoc deeptest workflow execution via workflow_dispatch ( #8448 )
...
* Initial plan
* Remove slash_command and blocking activation conditions from deeptest workflow
- Remove slash_command configuration to eliminate team membership and command position checks
- Simplify workflow to only support workflow_dispatch for ad-hoc execution
- Remove pre_activation job and complex activation conditions
- Update README to reflect workflow_dispatch-only usage
- Keep file_path input parameter for specifying source files to test
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-30 13:41:42 -08:00
Nuno Lopes
10043c37fd
fix build
2026-01-30 16:38:23 +00:00
Nuno Lopes
5f835dd99c
fix build
2026-01-30 16:29:30 +00:00
Nuno Lopes
095b2bdf59
code simplifications
2026-01-30 15:26:21 +00:00
Nuno Lopes
70a03c7784
constify a constant
...
shrinks binary size by 4KB
2026-01-30 15:01:53 +00:00
Nuno Lopes
7edc4e088a
fix build
2026-01-30 14:21:57 +00:00
Copilot
4a1c2f44c5
Fix assertion violation in mpzzp_manager::eq from non-normalized values in peek_fresh ( #8439 )
...
* Initial plan
* Normalize values in peek_fresh and newton_interpolator::add
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Simplify fix - only normalize in peek_fresh with assertions
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Delete regressions/issue-8292.smt2
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-01-29 19:19:59 -08:00
Copilot
0519e6231c
Optimize iterator bit scanning and variable matching per TODO directives ( #8416 )
...
* Initial plan
* Optimize approx_set iterator and variable_intersection populate
Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>
* Add clarifying comment for iterator optimization
Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>
2026-01-29 19:02:13 -08:00
Copilot
477e4d695d
Refactor SMT core: use structured bindings for enode_pair access ( #8427 )
...
* Initial plan
* Refactor SMT core to use C++17 structured bindings for enode pairs
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Use const& in structured bindings to avoid copying
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Refactor variable unpacking in DEBUG_CODE
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-01-29 19:01:49 -08:00
Copilot
078be3bd65
Remove structured bindings refactoring from code conventions analyzer ( #8428 )
...
* Initial plan
* Remove structured bindings focus from code conventions analyzer
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Regenerate code-conventions-analyzer.lock.yml after removing structured bindings
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-01-29 18:56:55 -08:00
Copilot
be7dc430a0
Add DeepTest agentic workflow for automated test generation ( #8432 )
...
* Initial plan
* Create DeepTest agentic workflow for test generation
Co-authored-by: saikat107 <2145576+saikat107@users.noreply.github.com>
* Add documentation for DeepTest workflow
Co-authored-by: saikat107 <2145576+saikat107@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: saikat107 <2145576+saikat107@users.noreply.github.com>
2026-01-29 18:53:12 -08:00
Lev Nachmanson
adac953e87
- When removing a fresh var xt, collect all fresh defs that transitively reference it
...
- Remove them all from m_fresh_k2xt_terms and m_row2fresh_defs
- Mark rows containing those vars in m_changed_rows for recalculation
- Move remove_irrelevant_fresh_defs() before the recalculate loop so all affected rows get recalculated
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-01-29 06:17:14 -10:00