38 Thm 11: LPS Graphs are Ramanujan
Let \(q\) be an odd prime with \(q \geq 5\). Then
We construct an injection from \(\mathbb {Z}/q\mathbb {Z} \sqcup \{ *\} \) into \(\operatorname {PGL}(2,q)\) by sending \(a \in \mathbb {Z}/q\mathbb {Z}\) to the class of the upper unipotent matrix
and sending the single element of \(\{ *\} \) to the class of the swap matrix
We verify injectivity in four cases. If \(\operatorname {projPGL}(U(a)) = \operatorname {projPGL}(U(b))\), then there exists a central element \(z\) in \(\operatorname {GL}(2,q)\) with \(U(a) \cdot z = U(b)\). Since \(z\) is central, it commutes with \(U(1) = \begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix}\); by expanding the commutation relation at entry \((1,0)\) we obtain \(z_{10} = 0\), and at entry \((0,1)\) we obtain \(z_{00} = z_{11}\). Similarly, commuting with \(E_{21} = \begin{pmatrix} 1 & 0 \\ 1 & 1 \end{pmatrix}\) yields \(z_{01} = 0\). Substituting into the equation \(U(a) \cdot z = U(b)\) and reading off entry \((0,0)\) gives \(z_{00} = 1\), after which entry \((0,1)\) yields \(a \cdot z_{11} = b\). Since \(z_{00} = z_{11} = 1\), we conclude \(a = b\).
If \(\operatorname {projPGL}(S) = \operatorname {projPGL}(U(a))\), then \(S \cdot z = U(a)\) for some central \(z\). The same argument gives \(z_{10} = 0\), \(z_{01} = 0\). Reading entry \((1,0)\) of \(S \cdot z = U(a)\) yields \(-z_{00} = 0\), and entry \((1,1)\) yields \(-z_{01} = 1\); but \(z_{01} = 0\), giving \(0 = 1\), a contradiction. The remaining cases are symmetric or trivial.
Thus the map is injective, and by counting we obtain \(|\operatorname {PGL}(2,q)| \geq |\mathbb {Z}/q\mathbb {Z}| + 1 = q + 1 \geq 6\) for \(q \geq 5\).
Let \(q\) be an odd prime with \(q \geq 5\). Then
We construct an injection from \(\mathbb {Z}/q\mathbb {Z} \sqcup \{ *\} \) into \(\operatorname {PSL}(2,q)\) by sending \(a\) to the class of the upper unipotent \(\operatorname {SL}\) element \(U(a) = \bigl(\begin{smallmatrix} 1 & a \\ 0 & 1 \end{smallmatrix}\bigr)\) and \(*\) to the class of the swap \(\operatorname {SL}\) element \(S = \bigl(\begin{smallmatrix} 0 & 1 \\ -1 & 0 \end{smallmatrix}\bigr)\).
Injectivity is established by the same argument as in \(\operatorname {PGL}\): if \(\operatorname {projPSL}(U(a)) = \operatorname {projPSL}(U(b))\), there is a central \(z \in \operatorname {SL}(2,q)\) with \(U(a) \cdot z = U(b)\). Commuting \(z\) with \(E_{12}\) gives \(z_{10} = 0\) and \(z_{00} = z_{11}\); commuting with \(E_{21}\) gives \(z_{01} = 0\). Expanding \(U(a) \cdot z = U(b)\) then forces \(z_{00} = 1\) and \(a = b\).
The case \(\operatorname {projPSL}(S) = \operatorname {projPSL}(U(a))\) leads to \(z_{01} = 0\) and the equation at entry \((1,1)\) of \(S \cdot z = U(a)\) gives \(-z_{01} = 1\), i.e. \(0 = 1\), a contradiction. Hence the map is injective, so \(|\operatorname {PSL}(2,q)| \geq q + 1 \geq 6\).
Let \(p\) and \(q\) be odd primes with \(q {\gt} 2\sqrt{p}\). Then \(q \geq 5\).
We argue by contradiction. Suppose \(q {\lt} 5\), so \(q \leq 4\). Since \(q\) is an odd prime and \(q \leq 4\), we must have \(q = 3\).
Since \(p\) is an odd prime, \(p \geq 3\), hence \((p : \mathbb {R}) \geq 3\). From the hypothesis \(q {\gt} 2\sqrt{p}\) with \(q = 3\), we have \(3 {\gt} 2\sqrt{p}\), so \(9 {\gt} 4p\). But \(4p \geq 12\), giving \(9 {\gt} 12\), a contradiction. Formally, let \(s = \sqrt{p}\); then \(s \geq 0\) and \(s^2 = p \geq 3\). The inequality \(3 {\gt} 2s\) gives \((3 - 2s)^2 {\gt} 0\) and \(9 {\gt} 4s^2 = 4p \geq 12\), which is absurd; this is derived by nonlinear arithmetic from \(\operatorname {nlinarith}\) using \((2\sqrt{p} - 3)^2 \geq 0\).
Let \(p, q\) be distinct odd primes with \(q {\gt} 2\sqrt{p}\). Then
Let \(p, q\) be distinct odd primes with \(q {\gt} 2\sqrt{p}\). Then
blue[Hypothesis-based] The following result is proved under explicit assumptions on the Ramanujan property and a spectral bound, which are deep results requiring algebraic geometry not available in Mathlib.
Let \(p, q\) be distinct odd primes with \(q {\gt} 2\sqrt{p}\), and let \(x, y \in \mathbb {Z}/q\mathbb {Z}\) satisfy \(x^2 + y^2 + 1 = 0\). Let \(G = X_{p,q}^{\operatorname {PGL}}\) be the LPS graph on \(\operatorname {PGL}(2,q)\). Suppose:
(Ramanujan hypothesis) \(G\) is a Ramanujan graph of degree \(p+1\), i.e., every eigenvalue \(\lambda _i\) with \(|\lambda _i| {\lt} p+1\) satisfies \(|\lambda _i| \leq 2\sqrt{p}\).
(Spectral bound hypothesis) \(|\lambda _2(G)| {\lt} p+1\), where \(\lambda _2\) denotes the second-largest eigenvalue.
Then
blue[Uses hypothesis-based assumptions: Ramanujan property and spectral bound]
We unfold the definition of \(\operatorname {IsRamanujan}\) in the hypothesis \(h_{\mathrm{ram}}\): for every index \(i \in \operatorname {Fin}(|\operatorname {PGL}(2,q)|)\) with \(|\lambda _i| {\lt} p+1\), we have \(|\lambda _i| \leq 2\sqrt{p}\). Set the index \(i = 1\), which is valid since \(|\operatorname {PGL}(2,q)| \geq 2\). Applying \(h_{\mathrm{ram}}\) at \(i = 1\) and using the hypothesis \(h_{\mathrm{spec}} : |\lambda _2| {\lt} p+1\) (after casting naturals to reals), we obtain \(|\lambda _2| \leq 2\sqrt{p}\). Since \(\lambda _2 \leq |\lambda _2|\), we conclude \(\lambda _2 \leq 2\sqrt{p}\).
[Assumed Hypotheses for \(\operatorname {PGL}\) Spectral Bound] blueFormalization note: The hypothesis \(h_{\mathrm{ram}}\) (the Ramanujan property of LPS graphs) follows from the Ramanujan–Petersson conjecture for \(\operatorname {GL}(2)/\mathbb {Q}\), proved by Eichler–Igusa for weight 2 modular forms building on Deligne’s proof of the Weil conjectures (1974). The hypothesis \(h_{\mathrm{spec}}\) (\(|\lambda _2| {\lt} p+1\) for connected \((p+1)\)-regular graphs) follows from the Perron–Frobenius theorem. Both results require algebraic geometry and spectral theory not currently available in Mathlib, and are therefore taken as explicit hypotheses in this formalization.
blue[Hypothesis-based] The following result is proved under explicit assumptions on the Ramanujan property and a spectral bound.
Let \(p, q\) be distinct odd primes with \(q {\gt} 2\sqrt{p}\) and \(\left(\frac{p}{q}\right) = 1\) (i.e., \(p\) is a quadratic residue mod \(q\)), and let \(x, y \in \mathbb {Z}/q\mathbb {Z}\) satisfy \(x^2 + y^2 + 1 = 0\). Let \(G = X_{p,q}^{\operatorname {PSL}}\) be the LPS graph on \(\operatorname {PSL}(2,q)\). Given:
(Ramanujan hypothesis) \(G\) is Ramanujan of degree \(p+1\).
(Spectral bound hypothesis) \(|\lambda _2(G)| {\lt} p+1\).
Then
blue[Uses hypothesis-based assumptions: Ramanujan property and spectral bound]
We unfold the definition of \(\operatorname {IsRamanujan}\) and apply it at index \(i = 1 \in \operatorname {Fin}(|\operatorname {PSL}(2,q)|)\), which is valid since \(|\operatorname {PSL}(2,q)| \geq 2\). From the spectral bound hypothesis \(|\lambda _2| {\lt} p+1\) (after casting), the Ramanujan condition yields \(|\lambda _2| \leq 2\sqrt{p}\). The conclusion \(\lambda _2 \leq 2\sqrt{p}\) follows since \(\lambda _2 \leq |\lambda _2|\).
[Assumed Hypotheses for \(\operatorname {PSL}\) Spectral Bound] blueFormalization note: As for the \(\operatorname {PGL}\) case, the Ramanujan property of LPS graphs on \(\operatorname {PSL}(2,q)\) is a consequence of the Ramanujan–Petersson conjecture, proved via the Weil conjectures. The additional Legendre symbol condition \(\left(\frac{p}{q}\right) = 1\) ensures the generators of the LPS graph lift to \(\operatorname {PSL}(2,q)\). These deep results are taken as hypotheses.
blue[Hypothesis-based] The following combined result is proved under the hypotheses of connectedness and the Ramanujan property, which are deep results from Lubotzky–Phillips–Sarnak requiring algebraic geometry not available in Mathlib.
Let \(p, q\) be distinct odd primes with \(q {\gt} 2\sqrt{p}\), and let \(x, y \in \mathbb {Z}/q\mathbb {Z}\) satisfy \(x^2 + y^2 + 1 = 0\). Let \(G = X_{p,q}^{\operatorname {PGL}}\) be the LPS graph on \(\operatorname {PGL}(2,q)\). Given:
(Connectedness hypothesis) \(G\) is connected.
(Ramanujan hypothesis) \(G\) is Ramanujan of degree \(p+1\).
Then simultaneously:
\(G\) is connected,
\(G\) is \((p+1)\)-regular,
\(|\operatorname {PGL}(2,q)| \geq 2\), and
\(G\) is a Ramanujan graph of degree \(p+1\).
blue[Uses hypothesis-based assumptions: connectedness and Ramanujan property]
We combine the hypotheses and previously established results. Connectedness follows directly from \(h_{\mathrm{conn}}\). Regularity of degree \(p+1\) follows from Theorem 492. The cardinality bound \(|\operatorname {PGL}(2,q)| \geq 2\) follows from Theorem 499. The Ramanujan property follows from \(h_{\mathrm{ram}}\). We package all four conclusions into a conjunction.
[Assumed Hypotheses for the Combined PGL Result] blueFormalization note: The connectedness of \(X_{p,q}^{\operatorname {PGL}}\) follows from the fact that the generating set \(S_{p,q}\) generates \(\operatorname {PGL}(2,q)\) (Lubotzky–Phillips–Sarnak, 1988). The Ramanujan property follows from the Ramanujan–Petersson conjecture. Both require algebraic number theory and the theory of automorphic forms beyond what Mathlib currently provides; they are therefore stated as explicit hypotheses \(h_{\mathrm{conn}}\) and \(h_{\mathrm{ram}}\).
blue[Hypothesis-based] Let \(p, q\) be distinct odd primes with \(q {\gt} 2\sqrt{p}\) and \(\left(\frac{p}{q}\right) = 1\), and let \(x, y \in \mathbb {Z}/q\mathbb {Z}\) satisfy \(x^2 + y^2 + 1 = 0\). Let \(G = X_{p,q}^{\operatorname {PSL}}\) be the LPS graph on \(\operatorname {PSL}(2,q)\). Given:
(Connectedness hypothesis) \(G\) is connected.
(Ramanujan hypothesis) \(G\) is Ramanujan of degree \(p+1\).
Then simultaneously:
\(G\) is connected,
\(G\) is \((p+1)\)-regular,
\(|\operatorname {PSL}(2,q)| \geq 2\), and
\(G\) is a Ramanujan graph of degree \(p+1\).
blue[Uses hypothesis-based assumptions: connectedness and Ramanujan property]
We combine the hypotheses and previously established results. Connectedness follows from \(h_{\mathrm{conn}}\). Regularity of degree \(p+1\) follows from Theorem 493. The cardinality bound \(|\operatorname {PSL}(2,q)| \geq 2\) follows from Theorem 500. The Ramanujan property is \(h_{\mathrm{ram}}\). All four conclusions are packaged into a conjunction.
[Assumed Hypotheses for the Combined PSL Result] blueFormalization note: As in the \(\operatorname {PGL}\) case, connectedness of \(X_{p,q}^{\operatorname {PSL}}\) and its Ramanujan property are consequences of the Lubotzky–Phillips–Sarnak theory and the Ramanujan–Petersson conjecture. The Legendre symbol condition \(\left(\frac{p}{q}\right) = 1\) ensures the generators lie in \(\operatorname {PSL}(2,q)\). These results are taken as hypotheses \(h_{\mathrm{conn}}\) and \(h_{\mathrm{ram}}\) because the required algebraic geometry is not available in Mathlib.