\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{amsmath,amssymb,amsthm} \usepackage[margin=1in]{geometry} \usepackage{microtype} \usepackage[hidelinks]{hyperref} \hypersetup{ pdftitle={Dense critical graphs and Erd\H{o}s Problem 917} } \newtheorem{theorem}{Theorem} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \numberwithin{equation}{section} \title{Dense critical graphs and Erd\H{o}s Problem 917} \author{Qiyuan Gu} \date{} \begin{document} \maketitle \begin{abstract} Let \(f_k(n)\) denote the maximum number of edges in a \(k\)-critical graph on \(n\) vertices. For every fixed integer \(k\ge8\), we construct a sequence of \(k\)-critical graphs \(G_s\) with \(|V(G_s)|\to\infty\) and \[ \frac{e(G_s)}{|V(G_s)|^2}\longrightarrow \begin{cases} \dfrac{k-4}{2(k-2)},&k\text{ even},\\[4pt] \dfrac{k-5}{2(k-3)},&k\text{ odd}. \end{cases} \] For every \(k\ge8\) except \(k=9\), this improves the best known lower bound on \(f_k(n)\), due to Toft (1970). For every \(k\ge12\) divisible by three, it disproves the asymptotic formula proposed in Erd\H{o}s Problem 917, which was known to fail when \(3\nmid k\). For \(k=12\) the density is \(2/5\), whereas the formula predicts \(3/8\). The construction combines graphs introduced by Pegden with \(K_t\)-saturated graphs of sublinear maximum degree. The complete proof is formalized in Lean 4. \end{abstract} \section{Introduction} All graphs are finite and simple. A graph is \(k\)-critical if it has chromatic number \(k\) and every proper subgraph is \((k-1)\)-colorable. Write \(e(G)=|E(G)|\), and let \(f_k(n)\) be the maximum number of edges in a \(k\)-critical graph on \(n\) vertices. Erd\H{o}s \cite[p.~28]{Erdos1969} conjectured that, for every fixed \(k\ge6\), \begin{equation}\label{eq:conjecture} f_k(n)\sim\frac12\left(1-\frac1{\lfloor k/3\rfloor}\right)n^2. \end{equation} This is the general question in Erd\H{o}s Problem 917 \cite{Erdos917}. For \(k=6\), a construction of Dirac \cite[p.~90]{Dirac1952}, the join of two odd cycles of equal length, gives the coefficient in \eqref{eq:conjecture} as a lower bound, and Erd\H{o}s \cite[p.~28, eq.~(3)]{Erdos1969} observed that this construction generalizes to every \(k\) divisible by three. When \(3\nmid k\), constructions of Toft \cite[Theorem~2]{Toft1970} give larger coefficients, so \eqref{eq:conjecture} fails for these \(k\). For background on dense critical graphs, see Jensen and Toft \cite[Section~5.1, pp.~97--98]{JensenToft} and Jensen \cite{Jensen2002}. In the other direction, Stiebitz \cite[Theorem~2.2]{Stiebitz1987} proved that, for every \(k\ge4\) and all sufficiently large \(n\), a \(k\)-critical graph on \(n\) vertices has fewer edges than the balanced complete \((k-2)\)-partite graph on \(n\) vertices. Luo, Ma, and Yang improved this upper bound \cite[Theorem~1.1]{LMY}, and noted that no construction improving Toft's coefficients had been found since 1970 \cite[Section~1]{LMY}. Our main result is the following. \begin{theorem}\label{thm:main} For every integer \(k\ge8\), there is a sequence of \(k\)-critical graphs \(G_s\) such that \(|V(G_s)|\to\infty\) and \[ \frac{e(G_s)}{|V(G_s)|^2}\longrightarrow \begin{cases} \dfrac{k-4}{2(k-2)},&k\text{ even},\\[4pt] \dfrac{k-5}{2(k-3)},&k\text{ odd}. \end{cases} \] \end{theorem} Write \(c_k\) for the limit in Theorem~\ref{thm:main}. In the notation of \cite[Section~1]{LMY}, the coefficients given by Toft's constructions \cite[Theorem~2]{Toft1970} are \[ b_k=\frac12-\frac3{2k-\delta_k},\qquad \delta_k= \begin{cases} 0,&k\equiv0\pmod3,\\ 8/7,&k\equiv1\pmod3,\\ 44/23,&k\equiv2\pmod3. \end{cases} \] \begin{corollary}\label{cor:general} For every \(k\ge8\) with \(k\ne9\), \[ \limsup_{n\to\infty}\frac{f_k(n)}{n^2}\ge c_k>b_k. \] In particular, \eqref{eq:conjecture} fails for every \(k\ge12\) divisible by three. \end{corollary} \begin{proof} Since \(f_k(|V(G_s)|)\ge e(G_s)\), Theorem~\ref{thm:main} gives \(\limsup_{n\to\infty}f_k(n)/n^2\ge c_k\). We have \(c_k=\tfrac12-\tfrac1{k-2}\) for even \(k\) and \(c_k=\tfrac12-\tfrac1{k-3}\) for odd \(k\). Hence, for even \(k\), the inequality \(c_k>b_k\) is equivalent to \(k>6-\delta_k\), and for odd \(k\) it is equivalent to \(k>9-\delta_k\). These hold for even \(k\ge8\) and for odd \(k\ge11\), respectively. If \(3\mid k\), then \(b_k=\tfrac12(1-1/\lfloor k/3\rfloor)\), so \eqref{eq:conjecture} states that \(f_k(n)/n^2\to b_k\). For \(k\ge12\) this contradicts the first part. \end{proof} For even \(k=2t+2\), the graphs in Theorem~\ref{thm:main} are built from \(t\) disjoint copies of a graph \(U(S,T)\) introduced by Pegden \cite{Pegden}. Each copy contains a large independent set, called its active set. Any two of the \(t\) active sets are joined by a complete bipartite graph from which a sparse set of edges is removed, and the removed edges are determined by a \(K_t\)-saturated graph \(H\) of small maximum degree \cite{AEHK}. In a \((2t+1)\)-coloring, each active set needs three colors, and the bound on the degrees of \(H\) forces two of them to appear on no other active set. The one remaining color therefore appears on every active set, and this gives a \(K_t\) in \(H\), a contradiction. The saturation of \(H\) provides the \((2t+1)\)-colorings needed when an edge between two active sets is deleted. For odd \(k\) we take the join with \(K_1\). \section{The graphs \texorpdfstring{\(U(S,T)\)}{U(S,T)}} \label{sec:U} Let \(r\ge3\), let \(S\) be an \(r\)-critical graph, and let \(T\) be an \((r-1)\)-critical graph. Following Pegden \cite[Section~2]{Pegden}, let \(U(S,T)\) be the graph consisting of disjoint copies of \(S\) and \(T\) together with an independent set \[ A=V(S)\times V(T), \] in which each \((x,y)\in A\) is adjacent to \(x\in V(S)\) and to \(y\in V(T)\), and there are no further edges. The set \(A\) is the active set of \(U(S,T)\), and its elements are the active vertices. For \(x\in V(S)\), we call \(\{x\}\times V(T)\) the row of \(x\). The following lemma is the case \(U(r,r-1)\) of \cite[Lemma~2.5]{Pegden}. It is stated there for triangle-free \(S\) and \(T\); the proof below does not use this assumption. \begin{lemma}\label{lem:U} Fix a set of \(r\) colors; all colorings below use these colors. \begin{enumerate} \item In every proper coloring of \(U(S,T)\), at least three colors appear on the active set. \item For every \(a_0=(x_0,y_0)\in A\) and all distinct colors \(\alpha,\beta,\gamma\), there is a proper coloring of \(U(S,T)\) in which only \(\alpha,\beta,\gamma\) appear on the active set, and \(a_0\) is the only active vertex of color \(\gamma\). \item For every edge \(e\) of \(U(S,T)\) and all distinct colors \(\alpha,\beta\), there is a proper coloring of \(U(S,T)-e\) in which only \(\alpha\) and \(\beta\) appear on the active set. \end{enumerate} \end{lemma} \begin{proof} For (1), suppose that every active vertex has color \(\alpha\) or \(\beta\). Since \(\chi(S)=r\), all \(r\) colors appear on \(S\); let \(x_\alpha\) and \(x_\beta\) be vertices of \(S\) of colors \(\alpha\) and \(\beta\). Every vertex in the row of \(x_\alpha\) is adjacent to \(x_\alpha\), and so has color \(\beta\). Each vertex \(y\) of \(T\) is adjacent to \((x_\alpha,y)\), so the color \(\beta\) does not appear on \(T\). In the same way, the row of \(x_\beta\) shows that \(\alpha\) does not appear on \(T\). Thus \(T\) is properly colored with \(r-2\) colors, a contradiction. For (2), color \(S\) so that \(x_0\) is its only vertex of color \(\alpha\), and color \(T\) with the \(r-1\) colors other than \(\alpha\) so that \(y_0\) is its only vertex of color \(\beta\). Such colorings exist because \(S\) and \(T\) are critical: delete the specified vertex, color the rest with one color fewer, and give the deleted vertex the remaining color. Extend these colorings to a coloring \(\varphi\) of \(U(S,T)\) by \begin{equation}\label{eq:coloring} \varphi(x,y)= \begin{cases} \alpha,&x\ne x_0,\\ \beta,&x=x_0,\ y\ne y_0,\\ \gamma,&(x,y)=(x_0,y_0). \end{cases} \end{equation} The color of each active vertex differs from the colors of its two neighbors. For (3), there are four possibilities for \(e\). If \(e\in E(S)\), color both \(S-e\) and \(T\) with the \(r-1\) colors other than \(\alpha\), and color all of \(A\) with \(\alpha\). If \(e\in E(T)\), color \(T-e\) with the \(r-2\) colors other than \(\alpha,\beta\), choose \(x_0\in V(S)\), and color \(S\) so that \(x_0\) is its only vertex of color \(\alpha\). Then color the row of \(x_0\) with \(\beta\) and all other rows with \(\alpha\). Suppose finally that \(e\) joins an active vertex \((x_0,y_0)\) to \(x_0\) or to \(y_0\). Color \(S\) and \(T\) as in the proof of (2), and color the active set by \eqref{eq:coloring}, except that \((x_0,y_0)\) receives the color \(\alpha\) if \(e\) joins it to \(x_0\), and the color \(\beta\) if \(e\) joins it to \(y_0\). The only monochromatic edge of \(U(S,T)\) is then \(e\). \end{proof} \section{From saturated graphs to critical graphs} \label{sec:critical} A graph is \(K_t\)-saturated if it contains no \(K_t\), but adding any missing edge creates a \(K_t\). Thus the common neighborhood of every pair of distinct nonadjacent vertices contains a \(K_{t-2}\). \begin{proposition}\label{prop:critical} Let \(t\ge3\), and let \(H\) be a \(K_t\)-saturated graph on \(v\ge t\) vertices with maximum degree \(d2t(t-1)hd. \end{equation} Put \(a=2hv\). There is a \((2t+2)\)-critical graph \(G\) with \begin{equation}\label{eq:order} |V(G)|=t(a+h+2v) \end{equation} and \begin{equation}\label{eq:edge-bound} e(G)\ge\binom t2 a^2\left(1-\frac d v\right). \end{equation} \end{proposition} \begin{proof} \emph{Construction.} Set \(\ell=2v\), and let \[ S=K_{2t-2}\vee C_{h-2t+2},\qquad T=K_{2t-3}\vee C_{\ell-2t+3} \] be joins of a complete graph and a cycle, as in \cite[p.~90]{Dirac1952}. Both cycles are odd and have length at least three. The join of a \(p\)-critical graph and a \(q\)-critical graph is \((p+q)\)-critical: deleting an edge inside one of the two graphs saves a color there, and if an edge \(xy\) between them is deleted, we color the two graphs with disjoint sets of colors so that \(x\), respectively \(y\), is the only vertex of its color, and then give \(y\) the color of \(x\). Hence \(S\) is a \((2t+1)\)-critical graph on \(h\) vertices, and \(T\) is a \(2t\)-critical graph on \(\ell\) vertices. Take disjoint copies \(U_1,\ldots,U_t\) of \(U(S,T)\), with active sets \(A_1,\ldots,A_t\); each \(A_i\) has size \(a=h\ell\). Fix a bijection between \(V(T)\) and \(V(H)\times\{0,1\}\). An active vertex then has the form \((x,(z,\varepsilon))\) with \(x\in V(S)\), \(z\in V(H)\) and \(\varepsilon\in\{0,1\}\); we call \(z\) its label, and write \(\pi\) for the map sending each active vertex to its label. Every vertex of \(H\) is the label of exactly \(b=2h\) vertices of each \(A_i\). Let \(Z\) be the \(t\)-partite graph with parts \(A_1,\ldots,A_t\) in which, for \(u\in A_i\) and \(w\in A_j\) with \(i\ne j\), \[ uw\in E(Z)\quad\Longleftrightarrow\quad \pi(u)\pi(w)\in E(H). \] The graph \(G\) consists of \(U_1,\ldots,U_t\) together with all edges \(uw\) such that \(u\) and \(w\) lie in different parts and \(uw\notin E(Z)\). In particular, active vertices with the same label in different parts are adjacent in \(G\). We shall use three properties of \(Z\). First, \(Z\) contains no \(K_t\), since \(\pi\) maps every clique of \(Z\) injectively onto a clique of \(H\). Moreover, if \(u\) and \(w\) lie in different parts and \(uw\notin E(Z)\), then \(Z+uw\) contains a \(K_t\) with one vertex in each part. To see this, let \(z=\pi(u)\) and \(z'=\pi(w)\). If \(z\ne z'\), then \(z\) and \(z'\) are nonadjacent in \(H\), so there is a \(K_{t-2}\) in \(N_H(z)\cap N_H(z')\). Choosing vertices with these \(t-2\) labels, one in each of the other \(t-2\) parts, we obtain together with \(u\) and \(w\) the required \(K_t\) in \(Z+uw\). If \(z=z'\), choose a vertex \(z''\ne z\) of \(H\) not adjacent to \(z\), which exists because \(d2tD\). \smallskip \noindent\emph{The chromatic number is at least \(2t+2\).} Suppose that \(G\) has a proper \((2t+1)\)-coloring. Fix \(i\) and a color \(\alpha\). Since \(S\) is not \(2t\)-colorable, some vertex \(x\) of the copy of \(S\) in \(U_i\) has color \(\alpha\). None of the \(\ell\) vertices in the row of \(x\) has color \(\alpha\), so, as \(\ell>2tD\), some color \(\beta\ne\alpha\) appears on more than \(D\) of them. Applying this twice, we obtain two distinct colors \(\alpha_i,\beta_i\), each appearing on more than \(D\) vertices of \(A_i\). A color that appears on more than \(D\) vertices of \(A_i\) appears on no other active set: a vertex of this color in another part would be nonadjacent in \(G\), and hence adjacent in \(Z\), to more than \(D\) vertices, contrary to \(\Delta(Z)=D\). Thus the \(2t\) colors \(\alpha_1,\beta_1,\ldots,\alpha_t,\beta_t\) are distinct; let \(\gamma\) be the remaining color. Only \(\alpha_i,\beta_i,\gamma\) can appear on \(A_i\), so by Lemma~\ref{lem:U}(1) the color \(\gamma\) appears on every \(A_i\). Choosing a vertex of color \(\gamma\) in each part, we obtain \(t\) vertices that are pairwise nonadjacent in \(G\), and hence form a \(K_t\) in \(Z\), a contradiction. Thus \(\chi(G)\ge2t+2\). \smallskip \noindent\emph{Colorings of \(G-e\).} We use the \(2t+1\) colors \[ \alpha_1,\beta_1,\ldots,\alpha_t,\beta_t,\gamma. \] A vertex of \(U_i\) outside \(A_i\) has no neighbors outside \(U_i\). In the colorings below, every edge of \(G-e\) inside some \(U_i\) is properly colored, and the colors \(\alpha_i,\beta_i\) appear on no active set other than \(A_i\). It therefore remains only to check that no edge of \(G-e\) joins two active vertices of color \(\gamma\). Let \(e=uw\) be an edge of \(G\) joining two different active sets. By the first property of \(Z\), there is a \(K_t\) in \(Z+uw\) with vertices \(a_i\in A_i\); it contains \(u\) and \(w\), since \(Z\) contains no \(K_t\). For each \(i\), Lemma~\ref{lem:U}(2) gives a proper coloring of \(U_i\) in which only \(\alpha_i,\beta_i,\gamma\) appear on \(A_i\) and \(a_i\) is the only vertex of \(A_i\) of color \(\gamma\). The vertices \(a_1,\ldots,a_t\) are pairwise adjacent in \(Z+uw\), and hence pairwise nonadjacent in \(G-e\). This gives a proper \((2t+1)\)-coloring of \(G-e\). Now let \(e\) be an edge of \(U_i\). By Lemma~\ref{lem:U}(3), there is a proper coloring of \(U_i-e\) in which only \(\alpha_i\) and \(\beta_i\) appear on \(A_i\). By the second property of \(Z\), there is a \(K_{t-1}\) in \(Z\) with one vertex \(a_j\) in each \(A_j\), \(j\ne i\). For each \(j\ne i\), Lemma~\ref{lem:U}(2) gives a proper coloring of \(U_j\) in which only \(\alpha_j,\beta_j,\gamma\) appear on \(A_j\) and \(a_j\) is the only vertex of \(A_j\) of color \(\gamma\). Again this gives a proper \((2t+1)\)-coloring of \(G-e\). Every edge of \(G\) is of one of these two kinds. Giving one end of \(e\) a new color shows that \(\chi(G)\le2t+2\), so \(\chi(G)=2t+2\). Since \(G\) has no isolated vertices, every proper subgraph of \(G\) is a subgraph of \(G-e\) for some edge \(e\). Hence \(G\) is \((2t+2)\)-critical. \smallskip \noindent\emph{Counting vertices and edges.} Each \(U_i\) has \(a+h+2v\) vertices, which gives \eqref{eq:order}. Let \(m=e(H)\). Between two given parts, \(Z\) has \(2b^2m\) edges: each edge \(zz'\) of \(H\) accounts for the pairs with labels \((z,z')\) and the pairs with labels \((z',z)\), and there are \(b^2\) pairs of each kind. Since \(2m\le vd\) and \(a=bv\), at least \(a^2-b^2vd=a^2(1-d/v)\) edges of \(G\) join any two given active sets, which proves \eqref{eq:edge-bound}. \end{proof} \section{Proof of the main theorem} \label{sec:main-proof} \begin{proof}[Proof of Theorem~\ref{thm:main}] First let \(k=2t+2\) be even, with \(t\ge3\). By a theorem of Alon, Erd\H{o}s, Holzman, and Krivelevich \cite[Theorem~7]{AEHK}, for every sufficiently large \(v\) there is a \(K_t\)-saturated graph \(H_v\) on \(v\) vertices with maximum degree \(d_v=O_t(\sqrt v)\). Choose odd integers \(h_v\) with \(h_v\sim v^{1/4}\). Then \(h_v\to\infty\) and \(h_vd_v/v=O_t(v^{-1/4})\to0\), so the hypotheses of Proposition~\ref{prop:critical} hold for all sufficiently large \(v\). Let \(G_v\) be the graph given by the proposition, and write \(h=h_v\), \(d=d_v\), \(a=2hv\), and \(N=|V(G_v)|\). By \eqref{eq:order}, \(N\sim ta\). Each \(U_i\) has \(e(S)+e(T)+2a\) edges, where \(e(S)=O_t(h)\) and \(e(T)=O_t(v)\), so \(U_1,\ldots,U_t\) have \(O_t(a)\) edges in total. Together with \eqref{eq:edge-bound}, this gives \[ \binom t2a^2\left(1-\frac d v\right) \le e(G_v)\le\binom t2a^2+O_t(a). \] Since \(d/v\to0\), it follows that \[ \frac{e(G_v)}{N^2}\longrightarrow \frac{\binom t2}{t^2}=\frac{t-1}{2t} =\frac{k-4}{2(k-2)}. \] For odd \(k=2t+3\ge9\), take the join of each \(G_v\) with \(K_1\). The resulting graph is \(k\)-critical and has \(N+1\) vertices and \(e(G_v)+N\) edges, so the limit is again \((t-1)/(2t)=(k-5)/(2(k-3))\). \end{proof} \section*{Formalization} A Lean 4 formalization of Theorem~\ref{thm:main} and Corollary~\ref{cor:general}, built on Mathlib, is available at \url{https://doi.org/10.5281/zenodo.22569201}. It includes a construction of the saturated graphs used in the proof of Theorem~\ref{thm:main}, and so does not rely on \cite{AEHK}. \section*{Use of generative AI} GPT-6 Astra proposed the construction of critical graphs and the density estimates, drafted the manuscript, and generated the Lean formalization. The author checked the arguments, completed the final manuscript, and takes full responsibility for the content. \begin{thebibliography}{99} \bibitem{AEHK} N.~Alon, P.~Erd\H{o}s, R.~Holzman, and M.~Krivelevich, On \(k\)-saturated graphs with restrictions on the degrees, \emph{J. Graph Theory} \textbf{23} (1996), 1--20. \url{https://web.math.princeton.edu/~nalon/PDFS/aehk1.pdf}. \bibitem{Erdos917} T.~F. Bloom, \emph{Erd\H{o}s Problem \#917}, \url{https://www.erdosproblems.com/917}. Accessed 5 September 2026. \bibitem{Dirac1952} G.~A. Dirac, A property of 4-chromatic graphs and some remarks on critical graphs, \emph{J. London Math. Soc.} \textbf{27} (1952), 85--92. \href{https://doi.org/10.1112/jlms/s1-27.1.85}{doi:10.1112/jlms/s1-27.1.85}. \bibitem{Erdos1969} P.~Erd\H{o}s, Problems and results in chromatic graph theory, in \emph{Proof Techniques in Graph Theory} (Proc. Second Ann Arbor Graph Theory Conf., Ann Arbor, 1968), Academic Press, New York, 1969, 27--35. \url{https://www.renyi.hu/~p_erdos/1969-13.pdf}. \bibitem{Jensen2002} T.~R. Jensen, Dense critical and vertex-critical graphs, \emph{Discrete Math.} \textbf{258} (2002), 63--84. \href{https://doi.org/10.1016/S0012-365X(02)00262-5}{doi:10.1016/S0012-365X(02)00262-5}. \bibitem{JensenToft} T.~R. Jensen and B.~Toft, \emph{Graph Coloring Problems}, Wiley-Interscience, New York, 1995. \href{https://doi.org/10.1002/9781118032497.ch5}{Chapter~5: Critical graphs}. \bibitem{LMY} C.~Luo, J.~Ma, and T.~Yang, On the maximum number of edges in \(k\)-critical graphs, \emph{Combin. Probab. Comput.} \textbf{32} (2023), 900--911. \href{https://doi.org/10.1017/S0963548323000238}{doi:10.1017/S0963548323000238}. \bibitem{Pegden} W.~Pegden, Critical graphs without triangles: an optimum density construction, \emph{Combinatorica} \textbf{33} (2013), 495--512. \href{https://arxiv.org/abs/1101.4417v2}{arXiv:1101.4417v2}. \bibitem{Stiebitz1987} M.~Stiebitz, Subgraphs of colour-critical graphs, \emph{Combinatorica} \textbf{7} (1987), 303--312.\newline \href{https://doi.org/10.1007/BF02579307}{doi:10.1007/BF02579307}. \bibitem{Toft1970} B.~Toft, On the maximal number of edges of critical \(k\)-chromatic graphs, \emph{Studia Sci. Math. Hungar.} \textbf{5} (1970), 461--470. \end{thebibliography} \end{document}