basic constructions:
strong axioms
further
Background
Basic concepts
equivalences in/of -categories
Universal constructions
Local presentation
Theorems
Extra stuff, structure, properties
Models
(2,1)-quasitopos?
structures in a cohesive (∞,1)-topos
natural deduction metalanguage, practical foundations
type theory (dependent, intensional, observational type theory, homotopy type theory)
computational trinitarianism =
propositions as types +programs as proofs +relation type theory/category theory
In certain foundations of mathematics, the “functions” between sets or types or presets do not preserve the equality in the set/type/preset. Many times, the functions that do not preserve equality are called “prefunctions”, and a function is then defined to be a prefunction that satisfies function extensionality.
Suppose that and are sets, a prefunction from to is a mapping that does not preserve equality: it is not true that always implies . A function is defined as a prefunction that preserves equality; such a prefunction is said to be extensional.
For example, consider the identity prefunction on the set of pairs of positive numbers, and the set of positive fractions . From to , this is a function, since if . But from to , it is not a function, since (for example) but . A related example is the operation of taking the numerator of a (positive) fraction; from to , we may view this as a prefunction but not as a function, although it is a function on .
Given sets and , the function set from to is a subset of this set of prefunctions between and . Composition of prefunctions is also possible, but likewise does not preserve equality.
In many foundations based on type theory, such as in Martin-Löf type theory, all types come equipped with an identity type which behaves similarly as equality does in sets. These types, therefore, are not presets in the strict sense, in that the latter do not carry any equality at all. However, functions between such types usually do not satisfy function extensionality, so that in the set-theoretic sense they are still like prefunctions.
The difference between functions and prefunctions in sets is modeled in category theory (categorical semantics) as the difference between a concrete category and a category with a functor which is not faithful.
Last revised on May 18, 2022 at 15:36:19. See the history of this page for a list of all contributions to it.