Agda combines a dependently typed functional programming language with an interactive environment for writing and checking constructive proofs.
Overview
Agda is a dependently typed functional programming language and an interactive theorem prover. Programs can use inductive families such as vectors whose types depend on length, dependent pattern matching, parametrized modules, mixfix operators, Unicode syntax, and an interactive mode that helps you develop code step by step. It shares many ideas with purely functional languages such as Haskell and Idris.
As a proof assistant, Agda lets you write and check proofs in a system based on intuitionistic type theory. It supports proof automation and custom tactics through a reflection API, and it resembles other dependently typed assistants such as Rocq, Lean, and F*.
Agda is open source with ongoing development on Agda 2. You can install it on your own computer or try Agda in the browser through Agda Pad. Learning paths include introductory tutorials, a user manual covering library management and language features, and community channels such as a mailing list and a Zulip server for questions.
A standard library and related packages cover typeclasses, metaprogramming, Cubical Agda, category theory, and univalent mathematics. Separate wiki pages catalog additional libraries and record past implementors’ meetings.
Key features
- Dependent types and inductive families
- Interactive proof checking mode
- Proof automation and reflection API
- Parametrised modules and mixfix syntax
- Unicode-friendly source editing
- Standard and Cubical libraries
- Browser-based Agda Pad
- Intuitionistic type theory foundation
Use cases
- Formalizing constructive mathematics
- Interactive theorem proving
- Dependently typed software development
- Category theory and univalent math libraries
- Teaching type theory and functional programming