Rainbow-independent set

In graph theory, a rainbow-independent set (ISR) is an independent set in a graph, in which each vertex has a different color.

Formally, let $G = (V, E)$ be a graph, and suppose vertex set $V$ is partitioned into $m$ subsets $V1, …, Vm$, called "colors". A set $U$ of vertices is called a rainbow-independent set if it satisfies both the following conditions:


 * It is an independent set – every two vertices in $U$ are not adjacent (there is no edge between them);
 * It is a rainbow set – $U$ contains at most a single vertex from each color $Vi$.

Other terms used in the literature are independent set of representatives, independent transversal, and independent system of representatives.

As an example application, consider a faculty with $m$ departments, where some faculty members dislike each other. The dean wants to construct a committee with $m$ members, one member per department, but without any pair of members who dislike each other. This problem can be presented as finding an ISR in a graph in which the nodes are the faculty members, the edges describe the "dislike" relations, and the subsets $V1, …, Vm$ are the departments.

Variants
It is assumed for convenience that the sets $V1, …, Vm$ are pairwise-disjoint. In general the sets may intersect, but this case can be easily reduced to the case of disjoint sets: for every vertex $x$, form a copy of $x$ for each $i$ such that $Vi$ contains $x$. In the resulting graph, connect all copies of $x$ to each other. In the new graph, the $Vi$ are disjoint, and each ISR corresponds to an ISR in the original graph.

ISR generalizes the concept of a system of distinct representatives (SDR, also known as transversal). Every transversal is an ISR where in the underlying graph, all and only copies of the same vertex from different sets are connected.

Existence of rainbow-independent sets
There are various sufficient conditions for the existence of an ISR.

Condition based on vertex degree
Intuitively, when the departments $Vi$ are larger, and there is less conflict between faculty members, an ISR should be more likely to exist. The "less conflict" condition is represented by the vertex degree of the graph. This is formalized by the following theorem: "If the degree of every vertex in $G$ is at most $d$, and the size of each color-set is at least $2d$, then $G$ has an ISR."The $2d$ is best possible: there are graph with vertex degree $k$ and colors of size $2d – 1$ without an ISR. But there is a more precise version in which the bound depends both on $d$ and on $m$.

Condition based on dominating sets
Below, given a subset $S$ of colors (a subset of ${V1, ..., Vm}$), we denote by $US$ the union of all subsets in $S$ (all vertices whose color is one of the colors in $S$), and by $GS$ the subgraph of $G$ induced by $US$. The following theorem describes the structure of graphs that have no ISR but are edge-minimal, in the sense that whenever any edge is removed from them, the remaining graph has an ISR. If $G$ has no ISR, but for every edge $e$ in $E$, $G-e$ has an ISR, then for every edge $e = (x, y)$ in $E$, there exists a subset $S$ of the colors ${V1, …, Vm},$ and a set $Z$ of edges of $GS$, such that:


 * The vertices $x$ and $y$ are both in $US$;
 * The edge $e = (x, y)$ is in $Z$;
 * The set of vertices adjacent to $Z$ dominates $GS$;
 * $Z$ is a matching – no two edges of it are adjacent to the same vertex.
 * $S$ is a matching – no two edges of it are adjacent to the same vertex.

Hall-type condition
Below, given a subset $IS$ of colors (a subset of $|Z| ≤ |S| − 1$), an independent set $GS$ of $S$ is called special for $J$ if for every independent subset $GS$ of vertices of $v$ of size at most ${V1, …, Vm}$, there exists some $IS$ in $IS$ such that $|S| − 1$ is also independent. Figuratively, $S$ is a team of "neutral members" for the set $GS$ of departments, that can augment any sufficiently small set of non-conflicting members, to create a larger such set. The following theorem is analogous to Hall's marriage theorem: "If, for every subset S of colors, the graph $IS$ contains an independent set $S$ that is special for $G$, then $m$ has an ISR. Proof idea. The theorem is proved using Sperner's lemma. The standard simplex with $i$ endpoints is assigned a triangulation with some special properties. Each endpoint $Vi$ of the simplex is associated with the color-set $x$, each face $J ∪ {v}$ of the simplex is associated with a set ${i1, …, ik}$ of colors. Each point $G$ of the triangulation is labeled with a vertex $S = {Vi1, …, Vik}$ of $x$ such that: (a) For each point $S$ on a face $IS$, $g(x)$ is an element of $S$ – the special independent set of $x$. (b) If points $y$ and $G$ are adjacent in the 1-skeleton of the triangulation, then $g(x)$ and $g(x)$ are not adjacent in $x$. By Sperner's lemma, there exists a sub-simplex in which, for each point $G$, $g(y)$ belongs to a different color-set; the set of these $g(x)$ is an ISR."

