Stable recolouring diameter and palette thresholds for hypergraphs

Both the eventual recolouring diameter of a finite loopless hypergraph and the least palette size from which that diameter stays fixed can be computed from its incidences. A proper colouring assigns colours to vertices so that no hyperedge is monochromatic. For a palette of \(k\) colours, the reconfiguration graph has these proper colourings as its vertices, with an edge for each legal change of colour at one vertex. The distance is the fewest such changes needed to pass between two colourings, or \(+\infty\) if there is no path. Cames van Batenburg asked for the eventual finite diameter and the first palette from which every larger palette has that same diameter. Eventual stability was already known. The two formulas below determine its value and its onset for every finite loopless hypergraph. Cames van Batenburg, §7, Question 18, PDF p. 12. Let \(H=(V,E)\) have \(n=|V|>0\) vertices, with every hyperedge of size at least two. For two proper colourings \(\alpha,\beta\), put \(D=\{v\in V:\alpha(v)\ne\beta(v)\}\) and let \(p=|\alpha(V)\cup\beta(V)|\) be the number of colours used across the two endpoints. A set \(B\subseteq V\) of vertices to recolour temporarily carries the extra cost \[W(B)=|B\cap D|+2|B\setminus D|. \] A vertex in \(B\cap D\) takes an extra move beyond its required change. A vertex in \(B\setminus D\) must leave its colour and return to it. Vertices in \(D\setminus B\) change directly to their target colours, in an order governed by the edges disjoint from \(B\). To test an order, take each \(v\in D\setminus B\) and each edge \(e\ni v\) disjoint from \(B\), and put \(c=\beta(v)\). The edge needs no test if some other vertex in it has neither endpoint colour equal to \(c\). Otherwise set \[L_{e,v}=\{x\in e\setminus\{v\}:\alpha(x)=c,\ \beta(x)\ne c\},\qquad R_{e,v}=\{x\in e\setminus\{v\}:\alpha(x)\ne c,\ \beta(x)=c\}. \] Forbid all of \(R_{e,v}\) preceding \(v\) and all of \(L_{e,v}\) following \(v\) in the same order. An empty side satisfies its part of the forbidden condition automatically. In that configuration every other vertex of the edge has colour \(c\) when \(v\) takes it. Let \(b(\alpha,\beta)\) be the minimum \(W(B)\) over sets for which all the tests admit a common order. The pair distance is at least \(|D|+b(\alpha,\beta)\) at every palette realising the endpoints. Equality holds whenever \(k\ge p+|B|\) for a minimising set \(B\). Give each vertex in \(B\) its own colour unused at either endpoint, make the direct changes in the chosen order, then set the vertices of \(B\) to their target colours. The distinct temporary colours keep the edges they meet from becoming monochromatic. The computation depends only on which colours coincide across the two endpoints. Let \(\mathcal P\) consist of the partitions \(\rho\) of \(V\times\{0,1\}\) into common colour classes for which each copy of \(V\) gives a proper colouring. Write \(D_\rho,p_\rho,b_\rho\) for the quantities above for a pair with pattern \(\rho\). The stable diameter is \[d_*=\max_{\rho\in\mathcal P}\bigl(|D_\rho|+b_\rho\bigr),\qquad n\le d_*\le 2n. \] Every pattern is realised by \(2n\) colours, and for every minimising set the bound \(p_\rho+|B|\le 2n\) supplies enough temporary colours. Thus every palette of size at least \(2n\) has diameter \(d_*\). To find the exact starting palette, compute the fewest colours needed to realise each endpoint pattern within each of two move budgets. For a pattern \(\rho\) and a non-negative integer budget \(t\), enumerate all words \(v_1\cdots v_s\) of length \(0\le s\le t\) on \(V\), where each letter specifies the vertex that changes. For each word, build an auxiliary hypergraph. Give each vertex one variable for each interval during which its colour is constant along the word. There are \(n+s\) variables before identifications. Identify the initial and final variables according to \(\rho\), rejecting a word that assigns a single variable to two distinct endpoint classes. Join every pair of distinct endpoint classes by an edge of size two. For each move, put an edge of size two between the variables immediately before and after that move at its vertex. For every original edge, at the initial snapshot and after every move, add the edge formed by the variables then representing its vertices. Reject any word whose constraints collapse to a singleton edge. Let \(K_\rho(t)\) be the minimum weak chromatic number of the resulting hypergraphs, or \(+\infty\) if all words are infeasible. The weak chromatic number is the least number of colours that makes every edge non-monochromatic. For every \(k\ge p_\rho\), the realised pair is at distance at most \(t\) exactly when \(k\ge K_\rho(t)\). The auxiliary colours give an actual sequence of proper colourings, with a global relabelling to match the prescribed endpoint colours. Each auxiliary hypergraph used for the cutoff has at most \(n+d_*\le 3n\) vertices. Define the following unions of integer intervals over positive palettes: \[J_t=\bigcup_{\rho\in\mathcal P}\{k\in\mathbb Z_{\ge1}:p_\rho\le k<K_\rho(t)\}. \] The palettes in \(J_t\) have a pair at distance greater than \(t\). Those in \(J_{d_*-1}\setminus J_{d_*}\) have a nonempty reconfiguration graph of diameter exactly \(d_*\). The least stable palette is \[k_*=1+\max\bigl(\{0\}\cup J_{d_*}\cup(\mathbb Z_{\ge1}\setminus J_{d_*-1})\bigr). \] This takes the last palette that fails, whether some pair is too far apart or there is no pair far enough to attain \(d_*\). The sets in the maximum are finite, and the calculation requires neither a diameter oracle nor monotonicity of diameter at small palettes. Direct enumeration costs \(2^{O(n\log(n+1))}\) times a polynomial in the input incidence size. For the empty hypergraph the unique empty colouring gives diameter zero at every palette, including palette zero. Its least stable palette is zero when zero is allowed and one under the positive-palette convention. For the complete \((h+1)\)-uniform hypergraph, with integer \(h\ge1\), a colour class can hold at most \(h\) vertices. When \(kh>n\), draw an arc \(\alpha(v)\to\beta(v)\) for each \(v\in D\), retaining parallel arcs. A component of this directed multigraph, with directions ignored, is full if it contains an arc and all its classes initially hold \(h\) vertices. The exact pair distance is \(|D|\) plus the number of full components. A move fills a vacancy in its target class and leaves one in its initial class. A component with a vacancy can make its changes directly. Each full component needs one extra move to borrow a vacancy from outside, and the same vacancy can be reused. Writing \(n=2hb+r\) with integers \(b\ge0\) and \(0\le r<2h\), for \(n>0\) the resulting closed forms are \[d_*=n+b,\qquad k_*=\begin{cases}2b+1,&r=0,\\2b+2,&0<r<2h.\end{cases} \] Each full component uses at least two full classes. Swapping the colours of \(b\) disjoint pairs of full classes attains the maximum number of such components. When \(r>0\), two further classes allow all remaining vertices to change colour, with a vacancy among those classes. If \(0<r<h\), the preceding palette already has spare capacity, but attaining \(n+b\) would leave the remaining \(r\) vertices with only one class, so they could not all change colour. For example, on five vertices with all triples as edges, three colours give diameter five despite a vacancy. Four colours give the stable diameter six.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-03
DOI
https://doi.org/10.5281/zenodo.24801955
Primary Topic
Advanced Graph Theory Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Stable recolouring diameter and palette thresholds for hypergraphs

