A directed walk in a digraph $G$ from vertex $u$ to vertex $v$: either the empty walk at $u$, or a step along a directed edge followed by another walk.
- nil {V : Type u_1} {G : Digraph V} {u : V} : DirectedWalk G u u
- cons {V : Type u_1} {G : Digraph V} {u v w : V} (h : G.Adj u v) (p : DirectedWalk G v w) : DirectedWalk G u w
Instances For
The length (number of edges) of a directed walk.
Instances For
The list of vertices visited by a directed walk, in order.
Instances For
Concatenation of two directed walks meeting at a common vertex.
Instances For
Recast a directed walk along propositional equalities of its endpoints.
Instances For
A directed walk from a vertex to itself is a cycle if it has positive length and visits each vertex at most once (no repeated vertices apart from the start/end).
Instances For
Out-degree of a vertex $v$ in a digraph: the number of vertices $w$ with $v \to w$.
Instances For
In-degree of a vertex $v$ in a digraph: the number of vertices $w$ with $w \to v$.
Instances For
A digraph is $d$-regular if every vertex has in-degree and out-degree both equal to $d$.
Instances For
A successor labeling $f : V \to \mathbb{Z}/k\mathbb{Z}$ assigns each vertex $v$ an out-neighbor $w$ whose label is $f(v) + 1$; following such successors produces a cycle of length divisible by $k$.
Instances For
Build the directed walk along the first $m$ steps of a vertex sequence whose consecutive elements are adjacent.
Instances For
If seq is injective on indices $\le m$, then the support of consWalk G seq hadj m has no
duplicate vertices.
Tail-version of consWalk_support_nodup: if seq is injective on indices $1 \le i \le m$,
then the tail of the walk's support has no duplicates (used for proving the cycle property).
A successor labeling $f : V \to \mathbb{Z}/k\mathbb{Z}$ yields a directed cycle in $G$ whose length is divisible by $k$, obtained by following successors from any starting vertex.
LLL-based existence of a successor labeling: if minimum out-degree $\delta$ and maximum in-degree $\Delta$ satisfy $k \le \delta / (1 + \log(1 + \delta\Delta))$, then a random labeling yields a successor labeling with positive probability (Theorem 6.4.3, Alon-Linial).
Combining successor_labeling_exists and cycle_of_successor_labeling: any digraph with
minimum out-degree $\delta$ and maximum in-degree $\Delta$ satisfying the LLL bound has a
directed cycle of length divisible by $k$.
Existence of a degree $d \ge 1$ (here taken to be $25k^2$) satisfying the LLL bound $k \le d / (1 + \log(1 + d^2))$, used to convert the bound into a concrete regularity hypothesis.
Theorem 6.4.1 (Alon-Linial 1989): for every $k \ge 1$ there exists $d$ such that every $d$-regular digraph contains a directed cycle of length divisible by $k$.
A simple graph $G$ contains a cycle whose length is divisible by $k$.
Instances For
Bridge from the directed to the undirected setting: any $2d$-regular simple graph admits an Eulerian orientation that is $d$-regular as a digraph, so existence of a directed cycle of length divisible by $k$ in the orientation yields an undirected cycle of the same length.
Corollary 6.4.2 (undirected version of Alon-Linial): for every $k \ge 1$ there exists $d$ such that every $2d$-regular simple graph contains a cycle of length divisible by $k$.