SL (complexity)

SL (complexity)

In computational complexity theory, SL (Symmetric Logspace or Sym-L) is the complexity class of problems log-space reducible to USTCON ("undirected s-t connectivity"), which is the problem of determining whether there exists a path between two vertices in an undirected graph, otherwise described as the problem of determining whether two vertices are in the same connected component. This problem is also called the undirected reachability problem. It does not matter whether many-one reducibility or Turing reducibility is used. Although originally described in terms of symmetric Turing machines, that equivalent formulation is very complex, and the reducibility definition is what is used in practice.

USTCON is a special case of STCON ("directed reachability"), the problem of determining whether a directed path between two vertices in a directed graph exists, which is complete for NL. Because USTCON is SL-complete, most advances that impact USTCON have also impacted SL. Thus we will discuss them together.

In October 2004 Omer Reingold showed that SL = L.

Origin

SL was first defined in 1982 by Lewis and Papadimitriou1, who were looking for a class in which to place USTCON, which until this time could, at best, be placed only in NL, despite seeming not to require nondeterminism. They defined the symmetric Turing machine, used it to define SL, showed that USTCON was complete for SL, and proved that: mathrm{L} subseteq mathrm{SL} subseteq mathrm{NL}where L is the more well-known class of problems solvable by an ordinary deterministic Turing machine in logarithmic space, and NL is the class of problems solvable by nondeterministic Turing machines in logarithmic space. The result of Reingold, discussed later, shows that in fact, when limited to log space, the symmetric Turing machine is equivalent in power to the deterministic Turing machine.

Complete problems

Using our definition, USTCON is trivially complete for SL (all problems in SL reduce to it, including itself). Many more interesting complete problems were found, most by reducing directly or indirectly from USTCON, and a compendium of them was made by Àlvarez and Greenlaw2. Many of the problems are graph theory problems. Some of the simplest and most important SL-complete problems they describe include:
* USTCON
* Simulation of symmetric Turing machines: does an STM accept a given input in a certain space, given in unary?
* Vertex-disjoint paths: are there "k" paths between two vertices, sharing vertices only at the endpoints? (a generalization of USTCON, equivalent to asking whether a graph is "k"-edge-connected)
* Is a given graph a bipartite graph, or equivalently, does it have a graph coloring using 2 colors?
* Do two undirected graphs have the same number of connected components?
* Does a graph have an even number of connected components?
* Given a graph, is there a cycle containing a given edge?
* Do the spanning forests of two graphs have the same number of edges?
* Given a graph where all its edges have distinct weights, is a given edge in the minimum weight spanning forest?
* Exclusive or 2-satisfiability: given a formula requiring that "x""i" xor "x""j" hold for a number of pairs of variables ("x""i","x""j"), is there an assignment to the variables that makes it true?

The complements of all these problems are in SL as well, since, as we will see, SL is closed under complement.

Now that we know L = SL, we know of a great deal more SL-complete problems with respect to log-space reductions: every problem in L or in SL is SL-complete; moreover, even if the reductions are in some smaller class than L, L-completeness is equivalent to SL-completeness. In this sense this class has become somewhat trivial.

Important results

There are well-known classical algorithms such as depth-first search and breadth-first search which solve USTCON in linear time and space. Their existence, shown long before SL was defined, proves that SL is contained in P. It's also not difficult to show that USTCON, and so SL, is in NL, since we can just nondeterministically guess at each vertex which vertex to visit next in order to discover a path if one exists.

The first nontrivial result for SL, however, was Savitch's theorem, proved in 1970, which provided an algorithm that solves USTCON in log2 "n" space. Unlike depth-first search, however, this algorithm is impractical for most applications because of its potentially superpolynomial running time. One consequence of this is that USTCON, and so SL, is in DSPACE(log2"n"). 3 (Actually, Savitch's theorem gives the stronger result that NL is in DSPACE(log2"n").)

