In first order logic with equality, given a predicate on a type with equality, the uniqueness quantifier of , denoted , is defined in terms of the universal and existential quantifiers as
The intended interpretation is that is true iff is true for exactly one element of .
Sometimes, we want to use a weaker notion of equivalence than strict equality, such as isomorphism . The uniqueness up to isomorphism quantifier of , denoted , is defined in terms of the universal and existential quantifiers as
The intended interpretation is that is true iff is true for exactly one element of up to isomorphism.
Uniqueness up to isomorphism quantifiers are important in category theory, where the relevant notion of sameness is isomorphism rather than strict equality. It is also important in foundational set theories where the type of sets does not have equality, such as some presentations of SEAR and ETCS.
In dependent type theory, given a type and a type family , the uniqueness quantifier is a type defined as
which indicates that the dependent sum type is a contractible type, which is only the case for a family of type if every dependent type is a mere proposition and, for exactly one element up to identity, the type is inhabited.
In dependent type theory, given two mere propositions and , by descent or large elimination? of the boolean domain, one can construct a boolean-indexed family of propositions
in the case for descent for booleans, or with judgmental equality of types
in the case for large elimination for booleans.
The uniqueness quantifier of the above family of propositions is the exclusive disjunction of and :
The uniqueness quantifier is used in the definition of a bijection in set theory and an equivalence in type theory, where one defines a function to be a bijection or equivalence if for all the there is a unique such that
In dependent type theory, this is the same as defining a family of elements to be an equivalence if it comes with a family of elements
The inverse of an equivalence is given by the family of elements , where is defined in the elimination rules for uniqueness quantifiers in dependent type theory.
Similarly, uniqueness quantifications is used in the definition of an anafunction, where one defines a relation or correspondence to be an anafunction if for all there is a unique such that
Uniqueness quantifiers are also used to define univalent universes. A Russell universe is a univalent universe if for all elements there is a unique such that :
Similarly, a Tarski universe is a univalent universe if for all elements there is a unique such that :
Last revised on September 6, 2024 at 19:10:14. See the history of this page for a list of all contributions to it.