Skip to content
Discussion options

You must be logged in to vote

Your mental model is right: with mbqi off, Z3 only instantiates by E-matching. The negated consequent is skolemized, which puts (select (store (store ...) ...) k!0) into the E-graph, and that term should match your pattern. What breaks it in this file is the (push), not the pattern itself.

I ran it with 4.15.3 (4.15.2 isn't on PyPI) and 5.3.0, same results on both:

variant result
your file as is unknown (incomplete quantifiers, 0 instantiations)
same file without (push)/(pop) unsat
(check-sat) → (check-sat-using smt) unsat
pattern removed (with push) unsat

After a push, Z3 switches to its incremental solver, which handles the problem differently from a one-shot check-sat (…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davedets
Comment options

Answer selected by davedets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants