2.1. Introduction to Gödel Numbering [1]
Theorem 2.2
Gödel numbering assigns a unique natural number (called a Gödel number) to every well-formed expression in a formal system. This is achieved through a one-to-one mapping that ensures each formula or sequence has a distinct numerical representation. The key insight is that by using properties of prime numbers and factorization, the system can encode complex logical structures into integers, which can then be manipulated arithmetically within the formal system itself.
Step-by-Step Mechanics
The encoding process involves the following steps:
Assign a unique prime number to each primitive symbol in the formal alphabet. For instance:
Logical connectives like “¬” (negation) might be assigned 2.
Variables like “x” could be assigned 3.
Quantifiers like “∀” (universal quantifier) might get 5.
Parentheses or other delimiters receive distinct primes (e.g., “(“ = 7, “)” = 11).
This ensures all symbols have unique identifiers
- (2)
Formula Encoding:
Consider a formula φ composed of a sequence of symbols: s₁, s₂, ..., sₖ.
The Gödel number of φ, denoted ⌈φ⌉, is calculated as:
⌈φ⌉=pc(s₁)₁×pc(s₂)₂ ×…pc(sₖ)ₖ
where:
- (1)
pᵢ is the i-th prime number (e.g., p₁ = 2, p₂ = 3, p₃ = 5, ...).
- (2)
c(sᵢ) is the numerical code assigned to symbol sᵢ.
- (3)
Decoding and Properties:
Due to the fundamental theorem of arithmetic (which states that every integer has a unique prime factorization), each Gödel number can be uniquely decoded back into the original symbol sequence.
This bijective mapping ensures that operations on formulas (e.g., concatenation or substitution) can be represented as arithmetic operations on their Gödel numbers.
To construct Formula G [
2], a self-referential statement is formed using Gödel numbering. Specifically, the expression (∀x)¬Dem(x, sub(n, 13, n)) — which asserts that no proof exists for the formula obtained by substituting its own Gödel number into itself — is assigned a unique Gödel number, say n.
Definition 2.3 If we only modify the Formula Encoding in Gödel numbering as follows:
Consider a formula φ composed of a sequence of symbols: s₁, s₂, ..., sₖ.
The Gödel number of φ, denoted ⌈φ⌉, is calculated as:
⌈φ⌉=pc(s₁)₁×pc(s₂)₂ ×…pc(sₖ)ₖ
where:
pᵢ is the (i+1)-th prime number (e.g., p₁ = 3, p₂ = 5, p₃ = 7, ...).
c(sᵢ) is the numerical code assigned to symbol sᵢ.
This constructs Formula H replace Formula G.
Definition 2.4 In Gödel’s incompleteness theorems, it is entirely possible to construct undecidable formulas using numerical variables other than x (such as y, z, k, etc.).
P(M): A set containing Formula G and related formulas
P(N): A set containing Formula H and analogs
Peano Arithmetic is denoted as X.
P(M) is defined as one extension of X, and P(N) as another.
To construct Formula G , the numerical variable y is associated with prime number 13, and the formula (∀x)¬Dem(x, sub(n, 13, n)) is associated with the unique number n.
Proof 2.5 If Formula G is denoted by (13, n) or (13, G₁), then we can define a sequence of denotations for formulas in P(M) as follows: (13, G₁), (17, G₂), (19, G₃), ..., (Pₖ, Gₖ), and similarly for P(N):(13, H₁), (17, H₂), (19, H₃), ..., (Pₖ, Hₖ) .
Define a non-equivalent transformation in the following way:
X₁=13+0, Y₁=G₁+S₁, Z₁=H₁+O₁
X₂=17+0, Y₂=G₂+S₂, Z₂=H₂+O₂
..,
Xₖ=Pₖ+0, Yₖ=Gₖ+Sₖ, Zₖ=Hₖ+Oₖ
(K is an even)
S₁∈N⁺,S₂∈N⁺,..,Sₖ∈N⁺
O₁∈N⁺,O₂∈N⁺,..,Oₖ∈N⁺
Definition 2.6 Define sequence G: G contains the elements a₁, a₂, ..., aₖ. The ordering of the elements in G is a₁, a₂, ..., aₖ.
a₁=X₁+Y₁i
(Y₁i indicates that Y₁ is the value of the imaginary part of the complex number a₁)
a₂=X₂+Y₂i
..
aₖ=Xₖ+Yₖi
Define the group H: H contains the elements b₁, b₂, ..., bₖ. The ordering of the elements in H is b₁, b₂, ..., bₖ.
b₁=X₁+Z₁i
(Z₁i indicates that Z₁ is the value of the imaginary part of the complex number b₁)
b₂=X₂+Z₂i
..
bₖ=Xₖ+Zₖi
Assign all elements in group G to subgroup G-A and subgroup G-B using a specific random allocation method Y, ensuring that the number of elements in subgroup G-A is equal to the number of elements in subgroup G-B.
Using the same allocation method Y, assign all elements in group H to subgroup H-A and subgroup H-C, so that the number of elements in subgroup H-A is equal to the number of elements in subgroup H-C.
We can employ different allocation methods.
When the absolute value of the difference between the sum of the imaginary parts in subgroup H-C and that in subgroup H-A is the maximum value (denoted as m₁) or the minimum value (denoted as m₂), and this maximum m₁ (or minimum m₂) is unique among all possible allocation schemes, we denote this allocation method as K (for the maximum case) or K* (for the minimum case), respectively.
Allocation method K (or K*) must also satisfy the following conditions:
1. When allocation is performed using method K (or K*), the absolute value n₁ of the difference between the sum of the real parts in subgroup G-B and subgroup G-A, or equivalently the absolute value of the difference between the sum of the real parts in subgroup H-C and subgroup H-A, must be unique and neither a maximum nor a minimum.
2. When allocation is performed using method K (or K*), the absolute value n₂ of the difference between the sum of the imaginary parts in subgroup G-B and subgroup G-A must be neither a maximum nor a minimum.
Finding allocation method K can be achieved using bubble sort. Since bubble sort is a polynomial-time algorithm, it is a problem in class P.
Definition 2.7 Proposition P(a) is formulated as: What allocation method can be used to make the absolute value of the difference between the sum of the imaginary parts in subgroup H-C and that in subgroup H-A reach the maximum value m₁ or the minimum value m₂?
Proposition P(b) is formulated as:Under what allocation method K is the absolute value n₁ of the difference between the sum of the real parts in subgroup G-B and subgroup G-A determined?
If Peano Arithmetic is expressed as X, then proposition Q is expressed as proposition P(b), and P(b) Non-Deterministic Polynomial solvable problem.
If Peano Arithmetic is expressed as proposition P(N), then proposition Q is expressed as proposition P(a), and P(a) is a polynomial-time solvable problem.
Thus P(a) is a P non-equivalent transformation of P(b), and P(b), is an NP non-equivalent transformation of P(a). That is, the relationship between P(a) and P(b) is neither P = NP nor P ≠ NP.