User:IssaRice/Computability and logic/Diagonalization lemma: Difference between revisions
| Line 10: | Line 10: | ||
Let <math>A</math> be a formula with one free variable. Then there exists a sentence <math>G</math> such that <math>G</math> iff <math>A(\ulcorner G\urcorner)</math>. | Let <math>A</math> be a formula with one free variable. Then there exists a sentence <math>G</math> such that <math>G</math> iff <math>A(\ulcorner G\urcorner)</math>. | ||
Define <math>\mathrm{diag}(x)</math> to be <math>\ulcorner C(\ulcorner C\urcorner)\urcorner</math> | 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). | ||
Revision as of 02:12, 8 February 2019
Rogers's fixed point theorem
Let be a total computable function. Then there exists an index such that .
Diagonalization lemma
(semantic version)
Let be a formula with one free variable. Then there exists a sentence such that iff .
Define to be where . In other words, given a number , the function finds the formula with that Godel number, then diagonalizes it (i.e. substitutes the Godel number of the formula into the formula itself).