Undirected connectivity by short walks in an explicit graph #
This is the combinatorial core of Reingold's theorem that undirected s–t connectivity is in
deterministic logarithmic space Reingold, Theorem 4.1
Arora and Barak, Section 21.4, with explicit constants. For a simple graph G on
Fin n and any a with n ≤ 2 ^ a:
- the slot graph of
G(Cslib.RotationMap.slotGraph, with the slots of a vertex in the cyclic order offinRotate n) is a3-regular multigraph onFin n × Fin nwith the connectivity ofG; its labels are extended by self-loops to the257 ^ 8vertices of the base graph below, so that at least half of the edges at every vertex are self-loops (Cslib.Reachability.Reingold.input); - the base graph
Cslib.Reachability.Reingold.baseis the arithmetic zig-zag base graph overZMod 257(Cslib.RotationMap.affinePlaneTowerBase), a257 ^ 2-regular multigraph on257 ^ 8vertices of spectral expansion at most1 / 5, computed by field arithmetic; depth a = 16 a + 524steps of Reingold's transformation (Cslib.RotationMap.reingold) make every connected component an expander withλ ≤ 4 / 5, and walks of lengthwalkLength a = 4 (2 a + 65 depth a)reach every vertex of a component.
So t is reachable from s exactly when some walk of length walkLength a in graph G a from
the vertex start s a over the slot (s, s) ends over a slot of t
(Cslib.Reachability.Reingold.reachable_iff_exists_walk_of_le_two_pow), and with a = ⌈log₂ n⌉
(Cslib.Reachability.Reingold.reachable_iff_exists_walk). Both the depth and the walk length are
O(log n), and the graph has constant degree 257 ^ 8, so the walks can be enumerated with
O(log n) bits.
The constants are far from optimal: they come from the gap growth γ ↦ min (6 γ / 5) (1 / 5) of a
step that squares once (Cslib.RotationMap.min_le_one_sub_spectralExpansion_reingoldStep), from
the initial gap 1 / (2 N² |B|²) given by Cheeger's inequality, and from rounding log₂ (6 / 5)
and log₂ (5 / 4) down to 1 / 4.
Main definitions #
Cslib.Reachability.Reingold.Label,Cslib.Reachability.Reingold.base: the labels and the base graph.Cslib.Reachability.Reingold.input: the regular rotation map of a simple graph onFin n.Cslib.Reachability.Reingold.depth,Cslib.Reachability.Reingold.walkLength: the number of steps of the transformation and the walk length.Cslib.Reachability.Reingold.graph,Cslib.Reachability.Reingold.start: the transformed graph and the start vertex overs.
Main results #
Cslib.Reachability.Reingold.spectralExpansion_base_le: the base graph hasλ ≤ 1 / 5.Cslib.Reachability.Reingold.reachable_input_iff: the regular rotation map has the connectivity of the simple graph.Cslib.Reachability.Reingold.reachable_iff_exists_walk_of_le_two_pow,Cslib.Reachability.Reingold.reachable_iff_exists_walk: undirected connectivity is decided by the walks of lengthO(log n)from one vertex of the constant-degree graphgraph G a.
References #
The labels of the graphs of Reingold's transformation: the 257 ^ 8 vertices of the base graph,
eight coordinates in ZMod 257.
Instances For
The base graph of the transformation: the arithmetic zig-zag base graph over ZMod 257, a
257 ^ 2-regular multigraph on 257 ^ 8 vertices.
Instances For
There are 257 ^ 8 labels.
The base graph is a good expander: its spectral expansion is at most 1 / 5.
The three labels of the slot graph, as labels of the base graph.
Instances For
The regular rotation map of a simple graph on Fin n: its slot graph, with the slots of a
vertex in the cyclic order of finRotate n, with self-loops added to reach the labels of the base
graph.
Instances For
The regular rotation map has the connectivity of the simple graph: a slot q is reachable
from a slot p exactly when the vertex of q is reachable from the vertex of p in G.
At least half of the edges at every vertex of the regular rotation map are self-loops.
The number of steps of the transformation for graphs on at most 2 ^ a vertices:
16 a + 524.
Instances For
The length of the walks for graphs on at most 2 ^ a vertices: 4 (2 a + 65 depth a).
Instances For
Reingold's graph of a simple graph on Fin n: depth a steps of Reingold's transformation
applied to its regular rotation map, a 257 ^ 8-regular multigraph.
Instances For
Undirected connectivity by short walks in Reingold's graph, the combinatorial part of the
proof of Reingold, Theorem 4.1 Arora and Barak, Section 21.4: for
a simple graph G on Fin n with n ≤ 2 ^ a, t is reachable from s exactly when some walk of
length walkLength a in the 257 ^ 8-regular graph graph G a from start s a ends at a vertex
over a slot (t, w) of t.
Undirected connectivity by short walks in Reingold's graph, with a = ⌈log₂ n⌉: t is
reachable from s exactly when some walk of length walkLength ⌈log₂ n⌉ = O(log n) in the
257 ^ 8-regular graph graph G ⌈log₂ n⌉ from start s ⌈log₂ n⌉ ends over a slot of t.