User:IssaRice/Computability and logic/Diagonalization lemma: Difference between revisions

From Machinelearning
Line 11: Line 11:


Define <math>\mathrm{diag}(x)</math> to be <math>\ulcorner C(\ulcorner C\urcorner)\urcorner</math> where <math>x = \ulcorner C\urcorner</math>. In other words, given a number <math>x</math>, the function <math>\mathrm{diag}</math> finds the formula with that Godel number, then diagonalizes it (i.e. substitutes the Godel number of the formula into the formula itself), then returns the Godel number of the resulting sentence.
Define <math>\mathrm{diag}(x)</math> to be <math>\ulcorner C(\ulcorner C\urcorner)\urcorner</math> where <math>x = \ulcorner C\urcorner</math>. In other words, given a number <math>x</math>, the function <math>\mathrm{diag}</math> finds the formula with that Godel number, then diagonalizes it (i.e. substitutes the Godel number of the formula into the formula itself), then returns the Godel number of the resulting sentence.
Let <math>B</math> be <math>A(\mathrm{diag}(x))</math>, and let <math>G</math> be <math>B(\ulcorner B\urcorner)</math>.

Revision as of 02:16, 8 February 2019

Rogers's fixed point theorem

Let f be a total computable function. Then there exists an index e such that φeφf(e).

Diagonalization lemma

(semantic version)

Let A be a formula with one free variable. Then there exists a sentence G such that G iff A(G).

Define diag(x) to be C(C) where x=C. In other words, given a number x, the function diag finds the formula with that Godel number, then diagonalizes it (i.e. substitutes the Godel number of the formula into the formula itself), then returns the Godel number of the resulting sentence.

Let B be A(diag(x)), and let G be B(B).