Misplaced Pages

Log-space transducer

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. Please help improve this article by introducing more precise citations. (November 2024) (Learn how and when to remove this message)

In computational complexity theory, a log space transducer (LST) is a type of Turing machine used for log-space reductions.

A log space transducer, M {\displaystyle M} , has three tapes:

  • A read-only input tape.
  • A read/write work tape (bounded to at most O ( log n ) {\displaystyle O(\log n)} symbols).
  • A write-only, write-once output tape.

M {\displaystyle M} will be designed to compute a log-space computable function f : Σ Σ {\displaystyle f\colon \Sigma ^{\ast }\rightarrow \Sigma ^{\ast }} (where Σ {\displaystyle \Sigma } is the alphabet of both the input and output tapes). If M {\displaystyle M} is executed with w {\displaystyle w} on its input tape, when the machine halts, it will have f ( w ) {\displaystyle f(w)} remaining on its output tape.

A language A Σ {\displaystyle A\subseteq \Sigma ^{\ast }} is said to be log-space reducible to a language B Σ {\displaystyle B\subseteq \Sigma ^{\ast }} if there exists a log-space computable function f {\displaystyle f} that will convert an input from problem A {\displaystyle A} into an input to problem B {\displaystyle B} in such a way that w A f ( w ) B {\displaystyle w\in A\iff f(w)\in B} .

This seems like a rather convoluted idea, but it has two useful properties that are desirable for a reduction:

  1. The property of transitivity holds. (A reduces to B and B reduces to C implies A reduces to C).
  2. If A reduces to B, and B is in L, then we know A is in L.

Transitivity holds because it is possible to feed the output tape of one reducer (A→B) to another (B→C). At first glance, this seems incorrect because the A→C reducer needs to store the output tape from the A→B reducer onto the work tape in order to feed it into the B→C reducer, but this is not true. Each time the B→C reducer needs to access its input tape, the A→C reducer can re-run the A→B reducer, and so the output of the A→B reducer never needs to be stored entirely at once.

References


P โ‰Ÿ NP 

This theoretical computer scienceโ€“related article is a stub. You can help Misplaced Pages by expanding it.

Categories: