flux: Flux (ultimately z3) hangs on trivial constraint.
@ranjitjhala, here’s the constraint from exception_entry that hangs in z3.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 21 (13 by maintainers)
@ranjitjhala, here’s the constraint from exception_entry that hangs in z3.
@ranjitjhala @nilehmann - I think we can close this? This is now checking in what I’d say is a reasonable amount of time.
Have posted an issue here https://github.com/Z3Prover/z3/issues/7484
I also manually patched flux to run
fixpoint --solver=cvc5on my machine. It checks the trivial constraint in 1 second 😃@ranjitjhala, I patched up liquid fixpoint so that I could run it like so
fixpoint --solver=cvc5. I created a pr for that here.I’ll work on adding a flag for cvc5
So the only one we’re really blocked on is the one where fixpoint hangs? (For the others maybe the fastest thing for now is to add a flag specifying extra fixpoint flags — eg SMT solver — to use when checking the function?)
On Tue, Dec 17, 2024 at 10:12 AM Ranjit Jhala @.***> wrote:
Btw bit of a Hail Mary but can you try running fixpoint with CVC as the backend to see if that does any better?
On Tue, Dec 17, 2024 at 9:19 AM Vivien Rindisbacher < @.***> wrote:
Lets just keep them here to track them for now?
My understanding from z3’s docs is that
define-fun-recworks similar to that trick by incrementally doing more unfoldinghttps://microsoft.github.io/z3guide/docs/logic/Recursive Functions/
I know this is standard smtlib, but I don’t know how other solvers handle it.
Ultimately, it’s a matter of who is in better position to do the unfolding.