English

Verifying Time Complexity of Deterministic Turing Machines

Logic in Computer Science 2019-01-15 v2 Computational Complexity Formal Languages and Automata Theory

Abstract

We show that, for all reasonable functions T(n)=o(nlogn)T(n)=o(n\log n), we can algorithmically verify whether a given one-tape Turing machine runs in time at most T(n)T(n). This is a tight bound on the order of growth for the function TT because we prove that, for T(n)(n+1)T(n)\geq(n+1) and T(n)=Ω(nlogn)T(n)=\Omega(n\log n), there exists no algorithm that would verify whether a given one-tape Turing machine runs in time at most T(n)T(n). We give results also for the case of multi-tape Turing machines. We show that we can verify whether a given multi-tape Turing machine runs in time at most T(n)T(n) iff T(n0)<(n0+1)T(n_0)< (n_0+1) for some n0Nn_0\in\mathbb{N}. We prove a very general undecidability result stating that, for any class of functions F\mathcal{F} that contains arbitrary large constants, we cannot verify whether a given Turing machine runs in time T(n)T(n) for some TFT\in\mathcal{F}. In particular, we cannot verify whether a Turing machine runs in constant, polynomial or exponential time.

Cite

@article{arxiv.1307.3648,
  title  = {Verifying Time Complexity of Deterministic Turing Machines},
  author = {David Gajser},
  journal= {arXiv preprint arXiv:1307.3648},
  year   = {2019}
}

Comments

18 pages, 1 figure

R2 v1 2026-06-22T00:50:55.636Z