LESSWRONG
LW

Wikitags

Colon-to notation

Edited by Qiaochu_Yuan, Izaak Meckler, et al. last updated 4th Aug 2016

In mathematics, the notation f:X→Y (here, "colon-to notation," because the arrow → is written "\to" in LaTeX) means that f is a function with domain X and codomain Y. It can be read "f, a function from X to Y."

This can be thought of as ascribing a function type to the value f. The use of a colon to express that a given value has a given type, as is done in type theory, is a generalization of this notation.

Examples

f:R→R means that f is a function from the real numbers to the real numbers, such as x↦x2 (mapsto notation).

f:R×R→R means that f is a function from pairs of real numbers to real numbers. The × here refers to the Cartesian product of sets.

Parents:
Mathematics
1
1
Discussion1
Discussion1