Jump to content

Talk:Gödel numbering

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Talk:Gödel number)

Moved

[edit]

Should this article more properly be moved to "Gödel number", or are the numbers better known by the "phonetic" form?


Wouldn't it make more sense to have both this and Goedel number just redirect to Gödel's incompleteness theorem? -- John Owens 11:15 Apr 9, 2003 (UTC)


Note that the exact form of the Gödel number encoding is unimportant: there just needs to be a 1:1 mapping between local statements and manipulable expressions such as integers. You can do clever stuff with arithmetic, or you can just follow Chaikin and use Lisp S-expressions -- The Anome 23:48 15 Jul 2003 (UTC)

John - you may well be right. But in defense of a separate article, I thought there could be a place for a slightly less formal article on this topic. Gödel lite, as it were. I personally struggled to grasp the technical side of the argument (as expert readers can no doubt tell(!)), and I hoped that other people like me might appreciate a practical demo along these lines. Anome - A paragraph along these lines at the end could be a good idea. I guess it's worth pointing out the difference between a single instantiation like this, and the mathematician's quest for a general exposition. Wikid 06:24 16 Jul 2003 (UTC)

Another thought - we could re-name this page Gödel numbers - demonstration, and link to it from the Gödel's incompleteness theorem article, while redirecting Gödel number to the main article as John suggests. I'll leave that decision to the meta-mind. Wikid 08:33 16 Jul 2003 (UTC)

Anome is correct, there are a number (infinite?) of different mappings that are possible for use in Gödel's proof. I believe Gödel's original numbering system, however, used prime numbers taken to different powers to differentiate between variables, sentential variables and predicate variables. The mapping currently demonstrated in the article only works for encoding symbols and formulas but not sequences of formulas, a necessary characteristic for Gödel's proof. --128.253.167.158 18:13, 24 Oct 2004 (UTC)

Godel's original used only 7 elementary operators and assigned primes, squared primes, and cubed primes to the 3 variables u listed respectively above - at least according to E. Nagel in Gödel's Proof, which is where you probably got your info. from in the first place. I actually have Godel's original paper onhand but have never really read more than the introduction. It uses a lot of outdated terminology and symbolism.
Anyway, the numbering method used in this wiki article is capable of coding sequences of formulae, so I'm not sure why you thought otherwise. Why did you? Because it isn't explicitly stated? Nortexoid 08:17, 4 Nov 2004 (UTC)


What the article explicitly states is that

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 strings [of symbols].

yet in every example given, it is a sequence of symbols that the final sequence of numbers represents. So it is a little confusing… Included in Godel’s class of formulas are sequences of formulas too. — Preceding unsigned comment added by 75.82.51.192 (talk) 22:29, 21 May 2012 (UTC)[reply]

What does the DA before GN is idiomatic mean ?

I have put the

In mathematics and computer science

at the start of the article because I thought you deleted my previous edit because it was to specific. What is formal number theory ? I am not sure what fields of study to use in the introduction. I know Gödel numbers are used in the proof of the incompleteness result and in computability theory. So I think it is perhaps best to use mathematical logic and theoretical computer science. More specific terms are probably useless in an introduction as most people dont know what they refer to.MathMartin 14:52, 11 Nov 2004 (UTC)

