Math 2.0

Computer science Definition

L

Builds on Space complexityComplexity classFormal languageP

Definition

Let Σ\Sigma be a finite alphabet. The complexity class L is L=DSPACE(log⁡n),\mathrm{L} = \mathrm{DSPACE}(\log n), where DSPACE\mathrm{DSPACE} is defined through the space complexity of deterministic Turing machines with a read-only input tape. So a language L⊆Σ∗L \subseteq \Sigma^* lies in L when some such machine decides it using O(log⁡n)O(\log n) work-tape cells on inputs of length nn.

Remarks

Example: the language of balanced strings of brackets over {(,)}\set{(, )} lies in L\mathrm{L}. A machine scans the input once and keeps the current depth in a binary counter, rejecting if the depth becomes negative. It accepts if the depth is 00 at the end, and the counter needs O(log⁡n)O(\log n) cells.

Non-example: a machine that first copies its input to a work tape uses nn cells. That machine does not show membership in L, since nn is not O(log⁡n)O(\log n).

A machine in logarithmic space has only polynomially many configurations on inputs of length nn. So it halts within polynomially many steps, and L⊆\mathrm{L} \subseteq P. Omer Reingold proved that connectivity in undirected graphs lies in L\mathrm{L}.

Reading path

To understand this page from the ground up, read these 5 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Complexity class concept
  2. Formal language concept
  3. P concept
  4. Space complexity concept
  5. L definition

Further reading

  1. Web https://en.wikipedia.org/wiki/L_(complexity)
About this page
Tag4M5T9TGSFW
URIm2://4M5T9TGSFW
Kinddefinition
WritingW0 stub
MSC68Q15
DefinesL
UsesSpace complexity, Complexity class, Formal language, P
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.