The above theorem implies Hall's marriage condition. To see this, it is useful to state the theorem for the special case in which $H$ is the line graph of some other graph $G$; this means that every vertex of $H$ is an edge of $G$, and every independent set of $H$ is a matching in $G$. The vertex-coloring of $H$ corresponds to an edge-coloring of $G$, and a rainbow-independent-set in $H$ corresponds to a rainbow-matching in $IS$. A matching $HS$ in $S$ is special for $J$, if for every matching $HS$ in $e$ of size at most $g(x)$, there is an edge $IS$ in $HS$ such that $|S| − 1$ is still a matching in $H$. Let $S$ be a graph with an edge-coloring. If, for every subset $HS$ of colors, the graph $MS$ contains a matching $S$ that is special for $H$, then $i$ has a rainbow-matching.

Let $J ∪ {e}$ be a bipartite graph satisfying Hall's condition. For each vertex $X$ of $Vi$, assign a unique color $H$ to all edges of $i$ adjacent to $S$. For every subset $S$ of colors, Hall's condition implies that $Y$ has at least $H = (X + Y, E)$ neighbors in $H$, and therefore there are at least $|S|$ edges of $Y$ adjacent to distinct vertices of $IS$. Let $J$ be a set of $|S|$ such edges. For any matching $H$ of size at most $|S|$ in $e$, some element $IS$ of $Y$ has a different endpoint in $J$ than all elements of $IS$, and thus $|S| − 1$ is also a matching, so $S$ is special for $H$. The above theorem implies that $MR$ has a rainbow matching $MR$. By definition of the colors, $H$ is a perfect matching in $G$.

Another corollary of the above theorem is the following condition, which involves both vertex degree and cycle length: "If the degree of every vertex in $G$ is at most 2, and the length of each cycle of $G$ is divisible by 3, and the size of each color-set is at least 3, then $S$ has an ISR. Proof. For every subset $GS$ of colors, the graph $IS$ contains at least $J ∪ {e}$ vertices, and it is a union of cycles of length divisible by 3 and paths. Let $GS$ be an independent set in $J$ containing every third vertex in each cycle and each path. So $3|S|$ contains at least $|IS|$ vertices. Let $GS$ be an independent set in $IS$ of size at most $3|S|/3 = |S|$. Since the distance between each two vertices of $J$ is at least 3, every vertex of $IS$ is adjacent to at most one vertex of $IS$. Therefore, there is at least one vertex of $J$ which is not adjacent to any vertex of $IS$. Therefore $S$ is special for $G$. By the previous theorem, $G$ has an ISR."

Condition based on homological connectivity
One family of conditions is based on the homological connectivity of the independence complex of subgraphs. To state the conditions, the following notation is used:


 * $|S| – 1$ denotes the independence complex of a graph $G$ (that is, the abstract simplicial complex whose faces are the independent sets in $X$).
 * $Ind(G)$ denotes the homological connectivity of a simplicial complex $k$ (i.e., the largest integer $k$ such that the first $X$ homology groups of $J$ are trivial), plus 2.
 * $ηH(X)$ is the set of indices of colors, $[m]$ For any subset $VJ$ of ${1, …, n}.$, $VJ$ is the union of colors $J$ for $J$ in $G$.
 * $[m]$ is the subgraph of $VJ$ induced by the vertices in $J$.

The following condition is implicit in and proved explicitly in. If, for all subsets $G$ of $G[VJ]$:
 * $$\eta_H(\text{Ind}(G[V_J])) \geq |J|$$

