
Dafny
5.7#26 in formal verification toolsLinuxmacOSSelf-hostedWindows
Visit

| Fact | Dafny | Rocq |
|---|---|---|
| Intended users | The project describes Dafny as used in academia for teaching and research and in industry, including by teams at Amazon. | The Rocq Platform is intended for developing and teaching with Rocq, and the site describes Rocq as used in mathematics, computer science, and related areas. |
| License | The Dafny software is licensed under the MIT License. | The Rocq Prover is distributed under the GNU Lesser General Public Licence Version 2.1 (LGPL). |
| Purpose | It helps developers write code that can be verified against specifications to reduce the risk of late-stage bugs. | Rocq Prover is an interactive theorem prover and proof assistant for developing mathematical proofs, formal specifications, programs and proofs that programs meet specifications. |
| Support | The project directs users to its Zulip channel for questions and GitHub for issue reports. | Users can report installation trouble or extension bugs in the dedicated Rocq Zulip stream. |
| What it does | Dafny is a verification-aware programming language with native support for recording specifications and a static program verifier that checks code against them. | Rocq is an interactive theorem prover for developing mathematical proofs and formal specifications, including proofs that programs meet their specifications. |
No prices published.
Dafny may suit developers who want to verify code against explicit specifications, as well as people using it for teaching or research. It also supports industrial use and offers Visual Studio Code and Emacs guidance.
Rocq suits people developing or teaching formal proofs, mathematical specifications, or verified programs. It is aimed at users in mathematics, computer science, and related areas who are comfortable working with a proof assistant.