\documentclass[11pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[margin=27mm]{geometry} \usepackage{lmodern,amsmath,amssymb,amsthm,microtype} \usepackage{graphicx,tikz,booktabs,array,xcolor,flafter,needspace} \usepackage[font=small,labelfont=bf]{caption} \usepackage[section]{placeins} \usepackage[hidelinks]{hyperref} \usepackage{orcidlink} \usetikzlibrary{arrows.meta,decorations.pathreplacing,positioning} \definecolor{edgeblue}{HTML}{0072B2} \definecolor{edgered}{HTML}{B34700} \definecolor{edgegreen}{HTML}{007C59} \tikzset{ vertex/.style={circle,fill=black,inner sep=1.5pt}, blueedge/.style={edgeblue,line width=1.0pt}, rededge/.style={edgered,line width=1.0pt,dashed}, greenedge/.style={edgegreen,line width=1.1pt,dash pattern=on 4pt off 1.5pt on .8pt off 1.5pt} } \newcommand{\edge}[2]{\{#1,#2\}} \newcommand{\Rnn}{R_{\mathrm{nn}}} \newcommand{\blocklabels}{% \foreach \lo/\hi/\lab in {0/1/X,2/4/U,5/6/V,7/9/W}{% \draw[decorate,decoration={brace,mirror,amplitude=3pt},draw=black!65] (\lo-.25,-.58)--(\hi+.25,-.58); \node at ({(\lo+\hi)/2},-.99) {$\lab$}; }% } \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma} \renewcommand{\topfraction}{.90} \renewcommand{\bottomfraction}{.85} \renewcommand{\textfraction}{.08} \renewcommand{\floatpagefraction}{.78} \hypersetup{ pdftitle={Counterexamples to the multicolor nonnested matching conjecture}, pdfauthor={Pedro M. M. de Castro}, pdfsubject={A uniform counterexample with an elementary proof}, pdfkeywords={ordered graph; nonnested matching; Ramsey number} } \title{Counterexamples to the multicolor\\nonnested matching conjecture} \author{Pedro M. M. de Castro\,\orcidlink{0000-0002-9470-7458}\\ \small Centro de Inform\'atica, Universidade Federal de Pernambuco\\ \small Recife, Pernambuco, Brazil\\ \small \texttt{pmmc@cin.ufpe.br}} \date{October 17, 2026} \begin{document} \maketitle \begin{abstract} We show that excluding nested pairs can increase the number of vertices needed to force a matching of one color, disproving a conjecture of Barát, Gyárfás and Tóth. A matching consists of edges with no shared endpoint. In a fixed vertex order, two edges are nested if both endpoints of one lie between those of the other. For $r$ colors and a target of $k$ edges, the classical theorem guarantees a matching of one color on $(r-1)(k-1)+2k$ vertices when every pair is joined by an edge. For every $r,k\ge3$, we construct a coloring at this very threshold in which every such matching contains a nested pair. Thus the nonnested threshold is larger by at least one vertex. Already with three colors, ten vertices force three disjoint edges of one color, while our coloring makes every such triple contain a nested pair. The self-contained proof combines endpoint counts with two edge recolorings that obstruct the pairings allowed by the vertex order. \end{abstract} \medskip \noindent\textbf{AI-use disclosure.} This work was developed with substantial use of OpenAI's ChatGPT and Codex and Anthropic's Claude for literature searches, mathematical exploration, the development and review of proofs, and manuscript preparation. The author directed the research and contributed to successive revisions of the exposition, with particular attention to making the explanations, examples, and figures clearer for mathematically trained readers outside the immediate specialty. The manuscript is primarily AI-generated. The author understands the mathematical construction and proof presented here and takes responsibility for the mathematical content. \medskip \noindent\textbf{Keywords.} ordered graph; nonnested matching; Ramsey number. \section{Introduction}\label{sec:introduction} Take $n$ vertices, join every pair by an edge, and color each edge with one of $r$ colors. We seek $k$ edges of one color with no shared endpoint, a \emph{monochromatic matching}. For fixed $r$ and $k$, there is a least number of vertices that guarantees such a matching in every coloring. We ask whether this minimum still suffices when the vertices have a fixed order and nested pairs are forbidden. We show, by explicit colorings, that the additional restriction can raise the minimum. With the vertices placed in the order $1,\ldots,n$, this is the \emph{ordered complete graph} $K_n$. A matching with $k$ edges uses $2k$ distinct vertices; selecting it leaves all other edges of the graph in place. The vertex order stays fixed while the matching and its color may be chosen freely. Write an edge $\edge ab$ as $ab$ when the endpoints are unambiguous, always with $a{\centering\arraybackslash}p{1.2cm}>{\centering\arraybackslash}p{1.2cm}>{\centering\arraybackslash}p{1.2cm}>{\centering\arraybackslash}p{5.0cm}@{}} \toprule & $X$ & $U$ & $V$ & $W$\\ \midrule $X$ & blue & blue & blue & blue\\ $U$ & & blue & green & red, except $u_1w_1$ green\\ $V$ & & & green & green, except $v_1w_2$ red\\ $W$ & & & & red\\ \bottomrule \end{tabular} \end{table} The blue graph has the form cited in the introduction: every pair of vertices in $X\cup U$ is blue, and each later vertex is joined in blue exactly to $X$. This is the single-color construction of~\cite[Section~2.2 and Fig.~4]{BFT2025}. The red and green assignment completes the coloring of the entire graph. To see the purpose of the two exceptional edges, first make all edges from $U$ to $W$ red and all edges from $V$ to $W$ green, keeping the other block rules. This initial coloring contains the red nonnested matching $u_1w_1,\ldots,u_kw_k$. Changing $u_1w_1$ from red to green blocks that matching and creates the green candidate \[ u_1w_1,\ v_1w_2,\ v_2w_3,\ \ldots,\ v_{k-1}w_k. \] Changing $v_1w_2$ from green to red blocks this second candidate and gives the final coloring in Table~\ref{tab:blocks}. The proof in Section~\ref{sec:proof} shows that these two changes leave no alternative in either color. For $k=3$, the blocks and exceptional edges are \[ X=\{1,2\},\quad U=\{3,4,5\},\quad V=\{6,7\},\quad W=\{8,9,10\},\qquad u_1w_1=38,\quad v_1w_2=69. \] Fig.~\ref{fig:construction} displays this coloring. Its matrix specifies every edge, while the arc drawing isolates the two exceptions. We will use these same vertex labels when illustrating the proof. \begin{figure}[htbp] \centering {\small (a) Ordered blocks and exceptional edges}\par\medskip \begin{tikzpicture}[font=\small,x=.95cm,y=1cm] \draw[greenedge] (2,0) .. controls (2,2.15) and (7,2.15) .. (7,0); \draw[rededge] (5,0) .. controls (5,1.25) and (8,1.25) .. (8,0); \foreach \j in {1,...,10}{ \node[vertex] at (\j-1,0) {}; \node[below=4pt] at (\j-1,0) {\j}; } \blocklabels \end{tikzpicture} \par\smallskip {\small \tikz[baseline=-.55ex]\draw[greenedge] (0,0)--(.65,0); \(\edge38=u_1w_1\): green \qquad \tikz[baseline=-.55ex]\draw[rededge] (0,0)--(.65,0); \(\edge69=v_1w_2\): red }\par\bigskip {\small (b) Complete coloring: the cell in row \(a\), column \(b\) gives the color of \(\edge ab\)}\par\medskip \begin{tikzpicture}[font=\small,x=.57cm,y=.57cm] \foreach \a in {1,...,9}{ \pgfmathtruncatemacro{\start}{\a+1} \foreach \b in {\start,...,10}{ \def\cc{edgegreen}\def\ll{G} \ifnum\a<3 \def\cc{edgeblue}\def\ll{B}\else \ifnum\a<6 \ifnum\b<6 \def\cc{edgeblue}\def\ll{B}\fi\fi \ifnum\a>7 \def\cc{edgered}\def\ll{R}\fi \ifnum\a>2 \ifnum\a<6 \ifnum\b>7 \def\cc{edgered}\def\ll{R}\fi\fi\fi \fi \ifnum\a=3 \ifnum\b=8 \def\cc{edgegreen}\def\ll{G}\fi\fi \ifnum\a=6 \ifnum\b=9 \def\cc{edgered}\def\ll{R}\fi\fi \filldraw[fill=\cc!14,draw=black!18,line width=.25pt] (\b-2-.46,1-\a-.46) rectangle (\b-2+.46,1-\a+.46); \node at (\b-2,1-\a) {\ll}; } } \node at (4,1.90) {larger endpoint \(b\)}; \node at (-1.05,.95) {\(a\)}; \foreach \b in {2,...,10}{\node at (\b-2,.95) {\b};} \foreach \a in {1,...,9}{\node at (-1.05,1-\a) {\a};} \draw[line width=1pt] (5.53,-2.47) rectangle (6.47,-1.53); \draw[line width=1pt] (6.53,-5.47) rectangle (7.47,-4.53); \end{tikzpicture} \par\smallskip {\small \(B\): blue \qquad \(R\): red \qquad \(G\): green.\quad The boxes mark \(\edge38\) and \(\edge69\).} \caption{The three-color counterexample on ten vertices, with block sizes \(2,3,2,3\). In (a), only the two exceptional edges are drawn; their endpoints alternate, \(3<6<8<9\), so they cross without nesting. The braces identify the vertex blocks. In (b), all 45 edge colors are recorded, including edges absent from (a). For example, row \(3\), column \(8\) is the boxed green entry. The cell letters and line patterns preserve the information without color.} \label{fig:construction} \end{figure} \Needspace{10\baselineskip} \section{Why each color avoids the matching}\label{sec:proof} The verification uses the same observation twice: when a nonnested matching pairs all vertices of one ordered list with all vertices of a later list, the partners must appear in increasing order. After proving this observation, we rule out blue by counting endpoints and rule out red and green by locating a required edge of the wrong color. Each argument applies to arbitrary $k\ge3$. \begin{lemma}[Increasing partners]\label{lem:partners} Let $p_1<\cdots\pi(j)$, then \[ p_i3$, place $r-3$ new blocks before this graph, in the order \[ D_1<\cdots