Type theory MOC

Dependent type theory

A dependent type theory is a (cartesian) type theory where type formation is context-dependent, 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. 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 𝑏(𝑦) =𝑏(π‘₯)[𝑦/π‘₯] :𝐡(𝑦).


tidy | en | SemBr

Footnotes

  1. 2025. Introduction to Homotopy Type Theory, Β§1.2, pp. 13–14. ↩