Homotopy Type Theory ETCS with elements > history (Rev #5, changes)

Showing changes from revision #4 to #5: Added | Removed | Changed

Contents

In categorical set theories? such as ETCS?, the set theory is usually a theory of sets and functions? in an abstract category, withcategory, with elements? being defined as the global elements?, the morphisms? out of the terminal object? . However, this approach poses a few conceptual and practical issues, namely that in ordinary mathematical practice, elements are not the same as functions out of the terminal object, set, although they are isomorphic to each other, and function evaluation of elements in defined categorical as function composition of functions out of the terminal set theories is are an abuse of notation.

There are other structural set theories?, such as SEAR, which explicitly put in the elements of a set as a primitive of the theory: this is equivalent to saying that the category is an concrete category rather than an abstract category. In such a presentation involving sets and functions, function evaluation? would be an a external primitive version of an the theory, rather than derived from function composition of evaluation global map elements? , and the axiom of function extensionality is likewise defined directly on the elements. The presentation of such a concrete category, categorical making set the theory reads more like a traditional presentation of set theory in terms of sets and elements, rather than category into theory. anevaluational category, and the axiom of function extensionality is defined directly on the elements, rather than the global element morphisms out of the terminal object. The presentation of such a concrete categorical set theory reads more like a traditional presentation of set theory in terms of sets and elements, rather than category theory.

In this presentation, we will be adapting Tom Leinster’s presentation of ETCS to the concrete setting. Some of these axioms might be redundant, but that was true of Tom Leinster’s original presentation.

Basic primitives

Our theory has the following primitives:

  • Some things called sets;

  • For every set AA, these things called elements in AA, with elements aa in AA written as aAa \in A;

  • For every set AA and BB, these things called functions from AA to BB, with functions ff from AA to BB written as f:ABf:A \to B;

  • For every set AA and BB, an operation called function evaluation assigning every element aAa \in A and function f:ABf:A \to B an element f(a)Bf(a) \in B;

  • For every set AA, a function id A:AAid_A:A \to A called the identity function of AA;

  • For every set AA, BB, and CC, an operation called function composition assigning every function f:ABf:A \to B and g:BCg:B \to C a function gf:ACg \circ f:A \to C;

Equality of elements and functions

For every set AA and elements aAa \in A and bAb \in A, there is a relation a=ba = b called equality of elements, such that

  • for every element aAa \in A, a=aa = a
  • for every element aAa \in A and bAb \in A, a=ba = b implies that b=ab = a
  • for every element aAa \in A, bAb \in A, and cAc \in A, a=ba = b and b=cb = c implies that a=ca = c.

For every set AA and BB and functions f:ABf:A \to B and g:ABg:A \to B, there is a relation f=gf = g called equality of functions, such that

  • for every function f:ABf:A \to B, f=ff = f
  • for every function f:ABf:A \to B and g:ABg:A \to B, f=gf = g implies that g=fg = f
  • for every function f:ABf:A \to B, g:ABg:A \to B, and h:ABh:A \to B, f=gf = g and g=hg = h implies that f=hf = h.

Basic axioms for functions

Axiom of identity functions. For every set AA and for every element aAa \in A, id A(a)=aid_A(a) = a.

Axiom of currying. composition/evaluation equivalence. For every set AA, BB, and CC, and for every element aAa \in A, (gf)(a)=g(f(a))(g \circ f)(a) = g(f(a)).

Axiom of extensionality. For every set AA and BB and for every function f:ABf:A \to B and g:ABg:A \to B, if f(x)=g(x)f(x) = g(x) for all elements x:Ax \colon A, then f=gf = g.

The associativity and unit laws of function composition follow from the axioms:

  • For every set AA and BB, function f:ABf:A \to B, and element aAa \in A,

    (gid A)(a)=g(id A(a))=g(a)(g \circ id_A)(a) = g(id_A(a)) = g(a)

    and extensionality implies that gid A=gg \circ id_A = g.

  • For every set AA and BB, function f:ABf:A \to B, and element aAa \in A,

    (id Bg)(a)=id B(g(a))=g(a)(id_B \circ g)(a) = id_B(g(a)) = g(a)

    and extensionality implies that id Bg=gid_B \circ g = g.

  • For every set AA, BB, CC, and DD, function f:ABf:A \to B, g:BCg:B \to C, and h:CDh:C \to D, and element aAa \in A,

    (h(gf))(a)=h((gf)(a))=h(g(f(a))=(hg)(f(a))=((hg)f)(a)(h \circ (g \circ f))(a) = h((g \circ f)(a)) = h(g(f(a)) = (h \circ g)(f(a)) = ((h \circ g) \circ f)(a)

    and extensionality implies that h(gf)=(hg)fh \circ (g \circ f) = (h \circ g) \circ f.

Thus, these axioms imply that the collection of sets, functions, and elements form a concrete category that is evaluational and extensional.

Those who are versed in type theory would recognize that the axiom of currying as an instance of currying? a function f:((BC)×(AB))Af:((B \to C) \times (A \to B)) \to A to a function f :(BC)((AB)A)f^{'}:(B \to C) \to ((A \to B) \to A), hence the name of the axiom.

Other axioms

Singletons

Axiom of singletons. There is a set 𝟙\mathbb{1}, called a singleton, with a unique element *𝟙* \in \mathbb{1}, called a point.

Axiom of singletons. Cartesian products. There For is every a set 𝟙 A \mathbb{1} A , called and asingletonBB , with there is a unique set element*A × 𝟙 B * A \in \times \mathbb{1} B, called a point Cartesian product of AA and BB, with a function p A:A×BAp_A:A \times B \to A called the projection onto AA and a function p B:A×BBp_B:A \times B \to B called the projection onto BB, such that given two elements aAa \in A and bBb \in B there is a unique element a,bA×Ba, b \in A \times B such that p A(a,b)=ap_A(a, b) = a and p B(a,b)=bp_B(a, b) = b.

𝟙\mathbb{1}Axiom of fibers. is For a terminal set, in the sense that for every setAA , there and is a unique function f B:A𝟙 f:A B \to \mathbb{1} . , This element is because 𝟙 bB \mathbb{1} b \in B , only and has function a unique element in it. This implies that for every element a f :AB a f:A \in \to A B , and there every is function a setff 1 : ( A b )𝟙 f:A f^{-1}(b) \to \mathbb{1} and called theg:A𝟙g:A \to \mathbb{1}fiber , off(a)=* f(a) f = * and over g b(a)=* g(a) b = * , which with by a extensionality function implies that f i = :gf 1(b)A f i:f^{-1}(b) = \to g A . , Therefore, such that for every two element functions from A af 1(b) A a \in f^{-1}(b) , to 𝟙 f(i(a))=b \mathbb{1} f(i(a)) = b . are A equal, fiber and of so there is a unique function from A f A f to over 𝟙 b \mathbb{1} b is also called the solution set of the equation f(x)=bf(x) = b.

Cartesian products

An injection is a function f:ABf:A \to B such that for every element aAa \in A and bAb \in A, if f(a)=f(b)f(a) = f(b), then a=ba = b.

Axiom of Cartesian truth products. values. For There every is a set A Ω A \Omega and called aBBset of truth values , there with is an a element setA × B Ω A \bot \times \in B \Omega , called a Cartesian true product of such that for every setAA and BB , with and a injection functionp Af:A×B A B p_A:A f:A \times B \to A B , called there the is a unique functionprojection onto AAχ A:BΩ\chi_A:B \to \Omega and called a the functionp B:A×BBp_B:A \times B \to Bclassifying function called of theprojection onto BBAA , such given that two elementsaA a \in A and is the fiber ofbχ AB b \chi_A \in B there over is a unique element (a,b)A×B (a, \bot b) \in A \times B such that p A((a,b))=ap_A((a, b)) = a and p B((a,b))=bp_B((a, b)) = b.

The structure consisting of sets Axiom of function sets.CC For every set , AAAA and , and BBBB there is a set , with a pair of functions B AB^Af:CAf:C \to A called the and function setg:CBg:C \to B with a function is called a ()(()):B A×AB(-)((-)):B^A \times A \to Bspan such that for every set between CCAA and function and f:C×ABf:C \times A \to BBB there is a function . A Cartesian product g:CB Ag:C \to B^AA×BA \times B such that for all elements of cCc \in CAA and and aAa \in ABB, with functions g(c)(a)=f(c,a)g(c)(a) = f(c, a)p A:A×BAp_A:A \times B \to A and p B:A×BBp_B:A \times B \to B is a terminal span between AA and BB, in the sense that for every other span (C,f:CA,g:CB)(C, f:C \to A, g:C \to B), there is a unique function h:CA×Bh:C \to A \times B such that for all elements cCc \in C, p A(h(c))=f(c)p_A(h(c)) = f(c) and p B(h(c))=g(c)p_B(h(c)) = g(c).

Suppose that there exist two functions Axiom of natural numbers.h:CA×Bh:C \to A \times B There exists a set and \mathbb{N}k:CA×Bk:C \to A \times B called a such that for all elements set of natural numberscCc \in C with an element , 00 \in \mathbb{N}p A(h(c))=f(c)p_A(h(c)) = f(c) and a function and s:s:\mathbb{N} \to \mathbb{N}p B(h(c))=g(c)p_B(h(c)) = g(c) such that for every other set . This is because for every AAaAa \in A with an element and aAa \in AbBb \in B and a function there is a unique element g:AAg:A \to A(a,b)P(a, b) \in P, there is a unique function such that f:Af:\mathbb{N} \to Ap A((a,b))=ap_A((a, b)) = a such that and f(0)=af(0) = ap B((a,b))=bp_B((a, b)) = b and . This implies that f(s(a))=g(f(a))f(s(a)) = g(f(a))h(c)=(f(c),g(c))h(c) = (f(c), g(c)) and k(c)=(f(c),g(c))k(c) = (f(c), g(c)), which by extensionality implies that h=kh = k. Therefore, every two functions hh and kk from CC to A×BA \times B such that p A(h(c))=f(c)p_A(h(c)) = f(c), p B(h(c))=g(c)p_B(h(c)) = g(c), p A(k(c))=f(c)p_A(k(c)) = f(c), p B(k(c))=g(c)p_B(k(c)) = g(c) are equal, and so there is a unique function hh from CC to A×BA \times B such that p A(h(c))=f(c)p_A(h(c)) = f(c), p B(h(c))=g(c)p_B(h(c)) = g(c).

Fiber

A surjection is a function f:ABf:A \to B such that for every bBb \in B the fiber of ff at bb is inhabited. A right inverse of ff is a function g:BAg:B \to A such that for all elements aAa \in A, f(g(a))=af(g(a)) = a. A choice set is a set BB such that all surjections into BB have right inverses.

Axiom of fibers. choice. For Every every set is a choice set.AA and BB, element bBb \in B, and function f:ABf:A \to B, there is a set f 1(b)f^{-1}(b) called the fiber of ff over bb with a function i:f 1(b)Ai:f^{-1}(b) \to A, such that for every element af 1(b)a \in f^{-1}(b), f(i(a))=bf(i(a)) = b. A fiber of ff over bb is also called the solution set of the equation f(x) = b.

Function sets

These axioms imply that the collection of sets, functions, and elements form a model of ETCS?.

Set of truth values

Set of natural numbers

Choice sets

References

Revision on May 18, 2022 at 03:32:00 by Anonymous?. See the history of this page for a list of all contributions to it.