Closed NicolasRouquette closed 3 years ago
The princess solver is not very well supported by Stainless. Can you try downloading z3 4.8.6 (we have some known issues with later versions) and adding it to your path?
https://github.com/Z3Prover/z3/releases/tag/z3-4.8.6
Then your warning might become, and hopefully the errors go away.
[warn] The Z3 native interface is not available. Falling back onto smt-z3.
Thanks! On my linux system, I just did sudo apt-get install z3
which gave me version z3/focal 4.8.7-4build1 amd64
Now, stainless is behaving as advertised.
However, I'm a bit perplexed here; the installation instructions say that stainless bundles z3: https://epfl-lara.github.io/stainless/installation.html
How is it then that I had to install z3 separately? I don't mind doing this, I'm just a bit confused.
You're welcome, z3 4.8.7 should work mostly fine but it's possible that our test suite fails in one or two examples.
However, I'm a bit perplexed here; the installation instructions say that stainless bundles z3:
I think this refers to the binary release available here: https://github.com/epfl-lara/stainless/releases
See: https://github.com/NicolasRouquette/stainless-bundle-closure/tree/4d184817484de4e6e465b5edd56cfaef1a66b4d3
When building, I get this:
And the attached stack trace. stainless-stack-trace.txt