Formal number theory is essentially propositional logic with peano arithmetic and/or any extension thereof. The domain is the natural numbers (or (0 and) the positive integers). It is also known as simply 'arithmetic' - i.e., theories closed under addition and multiplication in which the naturals can be constructed.
GN cannot be performed in all of mathematics or computer science. It doesn't make any sense to say "In mathematics and computer science, GN is..." because you cannot perform GN in numerous branches of mathematics - i.e. you cannot perform GN in the theory of real closed fields because you cannot define the naturals. I am reverting again to formal number theory, and I hope I have made myself clear as to why. If not, we'll need to talk about it in the article's discussion page. I don't see why we should need to, though.
The thing about the DA before GN was a mistake. I meant the indefinite article, not the definite article (DA), which is the word 'a'. It is more idiomatic to say "...is called a GN." vs. "...is called GN.". Cheers, Nortexoid 05:19, 12 Nov 2004 (UTC)
Formal number theory may be the correct term to use, but the term is too specific. Most people will have no idea what you are talking about (e.g. myself). So I think it is better, even if slightly incorrect, to use more generic fields like mathematics and computer science. The first sentence should serve as a introduction for the reader, and set the context for the rest of the page. After reading the first sentence most readers, even non-mathematicians (remember this is wikipedia and not mathworld) should have a rough idea what we are going to talk about. As I wrote in my edit summary I have no intention to start an edit war, so I will leave the article as is.I just wanted to voice my concerns. MathMartin 06:01, 12 Nov 2004 (UTC)
The term is actually not specific at all, though it is accurate. It is not as general as mathematics, but it is far more informative. If I said, "what subject do you think formal number theory falls in?" to a non-mathematician, I'm sure they'd be able to respond "mathematics". So it is more specific and informative than 'mathematics' while obviously implying the subject matter to be mathematics. There is a fine line between targeting a broader audience and being as accurate as possible without being overly specific. I think 'formal number theory' is a happy medium. If I were to consider a runner-up, it would be your previously proposed 'mathematical logic'. Both seem fine to me. I used 'formal number theory' because it is popular in the literature (see Kleene, Mathematical Logic, 1967). Nortexoid 07:36, 12 Nov 2004 (UTC)

Negation

[edit]

x, ¬R(v,x) Can also be interpeted to mean "The negation of a proposition of type v can be proved", yielding:

x=(0,1,¬, ask)
R(0,0)=¬0 = ask 1
R(1,1)=(¬0)0 = ask 0
R(1,0)=0
R(0,1)=1

