Conversation
|
I added the playground integration for lean! I took the opportunity to make small fixes in the playground integration like fixing the "extract + type-check" button which was missing. For now the code snippets that are expected to type-check don't, that's because of the missing lib stuff that are part of this PR (so everything should work once the PR gets merged). @W95Psp I have a small problem: in the result of the playground queries |
|
@maximebuyse and I discussed in some other places about that bug, I fixed it in the playground. |
karthikbhargavan
left a comment
There was a problem hiding this comment.
Looks good. Let's merge and improve.
|
Unless there is something left here, please merge. |
|
After some discussion we decided to split the tutorial in two: one for F*, one for Lean, and probably one for other backends in the future. |
|
@W95Psp @clementblaudeau This is ready for re-review. |
|
Looking at it now |
clementblaudeau
left a comment
There was a problem hiding this comment.
Very nice addition ! I've added a few suggestions.
Co-authored-by: Clément Blaudeau <40171892+clementblaudeau@users.noreply.github.com>
To rename a title without renaming the folder itself, create a `.nav.yml` with: ``` title: whatever ```
|
The CI fails because of missing space. I wonder if the addition of |
|
Seems like some of our CI runs on the self hosted runners? |
Yes, I also noticed it was an issue on self hosted runners only. I don't think there is a good reason to do so and it was probably by mistake, so I pushed a change to run all jobs on github hosted runners. |
This PR adds documentation about the Lean backend in the hax tutorial. It covers:
lakefile.tomlto verify a Rust crate using hax and Lean.squarefunction, how to specify panic-freedom, prove it using a pre-condition, and prove a simple post-condition.