Although there were no "deterministic" space improvements on Savitch's algorithm for 22 years, a highly practical probabilistic log-space algorithm was found in 1979 by Aleliunas et al: simply start at one vertex and perform a random walk until you find the other one (then accept) or until "|V|"3 time has passed (then reject)4. False rejections are made with a small bounded probability that shrinks exponentially the longer the random walk is continued. This also showed that SL is contained in RLP, the class of problems solvable in polynomial time and logarithmic space with probabilistic machines that reject incorrectly less than 1/3 of the time.

In 1989, Borodin et al. strengthened this result by showing that the complement of USTCON, determining whether two vertices are in different connected components, is also in RLP. 5 This placed USTCON, and SL, in co-RLP and in the intersection of RLP and co-RLP, which is ZPLP, the class of problems which have log-space, expected polynomial-time, no-error randomized algorithms.

In 1992, Nisan, Szemerédi, and Wigderson finally found a new deterministic algorithm to solve USTCON using only log1.5 "n" space. 6 This was improved slightly, but there would be no more significant gains until Reingold.

In 1995, Nisan and Ta-Shma showed the surprising result that SL is closed under complement, which at the time was believed by many to be false; that is, SL = co-SL. 7 Equivalently, if a problem can be solved by reducing it to a graph and asking if two vertices are in the "same" component, it can also be solved by reducing it to another graph and asking if two vertices are in "different" components. However, Reingold's paper would later make this result redundant.

One of the most important corollaries of SL = co-SL is that LSL = SL; that is, a deterministic, log-space machine with an oracle for SL can solve problems in SL (trivially) but cannot solve any other problems. This means it doesn't matter whether we use Turing reducibility or many-one reducibility to show a problem is in SL; they are equivalent. 8

A breakthrough October 2004 paper by Omer Reingold showed that USTCON is in fact in L. 9 Since USTCON is SL-complete, this implies that SL = L, essentially eliminating the usefulness of consideration of SL as a separate class. A few weeks later, graduate student Vladimir Trifonov showed that USTCON could be solved deterministically using O(log "n" log log "n") space—a weaker result—using different techniques.


=Consequences of L = SL =

The collapse of L and SL has a number of significant consequences. Most obviously, all SL-complete problems are now in L, and can be gainfully employed in the design of deterministic log-space and polylogarithmic-space algorithms. In particular, we have a new set of tools to use in log-space reductions. It is also now known that a problem is in L if and only if it is log-space reducible to USTCON.

References

*

Romas Aleliunas, Richard M. Karp, Richard J. Lipton, László Lovász, and Charles Rackoff. Random walks, universal traversal sequences, and the complexity of maze problems. "20th Annual Symposium on Foundations of Computer Science", pp.218–223. San Juan, Puerto Rico. IEEE. October 1979.