Zixuan He
Zenodo (CERN European Organization for Nuclear Research)
Advanced Graph Theory Research
preprint

Stable recolouring diameter and palette thresholds for hypergraphs

Zixuan He
preprint en

Abstract

Both the eventual recolouring diameter of a finite loopless hypergraph and the least palette size from which that diameter stays fixed can be computed from its incidences. A proper colouring assigns colours to vertices so that no hyperedge is monochromatic. For a palette of \(k\) colours, the reconfiguration graph has these proper colourings as its vertices, with an edge for each legal change of colour at one vertex. The distance is the fewest such changes needed to pass between two colourings, or \(+\infty\) if there is no path. Cames van Batenburg asked for the eventual finite diameter and the first palette from which every larger palette has that same diameter. Eventual stability was already known. The two formulas below determine its value and its onset for every finite loopless hypergraph. Cames van Batenburg, §7, Question 18, PDF p. 12. Let \(H=(V,E)\) have \(n=|V|>0\) vertices, with every hyperedge of size at least two. For two proper colourings \(\alpha,\beta\), put \(D=\{v\in V:\alpha(v)\ne\beta(v)\}\) and let \(p=|\alpha(V)\cup\beta(V)|\) be the number of colours used across the two endpoints. A set \(B\subseteq V\) of vertices to recolour temporarily carries the extra cost \[W(B)=|B\cap D|+2|B\setminus D|. \] A vertex in \(B\cap D\) takes an extra move beyond its required change. A vertex in \(B\setminus D\) must leave its colour and return to it. Vertices in \(D\setminus B\) change directly to their target colours, in an order governed by the edges disjoint from \(B\). To test an order, take each \(v\in D\setminus B\) and each edge \(e\ni v\) disjoint from \(B\), and put \(c=\beta(v)\). The edge needs no test if some other vertex in it has neither endpoint colour equal to \(c\). Otherwise set \[L_{e,v}=\{x\in e\setminus\{v\}:\alpha(x)=c,\ \beta(x)\ne c\},\qquad R_{e,v}=\{x\in e\setminus\{v\}:\alpha(x)\ne c,\ \beta(x)=c\}. \] Forbid all of \(R_{e,v}\) preceding \(v\) and all of \(L_{e,v}\) following \(v\) in the same order. An empty side satisfies its part of the forbidden condition automatically. In that configuration every other vertex of the edge has colour \(c\) when \(v\) takes it. Let \(b(\alpha,\beta)\) be the minimum \(W(B)\) over sets for which all the tests admit a common order. The pair distance is at least \(|D|+b(\alpha,\beta)\) at every palette realising the endpoints. Equality holds whenever \(k\ge p+|B|\) for a minimising set \(B\). Give each vertex in \(B\) its own colour unused at either endpoint, make the direct changes in the chosen order, then set the vertices of \(B\) to their target colours. The distinct temporary colours keep the edges they meet from becoming monochromatic. The computation depends only on which colours coincide across the two endpoints. Let \(\mathcal P\) consist of the partitions \(\rho\) of \(V\times\{0,1\}\) into common colour classes for which each copy of \(V\) gives a proper colouring. Write \(D_\rho,p_\rho,b_\rho\) for the quantities above for a pair with pattern \(\rho\). The stable diameter is \[d_*=\max_{\rho\in\mathcal P}\bigl(|D_\rho|+b_\rho\bigr),\qquad n\le d_*\le 2n. \] Every pattern is realised by \(2n\) colours, and for every minimising set the bound \(p_\rho+|B|\le 2n\) supplies enough temporary colours. Thus every palette of size at least \(2n\) has diameter \(d_*\). To find the exact starting palette, compute the fewest colours needed to realise each endpoint pattern within each of two move budgets. For a pattern \(\rho\) and a non-negative integer budget \(t\), enumerate all words \(v_1\cdots v_s\) of length \(0\le s\le t\) on \(V\), where each letter specifies the vertex that changes. For each word, build an auxiliary hypergraph. Give each vertex one variable for each interval during which its colour is constant along the word. There are \(n+s\) variables before identifications. Identify the initial and final variables according to \(\rho\), rejecting a word that assigns a single variable to two distinct endpoint classes. Join every pair of distinct endpoint classes by an edge of size two. For each move, put an edge of size two between the variables immediately before and after that move at its vertex. For every original edge, at the initial snapshot and after every move, add the edge formed by the variables then representing its vertices. Reject any word whose constraints collapse to a singleton edge. Let \(K_\rho(t)\) be the minimum weak chromatic number of the resulting hypergraphs, or \(+\infty\) if all words are infeasible. The weak chromatic number is the least number of colours that makes every edge non-monochromatic. For every \(k\ge p_\rho\), the realised pair is at distance at most \(t\) exactly when \(k\ge K_\rho(t)\). The auxiliary colours give an actual sequence of proper colourings, with a global relabelling to match the prescribed endpoint colours. Each auxiliary hypergraph used for the cutoff has at most \(n+d_*\le 3n\) vertices. Define the following unions of integer intervals over positive palettes: \[J_t=\bigcup_{\rho\in\mathcal P}\{k\in\mathbb Z_{\ge1}:p_\rho\le k<K_\rho(t)\}. \] The palettes in \(J_t\) have a pair at distance greater than \(t\). Those in \(J_{d_*-1}\setminus J_{d_*}\) have a nonempty reconfiguration graph of diameter exactly \(d_*\). The least stable palette is \[k_*=1+\max\bigl(\{0\}\cup J_{d_*}\cup(\mathbb Z_{\ge1}\setminus J_{d_*-1})\bigr). \] This takes the last palette that fails, whether some pair is too far apart or there is no pair far enough to attain \(d_*\). The sets in the maximum are finite, and the calculation requires neither a diameter oracle nor monotonicity of diameter at small palettes. Direct enumeration costs \(2^{O(n\log(n+1))}\) times a polynomial in the input incidence size. For the empty hypergraph the unique empty colouring gives diameter zero at every palette, including palette zero. Its least stable palette is zero when zero is allowed and one under the positive-palette convention. For the complete \((h+1)\)-uniform hypergraph, with integer \(h\ge1\), a colour class can hold at most \(h\) vertices. When \(kh>n\), draw an arc \(\alpha(v)\to\beta(v)\) for each \(v\in D\), retaining parallel arcs. A component of this directed multigraph, with directions ignored, is full if it contains an arc and all its classes initially hold \(h\) vertices. The exact pair distance is \(|D|\) plus the number of full components. A move fills a vacancy in its target class and leaves one in its initial class. A component with a vacancy can make its changes directly. Each full component needs one extra move to borrow a vacancy from outside, and the same vacancy can be reused. Writing \(n=2hb+r\) with integers \(b\ge0\) and \(0\le r<2h\), for \(n>0\) the resulting closed forms are \[d_*=n+b,\qquad k_*=\begin{cases}2b+1,&r=0,\\2b+2,&0<r<2h.\end{cases} \] Each full component uses at least two full classes. Swapping the colours of \(b\) disjoint pairs of full classes attains the maximum number of such components. When \(r>0\), two further classes allow all remaining vertices to change colour, with a vacancy among those classes. If \(0<r<h\), the preceding palette already has spare capacity, but attaining \(n+b\) would leave the remaining \(r\) vertices with only one class, so they could not all change colour. For example, on five vertices with all triples as edges, three colours give diameter five despite a vacancy. Four colours give the stable diameter six.

Zenodo (CERN European Organization for Nuclear Research)
University of Glasgow (GB)
Advanced Graph Theory Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon