Technopedia

The technologist’s encyclopedia

Type theory

Type theory is a foundational framework in which every term carries a type, and a type is at once a set-like collection and a specification of behavior. It is the mathematical substrate of proof assistants (Coq, Agda, Lean) and of the type systems of programming languages.

Authoritative sources

Core ideas

How it relates to the other classes

Type theory, Set theory, and Category theory are three rival foundational languages: set theory is membership-based, category theory is morphism-based, and type theory is judgment-based (a term is typed, not merely a member). Type theory ties directly back to Mathematical logic through Curry–Howard and to Computability and decidability through the lambda calculus, one of the two classic models of computation.