3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-23 16:57:51 +00:00
Commit graph

21711 commits

Author SHA1 Message Date
Nikolaj Bjorner
6c02a3b6bb
Delete examples/go/test_new_api_additions.go 2026-02-18 13:25:52 -08:00
Lev Nachmanson
799fc9e8c4 hook up a test
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-02-18 10:59:41 -10:00
Lev Nachmanson
d8f2b5ca01 add new polynomials from handle_nullified to m_todo
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-02-18 10:54:39 -10:00
Nikolaj Bjorner
9d3cc4afc9 remove deprecated workflows
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-02-18 12:00:18 -08:00
Nikolaj Bjorner
672d243f0f
Merge pull request #8682 from Z3Prover/copilot/fix-docs-and-update-script
Add Go API link to documentation index and prevent content overwrite
2026-02-18 11:56:18 -08:00
copilot-swe-agent[bot]
9499b1089c Add --go flag to mk_api_doc.py calls and remove go directory overwrite code
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-18 19:30:07 +00:00
copilot-swe-agent[bot]
4335b9f545 Initial plan 2026-02-18 19:27:55 +00:00
Lev Nachmanson
df419c137d fix the test
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-02-18 07:47:16 -10:00
copilot-swe-agent[bot]
c74acb59a9 Add test for new Go API methods
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-18 17:45:38 +00:00
copilot-swe-agent[bot]
ac10af417a Add missing API methods to Go and OCaml bindings
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-18 17:28:12 +00:00
copilot-swe-agent[bot]
f4606b1f2d Initial plan 2026-02-18 17:23:26 +00:00
Lev Nachmanson
b60e0e0dd3 keep literals alive
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-02-18 07:23:22 -10:00
Lev Nachmanson
138828259a add a test with compute_conflict_explanation call
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-02-18 07:08:56 -10:00
Nikolaj Bjorner
fa8d60c94f
Merge pull request #8677 from Z3Prover/copilot/fix-code-quality-issues
Fix A3 static analysis findings: replace assertions with proper error handling
2026-02-18 08:44:29 -08:00
Nikolaj Bjorner
c9720aa330 fixup docs.ytml
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-02-18 08:36:03 -08:00
Lev Nachmanson
05029c6f03 work on nl testing
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-02-18 06:33:52 -10:00
Nikolaj Bjorner
a077371520 update go doc
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-02-18 08:27:47 -08:00
Nikolaj Bjorner
82b34e319b update a3-python to fix issues
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-02-18 08:16:56 -08:00
Lev Nachmanson
7aa1ba1905 a bug fix in levelwise with the section case, where a discriminant was not added, and adding new tests for levelwise
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-02-17 20:00:53 -10:00
Nikolaj Bjorner
136bf0b5eb
Update documentation generation to include Go 2026-02-17 18:36:04 -08:00
Lev Nachmanson
af6d461b5e add tests for levelwise
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-02-17 14:46:21 -10:00
copilot-swe-agent[bot]
7e8fc4fdff Fix indentation in commented-out code section
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-18 00:46:01 +00:00
copilot-swe-agent[bot]
064122a123 Improve documentation for RatVal division by zero handling
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-18 00:44:40 +00:00
copilot-swe-agent[bot]
ae328dc006 Fix Priority 1 ASSERT_FAIL bugs - replace assertions with proper error handling
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-18 00:42:55 +00:00
copilot-swe-agent[bot]
ac19bdb9a7 Initial plan 2026-02-18 00:39:14 +00:00
Nikolaj Bjorner
abb83018df new repository agnostic workflow
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-02-17 16:27:08 -08:00
Lev Nachmanson
269dba0525 add all coeffs ot a nullified polynomial to the projection
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-02-17 14:20:58 -10:00
Lev Nachmanson
a781f9c0a0 remove an obsolete m_fail and related from levelwise
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-02-17 14:11:16 -10:00
Nikolaj Bjorner
5a91b0e6e9 recompile workflows
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-02-17 15:45:34 -08:00
Nikolaj Bjorner
6ef869bf8b
Remove checkout steps from A3 Python workflow
Removed steps for checking out Python source files.
2026-02-17 15:39:23 -08:00
Nikolaj Bjorner
ad5e805ec9
Remove checkout steps from A3 Python workflow
Removed steps for checking out Python source files.
2026-02-17 15:39:01 -08:00
Nikolaj Bjorner
f561b5a68d
Merge pull request #8673 from Z3Prover/copilot/upgrade-agentic-workflows
Upgrade agentic workflows to gh-aw v0.45.6
2026-02-17 15:38:15 -08:00
copilot-swe-agent[bot]
5a0ed8e0f7 Document upgrade changes and verify workflow compilation
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-17 23:34:37 +00:00
copilot-swe-agent[bot]
e6b58ac7dc Upgrade agentic workflows to gh-aw v0.45.6
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-17 23:33:27 +00:00
copilot-swe-agent[bot]
3cd384316c Initial plan 2026-02-17 23:31:54 +00:00
Lev Nachmanson
2d8e866e19 try replace fail with a adding partial derivatives
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-02-17 13:20:50 -10:00
Lev Nachmanson
9ef99f57e8 remove irrelevant order-sign invariance tracking from levelwise
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
2026-02-17 11:28:26 -10:00
Nuno Lopes
282834f90f delete dead code 2026-02-17 21:18:48 +00:00
Nikolaj Bjorner
8931f61a76
Merge pull request #8671 from Z3Prover/copilot/add-missing-api-functions
Add missing solver diagnostic and congruence closure APIs to Go bindings
2026-02-17 13:11:46 -08:00
Nikolaj Bjorner
15e133c7b8
Delete examples/go/test_new_apis.go 2026-02-17 13:11:33 -08:00
copilot-swe-agent[bot]
87812a99c0 Add safety comment and improve test documentation
- Add comment about safety of &levels[0] after n > 0 check
- Improve test documentation about SimpleSolver limitations
- Clarify that Units/NonUnits are more reliable for general use

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-17 16:43:12 +00:00
copilot-swe-agent[bot]
b799238fe8 Improve documentation clarity for new APIs
- Add notes to Trail/TrailLevels about SimpleSolver requirement
- Clarify congruence closure API documentation
- Update test example with more detailed comments
- Make it clear when these functions may not work

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-17 16:41:44 +00:00
copilot-swe-agent[bot]
4ccc28cc71 Optimize TrailLevels and improve documentation
- Fix NonUnits documentation for clarity
- Optimize TrailLevels to avoid double trail retrieval
- Use trail vector directly instead of rebuilding it
- Reduces memory allocations and reference counting overhead

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-17 16:40:09 +00:00
copilot-swe-agent[bot]
1bae5a847c Add missing solver API functions to Go bindings
- Add Units() - get unit clauses learned by solver
- Add NonUnits() - get non-unit clauses
- Add Trail() - get decision trail
- Add TrailLevels() - get trail decision levels
- Add CongruenceRoot() - get congruence class representative
- Add CongruenceNext() - get next element in congruence class
- Add CongruenceExplain() - explain why two terms are congruent
- Add test example demonstrating new APIs

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-17 16:38:39 +00:00
copilot-swe-agent[bot]
e479c6690f Initial plan 2026-02-17 16:18:34 +00:00
Nikolaj Bjorner
cff06b528f fix #8563 - align indices for flat quantifiers with sks vector layout, and also guard creating instantiation equalities with sort checks
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2026-02-16 20:57:38 -08:00
Nikolaj Bjorner
c0e8698bae
Merge pull request #8668 from Z3Prover/copilot/fix-build-warnings
Fix C4267 warnings in ast.h initializer_list overloads
2026-02-16 20:50:47 -08:00
copilot-swe-agent[bot]
037a4aa155 Fix C4267 build warnings in ast.h by adding static_cast for size_t to unsigned conversions
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
2026-02-17 04:44:23 +00:00
Nikolaj Bjorner
6884ffdd07
Merge pull request #8667 from Z3Prover/copilot/fix-a3-python-workflow-error
Fix shell substitution breaking agentic workflow template interpolation
2026-02-16 20:28:05 -08:00
copilot-swe-agent[bot]
9d8f736270 Initial plan 2026-02-17 04:27:04 +00:00