4.6.15 · D1Theory of Computation

Foundations — Church-Turing thesis

2,091 words10 min readBack to topic

This page is the toolbox for Church-Turing thesis. The parent note throws around symbols like , , , "Turing machine", "decidable", "partial function". Here we earn every one of them from zero, in an order where each rests only on the ones before it.


1. Numbers we count with:

Picture it. Not as a formula — as an endless row of dots, one per number, marching right forever.

Figure — Church-Turing thesis

Why the topic needs it. Church–Turing talks about functions on numbers. Before we can say "a function turns numbers into numbers," we need the pile of numbers to turn. That pile is . The row never ends, which is why a machine may sometimes run forever — there is always a next number to try.


2. A function:

Picture it. A box labelled . An arrow of numbers goes in the left, one number comes out the right.

Figure — Church-Turing thesis

Why the topic needs it. The whole thesis is a claim about functions: "every computable function is Turing-computable." So "function" is the noun the entire chapter is about.


3. Total vs partial functions

Picture it. Same box , but now one input arrow goes in and loops back on itself forever — no output ever escapes.

Figure — Church-Turing thesis

Why the topic needs it. The parent says "may never halt — and that is exactly why this class includes partial functions." Without the word "partial," that sentence is noise.


4. Vectors of inputs: and

Why the topic needs it. The base function and every recursion rule use . It's shorthand so the formulas don't drown in commas.


5. The three base functions: , ,

These are the "obviously computable" starting bricks — so simple no one doubts a machine can do them.

Why the topic needs it. The parent's derivation-from-scratch literally starts here. Without , you can't even define addition (Example 1 uses ).


6. Gluing rules: composition

Why the topic needs it. It's closure operation #1 in the parent. It's how small bricks combine into bigger ones.


7. Building loops: primitive recursion (the for loop)

Picture it. A ladder. Rung is given. Each higher rung is built from the one just below using . Because counts down to , the climb always finishes.

Figure — Church-Turing thesis

Why the topic needs it. This is closure operation #2, and Example 1 (addition) is a straight primitive recursion. It gives us guaranteed-halting computation.


8. The unbounded search: minimization (the while loop)

Why the topic needs it. The parent says is "the key": it's the single ingredient that lifts primitive-recursive functions (only for) up to the full -recursive functions (for + while) — which equal the Turing-computable functions. See Mu-Recursive Functions.


9. The Turing machine (the reference picture)

Why the topic needs it. CTT's whole statement is "computable = Turing-computable." The Turing machine is the formal right-hand side of the thesis.


10. Decidable, and its limit: the Halting problem


Prerequisite map

Natural numbers N

Function N to N

Partial functions

Base functions Z S Proj

Composition

Primitive recursion for loop

Minimization mu while loop

Mu-recursive functions

Turing machine

Decidable and Halting

Church-Turing thesis

Read top-to-bottom: counting numbers give us functions; base bricks plus composition plus the two loop-types build the -recursive functions; those equal what a Turing machine computes; and the thesis binds that formal class to the intuitive idea of "algorithm."


Equipment checklist

Self-test: can you answer each before revealing?

What does stand for and what's its picture?
The counting numbers ; an endless row of dots marching right.
Read in plain words.
" is a rule that takes a natural number and returns a natural number"; the points from input-pile to output-pile.
What is a partial function and why must "computable" include them?
A function undefined on some inputs (runs forever there); real programs can loop, so we can't ban them.
What does mean?
A list of inputs ; the arrow-over means "bundle of numbers."
Name the three base functions and what each does.
Zero ; Successor ; Projection returns the -th input.
What does composition let you do?
Chain rules: run helpers on the inputs, feed their outputs into .
Why does primitive recursion always halt?
It's a for loop climbing a ladder of fixed height down to the base case .
Why can -minimization fail to halt?
It's an unbounded while search ; if no works it runs forever, giving a partial function.
What single ingredient separates -recursive from primitive-recursive functions?
Minimization (the unbounded search / while).
In one line, what is a Turing machine?
A tape, a read/write head, finitely many states, and a rulebook of moves.
Why does undecidability of Halting become "universal" under CTT?
CTT equates every algorithm with some Turing machine, so "no TM" means "no algorithm whatsoever."