Agda (Rev #16, changes) in nLab
Showing changes from revision #15 to #16: Added | Removed | Changed
Context
Type theory
natural deduction metalanguage, practical foundations
type theory (dependent, intensional, observational type theory, homotopy type theory)
computational trinitarianism = \linebreak propositions as types +programs as proofs +relation type theory/category theory
Contents
Overview
A dependently typed functional programming language with applications to certified programming. It is also used as a proof assistant.
Besides Coq, Agda is one of the languages in which homotopy type theory has been implemented (Brunerie). Agda can be compiled to Haskell, Epic or Javascript.
Cubical Agda
Cubical Agda is a version of Agda (turned on by the flag --cubical
) that implements a type theory similar to CCHM (De Morgan) cubical type theory.
Its main difference from CCHM is that instead of an exotype of “cofibrant propositions” it uses the interval itself, replacing cofibrant propositions by statements of the form r≡1r \equiv 1 for some dimension expression rr. This change does not prevent the construction of a model for the theory in De Morgan cubical sets, although it doesn’t technically fall under the Orton-Pitts axioms since II is not a subobject of Ω\Omega, and no one has checked whether this model can be strengthened to a Quillen model category.
More problematically, to support identity types a la Swan (which are distinct from both cubical “path types” and Martin-Lof “jdentity “identity types”) the type of cofibrant propositions must support adominance. Cubical Agda thus assumes that II supports a dominance, but this is not true in De Morgan cubical sets. So the semantics of the entirety of Cubical Agda, with Swan identity types, is unclear. (However, ordinary Martin-Lof jdentity types can also be defined in Cubical Agda as an indexed inductive family, with computational behavior as usual for any inductive types in cubical type theory.)
based on plain type theory/set theory:
based on dependent type theory/homotopy type theory:
based on cubical type theory:
-
-
1lab (cross-linked reference resource)
based on modal type theory:
based on simplicial type theory:
For monoidal category theory:
projects for formalization of mathematics with proof assistants:
-
Archive of Formal Proofs (using Isabelle)
-
ForMath project (using Coq)
-
UniMath project (using Coq and Agda)
-
Xena project (using Lean)
Other proof assistants
Historical projects that died out:
References
General information on Agda is at
-
Ulf Norell, James Chapman, Dependently Typed Programming in Agda (pdf)
-
Dan Licata, Ian Voysey, Programming and proving in Agda
-
Ulf Norell, Towards a practical programming language based on dependent type theory, 2007 (pdf)
A tutorial for use of Agda as an implementation of homotopy type theory is at
-
Guillaume Brunerie, Agda for homotopy type theory (web)
-
Guillaume Brunerie, The Agda proof assistant, slides, pdf
and specifically of Cubical Agda as an implementation of cubical type theory:
- Andrea Vezzosi, Anders Mörtberg and Andreas Abel, Cubical Agda: A Dependently Typed Programming Language with Univalence and Higher Inductive Types, 2019 (pdf)
The HoTT-Agda library is at
- github, hott-agda
Revision on March 16, 2021 at 04:17:40 by Urs Schreiber See the history of this page for a list of all contributions to it.