Skip to content

Can I use Dafny for formally verifying compilers? #5949

Answered by keyboardDrummer
ichxorya asked this question in Q&A
Discussion options

You must be logged in to vote

Do Dafny have enough functionality for the task of defining formally verified compilers

It does

, and if so, why there is a FIXME in this example?

Dafny has a feature called automatic induction, which can reduce the amount of code your need to write a proof. In this lemma that feature is turned off using the attribute {:induction false}, and the FIXME is saying something needs to be improved in automatic induction so it can be used there. In any case, using automatic induction is not necessary for any Dafny application.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ichxorya
Comment options

@keyboardDrummer
Comment options

Answer selected by ichxorya
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