Hackwrench 04:29, 12 November 2005 (UTC) (Still flawed, but have to include , shiftleft, shiftright, and [reply]

I'm trying to figure out why certain pages aren't rendering a TOC Hackwrench 04:47, 12 November 2005 (UTC)[reply]

Requesting equivalent statement for Intentionally blank page

[edit]

I do not know much in the way of number theory, but it appears that Godel numbering is what is needed to construct a mathematical equivalent to the usage of the phrase "This page intentionally blank" on blank pages. It is self-refuting, in that it falsifies itself by its very existence on the page in question. — BRIAN0918 • 2005-12-4 17:47


Injective map

[edit]

Shouldn't Gödel mapping be defined as an injective mapping? Though injectiveness is implied by the fact that reference is made to the mapping's inverse (which doesn't exist for non-injective maps), I think injectiveness should be stated explicitly.


Informal proof doesn't make sense

[edit]

I don't understand the formal account of the proof. Surely the first statement in fact means simply "v cannot be proved"? Where does this "type" thing come into it?

Then does not the next statement say "it cannot be proved that v cannot be proved"? Which doesn't condense into anything, I don't see how the "v" can disappear out of the equation. It seems to say nothing more than that "v" is undefined, which seems reasonable, since we didn't define it (although just because a statement says something doesn't make it true).

82.41.211.70 22:18, 25 April 2006 (UTC)A.W.[reply]

I agree--the sketch here doesn't seem correct. I don't believe you can construct the required sentence using the R defined here--you need a statement form that describes self-unprovability, not just provability. The proof sketch in Godel's incompleteness theorem is more accurate. --Rictus 20:21, 2 September 2006 (UTC)[reply]

There shouldn't be a proof of the undecidability theorem here anyway. This article is linked from several articles on computation theory, and anyone following the links is going to be horribly confused as the discussion gets into needless detail on Gödel's own application and says nothing about the connection between numberings and programming languages. Gazpacho 08:24, 27 September 2006 (UTC)[reply]

Confusing

[edit]

I'm not convinced that the {{confusing}} notice is helpful, nor that this article belongs in Category:Wikipedia articles needing clarification which is the result of this tag.

Certainly the subject is a confusing one, particularly to non-specialists. Even many specialists are still trying to figure out exactly what the consequences are, both for Mathematics and for Formal logic. I'm not familiar with the consequences for computing, I even wonder whether that's at least partly an urban myth, based on the (misleading IMO) connections to Alan Turing and Turing machines.

But if the subject is a newsy and confusing one on which many are already misinformed before they come here, that's not the fault of the article.

What are the specific ways in which the article can be improved? Bear in mind that if it were to make this subject look simple to a non-specialist, that would be very good evidence that the article was then inaccurate. Andrewa 20:33, 24 October 2006 (UTC)[reply]

The tag was removed without comment here. Either someone agrees with me, or they feel that the confusing material has been removed.

Please, if you tag an article, give us some idea why you are tagging it. Andrewa 04:28, 7 September 2007 (UTC)[reply]

Definition

[edit]

The current definition (without the vandalism) is nonsense. Does anybody have a definition that satisfies these characteristics?

  • Correct
  • More general than just formulas of an effective first-order language
  • Used in print

I would remove the Definition section and replace it with a discussion of the various specific settings where the phrase is used. CMummert 20:14, 7 December 2006 (UTC)[reply]

I agree with Carl here. As far as I'm aware, there is no agreed abstract definition of what a Gödel numbering is in general, mainly because the need for such a definition has never been felt. Ordinarily one doesn't treat Gödel numberings in general, so why bother to define them in general? That's not to say someone hasn't published a general definition of "Gödel numbering", but unless that definition is in common use (which it certainly isn't), it shouldn't be presented here as the default. --Trovatore 03:59, 7 January 2007 (UTC)[reply]

History

[edit]

It may be helpful to relate the history for the Gödel numbering concept for the readers, such as its use in Georg Cantor's transfinite numbers, in Gödel's theorems, and in Church's expositions. --Ancheta Wis 06:06, 13 January 2007 (UTC)[reply]

Note that Christine Ladd-Franklin, in 1881, presaged the concept. --Ancheta Wis (talk) 11:32, 29 June 2011 (UTC)[reply]

Example

[edit]

Ok, let's use base-4 mapping: 'x' => 0, 'n' => n 1s, '+' => 2, '=' => 3 The formula F(x)=x+1 will be encoded by sequence 0, 2, 1 or number 1204 or in decimal notation= 1*42+ 2*41 + 0*40 = 16 + 8 = 2410=#F. Here #F is the number of the form F(x). The statements are derived by inserting constant numbers instead of x in the form. For instance #F(1) would be 25 and #F(2) would be 1*43+2*42+ 1*41 + 1*40. Generally, the number of the statement for constant n will be

.

Now, I want to get the Gödel number for the statement F(n=#F). However, the equation

have no solutions in natural numbers! So, the Gödel number depends on encoding and may be irrational or not exist if encoding is wrong. What is the proper encoding? Getting the number I want to decode it and look at the statement F(#F). --Javalenok 16:22, 15 January 2007 (UTC)[reply]

Rebecca Goldstein (2005), Incompleteness ISBN 0-393-05169-2 uses base 10: pp.172-3
Basic sign Gödel number meaning
~ 1 not
2 if .. then ..
x 3 variable
= 4 equals
0 5 zero
s 6 successor of
( 7 l-paren
) 8 r-paren
' 9 prime

--Ancheta Wis 00:07, 16 January 2007 (UTC)[reply]

Can you give the Gödel number G=#F(#F) for F(x)=~x? The [] tells that the Gödel number for the Gödel sentence is 'precisely defined'. How do they derive it if the provability predicate P is not known? --Javalenok 10:21, 16 January 2007 (UTC)[reply]

From a non-expert

[edit]

I am a music theorist with an interest in logical systems. From a layperson's perspective our English page is woefully inadequate on this topic. "Goedel lite" is not very helpful even if the mapping concept is properly conveyed. For more useful articles on this topic, see the German and Chinese versions.

68.19.242.28 07:50, 25 April 2007 (UTC)[reply]

Do you read those languages? Can you convey to other editors what might be useful to add? The essential idea of mapping concepts to counting numbers is already in the article. --Ancheta Wis 10:57, 25 April 2007 (UTC)[reply]
Perhaps we could appeal to the relevant Wikipedia embassies to give us, perhaps not a complete translation, but some idea of what the content of the other articles is. I'm not inclined to, but it's an idea. Hmmm, German, English, Chinese, formal logic, music... an interesting combination. Andrewa 04:58, 7 September 2007 (UTC)[reply]
By Chinese, I assume you mean the article at zh:哥德尔数. There's also one at zh-yue:Gödel號數 in Cantonese, but it's very short. Andrewa 03:59, 8 September 2007 (UTC)[reply]

The German article at de:Gödelnummer is also short, but it does look in some (not all) ways a better article than ours. Ours rambles and speculates. The German article, by comparison, has only the following sections:

  • Formal definition
  • Example
  • Gödel numbering of zahlentheoretischen Aussagen (which Babelfish translates as pay-theoretical statements but I think may mean well-formed formulas or number theory proofs or something like that - that's what should be there)
  • Gödel numbering of Turing machines
    • Example
  • see also

I speak no German to mention, but even I can tell it's not a perfect article in German. But food for thought, and they do have the advantage that much of Gödel's work on this was originally published in German. Andrewa 04:33, 8 September 2007 (UTC)[reply]

Add Simple Example(s)

[edit]

Why not add a simple example or two near the beginning. Assign numbers to symbols as in one of the comments below and do a formula-to-number and a number-to formula example.

~reader —Preceding unsigned comment added by 207.195.244.207 (talk) 18:51, 6 September 2007 (UTC)[reply]

I fear that this would just look silly. The whole idea of Gödel numbers is fairly esoteric. You need to know quite a lot of mathematics before you'd have the slightest clue that they were useful. The things that they are used to prove seem nonsensical to the uninitiated.
I'm not trying to be elitist here. But you wouldn't try to define just intonation in a way that would make sense to someone who doesn't know what a musical scale is. I feel that some of the edits to this article, while I hope well-intentioned, are equally misguided.
The problem is, Gödel's incompleteness theorems are fascinating to the uninitiated, so we do need to do our best. But we musn't stray into inaccuracy for the sake of simplicity. It's not a simple topic.
My advice is, be aware that many who do come here do not have the understanding needed to make sense of what they read, but will acquire it, and among those who struggle hardest at this may be the next Einstein or Heisenberg, both of whom struggled famously with the tensor calculus that undergirded their most famous work. So for the sake of these strugglers, I commend all those struggling with this article. Andrewa 04:47, 7 September 2007 (UTC)[reply]

Very different meaning?

[edit]

Current article reads There is a very different meaning of the term Gödel numbering relating to numberings of the class of computable functions. I think (if this is true) that we should find this meaning and include it in the article. Andrewa 04:14, 7 September 2007 (UTC)[reply]

I followed the links you highlighted and discovered that the keyword assignment occurs in the all of the supposedly 'different' meanings. What was intriguing to me was the idea that a 'computation' might be replaced by an 'assignment' in the sense of a telephone switchboard operator, who would physically connect a conductive plug into a socket. Thus we will have come full circle in the history of computing hardware where telephone operators were replaced by computerized telephone switches, right back to a condition where selection of one element from a set of answers is a 'computation'; the difficulty is that you need a 'recognizer' to figure out how to make the selection. That's probably the reason there was no citation for the statements made in the linked articles. The statements don't stand up. There is no current theory of recognition for such a recognizer of an answer in some requested computation. If you already knew the answer, you wouldn't need to ask the question. If you didn't know the answer and the telephone switch connected to a wrong number you still would be stuck; we would still have the Wikipedia conundrum -- how do you know an answer is right, unless you already know the answer?
To follow-up with the encoding analogy, a telephone number is a code for a person. Dial the number and talk to the person. We do not yet have a technology to connect remotely with another person without that code. There are technologies such as the content-addressable memory where the name of a 'person' connects you right to the 'person' without the code, but the idea has been around for over 30 years with no commercial product in sight, for the moment. --Ancheta Wis 09:46, 7 September 2007 (UTC)[reply]
I'm afraid I don't think any of that has much to do with Gödel numbering. The only use I know of these numbers is to establish that things such as solutions to the halting problem don't exist. They have no practical application, only this theoretical use in indirect proof. The general approach is to establish a contradiction by assuming that something does exist, and then showing that this means that it both does and doesn't have a Gödel number. I fear that these other applications aren't Gödel numbers at all. Happy to be proved wrong, that means I learn something. Andrewa 02:44, 8 September 2007 (UTC)[reply]
Based on this I am commenting out said statement in the article. --Ancheta Wis 03:02, 8 September 2007 (UTC)[reply]

Another different meaning

[edit]

There's an article at Gödel numbering for sequences which has only one principle author, no links to other languages, no talk page yet, notes which give some sources (but nothing online unless you read Hungarian) but no other citations, and reads to me very much like original research. It may be the cause of some of the confusion here. Other comments? Andrewa 04:43, 8 September 2007 (UTC)[reply]

Thanks for the link. My heart warmed as I read the article, which is clear, easy to read, has citations, and uses standard concepts such as the integer sequence. What came to mind immediately is a useful coding system promulgated by AT& T Research [online encyclopedia of integer sequences] which shows clearly that codes, of which a Gödel code (a redirect to this article) is an example, are arbitrary in spite of being well defined. My inclination is to let the article live in peace in the encyclopedia. We need more like it, in my opinion. --Ancheta Wis 09:02, 8 September 2007 (UTC)[reply]
Here is a poster for the OEIS, which has over 130,000 sequences at the moment. See the article: On-Line Encyclopedia of Integer Sequences --Ancheta Wis 09:24, 8 September 2007 (UTC)[reply]
I'm familiar with OEIS. But what has this to do with Gödel numbering? Andrewa 03:00, 9 September 2007 (UTC)[reply]
Only Gödel's use of natural numbers as a code, and the use of the codes of OEIS to denote sequences of natural numbers. --Ancheta Wis 10:38, 9 September 2007 (UTC)[reply]
OK. I'm unconvinced, but I don't intend to take it any further. Mainly I just wanted some other people to have a look at the issues I raised. Glad you like the article. Andrewa 00:36, 11 September 2007 (UTC)[reply]

Infinity

[edit]

Note that K is infinite in ordinary maths. For instance, there are infinitely many Mathieu functions. —Preceding unsigned comment added by 87.194.34.71 (talk) 12:49, 14 July 2009 (UTC)[reply]

The example presented there is about base-K numbers. That does not make sense unless K is finite. There are other examples that would work with an infinite number of basic symbols. For example, the one originally used by Gödel and presented in the first section. — Carl (CBM · talk) 13:20, 14 July 2009 (UTC)[reply]

Move to Gödel numbering?

[edit]

This article is currently called Gödel number, but it seems to be completely about Gödel numbering. A Gödel number is only defined based on an overall Gödel numbering and the fact that a statement has Gödel number 258 is completely meaningless without knowing the Gödel numbering used. Any objections to moving the article? Cheers, — sligocki (talk) 02:21, 9 December 2009 (UTC)[reply]

Alright, done. — sligocki (talk) 09:02, 16 December 2009 (UTC)[reply]

Examples of practical applications?

[edit]

Its very curious to postulate mappings of mathematical statements/objects to numbers, and then to not exclude the possibility of manipulations of equations/statements to correspond to functions on the numbers,... but Id love to see real practical examples of this (the wiki page is more like: hey we can encode, and in theory we can do operations on the encoding,...)

Are their explicit examples of parts of mathematics that are very well served by a canonical godel numbering which displays how certain manipulations/simplifications are reduced to simple algorithms on the godel numbers of their data?

Perhaps skolemnization, or a sensible numbering on a kind of graphs, with corresponding graph manipulations becoming arithmetical on their numbers?

Without examples its just: lets encode y'all! — Preceding unsigned comment added by 83.134.175.183 (talk) 07:28, 21 January 2012 (UTC)[reply]

Moving the good faith contribution here. Discussion welcome

[edit]

03:56, 29 June 2014 (UTC)

There is though a very serious flaw with Godel numbering as it is based on integer factorization. It is impossible to encode the number zero ("0") with the basic theorem of arithmetic used in the encoding as described above.

For example, cyclic or self-referential statements cannot be for one identified easily as this would require solution of the entire sequence of integer numbers obtained for each statement in turn and identification of the closure of a loop (there can indeed be many loops in a logically flawed construct of statements).

Secondly, it is impossible in a straight line, so to speak, to encode an algorithm which in one step produces a result from a single (say) number as input and then the next step is its complete reversal, i.e. from the results of the computation to derive the original input point. The shortcoming arises by the use of the fundamental theorem of arithmetic, i.e. prime factorization, in that it does not contain the zero value.

The shortcoming is due to the fact that any number to the power of zero is set to one, by arbitrary definition of the zero power. Logically, the number of multiplications of a number by itself is what is indicated by an integer power. If it is not multiplied at all, say x to the zero power, the result should be zero and not one.

These are just some fundamental direct flaws with the so called Incompleteness Theorems. The other serious flaw is the consideration of "closure" or "independence" of the axioms comprising and axiomatic space to begin with.

! There is though a very serious flaw with Godel numbering as it is based on integer factorization. It is impossible to encode the number zero ("0") with the basic theorem of arithmetic used in the encoding as described above.

For example, cyclic or self-referential statements cannot be for one identified easily as this would require solution of the entire sequence of integer numbers obtained for each statement in turn and identification of the closure of a loop (there can indeed be many loops in a logically flawed construct of statements).

Secondly, it is impossible in a straight line, so to speak, to encode an algorithm which in one step produces a result from a single (say) number as input and then the next step is its complete reversal, i.e. from the results of the computation to derive the original input point. The shortcoming arises by the use of the fundamental theorem of arithmetic, i.e. prime factorization, in that it does not contain the zero value.

The shortcoming is due to the fact that any number to the power of zero is set to one, by arbitrary definition of the zero power. Logically, the number of multiplications of a number by itself is what is indicated by an integer power. If it is not multiplied at all, say x to the zero power, the result should be zero and not one.

These are just some fundamental direct flaws with the so called Incompleteness Theorems. The other serious flaw is the consideration of "closure" or "independence" of the axioms comprising and axiomatic space to begin with.


Moved the contribution here. Ancheta Wis   (talk | contribs) 03:54, 29 June 2014 (UTC)[reply]

Discussion welcome

Further Reading

[edit]

Tried to follow the link to 'Visualising...' but was told that access was not authorised (university site). I have replaced the link with one to the same article on the author's blog - though this link may be less long-lived it is accessible. However the actual article is pretty technical and only refers to Gödel numbering in passing, so maybe the link should be removed entirely - since guidelines suggest: "Links in the "External links" section should be kept to a minimum." --Armulwp (talk) 23:15, 6 January 2017 (UTC)[reply]

Uniqueness – or not?

[edit]

The German article de:Gödelnummer states, in its first sentence, the opposite of Lack_of_uniqueness. Which is true? ◀ Sebastian 11:40, 28 April 2020 (UTC)[reply]

Both are true: Being a function, a Gödel numbering assigns to every formula a unique natural number (cf. also the English lead). However, there are many such functions (this is meant in Lack_of_uniqueness). - Jochen Burghardt (talk) 13:44, 28 April 2020 (UTC)[reply]
Thanks. Now that you wrote this I realize that the second part of the sentence says that clearly. The problem was in the first part, which is obviously meant to state the same more concisely, but leaves an ambiguity, if taken by itself. The root of that ambiguity is in the definition of the lemma: Does the term “Gödel numbering” refer to the general method, or to one particular choice of numbering? The first sentence of the article suggests the latter, but the phrasing “A Gödel numbering” in the section in question suggests the former. This could be mitigated by leaving out the article “A”, which, according to our article, suggests “a general statement about any such thing”. ◀ Sebastian 13:14, 11 May 2020 (UTC)[reply]
 Done - I hope it is better now. - Jochen Burghardt (talk) 15:01, 11 May 2020 (UTC)[reply]