*
A. Borodin, S. A. Cook, P. W. Dymond, W. L. Ruzzo, and M. Tompa. [http://portal.acm.org/citation.cfm?id=68485 Two applications of inductive counting for complementation problems] . "SIAM Journal on Computing", v.18 n.3, p.559-578. June 1989.

*
Carme Àlvarez and Raymond Greenlaw. [http://www.cs.armstrong.edu/greenlaw/research/compendium.ps A Compendium of Problems Complete for Symmetric Logarithmic Space] . "Computational Complexity",pp.9:73–95. 2000.

*
Jesper Jansson. [http://www.df.lth.se/~jj/Publications/STCON2.ps Deterministic Space-Bounded Graph Connectivity Algorithms] . Manuscript. 1998.

*
Harry R. Lewis and Christos H. Papadimitriou. Symmetric space-bounded computation. "Theoretical Computer Science". pp.161-187. 1982.

*
Noam Nisan, Endre Szemerédi, and Avi Wigderson. [http://www.math.ias.edu/~avi/PUBLICATIONS/MYPAPERS/NSW92/stoc.ps Undirected Connectivity in "O"(log1.5 "n") space] . In "Proceedings 33rd Annual Symposium on Foundations of Computer Science". Pittsburgh, PA. IEEE. pp. 24-29. 1992.

*
Noam Nisan and Amnon Ta-Shma. [http://citeseer.ist.psu.edu/6378.html Symmetric logspace is closed under complement] . "Chicago Journal of Theoretical Computer Science". 1995.

*
C. Papadimitriou. "Computational Complexity". Addison-Wesley, 1994. ISBN 0-201-53082-1.

*
Omer Reingold. [http://www.wisdom.weizmann.ac.il/~reingold/publications/sl.ps Undirected ST-connectivity in Log-Space] . Electronic Colloquium on Computational Complexity. No. 94. ( [http://www.cs.cas.cz/~savicky/vyuka/vypsl/sl.pdf Draft PDF] )

*
W. J. Savitch. Relationships between nondeterministic and deterministic tape complexities. "J. Comput. System Sci", 4, 2, pp. 177-192. 1970.

*
Michael Sipser. "Introduction to the Theory of Computation". PWS Publishing Co., Boston 1997 ISBN 0-534-94728-X.

Footnotes

1. Jansson, section 3.4 (pg.4). Lewis and Papadimitriou. 2. Compendium. 3. Sipser, section 8.1 (pg.279). Papadimitriou, section 7.3 (pg.146). Savitch. 4. Papadimitriou, section 16.3 (pg.401). Aleliunas. 5. Borodin. 6. Jansson, section 5.1 (pg.9). Nisan and Szemerédi. 7. Nisan and Ta-Shma. Compendium, pg.2. 8. Nisan and Ta-Shma, Corollary 3.1. Compendium, pg.5. 9. Reingold.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Complexity management — is a business methodology that deals with the analysis and optimization of complexity in enterprises. Effects of complexity pertain to all business processes along the value chain and hence complexity management requires a holistic approach.… …   Wikipedia

  • Complexity theory and organizations — Complexity theory and organizations, also called complexity strategy or complex adaptive organization, is the use of Complexity theory in the field of strategic management and organizational studies. Contents 1 Overview 2 Early research 3 Later… …   Wikipedia

  • compLexity — coL Логотип организации Страна …   Википедия

  • Complexity theory and strategy — Complexity theory has been used extensively in the field of strategic management and organizational studies, sometimes called complexity strategy or complex adaptive organization on the internet or in popular press. Broadly speaking, complexity… …   Wikipedia

  • Complexity (journal) —   Discipline Complex Systems …   Wikipedia

  • Complexity, Problem Solving, and Sustainable Societies — is a paper on energy economics by Joseph Tainter from 1996. Contents 1 Focus 1.1 Attempts 1.2 Requirement of knowledge 2 See …   Wikipedia

  • Complexity theory — may refer to: The study of a complex system or complex systems Complexity theory and organizations, the application of complexity theory to strategy Complexity economics, the application of complexity theory to economics Chaos theory, the study… …   Wikipedia

  • compLexity — Kürzel coL Manager Vereinigte Staaten Jason „1“ Lake …   Deutsch Wikipedia

  • Complexity — Com*plex i*ty, n.; pl. {Complexities}. [Cf. F. complexit[ e].] 1. The state of being complex; intricacy; entanglement. [1913 Webster] The objects of society are of the greatest possible complexity. Burke. [1913 Webster] 2. That which is complex;… …   The Collaborative International Dictionary of English

  • complexity — complexity. См. сложность генома. (Источник: «Англо русский толковый словарь генетических терминов». Арефьев В.А., Лисовенко Л.А., Москва: Изд во ВНИРО, 1995 г.) …   Молекулярная биология и генетика. Толковый словарь.

  • complexity — index complication, confusion (turmoil), enigma, entanglement (confusion), imbroglio, impasse …   Law dictionary

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”