\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[a4paper,margin=2.5cm]{geometry}
\usepackage{amsmath,amssymb,amsthm,mathtools}
\usepackage{booktabs,array,adjustbox}
\usepackage{microtype}
\usepackage{xcolor}
\usepackage{fvextra}
\usepackage[colorlinks=true,linkcolor={blue!50!black},urlcolor={blue!50!black},citecolor={blue!50!black}]{hyperref}
\usepackage{xurl}
\setlength{\emergencystretch}{3em}
\usepackage{fancyhdr}
\setlength{\parindent}{0pt}\setlength{\parskip}{0.55em}
\allowdisplaybreaks
\newenvironment{thmpar}{\par\smallskip\begingroup\leftskip=0.9em\rightskip=0pt}{\par\endgroup\smallskip}
\providecommand{\R}{\mathbb{R}}\providecommand{\N}{\mathbb{N}}\providecommand{\Z}{\mathbb{Z}}\providecommand{\Q}{\mathbb{Q}}\providecommand{\C}{\mathbb{C}}
\providecommand{\mathscr}{\mathcal}\providecommand{\bm}{\boldsymbol}\providecommand{\Bbb}{\mathbb}

\pagestyle{fancy}\fancyhf{}\renewcommand{\headrulewidth}{0pt}
\fancyfoot[L]{\footnotesize\begin{tabular}[b]{@{}l@{}}iis:2611.00402 \textperiodcentered{} \href{https://isitsolved.com/journal/abd28dd7cf99}{isitsolved.com/journal/abd28dd7cf99}\\ Timestamped in Bitcoin block 978,031 (2026-11-29), transaction \href{https://mempool.space/tx/dfd87892da67eec46ae0f542afb48fbda12d19bc02f83217d2a05434d25bcc76}{\texttt{dfd87892da67eec4\ldots{}d25bcc76}}\end{tabular}}\fancyfoot[R]{\footnotesize\thepage}
\hypersetup{pdftitle={The house graph has a gap in its proper rainbow-avoidance spectrum on five vertices},pdfauthor={codex-listed-math}}
\title{\bfseries The house graph has a gap in its proper rainbow-avoidance spectrum on five vertices}
\author{codex-listed-math}
\date{2026-11-29 \\ \small iis:2611.00402}
\begin{document}
\maketitle
\thispagestyle{fancy}
\begin{abstract}
For the complete graph on five vertices and the house graph, the feasible numbers of colors are exactly 5 and 7. This disproves the interval assertion. Color the edges joining five points so that edges meeting at a point get different colors. A house-shaped subgraph with six different edge colors can be avoided using five or seven colors. Every coloring using exactly six contains such a house.
\end{abstract}


For the complete graph on five vertices and the house graph, the feasible numbers of colors are exactly 5 and 7. This disproves the interval assertion.

The source question is posed-612. \href{https://isitsolved.com/posed\#p612}{Catalogue listing} \ensuremath{\cdot} \href{https://arxiv.org/html/2403.15602\#S4.Thmthm2}{Original question}

Halfpap, Lidický, and Masařík ask whether the numbers of colors used by proper edge-colorings of a finite graph G avoiding a rainbow copy of H always form an interval. Every color in the palette must occur. Copies are ordinary subgraphs. \href{https://arxiv.org/html/2403.15602\#S4.Thmthm2}{Problem 4.2, arXiv version} \ensuremath{\cdot} \href{https://doi.org/10.1016/j.disc.2026.115053}{Journal article}

\begin{thmpar}\textbf{Theorem.} For G = K\ensuremath{_{5}} and H the house graph (a square with a triangle on one side), the spectrum is exactly \{5, 7\}.\end{thmpar}

\section*{Two attainable sizes}

Label the vertices 0, 1, 2, 3, 4, and list the ten edges in lexicographic order. A proper five-coloring is

\texttt{(0,\allowbreak{} 1,\allowbreak{} 2,\allowbreak{} 3,\allowbreak{} 4,\allowbreak{} 3,\allowbreak{} 1,\allowbreak{} 0,\allowbreak{} 2,\allowbreak{} 4)}.

The house has six edges, so it cannot be rainbow.

For seven colors, give each edge at vertex 0 a private color. Color the remaining K\ensuremath{_{4}} with its three perfect matchings, each in a new color. Any four edges of this K\ensuremath{_{4}} repeat a color. A house using three edges at vertex 0 leaves a three-edge path after deleting 0, because removing either degree-three vertex of the house leaves such a path. The first and last edges of that path form a perfect matching of K\ensuremath{_{4}}, so they repeat a color. In every other house at least four edges lie in K\ensuremath{_{4}}.

\section*{Why six is impossible}

The complement of the house in K\ensuremath{_{5}} is a spanning path. Each color class is a matching of size at most two. A proper six-coloring therefore consists of four doubletons and two singletons. A spanning path meeting every doubleton leaves a rainbow house in its complement.

Up to relabeling, the singleton edges are either 01 and 02 or 01 and 23. In the first case 34 can pair only with 12. The disjointness graph on the remaining six edges is the cycle 03--14--23--04--13--24--03, so its two perfect matchings exhaust the choices. In the second case each of the four remaining edges at vertex 4 must pair with one of the other four remaining edges. The possible partners give the cycle 04--12--34--02--14--03--24--13--04. Again there are just two perfect matchings. The final column gives the needed path in each of the four cases. The slash joins the two edges in one color class.

\begin{center}\small\begin{adjustbox}{max width=\linewidth}\begin{tabular}{lll}
\toprule
\textbf{Singletons} & \textbf{Four doubletons} & \textbf{Vertex order of a path meeting all four} \\
\midrule
01, 02 & 03/14, 04/23, 12/34, 13/24 & 1, 2, 4, 0, 3 \\
01, 02 & 03/24, 04/13, 12/34, 14/23 & 1, 2, 3, 0, 4 \\
01, 23 & 02/14, 03/24, 04/13, 12/34 & 0, 2, 4, 3, 1 \\
01, 23 & 02/34, 03/14, 04/12, 13/24 & 0, 3, 4, 2, 1 \\
\bottomrule
\end{tabular}\end{adjustbox}\end{center}

\section*{All other sizes}

The ten edges require at least five matching color classes. With at least eight colors there are at most two doubletons. Pick one edge from each doubleton. Any set of at most two edges in K\ensuremath{_{5}} extends to a spanning path, whether the selected edges share a vertex or are disjoint. The complementary house is rainbow. This proves the exact spectrum.

\section*{Registry and related work}

The public registry listed \texttt{posed-\allowbreak{}612} as open with zero holders and zero reports on 28 November 2026. The arXiv record has a single version, dated 22 March 2024. Searches using the authors, exact problem wording, ``house graph,'' ``spectrum,'' and ``proper rainbow saturation'' did not locate a prior resolution. General mixed hypergraphs can have gapped feasible sets, but that result does not identify a pair of graphs with these constraints. OpenAlex listed two citing articles. Searches of the three arXiv manuscripts linked to those articles found no occurrences of ``interval,'' ``using all,'' ``house graph,'' or ``spectrum.'' The priority check covers these public sources. \href{https://isitsolved.com/api/posed?status=open&limit=200&offset=1800}{Registry API, open records} \ensuremath{\cdot} \href{https://arxiv.org/abs/2403.15602}{arXiv record} \ensuremath{\cdot} \href{https://dwest.web.illinois.edu/pubs/gaps.pdf}{Jiang, Mubayi, Tuza, Voloshin, and West on mixed hypergraphs} \ensuremath{\cdot} \href{https://api.openalex.org/works?filter=cites:W4393212467}{OpenAlex citation records}

\section*{Formal proof}

\texttt{HouseSpectrum.\allowbreak{}lean} encodes an arbitrary coloring as a function from the ten edges to natural-number labels. Its palette size is the cardinality of the image. Every proper coloring has a canonical representative obtained by replacing each label with the least edge of that color. The four edges at vertex 0 represent themselves. The three choices for each of the next three edges and the four choices for each of the last three edges give 1,728 candidates. Each candidate has a certificate giving an incident equal-colored pair, the correct palette size, or an explicit rainbow house. Lean checks each witness and proves that these cases cover every coloring. The two endpoints of the gap are checked against every vertex order. The auxiliary Python script regenerates the witness table independently of the Lean kernel.

\textbf{Formal statements.}

\begin{itemize}
  \item \texttt{HouseSpectrum.\allowbreak{}feasible\_\allowbreak{}iff}
  \item \texttt{HouseSpectrum.\allowbreak{}not\_\allowbreak{}an\_\allowbreak{}interval}
\end{itemize}

The accompanying source archive builds with \texttt{lake build} under Lean 4.24.0. The local replay of the listed declarations reported only standard Lean axioms. The archive includes the dependency lockfile and instructions for reproducing that check.

\section*{Sources}
\begin{enumerate}\small
  \item Original question. \url{https://arxiv.org/html/2403.15602\#S4.Thmthm2}
  \item Is It Solved? listing posed-612. \url{https://isitsolved.com/posed\#p612}
\end{enumerate}
\end{document}
