How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
The Arithmetical Hierarchy and Post's Theorem
1 · Prerequisites
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Decidable, Recognizable, and Enumerable Languages
- Diagonalization and the Halting Problem
- Finite Counting, Factorials and Binomial Coefficients
- Formal Languages, Encodings, and Decision Problems
- Foundations of the Real Numbers for Analysis
- Linear Recurrences and Rational Generating Functions
- Relations, Functions, and Quotients
- Robust Machine Models and Universal Computation
- Sequences and Limits
- The ZFC Axioms and the Basic Set Constructions
- Turing Machines, Configurations, and Computation
2 · Summary
This page relates finite alternations of arithmetic quantifiers to finite iterations of oracle computation. The finite-query lemma is the bridge that keeps the oracle side genuinely finitary, and the final warning distinguishes pointwise convergence from an effective stabilization bound.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Bounded arithmetic formulas
Definition
Work in first-order arithmetic over . A quantifier is bounded when it has the form or , where is an arithmetic term. A formula is bounded when every one of its quantifiers is bounded.
For the normal-form presentation of the arithmetical hierarchy on this page, we also permit an arbitrary primitive-recursive predicate in the sense of Primitive recursive functions as the quantifier-free matrix. This is an additional presentation convention: it does not assert that every primitive-recursive predicate is definable by a bounded formula in the bare first-order language chosen above.
Remarks
Unbounded quantifiers are the displayed leading quantifiers used to measure an arithmetical level; bounded quantifiers do not contribute an alternation.
The classes Sigma_n^0, Pi_n^0, and Delta_n^0
Definition
For , a set is when, for a primitive-recursive predicate , membership has a formula where the quantifiers alternate and is existential for odd . It is when its complement is , equivalently when the display begins universally. Put
Bounded quantifiers in are allowed under the convention of Bounded arithmetic formulas.
Bounded quantifiers preserve primitive recursiveness
Statement
If is primitive recursive and is primitive recursive, then each relation is primitive recursive.
Facts & Assumptions
Given: primitive-recursive and .
Proof
Let be the - characteristic function of . The bounded sum is primitive recursive by primitive recursion and composition.
The existential relation has characteristic test . Likewise is primitive recursive and equals exactly for the universal relation, including the empty product case.
Sigma_1^0 sets are exactly the computably enumerable sets
Statement
For , is if and only if is computably enumerable (recognizable).
Facts & Assumptions
Given: a subset of .
Proof
If with primitive recursive, search and halt on the first true value. This recognizes exactly .
Conversely, a recognizer has a finite halting computation exactly on its positive inputs. Its coded history gives an existential witness whose validity is primitive recursive, so has a definition.
Delta_1^0 sets are exactly the decidable sets
Statement
A set of natural numbers is if and only if it is decidable.
Facts & Assumptions
Given: a set .
Proof
If is , both and its complement are and hence recognizable. Dovetail their recognizers; exactly one accepts, yielding a decider for .
If is decidable, both and its complement are recognizable, hence both are . Therefore .
Prenex normalization preserves the arithmetical level
Statement
Negating a formula produces a formula, and finite conjunctions and disjunctions of formulas in one of these classes can be put in prenex form in that same class (after harmless repeated-quantifier padding). Thus negation interchanges the two classes, while positive Boolean combinations preserve either class.
Facts & Assumptions
Given: finitely many formulas, or finitely many formulas.
Proof
Push negations through the displayed prefix. Each changes to and conversely; the negated primitive-recursive matrix is again primitive recursive.
Rename bound variables and merge equal-polarity blocks. Conjunction and disjunction distribute through adjacent like quantifiers, and shorter prefixes are padded by vacuous like-polarity quantifiers. Thus the leading polarity and at most alternations are retained.
Completeness at an arithmetical level
Definition
Fix the canonical binary-numeral encoding , and write . For , write when by a total computable string function in the sense of Computable many-one reductions between languages.
For , is -complete when and every with satisfies . Define -completeness identically with in place of .
The halting set is Sigma_1^0-complete
Statement
For a fixed acceptable numbering, is -complete.
Facts & Assumptions
Given: an acceptable numbering and a set .
Computably enumerable sets are exactly the sets (Sigma_1^0 sets are exactly the computably enumerable sets).
Acceptability supplies a total computable hard-wiring function (Universal and acceptable numberings).
Proof
The universal partial function is partial computable. Its halting domain is computably enumerable, and hence is by Sigma_1^0 sets are exactly the computably enumerable sets.
Write with primitive recursive. There is a partial computable two-argument procedure which, on parameters , searches for and halts exactly when ; it ignores . The hard-wiring function supplied by acceptability gives, uniformly and totally computably in , an index for the corresponding one-argument procedure.
Therefore exactly when . After the fixed binary encodings from Completeness at an arithmetical level, the total computable map reduces to .
The totality set is Pi_2^0-complete
Statement
is -complete.
Facts & Assumptions
Given: an acceptable numbering and a set .
Proof
The condition is , hence is .
Write with primitive recursive. Uniformly produce a program which on input searches for such a and halts when one appears. By s-m-n its index is a total computable function of , and that program is total exactly when .
Relative computability and relative enumerability
Definition
For an oracle , an oracle computation is an ordinary machine computation with a query instruction which receives the truthful bit for a queried number. A set is -computable when an -oracle machine decides it, and -c.e. when one recognizes it. Write for -computability, consistently with Turing reductions via oracle deciders.
An oracle program still makes finitely many transitions on any halting run; it does not read an infinite oracle at once.
An oracle computation has a finite query witness
Statement
If an oracle machine halts, there is a finite set of queries such that every oracle agreeing with on gives the same halting run and output on .
Facts & Assumptions
Given: a halting run of on .
Proof
The run has finitely many steps, hence performs only finitely many query instructions. Let be the set of numbers queried in that run.
If agrees with on , induction over those finitely many transitions gives the same state, tapes, query answers, and next transition at every step. Thus the run halts with the same output.
Post's theorem
Statement
Put and let be the halting set for machines with oracle . For every and , Consequently iff its complement is -c.e.
Facts & Assumptions
Given: and a set .
Proof
For , the first equivalence is the /c.e. theorem; deciding a set is equivalent to recognizing it and its complement.
Assume the characterizations at . In a presentation, the predicate following the first existential block is . It is co-c.e. in , and is therefore decidable by the halting oracle ; the first block is consequently a c.e. search in . Conversely, record a halting -oracle computation together with its finite query transcript. Replace each yes-query by its halting witness and each no-query by the dual condition. Since the transcript is finite, its conditions merge with the outer existential witness into a formula.
A -decider recognizes both a set and its complement, and two relative recognizers can be dovetailed into a decider. Applying the first equivalence to both sides therefore gives the equivalence; negation gives the clause. This closes the induction.
A diagonal set at each arithmetical level
Statement
For every , there is a set which is not ; its complement is and not .
Facts & Assumptions
Given: a finite level .
Proof
Enumerate the -c.e. sets as and set . If were itself -c.e., say , substituting gives .
Hence is not -c.e., while its complement is. Post's theorem identifies the complement as and as ; exchanging them gives the claimed pair.
The arithmetical hierarchy is strict
Statement
For every , and .
Facts & Assumptions
Given: .
Proof
Padding a prefix by a vacuous final quantifier shows and similarly for .
The level- diagonal construction supplies a set outside . If it lay in , then it would also lie in by padding and complement normalization, a contradiction; the complementary witness gives the separation.
Limit-computable functions
Definition
A total function is limit computable when there is a total computable such that for every the sequence is eventually constant with eventual value . No computable function selecting a stabilization stage is included in this definition.
Shoenfield's limit lemma
Statement
A set, equivalently its characteristic function, is computable in if and only if it is limit computable.
Facts & Assumptions
Given: a set .
A halting oracle computation has a finite query witness (An oracle computation has a finite query witness).
Proof
Use the halting-set meaning of fixed in Post's theorem. A query code specifies an ordinary computation whose halting is in question. Put . Bounded simulation makes membership in uniformly decidable in . These sets are finite and increasing, and their union is : a genuinely halting computation enters once exceeds both its code and its halting time; a nonhalting computation never enters.
If , fix computing . Define by simulating at most oracle-machine transitions of , answering each query by the decidable set . Return the output if it halts with output in within the cutoff, and return otherwise. Each stage halts, so is total computable and bit-valued even when an incorrect oracle sends into a loop or an unintended output. No time-efficiency bound on this finite simulation is asserted.
For fixed , the true run has a finite transition length and a finite query set by L1. All negative answers on are correct at every stage. Each positive answer becomes permanently correct by step 1.1; take beyond the finitely many corresponding entry stages. For every , L1 gives exactly the true run with oracle , and the cutoff does not interrupt it. Thus eventually. An empty requires only the time cutoff, and is an existence bound, not a claimed computable modulus.
Conversely, let total computable converge eventually to . For each , effectively form the ordinary program that computes , searches , and halts upon finding . Its halting is a question. Ask these questions for until receiving a negative answer. Eventual constancy ensures termination; a negative answer means that all later values equal the current value, which must therefore be . Output it. This computes in and proves the reverse implication.
False: Sigma_n^0 and Pi_n^0 are disjoint
Statement
For every positive , the classes and are disjoint.
Facts & Assumptions
Given: a positive finite .
Refutation
The decidable set is , hence is both and .
Prefix padding puts both descriptions of at every positive level . Thus , refuting disjointness.
False: a limit-computable function has a known stabilization stage
Statement
Every limit-computable function has a computable modulus of stabilization.
Facts & Assumptions
Given: the standard stage approximation to the halting set.
Refutation
Assume a computable modulus is supplied for this approximation. Let if program has halted by stage , and otherwise. This is computable and converges pointwise to .
If a computable modulus were available, simulate for steps and return . This would decide , contradicting undecidability of the halting problem.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Ludovic Patey, Computability Theory, §5.1
- Douglas Cenzer and Jeffrey Remmel, Effectively Closed Sets, Definition II.6.5
- Douglas Cenzer and Jeffrey Remmel, Effectively Closed Sets, Theorem II.6.6
- Ludovic Patey, Computability Theory, Proposition 2.1
- Ludovic Patey, Computability Theory, Proposition 2.2
- Ludovic Patey, Computability Theory, Definition 5.2
- Ludovic Patey, Computability Theory, §5.4
- Ludovic Patey, Computability Theory, Example 1.5
- Ludovic Patey, Computability Theory, §4.2
- Ludovic Patey, Computability Theory, §4.4
- Ludovic Patey, Computability Theory, Theorem 5.5
- Douglas Cenzer and Jeffrey Remmel, Effectively Closed Sets, Theorem II.6.7
- Ludovic Patey, Computability Theory, §§4.5–4.6
- Ludovic Patey, Computability Theory, Corollary 5.4
- Ludovic Patey, Computability Theory, §4.7
- Ludovic Patey, Computability Theory, Lemma 7.2
- Ludovic Patey, Computability Theory, §5.2