2

Recently, I was studying Gödel's incompleteness theorems, and I came across a theorem that was stated as: "All recursive functions and predicates are arithmetically definable". It used induction to prove the theorem. While, as we know recursive functions are built up from projection functions, constant-0 functions, the successor function using composition, primitive recursion and minimization. The proof used projection, zero and successor functions as base cases, and then went on to use composition, primitive recursion and minimalization as inductive cases.

But, what about the set of prime numbers? Is the set of prime numbers arithmetically definable? If yes, how can it be proved? And when I say arithmetically definable, I mean this.

Asaf Karagila
  • 393,674

1 Answers1

7

Easily.

What does it mean to be a prime number? It means that:

  1. You are greater than $1$, and
  2. Every proper divisor is $1$.

The first property can be simply stated as $x>1$ or $x>S0$, if $1$ is not in your language. Here $S$ is the unary successor function.

The second property is slightly more complicated, for that we will first note that $k$ is a proper divisor of $n$ if and only if: $k<n$ and there exists $m$ such that $k\cdot m=n$. You can even say that $m<Sn$ as well, that will be important later on.

So to state the second property we say that $\forall k(k<x\land\exists m(k\cdot m=x)\rightarrow k=S0)$.

Now the conjunction of the two properties gives you exactly the property "$x$ is a prime number".

Asaf Karagila
  • 393,674