MerLean-example

20 Def 14: Graph Expansion

Lemma 239 Adjacency Matrix is Hermitian
#

Let \(G\) be a simple graph on a finite vertex type \(V\) with decidable adjacency. Then the adjacency matrix \(G.\operatorname {adjMatrix}(\mathbb {R})\) is Hermitian.

Proof

We unfold the definition of IsHermitian. Since the scalar ring is \(\mathbb {R}\), the conjugate transpose coincides with the ordinary transpose (by Matrix.conjTranspose_eq_transpose_of_trivial). Rewriting with this identity and with the symmetry of the adjacency matrix (G.isSymm_adjMatrix), the goal reduces to reflexivity.

Definition 240 Eigenvalues of the Adjacency Matrix
#

Let \(G\) be a simple graph on a finite vertex type \(V\) with decidable adjacency, and write \(n = |V|\). The adjacency eigenvalues of \(G\) are the function

\[ \operatorname {adjEigenvalues}(G) : \operatorname {Fin}(n) \to \mathbb {R} \]

defined as the eigenvalues \(\lambda _0 \geq \lambda _1 \geq \cdots \geq \lambda _{n-1}\) of \(G.\operatorname {adjMatrix}(\mathbb {R})\), sorted in decreasing order. Concretely, this is (adjMatrix_isHermitian G).eigenvalues\(_0\).

Theorem 241 Eigenvalues are Antitone

Let \(G\) be a simple graph on a finite vertex type \(V\) with decidable adjacency. The map \(\operatorname {adjEigenvalues}(G) : \operatorname {Fin}(|V|) \to \mathbb {R}\) is antitone: for all \(i \leq j\),

\[ \operatorname {adjEigenvalues}(G)(i) \; \geq \; \operatorname {adjEigenvalues}(G)(j). \]
Proof

This follows directly by applying the field eigenvalues\(_0\)_antitone of the Hermitian matrix structure to adjMatrix_isHermitian G.

Definition 242 Second-Largest Eigenvalue
#

Let \(G\) be a simple graph on a finite vertex type \(V\) with decidable adjacency, and suppose \(|V| \geq 2\). The second-largest eigenvalue \(\lambda _2\) of \(G\) is

\[ \lambda _2(G) \; :=\; \operatorname {adjEigenvalues}(G)\! \left(\langle 1, \cdot \rangle \right) \; \in \; \mathbb {R}, \]

i.e. the eigenvalue at index \(1\) in the decreasing sequence \(\lambda _0 \geq \lambda _1 \geq \cdots \).

Definition 243 Spectral Gap
#

Let \(G\) be a finite \(s\)-regular simple graph on \(V\) with \(|V| \geq 2\). The spectral gap of \(G\) is

\[ \operatorname {spectralGap}(G, s) \; :=\; s - \lambda _2(G) \; \in \; \mathbb {R}, \]

where \(\lambda _2(G)\) is the second-largest eigenvalue of \(G\). A larger spectral gap indicates better expansion properties.

Definition 244 Expander Family
#

Let \(\iota \) be an index type, \(n : \iota \to \mathbb {N}\) a family of sizes, \(s \in \mathbb {N}\) a uniform regularity degree, and \(G_i\) a simple \(s\)-regular graph on \(\operatorname {Fin}(n(i))\) for each \(i \in \iota \), with \(n(i) \geq 2\) for all \(i\). The family \(\{ G_i\} _{i \in \iota }\) is an expander family if there exists \(\varepsilon {\gt} 0\) such that

\[ \lambda _2(G_i) \; \leq \; s - \varepsilon \qquad \text{for all } i \in \iota , \]

i.e. the spectral gap of every graph in the family is uniformly bounded below by \(\varepsilon \).

Definition 245 Ramanujan Graph
#

Let \(G\) be a finite \(s\)-regular simple graph on \(V\) with \(|V| \geq 2\). The graph \(G\) is Ramanujan if every eigenvalue \(\lambda \) of the adjacency matrix satisfying \(|\lambda | {\lt} s\) also satisfies

\[ |\lambda | \; \leq \; 2\sqrt{s - 1}. \]

Formally, \(G\) is Ramanujan if for all \(i \in \operatorname {Fin}(|V|)\),

\[ |\operatorname {adjEigenvalues}(G)(i)| {\lt} s \; \Longrightarrow \; |\operatorname {adjEigenvalues}(G)(i)| \leq 2\sqrt{s-1}. \]

This is the optimal spectral bound for \(s\)-regular graphs.