nLab dependent function (changes)

Showing changes from revision #2 to #3: | Removed | Chan

\tableofcontents

Idea

In dependent type theory, a dependent function is like a function but where we allow the codomain of the to depend on elements of the domain.

Definition

In dependent type theory, a type AA is a contractible type if it comes with an element a:Aa:A and a family of identities x:Ac(x):a= Axx:A \vdash c(x):a =_A x indicating that aa is a center of contraction. A dependent function from type AA to the type family x:AB(x)x:A \vdash B(x) could be defined as

  • a family of elements x:Af(x):B(x)x:A \vdash f(x):B(x)
  • a dependent multivalued partial function (x:AP(x);x:A,p:P(x)f(x,p):B(x))(x:A \vdash P(x); x:A, p:P(x) \vdash f(x, p):B(x)) for which the dependent type P(x)P(x) is a contractible type for all x:Ax:A
  • a dependent anafunction, a dependent correspondence x:A,y:B(x)R(x,y)x:A, y:B(x) \vdash R(x, y) for which the dependent type y:B(x)R(x,y)\sum_{y:B(x)} R(x, y) is a contractible type for all x:Ax:A.
  • an element of the dependent function type f: x:AB(x)f:\prod_{x:A} B(x), in dependent type theories with dependent function types.

The first three definitions are interdefinable with each other in dependent type theories with identity types and dependent sum types, and the fourth definition is interdefinable with the other three via the rules for dependent function types

 See also

Last revised on January 12, 2023 at 06:32:51. See the history of this page for a list of all contributions to it.