Search

The Online Encyclopedia and Dictionary

 
     
 

Encyclopedia

Dictionary

Quotes

 

Natural number object

In category theory, a natural number object (nno) is an object endowed with a recursive structure similar to natural numbers. More precisely, in a category E with a terminal object (alternately, a topos), an nno N is given by:

  1. a global element z : 1 → N, and
  2. an arrow s : NN,

such that for any object A of E, global element q : 1 → A, and arrow f : AA, there exists a unique arrow u : NA such that:

  1. uz = q, and
  2. us = fu.

In other words, the triangle and square in the following diagram commute.

The pair (q, f) is sometimes called the recursion data for u, given in the form of a recursive definition:

  1. u (z) = q
  2. yE Nu (s y) = f (u (y))

Nnos are defined up-to isomorphism . Every nno is a terminal object of the category of diagrams of the form

If the arrow u as defined above merely has to exist, i.e. uniqueness is not required, then N is called a weak nno. If a cartesian closed category has weak nnos, then every slice of it also has a weak nno. Nnos in CCCs or topoi are sometimes defined in the following equivalent way (due to Lawvere): for every pair of arrows g : AB and f : BB, there is a unique h : N × AB such that the squares in the following diagram commute.

This same construction defines weak nnos in cartesian categories that are not cartesian closed.

Nnos can be used for nonstandard models of type theory in a way analogous to non-standard models of analysis. Such categories (or topoi) tend to have "infinitely many" non-standard natural numbers. (Like always, there are simple ways to get non-standard nnos; for example, if z = s z, in which case the category or topos E is trivial.)

Freyd showed that z and s form a coproduct diagram for nnos; also, !N : N → 1 is a coequalizer of s and 1N, i.e., every pair of global elements of N are connected by means of s; furthermore, this pair of facts characterize all nnos.

See also

The contents of this article are licensed from Wikipedia.org under the GNU Free Documentation License. How to see transparent copy