Undirected connectivity, symmetric logarithmic space, and SL = L #
Reingold's theorem Reingold, Theorem 4.1
Arora and Barak, Section 21.4: undirected s–t connectivity, on simple graphs
given by their adjacency matrices (Cslib.Complexity.encUSTCON), is in L
(Cslib.Complexity.USTCON_mem_L).
The decider is the read machine Cslib.USTCON.Reader.machine, which walks in Reingold's graph of
the input along all label sequences of length O(log n) and evaluates its rotation map in place
with a constant number of labels per level; its simulation on multi-tape machines runs in space
O(log m) on encodings of length m (Cslib.USTCON.computableInLogSpace_decide). As for every
problem in L enc, the decider is only required to be correct on the encodings of instances;
recognising which bit strings are encodings is not part of the statement.
Symmetric logarithmic space (Cslib.Complexity.SL) is defined here by its logspace many-one
reduction characterization as the class of problems logspace many-one reducible to USTCON
Lewis and Papadimitriou
Reingold, Section 1 and Theorem 4.2 (the symmetric Turing machine model and its
equivalence with logspace reducibility to USTCON are not separately formalized). Combining
USTCON_mem_L with the logspace reduction of any problem in L to USTCON via the canonical
two-vertex witness Cslib.Complexity.USTCONInstance.ofBool yields completeness of USTCON for L
(Cslib.Complexity.USTCON_logSpaceComplete_L) and Reingold's corollary SL = L
(Cslib.Complexity.SL_eq_L) Reingold, Theorem 4.2.
Main definitions #
Cslib.Complexity.SL: symmetric logarithmic space, characterized as the problems logspace many-one reducible toUSTCON.
Main results #
Cslib.Complexity.USTCON_mem_L: undirected connectivity is inL.Cslib.Complexity.USTCON_mem_SL,Cslib.Complexity.LogSpaceReducible.mem_SL:USTCON ∈ SLand closure ofSLunder logspace many-one reductions.Cslib.Complexity.USTCON_logSpaceHard_SL,Cslib.Complexity.USTCON_logSpaceComplete_SL:USTCONis logspace-complete forSL, immediately from the definition ofSL.Cslib.Complexity.USTCON_logSpaceHard_L,Cslib.Complexity.USTCON_logSpaceComplete_L:USTCONis logspace-complete forL.Cslib.Complexity.SL_subset_L,Cslib.Complexity.L_subset_SL,Cslib.Complexity.SL_eq_L: symmetric logarithmic space coincides with deterministic logarithmic space (SL = L).Cslib.Complexity.compl_mem_SL:SLis closed under complement.
References #
Symmetric logarithmic space SL, defined by its logspace many-one reduction
characterization as the class of problems logspace many-one reducible to undirected s–t
connectivity USTCON Lewis and Papadimitriou
Reingold, Section 1 and Theorem 4.2. The symmetric Turing machine model and its
equivalence with logspace reducibility to USTCON are not separately formalized.
Instances For
USTCON is logspace-hard for SL. This holds by the definition of SL; the theorem of Lewis
and Papadimitriou about symmetric machines is not formalized.
USTCON is logspace-complete for SL, by the definition of SL. For symmetric machines this
is the theorem of Lewis and Papadimitriou [LP82], which is not formalized.
USTCON is logspace-hard for L: compose a logspace decider with the finite map
USTCONInstance.ofBool.
USTCON is logspace-complete for L Reingold, Theorem 4.1.
Symmetric logarithmic space is contained in deterministic logarithmic space: every
problem logspace-reducible to USTCON is in L by USTCON_mem_L
Reingold, Theorem 4.2.