The complete graph with self-loops #
The simplest nontrivial RegGraph: n vertices, degree n, with the i-th
neighbour of every vertex being i. Its rotation map is the swap, so every
vertex is joined to every vertex including itself.
It is a perfect expander: one step of its walk lands on the uniform
distribution, so the walk operator annihilates mean-zero functions and
SpectralBound 0 holds. This validates the definitions in RegularGraph on a
case where the answer is known, and supplies the loops that WalkPath needs.
Main definitions #
RegGraph.cliqueLoops— the complete graph with all self-loopsRegGraph.cliqueLoopsLoops— its canonical self-loop at each vertex
Main results #
RegGraph.nbr_cliqueLoops,RegGraph.step_cliqueLoopsRegGraph.spectralBound_cliqueLoops— a spectral bound of0
The complete graph on n vertices with a self-loop at every vertex,
presented by the swap rotation map: the i-th neighbour of v is i.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every vertex of the complete graph with loops has a self-loop, namely its own index.
Equations
- Complexity.RegGraph.cliqueLoopsLoops n hn = { loop := fun (v : (Complexity.RegGraph.cliqueLoops n hn).V) => v, rot_loop := ⋯ }
Instances For
One step of the walk lands on the uniform distribution: the average of f
over all vertices, whatever the current vertex.
The complete graph with loops is a perfect expander.