Gödel numbering

In mathematical logic, a Gödel numbering is a function that assigns to each symbol and well-formed formula of some formal language a unique natural number, called its Gödel number. The concept was developed by Kurt Gödel for the proof of his incompleteness theorems. (Gödel 1931)

A Gödel numbering can be interpreted as an encoding in which a number is assigned to each symbol of a mathematical notation, after which a sequence of natural numbers can then represent a sequence of symbols. These sequences of natural numbers can again be represented by single natural numbers, facilitating their manipulation in formal theories of arithmetic.

Since the publishing of Gödel's paper in 1931, the term "Gödel numbering" or "Gödel code" has been used to refer to more general assignments of natural numbers to mathematical objects.

Simplified overview

Gödel noted that each statement within a system can be represented by a natural number (its Gödel number). The significance of this was that properties of a statement – such as its truth or falsehood – would be equivalent to determining whether its Gödel number had certain properties. The numbers involved might be very large indeed, but this is not a barrier; all that matters is that such numbers can be constructed.

In simple terms, he devised a method by which every formula or statement that can be formulated in the system gets a unique number, in such a way that formulas and Gödel numbers can be mechanically converted back and forth. There are many ways this can be done. A simple example is the way in which English is stored as a sequence of numbers in computers using ASCII. Since ASCII codes are in the range 0 to 127, it is sufficient to pad them to 3 decimal digits and then to concatenate them:

  • The word foxy is represented by 102111120121.
  • The logical formula x=y => y=x is represented by 120061121032061062032121061120.

Gödel's encoding

number variables property variables ...
Symbol 0 s ¬ ( ) x1 x2 x3 ... P1 P2 P3 ...
Number 1 3 5 7 9 11 13 17 19 23 ... 289 361 529 ...
Gödel's original encoding[1]

Gödel used a system based on prime factorization. He first assigned a unique natural number to each basic symbol in the formal language of arithmetic with which he was dealing.

To encode an entire formula, which is a sequence of symbols, Gödel used the following system. Given a sequence of positive integers, the Gödel encoding of the sequence is the product of the first n primes raised to their corresponding values in the sequence:

According to the fundamental theorem of arithmetic, any number (and, in particular, a number obtained in this way) can be uniquely factored into prime factors, so it is possible to recover the original sequence from its Gödel number (for any given number n of symbols to be encoded).

Gödel specifically used this scheme at two levels: first, to encode sequences of symbols representing formulas, and second, to encode sequences of formulas representing proofs. This allowed him to show a correspondence between statements about natural numbers and statements about the provability of theorems about natural numbers, the key observation of the proof. (Gödel 1931)

There are more sophisticated (and more concise) ways to construct a Gödel numbering for sequences.

Example

In the specific Gödel numbering used by Nagel and Newman, the Gödel number for the symbol "0" is 6 and the Gödel number for the symbol "=" is 5. Thus, in their system, the Gödel number of the formula "0 = 0" is 26 × 35 × 56 = 243,000,000.

Lack of uniqueness

Infinitely many different Gödel numberings are possible. For example, supposing there are K basic symbols, an alternative Gödel numbering could be constructed by invertibly mapping this set of symbols (through, say, an invertible function h) to the set of digits of a bijective base-K numeral system. A formula consisting of a string of n symbols would then be mapped to the number

In other words, by placing the set of K basic symbols in some fixed order, such that the -th symbol corresponds uniquely to the -th digit of a bijective base-K numeral system, each formula may serve just as the very numeral of its own Gödel number.

For example, the numbering described here has K=1000.

Application to formal arithmetic

Recursion

One may use Gödel numbering to show how functions defined by course-of-values recursion are in fact primitive recursive functions.

Expressing statements and proofs by numbers

Once a Gödel numbering for a formal theory is established, each inference rule of the theory can be expressed as a function on the natural numbers. If f is the Gödel mapping and r is an inference rule, then there should be some arithmetical function gr of natural numbers such that if formula C is derived from formulas A and B through an inference rule r, i.e.