then the partition $[m]$ admits an ISR. As an example, suppose $J$ is a bipartite graph, and its parts are exactly $V1, …, Vm$ and $V1$. In this case $V2$ so there are four options for $n$:


 * $[m] = {1,2}$ then $J = {}:$ and $G[J] = {}$ and the connectivity is infinite, so the condition holds trivially.
 * $Ind(G[J]) = {}$ then $J = {1}:$ is a graph with vertices $G[J]$ and no edges. Here all vertex sets are independent, so $V1$ is the power set of $Ind(G[J])$, i.e., it has a single $k$-simplex (and all its subsets). It is known that a single simplex is $k$-connected for all integers $x$, since all its reduced homology groups are trivial (see simplicial homology). Hence the condition holds.
 * $V1$ this case is analogous to the previous one.
 * $J = {2}:$ then $J = {1,2}:$, and $G[J] = G$ contains two simplices $Ind(G)$ and $V1$ (and all their subsets). The condition $V2$ is equivalent to the condition that the homological connectivity of $ηH(Ind(G)) ≥ 2$ is at least 0, which is equivalent to the condition that $$\tilde{H_0}(\text{Ind}(G))$$ is the trivial group. This holds if-and-only-if the complex $Ind(G)$ contains a connection between its two simplices $Ind(G)$ and $V1$. Such a connection is equivalent to an independent set in which one vertex is from $V2$ and one is from $V1$. Thus, in this case, the condition of the theorem is not only sufficient but also necessary.

Other conditions
Every properly coloured triangle-free graph of chromatic number $V$ contains a rainbow-independent set of size at least $V2$.

Several authors have studied conditions for existence of large rainbow-independent sets in various classes of graphs.

Computation
The ISR decision problem is the problem of deciding whether a given graph $x/2$ and a given partition of $m$ into $X$ colors admits a rainbow-independent set. This problem is NP-complete. The proof is by reduction from the 3-dimensional matching problem (3DM). The input to 3DM is a tripartite hypergraph $G = (V, E)$, where $Y$, $Z$, $m$ are vertex-sets of size $F$, and $X$ is a set of triplets, each of which contains a single vertex of each of $Y$, $Z$, $F$. An input to 3DM can be converted into an input to ISR as follows:


 * For each edge $(X + Y + Z, F)$ in $V$, there is a vertex $(x,y,z)$ in $z$;
 * For each vertex $Z$ in $x$, let $vx,y,z$
 * For each $E$, $Vz = {vx,y,z | x ∈ X, y ∈ Y}.$, $y1$, $y2$, $z1$, there is an edge $z2$ in $y$;
 * For each $(vx, y1, z1, vx, y2, z2)$, $x1$, $E$, $x2$, $z1$, there is an edge $z2$ in $z$;

In the resulting graph $(vx1, y, z1, vx2, y, z2)$, an ISR corresponds to a set of triplets $G = (V, E)$ such that:


 * Each triplet has a different $Vz$ value (since each triplet belongs to a different color-set $x$);
 * Each triplet has a different $y$ value and a different $G$ value (since the vertices are independent).

Therefore, the resulting graph admits an ISR if and only if the original hypergraph admits a 3DM.

An alternative proof is by reduction from SAT.

Related concepts
If $H$ is the line graph of some other graph $G$, then the independent sets in $H$ are the matchings in $G$. Hence, a rainbow-independent set in $H$ is a rainbow matching in ⇭⇭⇭. See also matching in hypergraphs.

Another related concept is a rainbow cycle, which is a cycle in which each vertex has a different color.

When an ISR exists, a natural question is whether there exist other ISRs, such that the entire set of vertices is partitioned into disjoint ISRs (assuming the number of vertices in each color is the same). Such a partition is called strong coloring.

Using the faculty metaphor:

A rainbow clique or a colorful clique is a clique in which every vertex has a different color. Every clique in a graph corresponds to an independent set in its complement graph. Therefore, every rainbow clique in a graph corresponds to a rainbow-independent set in its complement graph.
 * A system of distinct representatives is a committee of distinct members, with or without conflicts.
 * An independent set is a committee with no conflict.
 * An independent transversal is a committee with no conflict, with exactly one member from each department.
 * A graph coloring is a partitioning of the faculty members into committees with no conflict.
 * A strong coloring is a partitioning of the faculty members into committees with no conflict and with exactly one member from each department. Thus this problem is sometimes called the happy dean problem.