Computational Complexity (Definition)
The field classifying computational problems according to their inherent difficulty and resource requirements.
📜
The statement of the theorem
Let denote the set of all deterministic Turing Machines. For any , let be the time complexity function, and be the space complexity function. A language if there exists a TM M_L \text{ such that } L(M_L) = L \text{ and } T_{M_L}(x) \restrict{x \text{ length } n} \text{ is bounded by } c \text{ for some constant } c \text{ and } n \text{ large enough}.\n\nWe define the complexity class (Polynomial Time) as:\n\n \n\nwhere is the set of all languages such that is decided by a TM whose running time is bounded by . Formally, , where .\n\nMore generally, the computational complexity of a problem is characterized by the minimal resource function such that $\text{A} \text{ belongs to } \text{DTIME}(f(n)) \text{ or } \text{DSPACE}(f(n)).