Description:
Verification-aware programming language
|
|
Type: Formula
|
Latest Version: 4.11.0@0
|
Tracked Since: Dec 17, 2025
|
|
Links:
Homepage |
@dafny_lang |
formulae.brew.sh
|
|
Category: Developer tools
|
|
Tags:
verification
formal-methods
programming-language
static-analysis
theorem-proving
|
|
Install:
brew install dafny
|
About:
Dafny is a verification-aware programming language that uses static analysis to prove correctness properties at compile time. It automatically checks preconditions, postconditions, and invariants, enabling developers to write provably correct code. The tool generates executable code in multiple languages including C#, Java, and Go.
|
Key Features:
- Automatic verification of program correctness
- Supports multiple target languages (C#, Java, Go, Python)
- Integrated development environment with VS Code extension
- Built-in support for concurrent and distributed programming
- Powerful theorem proving capabilities
|
Use Cases:
- Developing safety-critical software systems
- Formal verification of algorithms and data structures
- Educational tool for teaching program correctness
- Building reliable concurrent and distributed systems
|
Alternatives:
-
Coq
– Coq is a proof assistant requiring more manual proof construction, while Dafny focuses on automated verification with a programming language syntax
-
Rust
– Rust provides memory safety guarantees through its type system, whereas Dafny offers full functional correctness verification
|
|
License: MIT
|
|
Dependencies: dotnet@8, z3
|
|
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, ventura, arm64_linux, x86_64_linux
|
| Detected |
Version |
Rev |
Change |
Commit |
| Nov 4, 2024 2:45am |
|
0 |
VERSION_BUMP |
0d83e8bd |
| Oct 31, 2024 7:24am |
|
0 |
VERSION_BUMP |
f975687e |
| Oct 31, 2024 1:18am |
|
0 |
VERSION_BUMP |
5e193eaa |
| Sep 16, 2024 8:46pm |
|
0 |
VERSION_BUMP |
4aca5e75 |
| Mar 3, 2023 5:06pm |
|
0 |
VERSION_BUMP |
185de7fc |
| Mar 3, 2023 5:06pm |
|
0 |
VERSION_BUMP |
7f6df988 |
| Mar 3, 2023 4:43am |
|
0 |
VERSION_BUMP |
30be9a55 |
| Mar 3, 2023 4:43am |
|
0 |
VERSION_BUMP |
7013636e |
| Mar 2, 2023 8:10pm |
|
0 |
VERSION_BUMP |
39157a2a |
| Mar 2, 2023 8:10pm |
|
0 |
VERSION_BUMP |
1ca86c14 |
| Feb 22, 2023 1:17pm |
|
0 |
VERSION_BUMP |
d04e3233 |
| Feb 22, 2023 1:17pm |
|
0 |
VERSION_BUMP |
ad245483 |
| Feb 1, 2023 4:06pm |
|
0 |
VERSION_BUMP |
4b705e08 |
| Feb 1, 2023 4:06pm |
|
0 |
VERSION_BUMP |
a3f16660 |
|