Type theory MOC

Dependent type theory

A dependent type theory is a (cartesian) type theory where type formation is context-dependent, #m/def/type and thus may be parameterized by terms. This is in contrast to a non-dependent type theory where only terms are context-dependent, and types may in practice be defined by a Context-free grammar.

Type family

A type in a nonempty context is called type family or fibration #m/def/type Specifically, if ฮ“ โŠข๐ด then a type family over ๐ด in context ฮ“ is given by a judgement

ฮ“.๐ดโŠข๐ต.

A section picks out a term of ๐ต[๐ข๐.๐‘ฅ] for each ๐‘ฅ :๐ด, and thus corresponds to a judgement1

ฮ“.๐ดโŠข๐‘:๐ต

When using named contexts in informal type theory, we will often write

ฮ“,๐‘ฅ:๐ดโŠข๐‘(๐‘ฅ):๐ต(๐‘ฅ)

where ๐‘(๐‘ฅ) and ๐ต(๐‘ฅ) are not meant to denote actual functions, but rather the occurance of a substitution, so that ๐ต(๐‘ฆ) =๐ต(๐‘ฅ)[๐‘ฆ/๐‘ฅ] and ๐‘(๐‘ฆ) =๐‘(๐‘ฅ)[๐‘ฆ/๐‘ฅ] :๐ต(๐‘ฆ).


#state/tidy | #lang/en | #SemBr

Footnotes

  1. 2025. Introduction to Homotopy Type Theory, ยง1.2, pp. 13โ€“14. โ†ฉ