then

This is true for the numbering Gödel used, and for any other numbering where the encoded formula can be arithmetically recovered from its Gödel number.

Thus, in a formal theory such as Peano arithmetic in which one can make statements about numbers and their arithmetical relationships to each other, one can use a Gödel numbering to indirectly make statements about the theory itself. This technique allowed Gödel to prove results about the consistency and completeness properties of formal systems.

Generalizations

In computability theory, the term "Gödel numbering" is used in settings more general than the one described above. It can refer to:

  1. Any assignment of the elements of a formal language to natural numbers in such a way that the numbers can be manipulated by an algorithm to simulate manipulation of elements of the formal language.[citation needed]
  2. More generally, an assignment of elements from a countable mathematical object, such as a countable group, to natural numbers to allow algorithmic manipulation of the mathematical object.[citation needed]

Also, the term Gödel numbering is sometimes used when the assigned "numbers" are actually strings, which is necessary when considering models of computation such as Turing machines that manipulate strings rather than numbers.[citation needed]

Gödel sets

Gödel sets are sometimes used in set theory to encode formulas, and are similar to Gödel numbers, except that one uses sets rather than numbers to do the encoding. In simple cases when one uses a hereditarily finite set to encode formulas this is essentially equivalent to the use of Gödel numbers, but somewhat easier to define because the tree structure of formulas can be modeled by the tree structure of sets. Gödel sets can also be used to encode formulas in infinitary languages.

See also

References

  • Gödel, Kurt (1931), "Über formal unentscheidbare Sätze der Principia Mathematica und verwandter Systeme I" (PDF), Monatshefte für Mathematik und Physik, 38: 173–198, doi:10.1007/BF01700692, S2CID 197663120, archived from the original (PDF) on 2018-04-11, retrieved 2013-12-07.
  • Gödel's Proof by Ernest Nagel and James R. Newman (1959). This book provides a good introduction and summary of the proof, with a large section dedicated to Gödel's numbering.
  1. ^ See Gödel 1931, p. 179; Gödel's notation (see p. 176) has been adapted to modern notation.

Further reading

Read other articles:

Videotelefoni terdiri dari teknologi untuk penerimaan dan transmisi sinyal audiovideo oleh pengguna di lokasi yang berbeda, untuk komunikasi antara orang-orang secara waktu nyata. Pada teknologi videotelefoni juga termasuk ponsel gambar yang akan bertukar gambar diam antara unit setiap beberapa detik melalui saluran telepon POTS-tipe konvensional, pada dasarnya sama dengan TV scan sistem lambat. Saat ini penggunaan videotelefoni telah membuat terobosan signifikan dalam pemerintahan, kesehatan, p…

Le plan Young signé à Paris le 7 juin 1929 est un prolongement du plan Dawes (1924) permettant à l'Allemagne de rééchelonner à la fois le paiement du restant de ses annuités de réparation de guerre et ses remboursements liés à sa dette publique consécutive à de nombreux emprunts. Le plan a été présenté par le comité présidé (1929-1930) par l’industriel et diplomate américain Owen D. Young, créateur et ancien premier président de la Radio Corporation of America (RCA), qui,…

Soletocomune Soleto – Veduta LocalizzazioneStato Italia Regione Puglia Provincia Lecce AmministrazioneSindacoGraziano Vantaggiato (lista civica) dal 26-5-2014 (2º mandato dal 27-5-2019) TerritorioCoordinate40°11′15.8″N 18°12′26.5″E / 40.187722°N 18.207361°E40.187722; 18.207361 (Soleto)Coordinate: 40°11′15.8″N 18°12′26.5″E / 40.187722°N 18.207361°E40.187722; 18.207361 (Soleto) Altitudine90 m…

