Non-backtracking walks — the foundation of the AHL irregular-Moore ladder #
This file begins the non-backtracking-walk proof of the irregular Moore bound
of Alon, Hoory and Linial ("The Moore bound for irregular graphs", Graphs and
Combinatorics 18 (2002), 53–57). The imported dependency closure includes
walk counting (NBWalkCount, NBWeighted), stationary weighted marginals
(AHLStationary, AHLMarginals), weighted AM–GM (AHLAmGm), and the resulting
ball bound ahl_ball_moore and girth bound ahl_ball_girth_bound in Band.Sum.
This file lands the non-backtracking walk machinery the bound is counted over. A walk is
non-backtracking when it never immediately reverses a step: w.getVert (i + 2) ≠ w.getVert i
for every valid i. This is the exact getVert form the SQRT ray/ball rows consume.
Contents #
IsNonBacktracking— the predicate, plus its basic API (niland length-≤ 1walks are non-backtracking; every path is non-backtracking).nb_walk_isPath_of_girth— the injectivity core: under the landed girth hypothesis (no cycle of length≤ 2r + 1), every non-backtracking walk of length≤ ris a path. This generalizes the ray-growth injectivityexists_isPath_len_of_min_two(that grew one such path; here every non-backtracking walk is one). The proof peels the first edge, so the tail is a non-backtracking walk of length≤ rhence a path by induction; a revisit of the start vertex then supplies two distinct short paths to it, closing a cycle of length≤ r ≤ 2r + 1.nb_extension_count— thedeg − 1branching atom: the neighbours ofyother than the arrived-from vertexznumberdeg y − 1. This is the per-step count the future AM-GM-weighted AHL count consumes.
Scope note #
The degree-weighted lower bound on the number of non-backtracking walks and the weighted AM-GM assembly into the Moore bound are the follow-up counting node; this file lands the foundation only.
A walk is non-backtracking when it never immediately reverses a step: for every position
i with i + 2 ≤ w.length, the vertex two steps ahead differs from the current one. (For nil
and single-edge walks the condition is vacuous.)
Instances For
Any walk of length at most 1 (in particular nil and a single edge) is non-backtracking:
there is no position i with i + 2 ≤ w.length.
A single-edge walk is non-backtracking.
The injectivity core. In a graph with no cycle of length ≤ 2r + 1, every
non-backtracking walk of length ≤ r is a path. (The special case where the walk is grown one
edge at a time is the landed ray-growth exists_isPath_len_of_min_two.) Peeling the first edge,
the tail is a non-backtracking walk of length ≤ r, hence a path by induction. If the start
vertex x were revisited on the tail, the sub-path to it and the single reversing edge give two
distinct paths whose total length is ≤ r, closing a cycle of length ≤ 2r + 1 — impossible.
The deg − 1 branching atom. A non-backtracking walk arriving at y from z may continue
to any neighbour of y except z; these valid next-vertices are neighborFinset y \ {z} and
there are exactly deg y − 1 of them. This is the per-step count the AHL non-backtracking-walk
count is built on.