Skip to content

Best practices for troubleshooting F* proofs #2547

Answered by nikswamy
klinvill asked this question in Q&A
Discussion options

You must be logged in to vote

Looking through F*'s SMT output requires a lot of knowledge about the internals of F*. I would hope that a typical user doesn't have to wade through that encoding .... but it can be useful to profile Z3 to see why proofs are going slow.

Here's one resource:
https://github.com/FStarLang/FStar/wiki/Profiling-Z3-queries

This sliding admit style here is also useful way to debug proofs incrementally, while staying within F* rather than going to Z3:
https://github.com/FStarLang/FStar/wiki/Sliding-admit-verification-style

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by klinvill
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