Bloomberg TV IndonesiaDiluncurkan11 Juli 2013Ditutup26 Agustus 2015Pemilikidea dan Bosowa Corp (lisensi nama dari Bloomberg L.P.)SloganMemperkaya AndaNegara IndonesiaBahasaIndonesia dan InggrisKantor pusatThe City Tower Lt. 9, Jalan M.H. Thamrin 81, Menteng, Jakarta PusatSitus webwww.bloombergindonesia.tv Bloomberg TV Indonesia adalah saluran televisi berisi informasi bisnis 24 jam milik PT Idea Karya Indonesia yang pernah tayang dari 11 Juli 2013[1] hingga 26 Agustus 2015. Saluran …

Kuala Lumpur Open 1994 Sport Tennis Data 26 settembre - 2 ottobre Edizione 3a Superficie Sintetico indoor Campioni Singolare Jacco Eltingh Doppio Jacco Eltingh / Paul Haarhuis 1995 Il Kuala Lumpur Open 1994 è stato un torneo di tennis giocato sul sintetico indoor. È stata la 3ª edizione dell'evento, che fa parte dell'World Series nell'ambito dell'ATP Tour 1994. Il torneo si è giocato a Kuala Lumpur, in Malaysia, dal 26 settembre al 2 ottobre 1994. Indice 1 Campioni 1.1 Singolare 1.2 Doppio 2…

هذه مقالة غير مراجعة. ينبغي أن يزال هذا القالب بعد أن يراجعها محرر؛ إذا لزم الأمر فيجب أن توسم المقالة بقوالب الصيانة المناسبة. يمكن أيضاً تقديم طلب لمراجعة المقالة في الصفحة المخصصة لذلك. (مايو 2022) هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة…

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (مارس 2020) ويلي لانجكيت (بالألمانية: Willy Langkeit)‏    معلومات شخصية الميلاد 2 يونيو 1907   بروسيا الشرقية  الوفاة 27 أكتوبر 1969 (62 سنة)   باد برامشتيت  مواطنة ألمانيا&#…

