Cobham's thesis, also known as the Cobham–Edmonds thesis (named after
Alan Cobham and
Jack Edmonds),
[.][.] asserts that computational problems can be feasibly computed on some computational device only if they can be computed in
polynomial time; that is, if they lie in the
complexity class
In computational complexity theory, a complexity class is a set (mathematics), set of computational problems "of related resource-based computational complexity, complexity". The two most commonly analyzed resources are time complexity, time and s ...
P. In modern terms, it identifies
tractable problems with the complexity class P.
Formally, to say that a problem can be solved in polynomial time is to say that there exists an algorithm that, given an ''n''-bit instance of the problem as input, can produce a solution in time O(''n
c''), using the
big-O notation and with ''c'' being a constant that depends on the problem but not the particular instance of the problem.
Alan Cobham's 1965 paper entitled "The intrinsic computational difficulty of functions" is one of the earliest mentions of the concept of the
complexity class
In computational complexity theory, a complexity class is a set (mathematics), set of computational problems "of related resource-based computational complexity, complexity". The two most commonly analyzed resources are time complexity, time and s ...
P, consisting of problems decidable in polynomial time. Cobham theorized that this complexity class was a good way to describe the set of feasibly
computable problems.
Jack Edmonds's 1965 paper "Paths, trees, and flowers" is also credited with identifying P with tractable problems.
Limitations

While Cobham's thesis is an important milestone in the development of the theory of
computational complexity, it has limitations as applied to practical feasibility of algorithms. The thesis essentially states that "P" means "easy, fast, and practical", while "not in P" means "hard, slow, and impractical". But this is not always true, because the thesis abstracts away some important variables that influence the runtime in practice:
* It ignores constant factors and lower-order terms.
* It ignores the size of the exponent. The
time hierarchy theorem proves the existence of problems in P requiring arbitrarily large exponents.
* It ignores the typical size of the input.
All three are related and are general complaints about
analysis of algorithms, but they particularly apply to Cobham's thesis, since it makes an explicit claim about practicality. Under Cobham's thesis, a problem for which the best algorithm takes ''n''
200 instructions is considered feasible, and a problem with an algorithm that takes 2
0.00001 ''n'' instructions infeasible—even though one could never solve an instance of size ''n'' = 2 with the former algorithm, whereas an instance of the latter problem of size ''n'' = 10
6 could be solved without difficulty. In fields where practical problems have millions of variables (such as
operations research
Operations research () (U.S. Air Force Specialty Code: Operations Analysis), often shortened to the initialism OR, is a branch of applied mathematics that deals with the development and application of analytical methods to improve management and ...
or
electronic design automation
Electronic design automation (EDA), also referred to as electronic computer-aided design (ECAD), is a category of software tools for designing Electronics, electronic systems such as integrated circuits and printed circuit boards. The tools wo ...
), even O(''n''
3) algorithms are often impractical.
A separate consideration is that in many cases, one is often content with ''approximate'' solutions if an exact solution cannot be found. For example, the
travelling salesman problem is widely suspected to be unsolvable exactly in polynomial time (it is
NP-hard), but good solutions can be obtained in polynomial time with methods such as the
Christofides algorithm.
References
{{Reflist
Computational complexity theory