-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Why3 with Coq support #1393
Comments
You can install Coq in Creusot's switch and it will stay there:
That said our current stance is to encourage making proofs automatable with why3find. I'd be interested in hearing about cases where that is difficult, and see if we can handle them in other ways than supporting Why3 transformations or Coq proofs. |
Why3 documentation says that Coq must be installed before building Why3:
(https://www.why3.org/doc/install.html)
To investigate why a particular invariant does not work. In Why3, the only way to debug an invariant is to read a rather unreadable goal. While in a proof assistant, I could simplify the goal and try to prove it yourself to figure out why it's not provable. |
That's a quote from the instructions for installing from source. On opam you can install (I previously thought installing Coq would rebuild Why3 for Coq support, but instead installing |
I see, thanks. Though |
|
Now that I think about it, you may want manage the installation of Why3 and Coq manually with a global opam switch instead, because it will make it less of a hassle to work with Coq (notably for editor extensions to find it):
|
I guess I need to patch |
Notice that in Why3 IDE, you can also manually apply some transformations and simplifications to do what what you want, that is to figure out why an invariant is not provable. That being said, I would certainly agree that when you have the knowledge of a proof assistant, like Coq, you would prefer to do that with that particular assistant. And a final remark: it is true that Why3 currently does not offer Lean as a back-end, but we would certainly be happy to accept patches to make it work! |
Right now
creusot-install
builds Why3 without Coq support, even if Coq is installed in the system.The text was updated successfully, but these errors were encountered: