ArticleslgStudy

mathematics

Gap theorem

Gap theorem is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Gap theorem rather than just read about it. In short: See also Gap theorem (disambiguation) for other gap theorems in mathematics. In computational complexity theory, the gap theorem, also known as the Borodin–Trakhtenbrot gap theorem, is a major theorem about the complexity of computable functions.

Key takeaways

  • Gap theorem belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Gap theorem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Gap theorem from memory before moving on to harder problems.

Reference excerpt

See also Gap theorem (disambiguation) for other gap theorems in mathematics. In computational complexity theory, the gap theorem, also known as the Borodin–Trakhtenbrot gap theorem, is a major theorem about the complexity of computable functions. It essentially states that there are arbitrarily large computable gaps in the hierarchy of complexity classes. For any computable function that represents an increase in computational resources, one can find a resource bound such that the set of functions computable within the expanded resource bound is the same as the set computable within the original bound. The theorem was proved independently by Boris Trakhtenbrot and Allan Borodin. Although Trakhtenbrot's derivation preceded Borodin's by several years, it was not known nor recognized in the West until after Borodin's work was published.

Statement As an introductory example, suppose that we are considering time complexity of a certain specific Turing machine model. The set TIME⁡(n2) is the set of total computable functions, such that there exists some implementation of the function that computes it in time ≤n2 given an input size of n. In general, any total computable function t defines some TIME⁡(t(n)) time complexity class, and we expect that if t′(n) is much larger than t(n), for all n, then TIME⁡(t′(n)) should be larger than TIME⁡(t(n)). The gap theorem states that this is not necessarily so. Indeed, for any total computable g such that g(n)>n for all n, there exists some total computable function t, such that TIME⁡(t(n))=TIME⁡(g(t(n))). Intuitively, adding compute time might not allow us to compute more functions. More generally, suppose Φ is an abstract (Blum) complexity measure, then for any total computable function g for which g(x)≥x for every x, there is a total computable function t such that with respect to Φ, the complexity classes with boundary functions t and g∘t are identical.

Implications For the special case of time complexity, this can be stated more simply as:

for any total computable function g:ω→ω such that g(x)≥x for all x, there exists a time bound T(n) such that 𝖣𝖳𝖨𝖬𝖤(g(T(n)))=𝖣𝖳𝖨𝖬𝖤(T(n)). Similarly for the special case of space complexity. Because the bound ⁠T(n)⁠ may be very large (and often will be nonconstructible) the gap theorem does not imply anything interesting for complexity classes such as P or NP, and it does not contradict the time hierarchy theorem or space hierarchy theorem.

See also Blum's speedup theorem

References

Worked examples

Example 1 — a first encounter with Gap theorem

Start with the simplest possible case. Write down what Gap theorem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Gap theorem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Gap theorem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Gap theorem

In research
Gap theorem appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Gap theorem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Gap theorem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Theorems in computational complexity theory, so understanding it makes those chapters shorter.
In everyday life
Look for Gap theorem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Gap theorem” →

How to study Gap theorem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Gap theorem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Gap theorem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Gap theorem in simple terms?

See also Gap theorem (disambiguation) for other gap theorems in mathematics. In computational complexity theory, the gap theorem, also known as the Borodin–Trakhtenbrot gap theorem, is a major theorem about the complexity of computable functions.

Why does Gap theorem matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Gap theorem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Gap theorem.

Tags

  • Theorems in computational complexity theory

Keep exploring