\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern,amsmath,amssymb,amsthm} \usepackage[margin=1in]{geometry} \usepackage{newunicodechar} \usepackage{hyperref} \hypersetup{colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue, pdftitle={A quadratic lower bound for intervals in the Hales--Jewett theorem},pdfauthor={Peter Graham}} \newunicodechar{ℕ}{\ensuremath{\mathbb{N}}} \newunicodechar{∀}{\ensuremath{\forall}} \newunicodechar{∃}{\ensuremath{\exists}} \newunicodechar{→}{\ensuremath{\to}} \newunicodechar{≤}{\ensuremath{\leq}} \newunicodechar{≠}{\ensuremath{\neq}} \newtheorem{theorem}{Theorem} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{lemma}{Lemma} \theoremstyle{remark} \newtheorem*{remark}{Remark} \title{A quadratic lower bound for intervals in the Hales--Jewett theorem} \author{Peter Graham\\ \small\url{https://orcid.org/0009-0007-8493-1505}} \date{November 5, 2026\\[2pt] \small Zenodo archive (Lean development in \texttt{lean}, \texttt{checks}): \url{https://doi.org/10.5281/zenodo.23972681}} \begin{document} \maketitle \begin{abstract} A combinatorial line in $[m]^n$ is $q$-fold if its wildcard set, the set of coordinates that vary along the line, is a union of at most $q$ intervals of consecutive coordinates. Let $I(m,r)$ be the least $q$ such that, for $n$ large, every $r$-coloring of $[m]^n$ has a monochromatic $q$-fold line. We show that $I(m,2)>(m-3)^2/128$ for every $m\ge3$, so $I(m,r)\ge I(m,2)$ grows at least quadratically in $m$ for every $r\ge2$. This answers Question 3.1 of Conlon and Kamčev, who asked whether some $m\ge4$, $r\ge2$ and $c>1$ admit $r$-colorings of $[m]^n$ with no monochromatic line whose wildcard set is a union of at most $cr$ intervals: $m=18$, $r=2$ and any $11$ such that there are $r$-colorings of $[m]^n$ ``containing no monochromatic combinatorial line whose wildcard set is the union of at most $cr$ intervals''? \end{quote} \subsection{Main results} \begin{theorem}\label{thm:main} Let $Q\ge1$ and $K\ge0$ be integers with $K^2\ge 32Q$ (for example $K=\lceil\sqrt{32Q}\,\rceil$), and let $m\ge 2K+2$. For every $n\ge1$, the $2$-coloring $\chi_{32Q}$ of $[m]^n$ has no monochromatic $Q$-fold combinatorial line. \end{theorem} \begin{corollary}\label{cor:growth} Let $Q\ge1$ be an integer. If $m\ge 2\lceil\sqrt{32Q}\rceil+2$ then $I(m,2)\ge Q+1$. Consequently $I(m,2)>(m-3)^2/128$ for every $m\ge3$, and $I(m,r)\ge I(m,2)$ for every $r\ge2$, so $I(m,r)\to\infty$ as $m\to\infty$ for each fixed $r$. \end{corollary} \begin{corollary}\label{cor:question} For every $n$, the coloring $\chi_{64}$ of $[18]^n$ has no monochromatic $2$-fold combinatorial line. Hence $m=18$, $r=2$ and any $c$ with $11$, every $m\ge 2\lceil\sqrt{32\lfloor cr\rfloor}\rceil+2$ has, for every $n$, an $r$-coloring of $[m]^n$ with no monochromatic $\lfloor cr\rfloor$-fold line, that is, none whose wildcard set is a union of at most $cr$ intervals. \end{corollary} Theorem~\ref{thm:main}, and the statement that for every $Q$ some alphabet size $m$ admits, for every $n$, a $2$-coloring of $[m]^n$ with no monochromatic $Q$-fold line, are proved in Lean from the definitions (Section~\ref{sec:lean}). The step from them to $I(m,r)$ is the short argument proving Corollary~\ref{cor:growth}. \subsection{Background and prior work} Conlon and Kamčev's Theorem 1.1 states that for any $n$ and any odd $r>1$ there is an $r$-coloring of $[3]^n$ ``containing no monochromatic combinatorial line whose wildcard set is the union of fewer than $r$ intervals'' \cite{CK}; with Shelah's bound this gives $I(3,r)=r$ for odd $r$. Leader and Räty~\cite[Theorem 2]{LR} proved that for $n$ sufficiently large every $2$-coloring of $[3]^n$ has a monochromatic line whose wildcard set (their ``active coordinate set'') is an interval, disproving a conjecture of Conlon and Kamčev; that is, $I(3,2)=1$. Kamčev and Spiegel~\cite[Theorem 2]{KS} proved that for even $r$ and $n$ large every $r$-coloring of $[3]^n$ has a monochromatic line whose wildcard set ``is a union of at most $r-1$ intervals,'' which with Conlon and Kamčev's coloring gives $I(3,r)=r-1$ for even $r$. Conlon and Kamčev added that ``even a marginal improvement on either the upper or lower bound would be interesting''~\cite[Section 3]{CK}. Kamčev and Spiegel~\cite[Section 3]{KS} asked, as Question 19, whether one can improve on the bounds $\max\{I(m-1,r),I(m,r-1)\}\le I(m,r)\le\mathrm{HJ}(m-1,r)$, the first of which gives $I(m,r)\ge I(3,r)$ for $m\ge3$, adding: ``In particular, $r-1$ is the best explicit lower bound that the present methods can give on $I(m,r)$, which is probably far from the truth.'' In 2026 Mouhib restated the question for alphabets of size at least four as open~\cite[Question 66]{MouhibLB} (also \cite[Question 8.9]{MouhibOW} and \cite[Question 4.21]{MouhibThesis}), noting that ``any lower bound requires genuinely asymmetric constructions'': by \cite[Proposition 51]{MouhibLB}, colorings invariant under permuting coordinates cannot give one. The coloring $\chi_B$ is not of that kind, since $S$ depends on adjacent pairs of letters. Corollary~\ref{cor:growth} gives $I(m,r)\ge\max\{I(3,r),\lfloor(m-3)^2/128\rfloor+1\}$, a lower bound growing quadratically in $m$ that exceeds the previous one whenever $(m-3)^2\ge128r$, and Corollary~\ref{cor:question} answers Question 3.1 as stated. The natural stronger form of Question 3.1, whether $I(m,r)\ge cr$ for one fixed $m$ and all $r$, remains open, as do Question 3.2 of~\cite{CK}, the upper-bound half of Question 19, and the true order of $I(m,2)$. \subsection{Proof overview} A root with $q$ runs touches at most $2q$ fixed letters across a run boundary, and only those boundary terms of $S$ depend on the free letter $t$. So $S(w(t))=C+\sum_{c\in N}(t-c)^2$ for a constant $C$ and a multiset $N$ of between $q$ and $2q$ letters: a parabola in $t$ whose leading coefficient is at most $2Q$. On one side of its vertex, the alphabet offers $K+1$ consecutive letters along which this parabola rises by at least $K^2\ge32Q$ in total, and up to the first letter at which it has risen by $32Q$ every step is smaller than $32Q$ (below $22Q$). A sequence that climbs by at least one block length in steps of at most one block length must enter the next block of $\chi_{32Q}$, which has the other color. The hard step is to find a coloring whose values along every line are this rigid. Colorings invariant under permuting coordinates cannot work~\cite[Proposition 51]{MouhibLB}; because $S$ depends on adjacent pairs of letters, only a line's few run boundaries see the free letter, and this makes its values a parabola. \section{Proof of Theorem~\ref{thm:main}} \begin{lemma}[values along a line]\label{lem:line} Let $w$ be a root with $q\ge1$ runs. There are an integer $C$ and a multiset $N$ of letters in $[m]$, of size $A$ with $q\le A\le2q$, such that $S(w(t))=C+\sum_{c\in N}(t-c)^2$ for every $t\in[m]$. \end{lemma} \begin{proof} Put $w_0=0$ and consider the term $(x_i-x_{i-1})^2$ of $S(w(t))$ for $1\le i\le n$. If neither $i$ nor $i-1$ is in $W$, the term does not depend on $t$; this includes $i=1\notin W$, since position $0$ is the letter $0$. If both are in $W$, the term is $(t-t)^2=0$. If $i\in W$ and $i-1\notin W$, then $i$ is the first position of a run and the term is $(t-w_{i-1})^2$. If $i\notin W$ and $i-1\in W$, then $i-1$ is the last position of a run and the term is $(t-w_i)^2$. Every run has one first position and at most one following position, so the boundary letters form a multiset $N$ of size between $q$ and $2q$, and $C$ is the sum of the constant terms. \end{proof} \begin{lemma}[crossing a block]\label{lem:block} Let $B\ge1$ and let $v_0\le v_1\le\cdots\le v_J$ be nonnegative integers with $v_{i+1}-v_i\le B$ for every $i$ and $v_J-v_0\ge B$. Then $\lfloor v_0/B\rfloor$ and $\lfloor v_i/B\rfloor$ have different parities for some $i$. \end{lemma} \begin{proof} Let $k=\lfloor v_0/B\rfloor$. Since $v_J\ge v_0+B\ge(k+1)B$, there is a least $i\ge1$ with $v_i\ge(k+1)B$. Then $v_{i-1}<(k+1)B$, so $v_i\le v_{i-1}+B<(k+2)B$ and $\lfloor v_i/B\rfloor=k+1$. \end{proof} \begin{lemma}[a parabola leaves every block]\label{lem:parabola} Let $Q\ge1$ and $K\ge0$ be integers with $K^2\ge B$, where $B=32Q$, and let $m\ge2K+2$. Let $N$ be a multiset of $A$ letters in $[m]$ with $1\le A\le2Q$, and let $f(t)=\sum_{c\in N}(t-c)^2$. Then there are distinct letters $t_0,\ldots,t_J\in[m]$ with $J\ge1$ such that $f(t_0)\le f(t_1)\le\cdots\le f(t_J)$, each increment $f(t_{i+1})-f(t_i)$ is at most $B$, and $f(t_J)-f(t_0)\ge B$. \end{lemma} \begin{proof} Write $s=\sum_{c\in N}c$, so $f(t)=At^2-2st+\sum_{c\in N}c^2$ with vertex $s/A$ and $0\le s\le A(m-1)$. Since $f(m-1-t)$ is the same kind of polynomial for the multiset $\{m-1-c:c\in N\}$, we may assume $2s\le A(m-1)$, so that $s/A\le(m-1)/2$. Let $t_0=\lceil s/A\rceil$ and $t_i=t_0+i$. Then $t_0\le\lceil(m-1)/2\rceil$, so $t_i\le m-1$ for $i\le\lfloor(m-1)/2\rfloor$, and $\lfloor(m-1)/2\rfloor\ge K$ because $m\ge2K+2$. With $d_i=t_i-s/A$, which satisfies $i\le d_ik^2/32\ge(m-3)^2/128$. If $Q=0$, then $k^2<32$, so $(m-3)^2\le4k^2<128$ and $I(m,2)\ge1>(m-3)^2/128$, since wildcard sets are nonempty. Finally, a $2$-coloring is an $r$-coloring, so $I(m,r)\ge I(m,2)$. \end{proof} \begin{proof}[Proof of Corollary~\ref{cor:question}] Take $Q=2$ and $K=8$ in Theorem~\ref{thm:main}: $K^2=64=32Q$ and $2K+2=18$. If $1