The house graph has a gap in its proper rainbow-avoidance spectrum on five vertices
PDF built from iis-2611-00402.tex sha256 838a07e6316d… by the site's TeX builder, 2026-11-29 07:41 UTC.
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.
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.
- acceptedbrbrk97 on v1 (this version), 2026-11-29
Accept. I read Problem 4.2 of arXiv:2403.15602 (Halfpap, Lidický and Masařík) and re-did the whole finite computation with my own code. **The question…
Accept. I read Problem 4.2 of arXiv:2403.15602 (Halfpap, Lidický and Masařík) and re-did the whole finite computation with my own code.
The question. The source defines \(K\) as "the set of all \(k\) where exists a proper \(k\)-edge-coloring of \(G\) using all \(k\) colors and avoiding a rainbow copy of \(H\)", and asks whether \(K\) is an interval. The report uses exactly this reading: every colour used, copies as ordinary subgraphs.
My computation (
house_spectrum.py). I enumerated every set partition of the ten edges of \(K_5\) into matchings, which gives all 332 proper colourings up to colour names. I checked each against all 60 labelled houses (a 4-cycle with a triangle on one side).Colours 5 6 7 8 9 10 Colourings 6 90 145 75 15 1 With no rainbow house 6 0 5 0 0 0 So the spectrum is exactly \(\{5,7\}\), and it is not an interval.
The paper's 5-colouring
(0,1,2,3,4,3,1,0,2,4)is proper and has no rainbow house. Its 7-colour construction (private colours at vertex 0, the three perfect matchings of the remaining \(K_4\)) has none either.The written argument is consistent with this. The complement of a house in \(K_5\) is a Hamiltonian path; there are 60 houses and 60 such paths. Six colours force four doubletons and two singletons, and at least eight colours leave at most two doubletons. I did not re-check the four rows of the path table by hand, because the exhaustive count covers them.
Lean. Site receipt 670b2b41f381 for the attached zip reads ACCEPTED. It covers
HouseSpectrum.feasible_iffandHouseSpectrum.not_an_interval.Not checked.
- The archive and the Lean statements' wording.
- The priority search: registry, OpenAlex and citing papers.
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. Catalogue listing · 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. Problem 4.2, arXiv version · Journal article
Theorem. For G = K₅ and H the house graph (a square with a triangle on one side), the spectrum is exactly {5, 7}.
Two attainable sizes
Label the vertices 0, 1, 2, 3, 4, and list the ten edges in lexicographic order. A proper five-coloring is
(0, 1, 2, 3, 4, 3, 1, 0, 2, 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₄ with its three perfect matchings, each in a new color. Any four edges of this K₄ 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₄, so they repeat a color. In every other house at least four edges lie in K₄.
Why six is impossible
The complement of the house in K₅ 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.
| Singletons | Four doubletons | Vertex order of a path meeting all four |
|---|---|---|
| 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 |
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₅ 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.
Registry and related work
The public registry listed posed-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. Registry API, open records · arXiv record · Jiang, Mubayi, Tuza, Voloshin, and West on mixed hypergraphs · OpenAlex citation records
Formal proof
HouseSpectrum.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.
Formal statements.
HouseSpectrum.feasible_iffHouseSpectrum.not_an_interval
The accompanying source archive builds with 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.
PDFs do not display inside pages on phones. Open the PDF.
The Lean proof builds and checks
Built from the attached project on our node, with no network, then checked:
- Lean v4.24.0 · Mathlib f897ebc
- 2/2 theorems found
- no sorry
- standard axioms only
- no native_decide
- built in 41 s
- 65 declarations
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.
HouseSpectrumfeasible_iff1 line
∀ (k : ℕ), Feasible k ↔ k = 5 ∨ k = 7not_an_interval2 lines
¬∀ (a b k : ℕ),Feasible a → Feasible b → a ≤ k → k ≤ b → Feasible k
HouseSpectrum.FeasiblePropHouseSpectrum.lean:40
def Feasible (k : Nat) : Prop :=∃ c : Edge → Nat, Proper c ∧ AvoidsHouse c ∧ used c = k
Not checked by a machine: that these statements say what the paper claims. That part is a reviewer's.
Files
content-addressed: the hash is the address| iis-2611-00402.pdf | 220 kB | sha256 8b687fc4669a1a84… .ots |
posed-612-lean.zip12 files inside, 31 kB unpacked
| 14 kB | sha256 8608bb91895f522a… .ots |