In formal number theory a Gödel numbering is a function which assigns to each symbol and formula of some formal language a unique natural number called a Gödel number (GN). The concept was first used by Kurt Gödel for the proof of his incompleteness theorem.
A numbering of the set of computable functions is sometimes called Gödel numbering or effective numbering. A Gödel numbering can be interpreted as a programming language with the Gödel numbers assigned to each computable function as the programs which calculate the values for the function in that programming language. Rogers' equivalence theorem characterizes the numberings of the set of computable functions that are Gödel numberings.
Given a countable set S, a Gödel numbering is a function
Gödel numbers are constructed with reference to symbols of the propositional calculus and formal arithmetic. Each symbol is first assigned a natural number, thus:
| Logical symbols | Numbers 1:12 |
|---|---|
| ¬ | 1 ("not") |
| 2 ("for all") | |
| 3 ("if,then") | |
| 4 ("or") | |
| 5 ("and") | |
| ( | 6 |
| ) | 7 |
| S | 8 ("is the successor of") |
| 0 | 9 |
| = | 10 |
| . | 11 |
| + | 12 |
| Propositional symbols | Numbers greater than 10 but divisible by 3 |
| P | 12 |
| Q | 15 |
| R | 18 |
| S | 21 |
| Individual variables | numbers greater than 10 with remainder 1 when divided by 3 |
| v | 13 |
| x | 16 |
| y | 19 |
| Predicate symbols | numbers greater than 10 with remainder 2 when divided by 3 |
| E | 14 |
| F | 17 |
| G | 20 |
Arithmetical statements are assigned unique Gödel numbers referenced to the series of prime numbers. This is based on a simple code which essentially reads
prime 1 character 1 × prime 2 character 2 × prime 3 character 3
and so on.
For example the statement
x, P(x) becomes
22 × 316 × 512 × 76 × 1116 × 137, because
{2, 3, 5, 7, 11, ...} is the prime series, and 2, 16, 12, 6, 16, 7 are the relevant character codes. This is a large but perfectly determinate number (namely 14259844433335185664666562849653536301757812500).
It is also important to note, by the fundamental theorem of arithmetic, this astronomical number can be decomposed into unique prime factors; thus it is possible to convert the Gödel number back to its sequence of characters.
Finally, sequences of arithmetical statements are assigned further Gödel numbers, such that the sequence
Statement 1 (GN1)
Statement 2 (GN2)
Statement 3 (GN3)
(where GN denotes a Gödel number)
gets the Gödel number 2GN1×3GN2×5GN3, which we will call GN4. The proof of Gödel's incompleteness theorem depends on the demonstration that, in formal arithmetic, some sets of statements logically entail or prove other statements. For example it might be shown that GN1, GN2, and GN3 together, i.e. GN4, prove GN5. Because this is a demonstrable relationship between numbers it is entitled to its own symbol, for example R. Then we could write R(v,x) to express "x proves v". In the case where x and v are Gödel numbers GN4 and GN5 we would say R(GN5,GN4).
The core of Gödel's argument is that we can write the statement
which means
The Gödel number for this statement would be
but we will call it GN6. Now if we consider the statement
we will realise that it says
This collapses into the statement
Also, Gödel numbering implies that each inference rule of the formal system can be expressed as a function of natural numbers. If f is the Gödel mapping and if formula C can be derived from formulas A and B through an inference rule r, i.e.
then there should be some arithmetical function gr of natural numbers such that
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Gödel number".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world