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.
Time and Space Hierarchy Theorems
1 · Prerequisites
- Construction of the Natural Numbers
- Countability and Uncountability
- Decidable, Recognizable, and Enumerable Languages
- Effective Numberings, Reductions, Resources, and Randomness
- Finite Counting, Factorials and Binomial Coefficients
- Formal Languages, Encodings, and Decision Problems
- Linear Recurrences and Rational Generating Functions
- Nondeterministic Recursive Padding and Time Separation
- P, NP, coNP, and Polynomial Reductions
- Relations, Functions, and Quotients
- Resource Bounds and Machine Invariance
- Robust Machine Models and Universal Computation
- Space Complexity, Savitch's Theorem, and TQBF
- The ZFC Axioms and the Basic Set Constructions
- Turing Machines, Configurations, and Computation
- Turing-Machine Configuration Boundary Interface
2 · Summary
The hierarchy theorems are quantitative diagonal arguments: clocks reserve universal-simulation overhead, while a configuration cap forces a space diagonalizer to halt. The local read-only-workspace section deliberately bridges back to the library’s earlier all-tapes convention before concluding .
3 · Logical flowchart
4 · Definitions, theorems and proofs
An efficient universal simulation with a clock
Definition
Fix a multitape universal simulator , using the finite transition-table encoding convention of A fixed effective binary encoding of deterministic one-tape Turing machines, extended to finitely many tapes by recording the tape count and the finite table on tuples of scanned symbols. Here machines have the multitape semantics of The classes DTIME, NTIME, DSPACE, and NSPACE. On a self-delimiting pair of total length and clock value , first decodes the pair and then simulates at most steps of , rejecting malformed encodings or a clock expiry. For each fixed , this uses These bounds apply with the binary numeral for already supplied and when the simulated computation visits cells; their constants may depend on . The terms pay for decoding and retaining the encoded input, including when or . For a clock constructed from the input length, fix a time-constructible function with eventually and a constructor as in Time-constructible and space-constructible functions. Run to obtain before invoking the simulator. This adds time, so total time is . If this constructor uses cells, total all-tapes space is . No constructor-space bound smaller than is implicit. Small externally supplied clocks, including zero and one, remain covered by the first interface.
Effective enumeration of clocked machines
Statement
Fix a total computable bound and one halting constructor for its values. There is a total effective decoding of binary strings into pairs , where is a deterministic multitape machine and is an integer. Every pair occurs and has arbitrarily long padded codes; malformed codes denote a fixed rejecting pair.
A decoded pair can be equipped either with a step clock or with a visited-cell cap . A step clock rejects on expiry. A cell cap rejects before the next visit would exceed the cap, but does not by itself force a looping computation to halt. The cap counts simulated cells, not the constructor's or simulator's own resource use. Resource-bounded applications must separately charge construction and simulation costs and impose their appropriate time- or space-constructibility hypotheses.
Facts & Assumptions
Given: the fixed and its constructor, and a finite binary string .
Proof
Parse into three self-delimiting fields for a machine code, a canonical positive binary integer , and an ignored padding string, rejecting trailing data. Use the finite-table multitape extension in An efficient universal simulation with a clock of the total decoder in A fixed effective binary encoding of deterministic one-tape Turing machines. Invalid fields return the fixed rejector pair with multiplier one. Every finite string is thereby decoded in finite time; listing all strings in length-lexicographic order gives the enumeration.
For each valid machine and multiplier, encoding these fields with successively longer padding supplies arbitrarily long codes for that pair. On input , compute using the fixed halting constructor. A step counter enforces simulated transitions, returning a halting result if it occurs within the budget and otherwise rejecting. This is the supplied step-clock interface.
For a cell cap, maintain the minimum and maximum visited position on each simulated tape, together with their total interval length. Each tape head moves to an adjacent cell, so these intervals count precisely its visited cells. Include the initial visited cells, rejecting immediately if they already exceed , and reject before a transition that would enlarge the total beyond . This effective monitor preserves every run staying within the cap; a loop inside it may continue forever. A separate configuration clock is needed to force such a run to halt.
If the relevant resource use of is , some fixed positive integer bounds it for all sufficiently large . The enumeration includes this pair, and its corresponding monitor then preserves those computations. No claim about exceptional small lengths where , or about the monitor's own resource overhead, is implicit.
The time-diagonal language respects its budget
Statement
Let be time constructible, eventually at least , with . There is a deterministic language with the following property. For every fixed clocked pair , all sufficiently long valid padded codes of that pair satisfy: is the complement of the result of simulating for at most steps, with inner clock expiry interpreted as rejection.
Facts & Assumptions
Given: the stated and fixed halting constructors for their binary values. Use the padded pair encoding of Effective enumeration of clocked machines.
Proof
Define one fixed multitape procedure on : decode , reject malformed codes, construct the binary value for , and run the time interpreter from Clocked universal simulation with time and space bounds on with simulated input equal to the entire word . If the inner simulation returns, output the opposite of its result. This is a fixed interpreter; its decoding, clock construction, and universal-simulator transitions are all actual transitions of .
The diagonal decider first computes and constructs a unary timer of that length. The constructor costs . Converting its binary output to unary also costs : repeatedly decrement a least-significant-bit-first counter and emit a mark, charging the traversed carry/borrow runs over the whole countdown. Their total is linear in the initial counter value. Rewind the timer, then execute with its fixed tapes and one additional timer tape. Each simulated transition of this fixed advances the timer once; at its end output a default rejection unless has already returned. The fixed transition table is incorporated directly, so this outer clock adds constant overhead per transition, not another universal-simulation factor.
On every input, including malformed descriptions and arbitrarily large encoded multipliers, the outer clock permits at most transitions of . All input-dependent decoding and inner-clock work are inside that clock. Thus total time is , after treating finitely many lengths below the eventual floor separately.
Fix . On its valid padded codes, decoding and copying the full simulated input cost ; constructing the inner clock costs . The proved time clause of Clocked universal simulation with time and space bounds gives for the supplied binary clock. For this fixed pair the combined runtime of is . It therefore finishes before the outer timer on every sufficiently long code of that pair. Arbitrarily long such codes exist by the enumeration, and the returned answer is the required complement.
The deterministic time hierarchy theorem
Statement
For time-constructible that are eventually at least and satisfy ,
Facts & Assumptions
Given: The stated constructible bounds, including the eventual linear floor required when a bound clocks a machine (Time-constructible and space-constructible functions).
The clocked diagonal language and its behavior on every sufficiently long valid padded code are supplied by The time-diagonal language respects its budget.
Proof
Apply [L1] to obtain its language .
Since is eventually at least and , we have . Any decider is therefore also an decider, proving .
Suppose a machine running in decided . Fix an integer large enough to bound its running time by at all sufficiently large ; enlarge to cover the finitely many shorter lengths as well. By [L1], the clocked pair has arbitrarily long valid padded codes , and on each sufficiently long one the diagonal decider returns the complement of , since the inner clock does not expire. But decides on , a contradiction. Thus ; combine this with steps 1.1–1.2 for strict containment.
P is properly contained in EXP
Statement
Facts & Assumptions
Given: and , with time constructibility understood in the output-constructor sense of Machine time and space constructibility. The hierarchy theorem is The deterministic time hierarchy theorem, and the class conventions are The class P and The classes EXP and NEXP.
Proof
A fixed transducer reads , counts , finds by integer search for the least with , and writes the binary word followed by zeros. For the finitely many lengths where , a literal branch instead writes . Its time is polynomial in plus , hence , since every fixed polynomial in is eventually below . A second transducer reads and writes followed by zeros in time. Both fully read the input and , so they are time constructible in the stated output sense. Every polynomial is because for each fixed exponent , and because .
The deterministic time hierarchy applied to step 1.1 gives . Since and , it supplies a language in .
The nondeterministic time hierarchy theorem
Statement
For nondecreasing time-constructible with eventually and ,
Facts & Assumptions
Given: the displayed hypotheses, with constructibility and all-branch time classes as in Time-constructible and space-constructible functions and The classes DTIME, NTIME, DSPACE, and NSPACE.
Proof
Construct a deterministic unary-input clock as follows: read its input, compute the binary value with the fixed constructor, and perform countdown iterations before halting. A least-significant-bit-first binary counter has linear total decrement cost (the numbers of bit changes form a geometric sum); returning its head after each decrement has the same bound. Thus the clock's actual running time is eventually, and can be arranged to be at least for every . It is an exact running time in the terminology of Seiferas--Fischer--Meyer, even though was supplied only by an asymptotically bounded binary-output constructor.
Apply Nondeterministic recursive-padding separation to the exact clock from step 1.1. It gives a binary language under the local all-branch convention, but for every total recursive with .
Since , the all-branch machine from step 2.1 is an all-branch machine. Hence .
If belonged to local , a constant integer would bound its accepting times at every length by the total recursive function : enlarge to cover the finitely many exceptional lengths. Since eventually, . This contradicts the exclusion in step 2.1. Thus .
Nondecreasing gives , so every all-branch decider is an all-branch decider. Together with steps 3.1 and 3.2 this proves the strict inclusion.
Space-bounded universal simulation
Statement
There is a fixed deterministic universal simulator with the following space bound. Given a machine description and input of total binary length , if the simulated machine uses at most all-tapes cells, then uses all-tapes cells, with an absolute constant for the fixed coding below. Consequently, for each fixed its bound is ; the constant may depend on . It is uniformly for machines over one fixed alphabet.
The machine description uses the explicit finite transition-table encoding of A fixed effective binary encoding of deterministic one-tape Turing machines, extended to multitape machines by listing the tape count and every transition on a tuple of scanned symbols. Input symbols are listed in binary with delimiters. Space counts cells on all tapes as in The classes DTIME, NTIME, DSPACE, and NSPACE. No constructibility or halting-time bound is needed.
For hierarchy applications a supplied cell limit may instead cap the entire encoded simulation workspace of this fixed simulator, including its temporary scratch. Its bounded version aborts before exceeding that limit and uses all-tapes space. For each fixed , if , the bounded version eventually completes every simulated transition without a space abort. No uniform encoding of arbitrary variable-alphabet symbols is asserted.
Facts & Assumptions
Given: an explicitly coded deterministic multitape machine , its input, and a simulated run visiting at most cells in total.
Proof
Decode and retain the description and input using space. Write . Represent each simulated tape by the consecutive cells from its left boundary to its furthest visited cell, storing a -bit symbol and a head-marker bit in each cell block. Separate tapes by delimiters. Every tape has at least its initial cell visited, so their number is at most . Store the current state by its binary index, of length at most . Unvisited input symbols can be recovered from the retained input when a tape block first reaches them. Thus the complete representation has length .
For a simulated transition, scan the tape blocks to collect the marked symbols, look up the unique matching transition in the retained explicit table, and scan again to update symbols and markers. Keep old and new marker tracks distinct until the update is finished, so a head moving along a sweep is updated only once. A new rightmost cell is appended when necessary; at a left boundary clamp a left move. The scanned-symbol tuple and update tuple use bits, and counters or copies of the current representation use at most the same order. Reuse all scratch after each update. Induction on simulated transitions gives the correct represented configuration at each completed update, without retaining the history.
This is an algorithm on a fixed finite alphabet and a fixed finite number of simulator tapes: variable simulated tape blocks reside on those tapes as delimited data. Every stage uses cells, with a constant independent of . For fixed , is constant, giving ; if the alphabet is fixed in advance, the same constant works uniformly for its machines.
To cap the encoding, maintain a binary counter for the number of cells allocated to its tapes, including update scratch, and abort before that count exceeds . The counter and supplied binary limit use additional cells, so the bounded version uses space. For each fixed there is a constant bounding all workspace in steps 1.1--2.1 by ; when this lies below eventually. Hence the cap does not truncate those simulations.
The space-diagonal machine halts
Statement
Let satisfy and . Assume is space constructible: some fixed deterministic machine on halts with the binary numeral of using all-tapes space. Here resource bounds have the meaning of The classes DTIME, NTIME, DSPACE, and NSPACE.
An all-tapes diagonal procedure on a coded description/input of length can be made total in space as follows: run the fixed universal simulator of Space-bounded universal simulation with its entire encoded simulation workspace capped at , and stop it after a configuration bound for that fixed capped simulator. If the simulated machine halts without a cap abort, its answer is seen before this timeout. On an abort, malformed input, or timeout give a fixed default answer; on a simulated halting answer the diagonal procedure may invert that answer.
The cap is on the fixed simulator's encoded configuration and scratch, not on raw symbols of a variable-alphabet machine.
Facts & Assumptions
Given: the function , its fixed constructor, and the capped universal simulator from Space-bounded universal simulation.
Proof
Determine , form , and run the constructor to obtain . This halts and uses space. Thereafter use the fixed capped simulator, excluding the timeout counter for now. Its coded input and binary bound, cap bookkeeping, representation, and scratch fit in cells for a fixed integer , by the simulator's cap interface. The integer itself can be computed in space.
Let be respectively the number of states, tapes, and tape symbols of this fixed capped simulator. On its fixed input, each head is in a position below , and each tape can be represented by its first symbols; all later input symbols are fixed and all later work symbols are blank. Thus it has at most configurations. Since and , fix an integer large enough that this number is strictly below for every . All these constants belong to the fixed simulator, independently of the decoded adversary.
Simulate at most transitions of that capped simulator, checking halting or a cap abort at every stage. A binary counter of bits suffices. If a deterministic computation repeats a configuration, its future repeats and it cannot first halt later. Consequently any halting capped computation halts before this clock expires; otherwise the procedure returns its default answer. This counts transitions of the fixed simulator itself, including its scans and scratch updates, rather than transitions of the decoded machine.
The constructor halts by hypothesis, and the later clock forces termination. Its counter uses cells, as do the capped simulation and retained input. Therefore the resulting diagonal procedure is total in the asserted space, preserving every non-aborted simulated halting answer for inversion.
The deterministic space hierarchy theorem
Statement
For all-tapes space-constructible with and ,
Facts & Assumptions
Given: functions satisfying the stated bounds. Here a function is all-tapes space constructible when a fixed deterministic machine, on , halts with the binary numeral of using visited cells. The notation means that for every real , eventually ; in this theorem eventually. Big-O and the space classes have the meaning of The classes DTIME, NTIME, DSPACE, and NSPACE. Finitely many exceptional lengths can be handled by fixed finite control.
For every fixed simulated machine , its computation using cells on an input of length has a universal simulation using space. Capping the entire encoded simulation and scratch at gives a uniform bound, and fixed- computations with eventually fit. This is Space-bounded universal simulation.
A fixed encoded-cap simulator can be timed out after its own finite configuration bound in space, preserving every non-aborted halting answer, by the fixed-simulator counting argument of The space-diagonal machine halts.
Proof
Define a diagonal decider on strings , where is a valid finite machine description and . Reject malformed strings. On a valid string of length , compute using its fixed constructor and simulate the described machine on the entire original string , capping all encoded simulation and scratch at . The parser and any coded description/input copy cost space. Use [L2] with the size of this fixed capped simulator's actual storage, which is , to force halting; on cap overflow or timeout reject, and on simulated halting return the opposite answer. The constructor costs , and with implies . Hence is a total -space decider.
Suppose a fixed machine decides the language of in at most cells for sufficiently large . For its fixed description , the strings in step 1.1 exist at every sufficiently large length. The space needed for faithful simulation is , so sufficiently long such strings do not trigger the encoded cap. Since halts, [L2] also guarantees that the timeout does not prevent its answer. On such a string , is therefore the opposite of , a contradiction. Thus the language of is outside , while step 1.1 puts it in . Finally gives the ordinary class inclusion.
Read-only-input work-space classes and constructibility
Definition
For nonnegative functions on the natural numbers, means that constants and exist with for every . Resource bounds below are functions .
A read-only-input machine has one read-only input tape and finitely many work tapes. On an input of length , the input is bracketed by endmarkers and the input head is confined to those positions. The input tape is never written and its cells are not charged.
contains the languages decided by such machines while visiting work-tape cells. A bound is work-space constructible when a deterministic read-only-input machine, on input , outputs the binary expansion of while visiting work cells. In hierarchy applications we require so that an input-head address fits in the work bound. This model is distinct from all-tapes DSPACE.
Universal simulation preserves read-only work space up to constants
Statement
Let have total length , with a deterministic read-only-input machine in the model of Read-only-input work-space classes and constructibility. For each fixed , a universal simulator supplied with a binary integer cap faithfully simulates until it halts or would exceed visited work cells; in the latter case it rejects. It uses work space, hence when . A run that stays within the cap but loops need not halt.
For varying descriptions, a uniform bound is instead obtained by capping the size of the simulator's entire encoded configuration and scratch storage at , rejecting before that storage cap is exceeded. Faithfulness in this version is asserted only for computations whose encoded storage fits that cap. The two caps need not have the same numerical value: encoding constants may depend on 's alphabet and tape count.
Facts & Assumptions
Given: the encoded pair and supplied binary cap, stored in charged work space; use either the fixed- visited-cell cap or the encoded-storage cap as specified above.
Proof
Read the machine and input as two delimited regions of the one read-only input . Store their endpoints and the simulated input-head address in bits; the simulated input is endmarked and confined to its field. The effective finite-table coding underlying Effective enumeration of clocked machines applies also with one input tape designated read-only. Table fields and transition entries can be found by rescanning rather than copying the program.
For fixed , store the work tapes as finite words with marked heads and interval endpoints. Its alphabet and tape count are constants, so a run using at most work cells has an encoding of length . Work-head addresses and the visited-cell counter add bits, and the finite-control encoding is constant. Before extending a visited interval, test the cell cap and reject on overflow, including an initial overflow. A binary cap itself uses bits. Thus the work bound is .
Alternatively, count actual visited work cells in the simulator's binary representation, including configuration, cap, and scratch storage; enforce the encoded-storage limit before each visit to a new work cell. The input-field addresses and allocation counter need only auxiliary bits. Program lookup can compare indexed table fields by repeated scans in space. Reject malformed codes or an overflow. This gives the uniform bound, with faithful transition simulation whenever all required storage fits. Large alphabets or many tapes may trigger this guard even if the simulated cell count is at most .
In either version, each completed simulated transition is exactly the transition selected by the encoded table, so induction gives faithfulness up to halting or overflow. No configuration-time counter was introduced, and thus within-cap loops are not falsely declared halting. The logarithmic floor absorbs the address term in each respective bound.
The read-only-workspace diagonal machine halts
Statement
Let be work-space constructible with . The local read-only-workspace diagonal simulator can stop every deterministic computation after its finite configuration bound while using work space.
Facts & Assumptions
Given: the stated constructible bound. For varying machine descriptions, use the uniform encoded-storage cap of Universal simulation preserves read-only work space up to constants; for a fixed machine, its visited-cell cap gives the same asymptotic bound with a machine-dependent constant.
Proof
Compute in work space, simulating the constructibility machine on a virtual unary input of length if necessary. For varying descriptions, reject when the universal simulator's entire encoded configuration and scratch storage would exceed cells. A configuration below this cap is described by bits, together with bits for input and program addresses. Thus the number of possible configurations is at most . The cap may reject a computation before this bound is reached.
Use the uniform encoded-storage simulator and a binary counter of bits to count through this configuration bound, stopping at expiry or an earlier storage overflow. A deterministic computation that remains within the cap and has not halted by then must repeat a configuration. The forced answer therefore makes the simulation total while the simulator, counter, and address bookkeeping together use work space. For a fixed machine the visited-cell version of the supplier gives the analogous bound.
The read-only-workspace space hierarchy theorem
Statement
If are work-space constructible, , and , then
Facts & Assumptions
Given: satisfying the stated local-model hypotheses.
Proof
Define a diagonal decider on an input string of length . Compute with its fixed read-only work-space constructor, presenting a virtual unary input using the known input length. Decode as a padded machine code using Effective enumeration of clocked machines, interpreting valid codes for read-only-input deciders and rejecting malformed or other codes. The decoded program is read by rescanning its field in ; the simulated input is the entire original string . Set . If , return a fixed answer. Otherwise run the uniform encoded-storage simulator of Universal simulation preserves read-only work space up to constants with cap , rejecting before its encoded configuration or scratch storage exceeds that cap. Include the simulator's input/program addresses and cap bookkeeping in the charged storage. Stop the simulation after its finite configuration bound as in The read-only-workspace diagonal machine halts. If it halted within the cap, return the opposite answer; on overflow or clock expiry, return a fixed answer.
The constructor uses work cells. Program decoding and rescanning need addresses; the uniform simulator uses at most charged encoded cells plus bookkeeping, and the configuration counter uses bits. Since eventually, is total and belongs to . The cap is a computable number derived only from the fixed constructor for , so no varying program-dependent constant has to be estimated.
Suppose , decided by a fixed read-only-input machine using at most cells for all sufficiently long inputs. Choose any padded code for from the effective enumeration. For this fixed , the published simulator's encoded-storage cost is . Hence a sufficiently long padded self-code lets the simulation of fit below ; the configuration clock does not interrupt a halting computation. On that input returns the opposite of , a contradiction. Finally gives the ordinary inclusion , so the inclusion is strict.
Read-only work space becomes all-tapes space after charging input
Statement
For every , under the repository's all-tapes convention.
Facts & Assumptions
Given: a read-only-input decider using work cells.
Proof
Regard its endmarked input tape as an ordinary tape. By the local-model definition the input head is confined to its input positions, and the machine visits work cells.
Therefore the total visited-cell count is , which is the claimed all-tapes DSPACE bound.
L is properly contained in PSPACE
Statement
With ,
Facts & Assumptions
Given: and .
Proof
Both bounds meet the local work-space-constructibility contract. On unary input , count its length in binary, using cells, and add . The binary length and a power-of-two test compute in the same space; outputting the binary count gives within cells. Also tautologically, , and satisfies the hierarchy's address lower bound for all sufficiently large . Thus The read-only-workspace space hierarchy theorem applies and yields a language in .
The bridge Read-only work space becomes all-tapes space after charging input puts that witness language in , hence in PSPACE. For any computation, the same bridge gives , by the polynomial-space definition. The witness lies outside by step 1.1, so the inclusion is proper.
Language padding
Definition
For and a total function , define All malformed strings, and strings with a wrong unary-pad length, are outside the padded language. The exponent is a nonnegative integer precisely on the displayed branch , and the delimiter makes decoding canonical.
Padding transfers time bounds
Statement
Let satisfy for every . Suppose the canonical padding in Language padding is constructible on in time, and validity of any string of length can be decided, with its unpadded word recovered when valid, in time, for a fixed integer .
If has a deterministic decider taking time, then has a decider taking on valid inputs of decoded length and total length , and on malformed inputs. Its worst-case bound at length is , where Conversely, if has a deterministic decider taking time, then has a decider taking time.
Facts & Assumptions
Given: and the construction/validation procedures above; for the forward implication an decider for , and for the converse an decider for .
Proof
For the forward implication, validate and reject it if malformed. Otherwise recover and run the supplied decider. By the padding definition its answer is correct, and its cost is . Since , the set of lengths with is finite; maximizing gives the displayed worst-case bound, including lengths with no valid pad.
For the converse, on of length construct and run the independently supplied padded-language decider. The exponent is nonnegative, including at , and this valid pad belongs to the padded language exactly when . Construction costs and the decider costs , giving the claimed sum.
Gap and union theorems for abstract complexity bounds
Statement
Let be a Blum complexity measure. (Gap) for every total recursive satisfying for every , there is a total recursive, monotonically increasing bound such that . (Union) for every recursively enumerable family of recursive bounds satisfying for every , there is a recursive with , where denotes the programs whose -complexity is eventually at most .
Facts & Assumptions
Given: a Blum measure, the stated recursive data, and eventual-bound class convention.
Proof
The Gap Theorem for abstract measures (Hartmanis--Hopcroft, Theorem 7) applies to the given Blum measure and recursive . Its finite-stage construction uses only bounded tests of the decidable Blum predicate ; it does not attempt to decide whether a program is eventually below a bound. The resulting recursive nondecreasing has the stage invariant that every indexed program eventually below is also eventually below . Hence .
The Union Theorem for abstract measures (Hartmanis--Hopcroft, Theorem 16) applies to the effective strictly increasing sequence . Its recursive finite-injury construction produces a recursive with two complementary invariants: every is eventually at most , and each indexed program that is outside every exceeds infinitely often. These give respectively and the reverse inclusion.
Hierarchy theorems do not separate P from NP
Statement
The deterministic and nondeterministic time hierarchy conclusions do not themselves compare with , and therefore do not constitute a proof of either or .
Facts & Assumptions
Given: the quantified conclusions of the two hierarchy theorems.
A binary language is in verifier-defined NP exactly when it belongs to for some (The verifier and nondeterministic definitions of NP agree).
Proof
Each hierarchy compares two deterministic classes or two nondeterministic classes at separated resource bounds, such as versus .
By [L1] and the definition of , the versus question compares the unions of deterministic and nondeterministic polynomial-time classes. A separation needs one language in outside every deterministic polynomial-time class; equality needs polynomial deterministic simulations for all languages. The witnesses in step 1.1 only separate two bounds in the same model, and their bounds and witnesses may vary. These stated conclusions do not themselves provide either of the required cross-model arguments. This is a comparison of what the theorem statements assert, not a formal independence claim about their consequences in an axiomatic theory.
False: unrestricted diagonalization respects any resource bound
Statement
An unrestricted universal diagonalization automatically stays within whatever resource bound is claimed for its simulated machines.
Facts & Assumptions
Given: the claimed constant bound .
The fixed clocked simulator first decodes the complete self-delimiting pair and rejects malformed encodings before running the simulated machine (An efficient universal simulation with a clock, A fixed effective binary encoding of deterministic one-tape Turing machines).
Refutation
Fix a machine that halts after one transition without reading its input, and consider the valid pairs as grows. The simulated computation respects the bound , but [F1] requires the specified simulator to read the complete pair before simulation. Reading that unbounded input takes at least linear time in its length.
Hence this unrestricted diagonalizer is not an -time computation, despite every selected run of taking one step. A candidate's resource bound alone therefore does not bound decoding and universal-simulation overhead; a separate clock and a proved gap are needed.
5 · Examples, counterexamples and false statements
None yet.
Sources
- Arora and Barak, Computational Complexity, Chapter 3
- Arora and Barak, Computational Complexity, §3.1
- Arora and Barak, Computational Complexity, Theorem 3.1
- Sebastiaan Terwijn, Complexity Theory, §2.2
- Arora and Barak, Computational Complexity, Section 3.3, Theorem 3.3
- Seiferas, Fischer, and Meyer, Separating Nondeterministic Time Complexity Classes, Theorem 4 and Corollary 4.1, pp. 152–155
- Arora and Barak, Computational Complexity, §1.2.2, Claims 1.8--1.9
- Arora and Barak, Computational Complexity, §3.2 and §4.1
- Arora and Barak, Computational Complexity, Theorem 3.2
- Arora and Barak, Computational Complexity, Definition 4.1 and Remark 4.2
- Arora and Barak, Computational Complexity, Remark 4.2
- Arora and Barak, Computational Complexity, Definition 4.1
- Arora and Barak, Computational Complexity, Definition 4.5
- Sebastiaan Terwijn, Complexity Theory, Exercise 3.5.2(a)
- Sebastiaan Terwijn, Complexity Theory, Theorem 5.6.1 (time-complexity instance of the Gap Theorem)
- Hartmanis and Hopcroft, An Overview of the Theory of Computational Complexity, Theorems 7 and 16