CEisenhofer
86dc9d3268
We need to reset local conflicts
2026-04-08 18:24:11 +02:00
CEisenhofer
26ededa891
More debug info
2026-04-08 18:00:52 +02:00
CEisenhofer
74cf21b852
Bug in model extraction
...
Added debug check
2026-04-08 16:37:21 +02:00
CEisenhofer
26d36ba6ee
Missing justification added
...
Added check for correctness of conflict core
2026-04-08 10:15:27 +02:00
CEisenhofer
c7e7b40d40
Fix
2026-04-08 09:27:46 +02:00
CEisenhofer
f895548154
Check for range conflicts for characters
2026-04-07 10:49:23 +02:00
CEisenhofer
1a1961be2f
Removed tracking disequality
2026-04-07 10:33:44 +02:00
CEisenhofer
3e24cb7c10
Bug
2026-04-07 09:33:14 +02:00
Arie
477a1d817d
Add mod-factor-propagation lemma to NLA divisions solver ( #9235 )
...
When a monic x*y has a factor x with mod(x, p) = 0 (fixed), propagate
mod(x*y, p) = 0. This enables Z3 to prove divisibility properties like
x mod p = 0 => (x*y) mod p = 0, which previously timed out even for
p = 2. The lemma fires in the NLA divisions check and allows Gröbner
basis and LIA to subsequently derive distributivity of div over addition.
Extends division tuples from (q, x, y) to (q, x, y, r) to track the
mod lpvar. Also registers bounded divisions from the mod internalization
path in theory_lra, not just the idiv path.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 17:34:11 -07:00
CEisenhofer
2a32aa0204
fix(nseq): assert sub-sequence equalities to the SAT core
2026-04-04 19:11:36 +02:00
CEisenhofer
8298ba6011
Quick fix for some unsound cases
2026-04-04 18:36:25 +02:00
CEisenhofer
a58a9114d2
Fix str.< Skolem length generation overhead
2026-04-04 18:32:02 +02:00
Nikolaj Bjorner
b60a44c66b
classical
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-03 10:33:28 -07:00
Nikolaj Bjorner
cdccd389e9
revert s_unknown
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-03 10:04:13 -07:00
Nikolaj Bjorner
95dc44b409
bugfix, better debug display of failure
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-03 09:08:22 -07:00
Copilot
fa89910452
Add SASSERT invariants and pre/postconditions to Nielsen seq solver ( #9216 )
...
* Initial plan
* Add SASSERT invariants and pre/postconditions to Nielsen seq solver
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/24442582-8437-45ae-a58f-957ac2bdf698
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
* Add clarifying comment to m_str_eq.empty() postcondition
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/24442582-8437-45ae-a58f-957ac2bdf698
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-04-02 21:09:23 -07:00
Copilot
bbb704e63c
seq_axioms: eliminate redundant mk_literal call in add_clause ( #9215 )
...
* Initial plan
* fix: use already-computed literal in seq_axioms::add_clause
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/0ab6afce-13a9-4e77-87b4-e416bc06f413
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-04-02 21:08:16 -07:00
Copilot
ddd8bf84d7
Replace apply_regex_unit_split with apply_regex_if_split ( #9210 )
...
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/7df36402-f2c7-4de5-b626-3df14d4eee64
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-04-02 14:27:06 -07:00
Nikolaj Bjorner
e59ee306e9
allow literals to be false in model validation - we can't enforce lack of propagation after internalizing literals, especially if literals are repeated (modulo permutation of equality)
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-02 12:51:47 -07:00
Nikolaj Bjorner
3629cd9447
regression fixes
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-02 11:42:50 -07:00
CEisenhofer
9b3826ed86
Missing case in concatenation
2026-04-02 20:08:00 +02:00
CEisenhofer
a81ce477f5
Added classical regex factorization
2026-04-02 20:08:00 +02:00
Nikolaj Bjorner
3ca960d679
test that there is a model
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-02 10:49:09 -07:00
Nikolaj Bjorner
b0a4a15c98
updated tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-02 10:04:02 -07:00
CEisenhofer
34cb0a17fc
str.at wants a special treatment...
2026-04-02 18:33:44 +02:00
Copilot
8d7ed66ebf
Fix Specbot Crash Analyzer: move Z3 build to pre-steps to avoid MCP session timeout ( #9200 )
...
* Initial plan
* Fix specbot-crash-analyzer: move build to pre-steps to avoid MCP session timeout
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/add5e714-bc98-44cf-ad6b-5adfbe4668c3
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-04-02 08:48:25 -07:00
CEisenhofer
a8db876765
Fix problem with divisibility predicate
2026-04-02 16:25:49 +02:00
CEisenhofer
5ec28d3bc8
Eliminate length gradients from regexes
2026-04-02 15:58:15 +02:00
CEisenhofer
1282e4de11
Prevent unsoudness because of missing length propagation
2026-04-02 14:34:46 +02:00
CEisenhofer
1e567a4a26
Bug fixes
2026-04-02 10:26:36 +02:00
Copilot
eef00e2023
Add specbot-crash-analyzer agentic workflow (.md + .lock.yml) ( #9198 )
...
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/efdf69c9-8aca-4acc-b780-f3a7769ba116
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-04-02 01:10:56 -07:00
Nikolaj Bjorner
4c463ad813
add report
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-02 00:48:27 -07:00
Nikolaj Bjorner
251127e45f
add specbot tests
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-02 00:44:47 -07:00
Nikolaj Bjorner
2245451e96
remove aux function
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-01 19:07:37 -07:00
Nikolaj Bjorner
6e8c201234
fix test
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-01 16:00:01 -07:00
Nikolaj Bjorner
d05dccf331
add current_value access
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-01 13:30:15 -07:00
Nikolaj Bjorner
b1dc2f2be2
It is possible that a non-internalized expression gets assigned to false immediately by internalization
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-01 11:49:25 -07:00
CEisenhofer
42f421ee09
Detect that adding side constraint caused a conflict
2026-04-01 20:38:15 +02:00
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
3879e2190a
recompile workflows
...
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-04-01 09:27:45 -07:00
Copilot
cf051598f9
Update RELEASE_NOTES.md with Version 4.17.0 additions from discussion #9172 ( #9186 )
...
Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/488739ce-e615-410e-8956-677db4c0df2a
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-04-01 08:54:45 -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