dafny
« Back to VersTracker
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
Version History
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