Nikolaj Bjorner
|
4524ebe614
|
fix type error
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-04-01 10:35:10 -07:00 |
|
CEisenhofer
|
f709f6d089
|
Don't add constraint twice
|
2026-04-01 18:56:45 +02:00 |
|
CEisenhofer
|
261385f702
|
Merge remote-tracking branch 'origin/c3' into c3
|
2026-04-01 18:51:36 +02:00 |
|
Nikolaj Bjorner
|
9a29a0fc24
|
hoist functionality
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-04-01 09:41:49 -07:00 |
|
Nikolaj Bjorner
|
5f5a0ffbd8
|
na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-04-01 08:47:56 -07:00 |
|
Nikolaj Bjorner
|
f5382144e6
|
use mod counts
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-04-01 08:41:49 -07:00 |
|
Nikolaj Bjorner
|
3ad6df3258
|
build fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-04-01 08:29:41 -07:00 |
|
CEisenhofer
|
beda426d7c
|
Integer conflicts are proper conflicts
|
2026-04-01 17:21:11 +02:00 |
|
CEisenhofer
|
36b01a51f1
|
Properly extract justifications from subsolver
|
2026-04-01 16:58:26 +02:00 |
|
Copilot
|
7f9494329f
|
Refactor: Add arith_util a member to nielsen_graph, eliminate repeated local instantiations (#9185)
* add arith_util a attribute to nielsen_graph, replace local arith_util instances
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/8d6c7e3f-5853-4c64-a448-34a10fb64f3b
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* remove arith aliases, reference a directly in nielsen_graph methods
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/a6a64bf1-86fc-41bc-a245-2f67656d5f63
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-04-01 07:18:23 -07:00 |
|
CEisenhofer
|
e25e93503b
|
First try to do better dependency tracking
|
2026-04-01 15:23:38 +02:00 |
|
CEisenhofer
|
60913f0068
|
Output both Nielsen graph size and conflict size
|
2026-04-01 10:23:55 +02:00 |
|
CEisenhofer
|
5d95f44a03
|
Conflict logging
|
2026-04-01 10:08:03 +02:00 |
|
Nikolaj Bjorner
|
1f8773ea7d
|
nits
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-31 20:12:59 -07:00 |
|
Nikolaj Bjorner
|
2cec2dadf9
|
cleanup
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-31 18:30:59 -07:00 |
|
Nikolaj Bjorner
|
013d6b3063
|
na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-31 18:21:38 -07:00 |
|
Nikolaj Bjorner
|
860bd43559
|
remove reference to arith_solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-31 16:16:53 -07:00 |
|
Nikolaj Bjorner
|
7ec3f7f107
|
add split function for unit_regex
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-31 08:56:36 -07:00 |
|
CEisenhofer
|
14f71ea852
|
Reuse power variables and symbolic characters
|
2026-03-31 16:36:10 +02:00 |
|
Nikolaj Bjorner
|
54d52d882f
|
remove indirect references to ast_manager
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-30 20:00:02 -07:00 |
|
Nikolaj Bjorner
|
6d2321e6fe
|
edits to seq_nielsen
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-30 17:36:27 -07:00 |
|
Nikolaj Bjorner
|
9aceaf3cac
|
reviewing seq_nielsen, detect repeated final-check to avoid rebuilding nielsen graph
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-30 00:01:24 -07:00 |
|
Nikolaj Bjorner
|
a79a48ed2a
|
add comment about fresh variable
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-29 20:16:07 -07:00 |
|
Nikolaj Bjorner
|
684cb23b40
|
turn on constraint integrity checking
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-29 19:30:13 -07:00 |
|
Nikolaj Bjorner
|
d7ee475bc3
|
ensure equalities are propagated
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-29 16:47:05 -07:00 |
|
Nikolaj Bjorner
|
6d31bdcc21
|
use sk.mk_seq_eq to avoid disequality propagations
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-29 15:45:54 -07:00 |
|
Copilot
|
09cde1f80c
|
Port propagate_eq from theory_seq for sk().is_eq in theory_nseq (#9165)
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/7c0a330f-3f9f-4c5d-99f2-47fad013538f
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
|
2026-03-29 15:44:18 -07:00 |
|
Nikolaj Bjorner
|
3db734d249
|
add note about propagate-eq
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-29 15:19:36 -07:00 |
|
CEisenhofer
|
ebd35bc5a3
|
Avoid doing extensions steps twice, as the bounds are recognized too late
|
2026-03-26 17:32:41 +01:00 |
|
CEisenhofer
|
dcc85cf9ef
|
Bug in power elimination
|
2026-03-26 17:18:38 +01:00 |
|
Nikolaj Bjorner
|
2a72faf15e
|
make sure conflict literal is negated
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-26 08:01:00 -07:00 |
|
CEisenhofer
|
3b5b53126e
|
Bug fixing with unit replacement
|
2026-03-26 15:56:58 +01:00 |
|
CEisenhofer
|
17ca44b351
|
Readded depth limit
|
2026-03-26 11:30:54 +01:00 |
|
Nikolaj Bjorner
|
fa4cd37c07
|
add the false literal callback
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-25 13:35:25 -07:00 |
|
Nikolaj Bjorner
|
77d86343d0
|
add the false literal callback
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-25 13:35:18 -07:00 |
|
CEisenhofer
|
ed403efefd
|
Readded subsolver bound computation (something went wrong with git)
|
2026-03-25 20:26:30 +01:00 |
|
CEisenhofer
|
910c68cd42
|
Missing internalization
|
2026-03-25 20:21:54 +01:00 |
|
CEisenhofer
|
495921ca17
|
Fixed splitting on symbolic character
|
2026-03-25 20:21:54 +01:00 |
|
CEisenhofer
|
813a06fa38
|
Use subsolvers bounds rather than computing them inside nseq
|
2026-03-25 20:21:49 +01:00 |
|
Nikolaj Bjorner
|
af4677950b
|
add code for adding assumptions after sat
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-25 11:45:43 -07:00 |
|
Nikolaj Bjorner
|
a0ba950987
|
fix type errors
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-25 11:19:53 -07:00 |
|
Nikolaj Bjorner
|
9d2244798d
|
fix insertions into subst.
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-25 09:00:37 -07:00 |
|
Copilot
|
46c76d89e0
|
Make dep_mgr private in seq_nielsen; expose conflict sources vector (#9129)
* make dep_mgr private in seq_nielsen, expose conflict_sources vector
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/998d8021-4808-4feb-afc5-b2447c6a64e5
* move deps_to_lits to seq namespace in seq_nielsen
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/8d736478-8f9b-4451-8d1f-539ce72525c7
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
|
2026-03-25 08:05:00 -07:00 |
|
Copilot
|
49f2eb0e49
|
seq_nielsen: use arith binary match overloads in get_const_power_diff (#9125)
* refactor get_const_power_diff to use is_add/is_sub binary overloads
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/1d71a642-bb8f-43ca-88fd-9dc48f5aab24
* fix build: remove unnecessary arith_solver.h include from seq_nielsen.cpp
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/bb09a786-4445-4645-9930-e80494d96dbf
---------
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-03-25 06:51:51 -07:00 |
|
Nikolaj Bjorner
|
8eaa9d9e6b
|
add back cur_path as a local variable
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-25 06:30:52 -07:00 |
|
Nikolaj Bjorner
|
9893a09fad
|
na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-25 06:11:08 -07:00 |
|
CEisenhofer
|
c91b485fcf
|
Int Bounds where not updated properly
|
2026-03-25 12:47:52 +01:00 |
|
CEisenhofer
|
178d7439f2
|
Fixed to_dot for integer constraints
|
2026-03-25 11:25:07 +01:00 |
|
Copilot
|
e3e235aa7f
|
Refactor: replace int_constraint with constraint struct, promote cur_path to member, expose path leaf side constraints (#9124)
* chore: update plan with cur_path and side constraints requirements
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/1523cf0a-b7a4-41a6-b792-7cd41b4dcd3b
* Refactor: rename int_constraint to constraint, remove int_constraint_kind enum
- Rename int_constraint struct to constraint with fields fml/dep
- Remove int_constraint_kind enum; pre-build formula expressions instead
- nielsen_edge: add_side_int/side_int() -> add_side_constraint/side_constraints()
- nielsen_node: add_int_constraint/int_constraints() -> add_constraint/constraints()
- nielsen_graph: mk_int_constraint(lhs,rhs,kind,dep) -> mk_constraint(fml,dep)
- Remove int_constraint_to_expr (no longer needed)
- search_dfs/simplify_and_init/check_int_feasibility/check_lp_le: drop cur_path param
- Add m_cur_path member to nielsen_graph; m_cur_path.reset() in solve()
- Add get_path_leaf_side_constraints() implementation
- Update seq_parikh.h/cpp and seq_nielsen_pp.cpp to use new constraint API
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* refactor: constraint struct, promote cur_path, expose path leaf side constraints
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/1523cf0a-b7a4-41a6-b792-7cd41b4dcd3b
* fix: remove spurious includes from seq_nielsen.cpp
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/aa283d79-cd42-4b87-aaf0-4273a8327b76
* fix: update test files to use renamed constraint API and fix inverted root guard
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/b09bbc56-9617-4277-8e0c-27fa7e588037
---------
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: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-24 22:18:30 -07:00 |
|
Nikolaj Bjorner
|
9f6eb4f455
|
remove unused fields
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
|
2026-03-24 19:57:43 -07:00 |
|