Documentation

CslibFrontier.Computability.Complexity.Problems.StronglyConnected.Completeness

Strongly connected digraphs are NL-complete #

The strongly connected digraphs (Cslib.Complexity.StronglyConnected, encoded by their adjacency matrices as Cslib.Complexity.encDigraph) are complete for nondeterministic logarithmic space under logspace many-one reductions Arora and Barak, Exercise 4.4 (Cslib.Complexity.StronglyConnected.logSpaceComplete). The classes are the library's native ones, as for directed connectivity (Cslib.Complexity.STCON.logSpaceComplete).

Main results #

References #

Directed s–t connectivity reduces to strong connectivity in logarithmic space, by adding an arc from every vertex to s and from t to every vertex.

Strong connectivity is NL-hard under logspace many-one reductions: every problem in NL reduces to directed connectivity, which reduces to strong connectivity.

Strong connectivity is NL-complete under logspace many-one reductions Arora and Barak, Exercise 4.4.

Strong connectivity is in L exactly when NL = L, for every encoding of instances.