Nicole MainesLahirWyatt Benjamin Maines07 Oktober 1997 (umur 26)Gloversville, New York, Amerika SerikatPekerjaanAktris, aktivis [1]Tahun aktif2015, 2018–sekarangDikenal atasSusan Doe dalam kasus Mahkamah Agung Maine Doe v. Regional School Unit 26SupergirlOrang tuaWayne dan Kelly MainesKerabatJonas Zebediah Maines (kembar identikal) Nicole Amber Maines (lahir 7 Oktober 1997) adalah seorang aktris dan aktivis hak transgender Amerika Serikat.[2][3][4][…

لا يزال النص الموجود في هذه الصفحة في مرحلة الترجمة إلى العربية. إذا كنت تعرف اللغة المستعملة، لا تتردد في الترجمة. (ديسمبر 2019) اليوم الوطنيَ هو اليوم الذي يدل على احتفالاتَ البلاد.[1][2][3] في أغلب الأحيان اليوم الوطني َيَكُونُ عطلة رسمية. اليوم الوطنيَ يُؤْخَذُ في …

مخطوطة القرآن بجامعة برمنجهام مخطوطة للقرآن الكريم مخطوطة القرآن بجامعة برمنغهام. معلومات الكتاب المؤلف الناسخ مجهول البلد موجودة في مكتبة جامعة برمنغهام اللغة عربية تاريخ النشر ~ 645 م التقديم نوع الطباعة برشمان، رق الكتابة الحبر خط حجازي تعديل مصدري - تعديل   جزء من سلسل…

Agricultural or cultural region of the Midwestern United States Grain Belt redirects here. For the beer of the same name, see Grain Belt (beer). Agricultural or cultural region of the United StatesCorn BeltAgricultural or cultural region of the United States2018 production of corn in the United StatesCountry United StatesStates Illinois  Indiana  Iowa  Kansas  Kentucky  Michigan  Minnesota  Missouri  Nebraska  North Dakota  Ohio  S…

لي ستاك معلومات شخصية الميلاد 1868دارجلينغ  الوفاة 20 نوفمبر 1924القاهرة مواطنة المملكة المتحدة لبريطانيا العظمى وأيرلندا  الحياة العملية المهنة ضابط  الخدمة العسكرية الفرع الجيش البريطاني  الرتبة فريق أول  الجوائز  صليب الفارس الأعظم لنيشان الإمبراطورية البري…

Lighthouse in Cornwall, England Not to be confused with Eddystone Point Lighthouse, Tasmania. For the pop group, see Edison Lighthouse. LighthouseEddystone Lighthouse An aerial view of the fourth lighthouse. (The stub of the third lighthouse is visible in the background.)Locationoffshore Rame Head, England, United KingdomCoordinates50°10′48″N 04°15′54″W / 50.18000°N 4.26500°W / 50.18000; -4.26500TowerConstructed1698 (first)1709 (second)1759 (third)1878–1…

Chronic fear of environmental doom Eco-anxiety (short for ecological anxiety and also known as eco-distress or climate-anxiety) is a challenging emotional response to climate change and other environmental issues.[1] Extensive studies have been done on ecological anxiety since 2007, and various definitions remain in use.[2] The condition is not a medical diagnosis and is regarded as a rational response to the reality of climate change; however, severe instances can have a mental …

Ship of the line of the French Navy For other ships with the same name, see French ship Juste. Left: America (1788) and right: Juste after her capture in 1794. History France NameDeux Frères NamesakeLouis-Stanislas-Xavier and Charles-Philippe, brothers of Louis XVI BuilderBrest Laid downJuly 1782 Launched17 September 1784 Commissioned1785 RenamedJuste, 29 September 1792 Capturedby the Royal Navy, 1 June 1794 Great Britain NameJuste Acquired1 June 1794 FateBroken up in 1811 General characteristi…

Prussian religious denomination For other uses, see Old Lutheran Church. Part of a series onLutheranism Background Christianity Start of the Reformation Reformation Protestantism Doctrine and theology Bible Old Testament New Testament Creeds Apostles' Creed Nicene Creed Athanasian Creed Book of Concord Augsburg Confession Apology of the Augsburg Confession Luther's Small / Large Catechism Smalcald Articles Treatise on the Power and Primacy of the Pope Formula of Concord Distinctive theo…

Naming customs in the Philippines Philippine name redirects here. Not to be confused with Names of the Philippines. This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Filipino name – news · newspapers · books · scholar · JSTOR (June 2014) (Learn how and when to remove this message) Filipinos have various naming cu…

Military position in Latvia Commander of the Joint HeadquartersLatvijas Nacionālo bruņoto spēku komandierisIncumbentLieutenant General Leonīds Kalniņšsince 27 January 2017Latvian National Armed ForcesMember ofThe Joint HeadquartersReports toMinistry of DefenceWebsitemil.lv The Commander of the Joint Headquarters is Chief of the Latvian National Armed Forces and the national defence organisations. List of Chiefs Armed Forces Commander (1919–1940) No. Portrait Armed Forces Commander T…

Biografi tokoh yang masih hidup ini tidak memiliki referensi atau sumber sehingga isinya tidak dapat dipastikan. Bantu memperbaiki artikel ini dengan menambahkan sumber tepercaya. Materi kontroversial atau trivial yang sumbernya tidak memadai atau tidak bisa dipercaya harus segera dihapus.Cari sumber: Mike Tramp – berita · surat kabar · buku · cendekiawan · JSTOR (Pelajari cara dan kapan saatnya untuk menghapus pesan templat ini) Mike TrampLahirMichael Tr…

This list is incomplete; you can help by adding missing items. (June 2022)This is a dynamic list and may never be able to satisfy particular standards for completeness. You can help by adding missing items with reliable sources. A Watt steam engine in Madrid. The development of the steam engine propelled the Industrial Revolution in Britain and the world. The steam engine was created to pump water from coal mines, enabling them to be deepened beyond groundwater levels. The term revolution is use…