Content deleted Content added
m convert numeric HTML entities (via WP:JWB) |
AmirOnWiki (talk | contribs) Deterministic time hierarchy theorem: some cleanup and replacement of broken link to lecture notes by link to book |
||
Line 93:
===Statement===
<blockquote>'''Time Hierarchy Theorem.''' If ''f''(''n'') is a time-constructible function, then there exists a [[decision problem]] which cannot be solved in worst-case deterministic time ''f''(''n'') but can be solved in worst-case deterministic time asymptotically bigger than ''f''(''n'')
:<math>\mathsf{DTIME}(f(n)) \subsetneq \mathsf{DTIME}\left (f(n)\log^2 f(n) \right).</math></blockquote>
'''Note 1.''' ''f''(''n'') is at least ''n'', since smaller functions are never time-constructible.<br>
'''Note 2.'''
:<math>\mathsf{DTIME}\left(o\left(\frac{f(n)}{\log f(n)}\right)\right)\subsetneq \mathsf{DTIME}\left (f(n) \right).</math>
For example, there are problems solvable in time ''n''log<sup>2</sup>''n'' but not time ''n'', since ''n'' is in
:<math>o\left(\frac{n\log^2 n}{\log {(n\log^2 n)}}\right).</math>
===Proof===
We include here a proof of a weaker result, namely that '''DTIME'''(''f''(''n'')) is a strict subset of '''DTIME'''(''f''(2''n'' + 1)<sup>3</sup>), as it is simpler but illustrates the proof idea. See the bottom of this section for information on how to extend the proof to ''f''(''n'')
To prove this, we first define the language of the encodings of machines and their inputs which cause them to halt within f
Line 143:
===Extension===
The reader may have realised that the proof
: <math> H_f \in \mathsf{TIME}(f(m)^3). </math>
It
: <math> H_f \in \mathsf{TIME}(f(m) \log f(m)) </math>.
==Non-deterministic time hierarchy theorem==
|