3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-25 06:59:32 +00:00
Commit graph

20115 commits

Author SHA1 Message Date
Lev Nachmanson
d6a4c9199b remve add_zero_assumption from pcs()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-21 07:09:43 -10:00
Lev Nachmanson
b8fb10ecc6 improve logging
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-20 10:51:39 -10:00
Lev Nachmanson
7443b6e874 handle the case with no roots in add_zero_assumption
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-19 17:48:17 -10:00
Lev Nachmanson
79fdb4755a improve log_lemma
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-19 12:42:12 -10:00
Lev Nachmanson
955d441332 log for smtrat
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-18 17:08:44 -10:00
Lev Nachmanson
64ea6fa2c3 use indexed root expressions id add_zero_assumption
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-18 16:35:27 -10:00
Lev Nachmanson
43465accc6 add coefficients from the elim_vanishing to m_todo
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-18 10:28:25 -10:00
Lev Nachmanson
5d77885339 remove unused method
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-18 08:30:46 -10:00
Lev Nachmanson
bcb976ba1a t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-16 13:52:28 -10:00
Lev Nachmanson
dc2a7dc170 t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-15 12:31:05 -10:00
Lev Nachmanson
b443d4590b t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-14 08:36:09 -10:00
Lev Nachmanson
71cdbf7b72 t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-13 19:48:09 -10:00
Lev Nachmanson
d0e139f2b3 t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-13 19:43:58 -10:00
Lev Nachmanson
eba6a66e6f t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-13 19:24:31 -10:00
Lev Nachmanson
6e37a3c5b8 t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-13 19:17:24 -10:00
Lev Nachmanson
e56db378f0 t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-13 18:57:09 -10:00
Lev Nachmanson
a0e0aa8a83 t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-13 18:54:34 -10:00
Lev Nachmanson
cb83dedbd2 t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-13 18:40:43 -10:00
Lev Nachmanson
b8efb77c0c t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-13 18:38:42 -10:00
Lev Nachmanson
111aa44dc5 t
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-13 17:19:35 -10:00
Lev Nachmanson
90e0c2a880 better state
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-13 14:52:42 -10:00
Lev Nachmanson
c5b2347fda unsound lemma
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-09 18:46:11 -10:00
Nikolaj Bjorner
11fb5c7dc4 comment out parameter check
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-11-04 16:11:58 -08:00
Nikolaj Bjorner
2503b35dc6 check propagate ineqs setting before applying simplifier 2025-11-04 15:57:02 -08:00
Copilot
fc7660d0b5
Add missing string replace operations to Java API (#8011)
* Initial plan

* Add C API and Java bindings for str.replace_all, str.replace_re, str.replace_all_re

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Add test for new Java string replace operations

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Remove author field from test file header

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Delete examples/java/StringReplaceTest.java

---------

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>
2025-11-04 09:48:20 -08:00
Lev Nachmanson
c845c9810a add tests showing shortcomings of factorization
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-03 10:54:07 -10:00
Lev Nachmanson
38a346fa1b change logic NRA->ALL in log_lemma
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-11-01 08:47:30 -10:00
Nikolaj Bjorner
8c6b1f420c disable nuget
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-31 07:47:17 -07:00
Nikolaj Bjorner
87d1131620 bump version for release
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-29 12:48:58 -07:00
Nikolaj Bjorner
745087e237 update release notes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-29 07:39:33 -07:00
Nikolaj Bjorner
c88295a7c7 fix C++ example and add polymorphic interface for C++
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-29 03:08:49 -07:00
Nikolaj Bjorner
6efffa0054 renemable Centos AMD nightly
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-28 18:55:47 -07:00
Nikolaj Bjorner
1b9a636910 fix build break introduced when adding support for polymorphic datatypes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-28 18:55:47 -07:00
dependabot[bot]
88fcc05d6c
Bump actions/upload-artifact from 4 to 5 (#7998)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 15:47:26 -07:00
dependabot[bot]
488c712f5b
Bump actions/download-artifact from 5 to 6 (#7999)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 5 to 6.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-28 15:47:15 -07:00
Copilot
3570073c29
Add missing mkLastIndexOf method and CharSort case to Java API (#8002)
* Initial plan

* Add mkLastIndexOf method and CharSort support to Java API

- Added mkLastIndexOf method to Context.java for extracting last index of sub-string
- Added Z3_CHAR_SORT case to Sort.java's create() method switch statement
- Added test file to verify both fixes work correctly

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Fix author field in test file

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

* Delete examples/java/TestJavaAPICompleteness.java

---------

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>
2025-10-28 15:46:48 -07:00
Nikolaj Bjorner
b6e3a68839 update centos version
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-28 15:13:30 -07:00
Nikolaj Bjorner
766eaa3376 disable centos build until resolved
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-28 15:12:05 -07:00
Lev Nachmanson
efd5d04af5 enable always add all coeffs in nlsat
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-10-24 17:47:16 -07:00
Lev Nachmanson
887ecc0c98 throttle grobner method more actively
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-10-22 21:36:22 -07:00
Lev Nachmanson
58e64ea826 try exponential delay in grobner
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2025-10-22 17:00:16 -07:00
hwisungi
2bf1cc7d61
Enabling Control Flow Guard (CFG) by default for MSVC on Windows, with options to disable CFG. (#7988)
* Enabling Control Flow Guard by default for MSVC on Windows, with options to disable it.

* Fix configuration error for non-MSVC compilers.

* Reviewed and updated configuration for Python build and added comment for CFG.
2025-10-22 14:18:25 +02:00
dependabot[bot]
68a7d1e1b1
Bump actions/setup-node from 5 to 6 (#7994)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 5 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-21 21:17:35 +02:00
Nelson Elhage
9a2867aeb7
Add a fast-path to _coerce_exprs. (#7995)
When the inputs are already the same sort, we can skip most of the
coercion logic and just return.

Currently, `_coerce_exprs` is by far the most expensive part of
building up many common Z3 ASTs, so this fast-path is a substantial
speedup for many use-cases.
2025-10-21 21:16:54 +02:00
Lev Nachmanson
06ed96dbda add the "noexcept" keyword to value_score=(value_score&&) declaration 2025-10-20 11:53:34 -07:00
Nikolaj Bjorner
f2e7abbdc1 disable manylinux until segfault is resolved
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-20 08:28:08 +02:00
Nikolaj Bjorner
aaaa32b4a0 build fixes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-19 20:55:45 +02:00
Nikolaj Bjorner
d65c0fbcd6 add explicit constructors for nightly mac build failure
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-10-19 20:14:20 +02:00
Nikolaj Bjorner
fcc7e02167
Update arith_rewriter.cpp
fix memory leak introduced by update to ensure determinism
2025-10-18 13:32:49 +02:00
Nikolaj Bjorner
62ee7ccf65
Revert "Add finite_set_value_factory for creating finite set values in model …" (#7985)
This reverts commit 05ffc0a77b.
2025-10-16 13:18:35 +02:00