Given a set , its diagonal function is a function from to its cartesian square , often denoted , , or an obvious variation.
Specifically, the diagonal function of maps an element of to the pair :
Note that this map is an injection, so it defines a subset of , also called the diagonal of ; this is the origin of the term.
The concept can be generalised to any category in which the product exists; see diagonal morphism.
A topological space is Hausdorff if and only if its diagonal function is a closed map; this fact can be generalised to other notions of space.
The characteristic function of the diagonal function is the Kronecker delta.
In dependent type theory, the diagonal function of a type is the function
where is the homotopy pullback of the identity function along itself.
Diagonal functions are used in the elimination rules and computation rules for identity types:
The elimination rules for identity types states that given an element , there is a dependent function
and the computation rules for identity types states that there are homotopies
The canonical semantics of the diagonal function is the path space object.
computational trinitarianism =
propositions as types +programs as proofs +relation type theory/category theory
Last revised on November 12, 2023 at 18:08:13. See the history of this page for a list of all contributions to it.