Skip to content

Conversation

ilanashapiro
Copy link
Contributor

PQ is working with naive hardness metric (sorted by cube depth). the depth sets approach is actually not sound (there is some bug) but I am going to focus on the PQ because this data structure has more potential to help for SAT problems with the right hardness metric

ilanashapiro and others added 30 commits July 23, 2025 15:24
…#7743

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
…pressions

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
axioms for len(substr(...)) escaped due to nested rewriting
add simplification rule for at(x, offset) = ""

Introducing j just postpones some rewrites that prevent useful simplifications. Z3 already uses common sub-expressions.
The example highlights some opportunities for simplification, noteworthy at(..) = "".
The example is solved in both versions after adding this simplification.
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
add pre-processing simplification
fix incrementality bugs by allowing destructive updates during saturation at the cost of redoing saturation after a pop.
…digm, need to debug as I am getting segfault still
NikolajBjorner and others added 26 commits August 24, 2025 16:38
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
…can. the PQ implementation backend still remains in case we want to switch back
…stalled (Z3Prover#7815)

* fix: add generating META for ocamlfind.

* Patch macos. We need to keep the `@rpath` and use environment var to enable the test because we need to leave it to be fixed by package managers.

* Trigger CI.

* Debug.

* Debug.

* Debug.

* Debug.

* Debug.

* Debug.

* Hacky fix for ocaml building warning.

* Fix typo and rename variables.

* Fix cmake for ocaml test, using local libz3 explicit.
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
…e error: ASSERTION VIOLATION

File: /home/t-ilshapiro/z3/src/ast/ast.cpp
Line: 388
UNEXPECTED CODE WAS REACHED. I left a comment on the line where it's crashing
…approach is actually unsound, but I am going to focus on the PQ approach for now since it has more potential for SAT problems with the right hardness metric
@NikolajBjorner NikolajBjorner merged commit 28d316f into Z3Prover:ilana Sep 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants