Instead of a set, require that a function is a collection of ordered pairs with the property that if $\langle u,x\rangle$ and $\langle u,y\rangle$ are both in the collection then $x=y$.
Classes in ZFC are syntactic objects, these are the definable sub-collections of "$V=\{x\mid x=x\}$", so a class is a collection (which might not be a set) of the form $\{x\mid\varphi(x)\}$ for some $\varphi$.
Ordinal functions, or in general class functions, are (in the context of ZF) definable classes of the form $\{\langle x,y\rangle\mid\varphi(x,y)\}$ which has the functional property. For example the Hartogs number function makes use of the fact that we can define from ZF what are the ordinals, what are injective functions, etc. then using a parameter $x$ we can define the least ordinal which is not injected into $x$. This goes into a formula $\varphi(x,y)$ which says all of the above.
Two simple and even more natural examples of class functions are:
The power set function, $\{\langle x,\mathcal P(x)\rangle\mid x\in V\}$ where $\mathcal P(x)$ denotes the power set of $x$. The axiom of power set tells us that this set exists and extensionality tells us it is unique.
The union function, $\{\langle x,\bigcup x\rangle\mid x\in V\}$ where $\bigcup x=\{z\mid\exists u(u\in x\land z\in u)\}$. Again we adhere to the axioms, this time to the axiom of union and the axiom of extensionality to argue that this function is well defined.
The von Neumann hierarchy, the Constructible hierarchy, the Fine structure hierarchy, and many other similar ways to construct models of set theory are exactly class-functions from the ordinals.
To read some more:
- class function question
- What are some examples of classes that are not sets?
- In NBG set theory how could you state the axiom of limitation of size in first-order logic?
if I will find something I will let you know.Jech, Set Theory pp. 11-12 (bottom of page 11, top of 12) he remarked that the definitions of a function can be applied to classes as well. I suppose that should do, or do you need to reference exactly how classes are treated in ZF? – Asaf Karagila Apr 26 '12 at 18:00