# Rayo's number

Rayo's number is a large number named after Mexican philosophy professor Agustín Rayo which has been claimed to be the largest named number. It was originally defined in a "big number duel" at MIT on 26 January 2007.

## Definition

The definition of Rayo's number is a variation on the definition:
   The smallest number bigger than any finite number named by an expression in any language of first-order set theory in which the language uses only a googol symbols or less.
Specifically, an initial version of the definition, which was later clarified, read "The smallest number bigger than any number that can be named by an expression in the language of first-order set-theory with less than a googol ($10^{100}$) symbols."
The formal definition of the number uses the following second-order formula, where $[\phi ]$ is a Gödel-coded formula and $s$ is a variable assignment:
    ${\begin{aligned}&{\mbox{For all }}R\ \{\\&\{{\mbox{for any (coded) formula }}[\psi ]{\mbox{ and any variable assignment }}t\\&(R([\psi ],t)\leftrightarrow \\&(([\psi ]={\mbox{''}}x_{i}\in x_{j}{\mbox{''}}\land t(x_{i})\in t(x_{j}))\ \lor \\&([\psi ]={\mbox{''}}x_{i}=x_{j}{\mbox{''}}\land t(x_{i})=t(x_{j}))\ \lor \\&([\psi ]={\mbox{''}}(\neg \theta ){\mbox{''}}\land \neg R([\theta ],t))\ \lor \\&([\psi ]={\mbox{''}}(\theta \land \xi ){\mbox{''}}\land R([\theta ],t)\land R([\xi ],t))\ \lor \\&([\psi ]={\mbox{''}}\exists x_{i}\ (\theta ){\mbox{'' and, for some an }}x_{i}{\mbox{-variant }}t'{\mbox{ of }}t,R([\theta ],t'))\\&)\}\rightarrow \\&R([\phi ],s)\}\end{aligned}}$
Given this formula, Rayo's number is defined as:
   The smallest number bigger than every finite number $m$ with the following property: there is a formula $\phi (x_{1})$ in the language of first-order set-theory (as presented in the definition of ${\mbox{Sat}}$) with less than a googol symbols and $x_{1}$ as its only free variable such that: (a) there is a variable assignment $s$ assigning $m$ to $x_{1}$ such that ${\mbox{Sat}}([\phi (x_{1})],s)$, and (b) for any variable assignment $t$, if ${\mbox{Sat}}([\phi (x_{1})],t)$, then $t$ assigns $m$ to $x_{1}$.

## Explanation

Intuitively, Rayo's number is defined in a formal language, such that:
* $x_{i}\in x_{j}$ and $x_{i}=x_{j}$ are atomic formulas.
* If $\theta$ is a formula, then $(\neg \theta )$ is a formula (the negation of $\theta$).
* If $\theta$ and $\xi$ are formulas, then $(\theta \land \xi )$ is a formula (the conjunction of $\theta$ and $\xi$).
* If $\theta$ is a formula, then $\exists x_{i}(\theta )$ is a formula (existential quantification).
Notice that it is not allowed to eliminate parentheses. For instance, one must write $\exists x_{i}((\neg \theta ))$ instead of $\exists x_{i}(\neg \theta )$.
It is possible to express the missing logical connectives in this language. For instance:
* Disjunction: $(\theta \lor \xi )$ as $(\neg ((\neg \theta )\land (\neg \xi )))$.
* Implication: $(\theta \Rightarrow \xi )$ as $(\neg (\theta \land (\neg \xi )))$.
* Biconditional: $(\theta \Leftrightarrow \xi )$ as $(\neg ((\neg (\theta \land \xi ))\land (\neg ((\neg \theta )\land (\neg \xi )))))$.
* Universal quantification: $\forall x_{i}(\theta )$ as $(\neg \exists x_{i}((\neg \theta )))$.
The definition concerns formulas in this language that have only one free variable, specifically $x_{1}$. If a formula with length $n$ is satisfied iff $x_{1}$ is equal to the finite von Neumann ordinal $k$, we say such a formula is a "Rayo string" for $k$, and that $k$ is "Rayo-nameable" in $n$ symbols. Then, ${\mbox{Rayo}}(10^{100})$ is defined as the smallest $k$ greater than all numbers Rayo-nameable in at most $n$ symbols.