I looked into some YouTube videos and got a simple idea about Gödel numbering and Chinese remainder theorem separately... But can't see how to use them as one. Wikipedia giving a way or may be it's an explanation... any way I didn't get what's it's saying.
If anybody can give a brief explanation about Gödel numbering and Chinese remainder theorem and how to use them together, it would be really helpful.
Cheers!!!
I think you're confusing two different methods for representing a finite sequence of natural numbers, which are often explained together because both originated in Gödel's 1931 paper that proved the Incompleteness Theorem:
Gödel numbering represents a sequence $(a_1,a_2,a_n,\ldots,a_n)$ by the single number $$ 2^{a_1}\cdot 3^{a_2}\cdot 5^{a_3}\cdot 7^{a_4} \cdots p_n^{a_n} $$ Gödel's β trick represents the sequence using two numbers $k$ and $m$, such that $$ a_n = k \bmod (m\cdot n+1) $$ The Chinese Remainder Theorem is used to prove that every finite sequence can be represented in this way, if we can find a sufficiently long arithmetic sequence of sufficiently large coprime integers. (Which we can, for example by choosing $m$ as the factorial of the maximum of the largest element and the number of elements of the sequence).
The reason to have two methods of achieving apparently the same result is that they have different advantages that are neccessary for different purposes.
It is not particularly simple to encode a given sequence with the β trick, but as it turns out, we do not actually need to do that -- the trick is almost exclusively used in a context where what we want to show is that the claim "there exists a sequence such that etc etc etc" can be expressed in a particular formal system -- and so all we need is to quantify simultaneously over all $k$ and $m$.