1 Spectral theory of regular graphs
In this chapter, we introduce the definitions related to regular graphs and their spectrum. We refer the reader to [ for a more detailed introduction and motivations.
As in Graph, a graph is a pair \(G = (V, E)\) where \(V\) is a set of vertices, and \(E\) a set of edges, and each edge links two unordered, possibly identical vertices. The notations \(V(G)\) and \(E(G)\) respectively denote the subsets of \(V\) and \(E\) corresponding to vertices or edges of \(G\).
Note that this definition allows for loops (i.e. edges going from one vertex to itself) and multi-edges (i.e. multiple edges connecting two vertices). This convention is essential to the proof we are aiming for, which is why we use Graph instead of the more developed SimpleGraph.
Following Inc, we say an edge \(e\) is incident to a vertex \(x\) if there exists a vertex \(y\) such that \(e\) links \(x\) and \(y\). As IsLoopAt, an edge is a loop based at a vertex \(x\) if it links the vertex \(x\) to itself.
1.1 Basic notions of graph theory
Let us define a few basic notions from graph theory. We make definitions with minimal hypotheses as these are fundamental objects that should be added to Mathlib.
1.1.1 General definitions
We say a graph \(G\) is empty if \(V(G) = \emptyset \).
A graph \(G\) is bipartite if there exists two disjoint subsets \(U_1\), \(U_2\) of \(V(G)\) such that, for all \(e \in E(G)\), \(e\) links an element of \(U_1\) and an element of \(U_2\).
1.1.2 Paths and distance
We define a notion of walk on the graph, and a corresponding distance function. Let \(G\) be a graph.
Let \(x, y \in V(G)\). A walk from \(x\) to \(y\) on \(G\) is given by:
a non-negative integer \(m\);
an ordered sequence of \(m+1\) vertices \(v_0, \ldots , v_m \in V(G)\);
an ordered sequence of \(m\) edges \(e_1, \ldots , e_m \in E(G)\);
satisfying the following:
\(v_0=x\) and \(v_m=y\);
for any \(i \in \{ 1, \ldots , m\} \), \(e_i\) links \(v_{i-1}\) and \(v_i\).
The integer \(m\) is the length of the walk.
We say \(G\) is connected if, for all \(x\), \(y \in V(G)\), there exists a walk from \(x\) to \(y\).
todo
todo
todo
1.1.3 Notions of finiteness
Let \(G\) be a graph.
Let \(x\) be a vertex of \(G\). We say \(G\) is locally finite at \(x\) if \(\mathrm{incidenceSet}(x)\) is finite.
\(G\) is said to be locally finite if, for all \(x \in V(G)\), \(G\) is locally finite at \(x\).
We say \(G\) is finite if \(V(G)\) and \(E(G)\) are both finite.
\(G\) is finite if and only if \(V(G)\) is finite and \(G\) is locally finite.
1.1.4 Degree and regularity
Let \(G\) be a graph.
Let \(x\) be a vertex of \(G\). We assume \(G\) is locally finite at \(x\). The degree of \(x\) is the number of incident edges, counting loops twice:
Let \(d\) be a non-negative integer. We say \(G\) is regular of degree \(d\) if it is not empty, locally finite and, for every \(x \in V(G)\), \(\deg (x) = d\).
We say \(G\) is locally bounded if it is locally finite and there exists a constant \(D\) such that, for all \(x \in V(G)\), \(\deg (x) \leq D\).
1.2 Adjacency operator
Let \(G\) be a graph. We will be interested in the Hilbert space \(\ell ^2(G) := \ell ^2(V(G))\), which is defined as the set of functions \(f : V(G) \rightarrow \mathbb {C}\) which are square-summable, equipped with the inner product
The space \(\mathcal{B}(\ell ^2(G))\) of bounded linear operators on \(\ell ^2(G)\) is a unital \(\mathbb {C}^*\)-algebra. Note that, in this context, \(0\) is the constant function equal to \(0\).
1.2.1 Constant fonctions
The constant function equal to \(1\) is defined by
Assume \(G\) is not empty. Then the constant function \(\mathbf{1}\) is not equal to \(0\).
If \(G\) is not empty, then by Definition 1, there exists \(x \in V(G)\). Then \(\mathbf{1}(x) = 1 \neq 0\), and hence \(\mathbf{1}\) is not equal to the constant function \(0\).
The constant function \(\mathbf{1}\) belongs in \(\ell ^2(G)\) if and only if \(V(G)\) is finite.
1.2.2 Definition of the adjacency operator and elementary properties
Assume \(G\) is locally finite.
We define the adjacency operator \(a\) as the linear operator acting on the space of functions \(f : V(G) \rightarrow \mathbb {C}\) by
For any \(x \in V(G)\), \(a \mathbf{1}(x) = \deg (x)\).
Let \(x \in V(G)\). We have
1.2.3 Norm of the adjacency operator
Let \(G\) be a locally finite graph. The aim of this subsection is to prove the following.
Assume \(G\) is locally bounded. Then the adjacency operator is a bounded operator on \(\ell ^2(G)\) and its norm satisfies \(\| a\| \leq \sup _{x \in V(G)} \deg (x)\).
Here is a key lemma.
For any function \(f : V(G) \rightarrow \mathbb {C}\), any vertex \(x \in V(G)\),
Let \(f : V(G) \rightarrow \mathbb {C}\) and \(x \in V(G)\). By Definition 18,
By the Cauchy-Schwarz inequality,
This leads to the claim by Definition 12.
Then Proposition 20 is a trivial consequence of the following lemma, together with the definition of bounded operator and operator norm.
Assume \(G\) is locally bounded. Then, for any \(f \in \ell ^2(G)\), \(a f \in \ell ^2(G)\) and
To write, basically we need to sum Lemma 21 for \(x \in V(G)\) (find the correct summation result), change the order of summation (same) and observe that
1.2.4 Adjacency operator is self-adjoint
Let \(G\) be a locally bounded graph.
The adjacency operator is selfadjoint.
The following lemma will be very handy.
For any \(f\), \(g\) in \(\ell ^2(G)\),
Let \(f\), \(g\) be elements of \(\ell ^2(G)\). By Proposition 22, \(a f \in \ell ^2(G)\). By definition of the scalar product,
By Definition 18,
(todo: justify the change of order of summation, notably using Lemma 22 to have absolute convergence) which we can reorder to the result.
We are now ready to prove Proposition 23.
Let \(f\), \(g\) be elements of \(\ell ^2(G)\). We have by Lemma 24
by complex conjugation, commutativity of addition and isLink_symm. Hence by Lemma 24
by inner_conj_symm. This means that \(a^*=a\) by definition of the adjoint, which means \(a\) is self-adjoint by definition.
The spectrum of the adjacency matrix is real.
This follows from Proposition 23 with selfAdjoint.mem_spectrum_eq_re.
1.2.5 The case of regular graphs
Let \(d\) be a non-negative integer.
Assume \(G\) is not empty and locally finite. Then \(G\) is regular of degree \(d\) iff \(a \mathbf{1}= d \mathbf{1}\).
If \(G\) is regular of degree \(d\), then \(\| a \| \leq d\).
This is simply Proposition 20.
If \(G\) is regular of degree \(d\), then the spectrum of \(a\) is included in the segment \([-d,d]\).
1.2.6 The case of finite graphs
Assume \(G\) is finite and let \(n\) denote the cardinal of \(V(G)\). Then the spectrum of the adjacency operator is a family of \(n\) real eigenvalues
This is the spectral theorem in finite dimension.
1.2.7 The case of finite regular graphs
Let \(d\) be a non-negative integer.
Assume \(G\) is regular of degree \(d\) and finite. Then \(d\) is an eigenvalue of the adjacency operator with associated eigenfunction the constant function \(\mathbf{1}\).
Since \(G\) is finite, \(\mathbf{1}\in \ell ^2(G)\) by Lemma 17. Furthermore, \(\mathbf{1}\neq 0\) by Lemma 16 and since \(G\) is not empty by Definition 13. By Lemma 26, if \(G\) is regular of degree \(d\), then \(a \mathbf{1}= d \mathbf{1}\). We conclude by the definition of eigenvalue and eigenvector.
If \(G\) is finite and regular of degree \(d\), then \(\| a\| =d\).
Let \(G\) be a regular graph of degree \(d\). Assume \(G\) is finite with \(n\) vertices. Let \(m\) be the number of connected components of \(G\). Then \(\lambda _i = d\) for all \(i \in \{ 1, \ldots , m\} \).
todo
Let \(G\) be a regular graph of degree \(d\). Assume \(G\) is finite with \(n\) vertices. Then \(\lambda _n = -d\) iff the graph is bipartite.
todo