Abstract 1 Introduction 2 Preliminaries 3 New Lower Bounds 4 König–Egerváry Graphs 5 General Graphs 6 Concluding Remarks References Appendix A Appendix

A Characterization of Spartan Graphs and New Lower Bounds for Eternal Vertex Cover

Neeldhara Misra ORCID IIT Gandhinagar, India Saraswati Girish Nanoti ORCID Indian Institute of Science, Bangalore, India
Abstract

The eternal vertex cover game is played between an attacker and a defender on an undirected graph G. The defender identifies k vertices to position guards initially. The attacker, on their turn, attacks an edge e, and the defender must move a guard along e to defend the attack. The defender may move other guards as well, under the constraint that every guard moves at most once and to a neighboring vertex. The smallest number of guards required to defend attacks forever is called the eternal vertex cover number of G, denoted 𝖾𝗏𝖼(G).

For any graph G, 𝖾𝗏𝖼(G) is at least 𝗆𝗏𝖼(G) (the vertex cover number of G). A graph is Spartan if 𝖾𝗏𝖼(G)=𝗆𝗏𝖼(G). It is known that a bipartite graph is Spartan if and only if every edge belongs to a perfect matching. We show that the only König graphs that are Spartan are the bipartite Spartan graphs. We also give new lower bounds for 𝖾𝗏𝖼(G), generalizing a known lower bound based on cut vertices. We finally show a new matching-based characterization of all Spartan graphs.

Keywords and phrases:
Eternal Vertex Cover, Vertex Cover, König Graphs, Spartan Graphs, Matchings
Funding:
Neeldhara Misra: Supported by the SERB Early Career Researcher Grant ECR/2018/ 002967.
Saraswati Girish Nanoti: Supported by CSIR.
Copyright and License:
[Uncaptioned image] © Neeldhara Misra and Saraswati Girish Nanoti; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Design and analysis of algorithms
Related Version:
ArXiV: https://arxiv.org/abs/2504.06832
Acknowledgements:
This work was done when the second author was a student at IIT Gandhinagar. The second author thanks CSIR for the support.
Editors:
C. Aiswarya, Ruta Mehta, and Subhajit Roy

1 Introduction

Recall that a subset of vertices S is called a vertex cover if, for every edge e={u,v}, at least one of u or v belongs to S. The eternal vertex cover game, introduced by Klostermeyer and Mynhardt [4], is a turn-based two-player game played on a graph between players typically referred to as the attacker and the defender. The defender is tasked with placing guards on the vertices of the graph to protect against attacks on any of its edges, while the attacker selects edges to attack. The defender’s goal is to ensure that every attack can be countered by moving a guard along the attacked edge, while optionally moving additional guards, under the constraint that guards move at most once and to a neighboring vertex. When the defender is able to defend attacks forever, the positions of the guards at every stage of the game form a vertex cover.

The minimum number of guards required for the defender to successfully defend against an infinite sequence of attacks is known as the eternal vertex cover number, denoted as 𝖾𝗏𝖼(G). We also use 𝗆𝗏𝖼(G) to denote the minimum vertex cover number of G, which is the size of a smallest vertex cover of G. It is well known that [4]:

𝗆𝗏𝖼(G)𝖾𝗏𝖼(G)The placement of guards
is a vertex cover.
 and 𝖾𝗏𝖼(G)2𝗆𝗏𝖼(G)Guard both endpoints of a maximum matching.

A natural question is to identify the graphs for which the lower bound is tight, i.e., when 𝖾𝗏𝖼(G)=𝗆𝗏𝖼(G). Such graphs are called Spartan – here, the defender can maintain a vertex cover with the minimum number of guards, making them an optimal solution in terms of resource usage. We are interested in the question of what such graphs look like from a structural perspective.

In [2], Babu et al. obtain a characterization for a class of graphs that includes chordal graphs and internally triangulated planar graphs. We briefly recall this result. Let the graph class denote the class of all connected graphs G for which each minimum vertex cover of G that contains all the cut vertices of G induces a connected subgraph in G. (A cut vertex is a vertex whose removal disconnects the graph.) Let G(V,E) be a graph that belongs to , with at least two vertices, and XV be the set of cut vertices of G. Then it is shown [2] that G is Spartan if and only if for every vertex vV\X, there exists a minimum vertex cover Sv of G such that X{v}Sv. It is also known that bipartite graphs are Spartan if and only if every edge belongs to a perfect matching (essentially elementary) [6]. Our first result involves expanding the scope of this characterization to König graphs, which are graphs where the minimum vertex cover equals the maximum matching, and hence a natural generalization of bipartite graphs. We show that the only König graphs that are Spartan are those that are also bipartite and satisfy the conditions for being Spartan within bipartite graphs:

Theorem 1.

A König-Egerváry graph G is Spartan if and only if it is bipartite and essentially elementary.

We also develop a series of increasingly stronger pre-requisites – i.e., necessary conditions – for a graph to be Spartan. To begin with, note that for a graph G which has more than one vertex, if 𝖾𝗏𝖼(G)=𝗆𝗏𝖼(G), then every vertex v of G must belong to a minimum-sized vertex cover Sv. Indeed, if not, then from any configuration, attacking an edge incident to v will result in the attacker winning. A result in [2] takes this further to show that if 𝖾𝗏𝖼(G)=𝗆𝗏𝖼(G), then each vertex must belong to a minimum-sized vertex cover which contains all the cut vertices.

Figure 1: Examples of bad situations. Left: an example of a bad scenario with T={a,b,c}. Note that the minimum vertex cover number of the component with the vertices {p,q,r} is one and the size of its intersection with the vertex cover of G, i.e., {q} is also one. Right: an example of a bad scenario with T={d,e,f}. Here, the minimum vertex cover number of the component with the vertices {u,v,w,x,y} is two and the intersection of this component with the vertex cover of G is {x,u,v}; however the set {u,v} is not compatible with any minimum-sized vertex cover of the component.

We generalize this idea further in the following way. Let S be a vertex cover of G and let I=V(G)S be an independent set of G. A “bad situation” for the defender who has their guards positioned on the vertices of S is the following: there is a TI=V(G)S such that one of the connected components C of GT is such that |V(C)S|=𝗆𝗏𝖼(C). This is because the attacker can attack an edge that has one endpoint in C and the other in T, forcing a guard out of C, and it is easy to check that the shortfall in G[C] “cannot be fixed”, creating a vulnerable edge that will lead to a win for the attacker (see Figure 1 where the defender has one guard on the vertex q with respect to the attack qb).

A vertex cover S is weakly good if there is no subset T of V(G)S for which the bad situation described here occurs. We show that a graph G is Spartan only if every vertex is contained in a minimum-sized and weakly good vertex cover.

From the defender’s perspective, sometimes it is not enough to just avoid the bad situation described above with the vertex covers that they work with. Indeed, suppose we have a component C as shown on the right side of Figure 1. Here, |V(C)S|>𝗆𝗏𝖼(C), but note that if the attacker attacks xe, then the defender is stuck with guards on v and u: while in principle 𝗆𝗏𝖼(C)=2, these two guards cannot be moved in a way that will defend all edges in the component C, and as before there is no pathway for guards from outside C to enter C.

While not as stark as before, this is a more nuanced bad scenario. Informally speaking, vertex covers that avoid even this scenario are called strongly good vertex covers. We show that a graph is Spartan only if every vertex is contained in a minimum-sized and strongly good vertex cover.

Our final and main result is a characterization of Spartan graphs at large. Let us begin by making a defender’s strategy structurally explicit. To this end, consider a graph where we are able to find a non-empty family of minimum-sized vertex covers such that the following holds:

For every S and for every edge uvG such that uS and vS, there exists T such that vT and T is reachable from S via guard movement while defending uv: this is to say that if the defender had guards positioned on S, then they will be able to move them in such a way that the guards finally end up on T and one of the guards moves along the edge uv.

Notice that such a family naturally translates to a strategy for the defender: the defender can start with guards positioned on S for any S, and if any edge uv is attacked, the defender can either exchange guards (if both u and v are in S) or move guards to the T guaranteed by the property above. This would work indefinitely since every vertex cover in offers the same opportunities to the defender.

This brings us to the question of capturing movements between minimum-sized vertex covers S and T. We refer to the vertices in V(ST) as the dead zone. The defender hopes to move guards currently positioned at S to a new target vertex cover T while also defending an arbitrary but fixed edge uv with (say) uST and vTS. Notice that the defender can transform the configuration of guards from S to T while defending uv if there are |ST|1 vertex-disjoint paths between (ST){u} and (TS){v} that do not use any vertices from the dead zone. We say that S and T are mutually reachable if such paths exist.

Figure 2: Demonstrating reachability between vertex covers S={a,c,e,g,h,i,j} and T={b,d,f,g,h,i,j} with the vertex {k} in the dead zone. Here ST={a,c,e} and TS={b,d,f}. There are three vertex-disjoint paths P1=aghif, P2=ejd and P3=cb (the attacked edge), from ST to TS with internal vertices from ST. Thus, the guard on i moves to f, the guard on h moves to i, the guard on g moves to h and the guard on a moves to g. Notice that this movement happens along the path P1. Similar movements happen along P2 and P3 and thus the guards reconfigure from S to T. Note that no vertex of P1,P2 and P3 is common, if there was a common vertex then the guard which just arrived on the vertex could not have moved again before the next turn. Hence it is important that the paths P1,P2 and P3 are vertex-disjoint when we want to use them to reconfigure from S to T.

It is intuitive that the existence of a family of mutually reachable minimum vertex covers is a necessary and sufficient condition for a graph to be Spartan: indeed, given such a family, the defender has a strategy, and if the defender has a strategy, then the guard positions naturally correspond to such a family. Our main contribution is to capture the requirement of mutual reachability between vertex covers S and T in terms of matchings in an appropriately defined auxiliary graph 𝔥G(S,T) based on S and T. The notion of the auxiliary graph required to translate the condition of mutual reachability in terms of matchings is somewhat technical and we omit the specifics from the introduction. The non-trivial technical aspect is to ensure that the reachability guaranteed by disjoint paths as described above is in fact captured by the existence of a matching in 𝔥G(S,T).

While it is not clear that our characterization is efficiently testable, we propose it with the goal of offering structural insight into the class of general Spartan graphs, and hope that this lays the groundwork for future work on algorithmic aspects of recognizing Spartan graphs.

2 Preliminaries

For any natural number n, the set [1,n] denotes all the natural numbers between 1 and n (both included). Let G=(V,E) be a simple, finite, undirected graph with n>1 vertices and m edges (unless mentioned otherwise). Also unless mentioned otherwise, we will assume that the graph G is connected (and in particular, has no isolated vertices). We use the standard notation from [3]. If S is a subset of V, G[S] denotes the subgraph of G induced by the vertices in S. The set of all vertices v such that uvE(G) is denoted by N(u) and is said to be the open neighbourhood of u. The set N(u){u} is said to be the closed neighbourhood of u.

A path on n vertices is a graph P with vertices {v1,v2,,vn} such that each (vi,vi+1)E(P) for i[1,n1]. A cycle on n vertices is a graph C with vertices {v1,v2,,vn} such that each (vi,vi+1)E(C) for i[1,n1] and (vn,v1)E(C). A graph G(V,E) is said to be connected, if for every pair of distinct vertices u,vV, there exists a path between u and v.

A subset S of V(G) is said to be a vertex cover of G if for every edge (u,v)E, either uS or vS (or both). The size of a smallest vertex cover of the graph G is called the minimum vertex cover number of G and denoted by 𝗆𝗏𝖼(G). The graphs with 𝖾𝗏𝖼(G)=𝗆𝗏𝖼(G) are known as Spartan graphs.

A subset S of V(G) is said to be an independent set of G if no edge of E(G) has both its endpoints in S. It can be seen that the complement of a vertex cover will be an independent set and vice versa.

A matching is a set of edges with no common endpoint. A perfect matching is a matching which contains one edge adjacent to each vertex of a graph. A graph may not always have a perfect matching. A matching of the largest cardinality in a graph is called a maximum matching and the size of this matching is denoted by mm(G).

A bipartite graph G=(V,E) is a graph whose vertex set can be partitioned into two independent sets, say V=(AB) such that every edge is between a vertex in A and one in B. Clearly, both A and B are vertex covers of G. If a bipartite graph G=(AB,E) is connected and its only minimum-sized vertex covers are A and B, then we say that G is elementary. If every connected component of a bipartite graph is elementary, then we call it essentially elementary.

In Section 4, we need to use the following result about bipartite graphs which is given in [5] and can also be obtained by a slight modification of a result in [6]. We give an explicit proof for completeness.

Lemma 2 ([6]).

Let G be a connected bipartite graph such that V(G)=AB where A and B are non-empty independent sets. If G has at least one perfect matching and G is non-elementary, then there exist non-empty SA and TB such that |N(S)|=|S| and |N(T)|=|T|.

Proof.

Let G be a non-elementary connected bipartite graph with V(G)=AB, where A and B are non-empty independent sets, and a perfect matching. Suppose that for every non-empty subset S of A, SA we have |N(S)|>|S|. Let abE(G). We show that there exists a perfect matching between A{a} and B{b}. Consider any non-empty XA{a}. If |N(X)(B{b})|<|X|, then |N(X)B||X|. That is, XA such that |N(X)||X|, which is contrary to our assumption that for every subset S of A, SA we have |N(S)|>|S|. Thus, we cannot have any XA{a} such that |N(X)(B{b})|<|X|. Therefore, by Hall’s theorem, there exists a perfect matching M1 between A{a} and B{b}. Thus, M=M1{ab} is a perfect matching of G containing ab. Since ab was an arbitrary edge of G, every edge of G belongs to some perfect matching, and G is connected. This implies that G is elementary which is a contradiction. Therefore, there must exist a non-empty subset S of A such that SA and |N(S)||S| but |N(S)| cannot be less than |S| because G has a perfect matching. Thus |N(S)|=|S|. With a symmetric argument, we get that there exists a non-empty TB such that |N(T)|=|T|.

3 New Lower Bounds

In this section we give some necessary conditions which a graph G must satisfy, in order to have 𝖾𝗏𝖼(G)=𝗆𝗏𝖼(G). One such condition is stated in [2] which is as follows:

Lemma 3 ([2]).

For a graph G which has more than one vertex, if 𝖾𝗏𝖼(G)=𝗆𝗏𝖼(G) then every vertex v of G must belong to a minimum-sized vertex cover Sv.

For understanding the nature of Spartan graphs, it is sufficient to only look at connected components. The lemma below which was proven in [6] justifies this.

Lemma 4 ([6]).

Let G be a Spartan graph with connected components C1,,C. G is Spartan if and only if G[Ci] is Spartan for all 1i[].

Thus, we now look at only connected graphs.

Lemma 5.

If a graph G with more than one vertex is Spartan and I is a maximum independent set of G, then there is a matching of I to V(G)I, which saturates I.

Proof.

Consider a Spartan graph G (with more than one vertex), and let I be a maximum independent set of G and C=V(G)I be a minimum-sized vertex cover. Suppose there is no matching from I to S which saturates I, then by Hall’s theorem, there exists XI such that |N(X)|<|X|. (Here, the neighborhood of any subset of I in the entire graph is the same as the neighborhood of that subset in C because I is an independent set.)

Consider an inclusion-wise minimal such subset X of I. Then for every xX, there exists a perfect matching from X{x} to N(X). If not, then there exists a YX{x} such that |N(Y)|<|Y| and as YX{x} which means that YX, this contradicts the inclusion-wise minimality of X. Hence, there exists a perfect matching from X{x} to N(X) and this also means that |X|=|N(X)|+1. Next, we make a claim which demonstrates how any vertex cover of G intersects the vertices in XN(X) and its proof is given in the Appendix.

Claim 6.

Any minimum-sized vertex cover of G cannot contain more than |N(X)| vertices from XN(X).

Now consider a vertex xX. Since G is Spartan, there is a minimum-sized vertex cover Sx of G such that xSx by Lemma 3. We have already shown that X{x} has a perfect matching with N(X). Thus, any vertex cover must contain |N(X)| vertices from X{x}N(X). Thus, Sx contains x and |N(X)| vertices from X{x}N(X). That is, Sx contains |N(X)| vertices from XN(X). This contradicts the above claim. Thus, the existence of a Hall’s violator set X is not possible and there exists a matching from I to S=V(G)I which saturates I. This immediately gives us a simple corollary (proof in Appendix).

Corollary 7.

If G is a Spartan graph with more than one vertex and |V(G)|=n, then 𝗆𝗏𝖼(G)n/2.

Definition 8.

A vertex cover S of a graph G is said to be a weakly good vertex cover if it satisfies the following: Let I=V(G)S be the corresponding independent set. For every TI, if C1,C2,C are the connected components of G[V(G)T], we must have |V(Ci)S|>𝗆𝗏𝖼(Ci) (for all i[1,]).

When we are dealing with more than 𝗆𝗏𝖼(G) guards, and we are in the model of the game where more than one guard is able to occupy a single vertex, then we will need to look at configurations of guards, not just vertex covers or vertex sets. A configuration of guards is a description of how many guards are present on each vertex of the graph G. A configuration can also be viewed as a function which maps each vertex to a non-negative integer such that the sum of the values of this function on all the vertices of G is equal to the number of guards. At some places, we will also view a configuration as a multi-set where a vertex appears as many times as the number of guards present on it. The manner in which we are using the word configuration, will be clear from context. When we say a configuration of guards 𝒞 on a vertex cover S, we mean that the vertices having one or more guards in 𝒞 (i.e., a non-zero value for the configuration function) are precisely the ones in S.

Definition 9.

A configuration of guards 𝒞 on a vertex cover S is said to be a weakly good configuration if it satisfies the following: Let I=V(G)S be the corresponding independent set. For every TI, if C1,C2,C are the connected components of G[V(G)T], the number of guards in Ci must be greater than 𝗆𝗏𝖼(Ci) (for all i[1,]).

If the number of guards on G is the same as 𝗆𝗏𝖼(G), or we are working in the model where only one guard per vertex is allowed, then the vertex cover formed by vertices occupied by the guards in a weakly good configuration is a weakly good vertex cover. It is easier to see the notion of a weakly good vertex cover (or configuration) by looking at a vertex cover (or configuration) which is not weakly good.

Definition 10.

Let S be a vertex cover of a graph G such that S is not weakly good. There exists a non-empty TI=V(G)S such that if C1,C2,C are the connected components of G[V(G)T], we must have |V(Ci)S|=𝗆𝗏𝖼(Ci) for some Ci (where i[1,]). Then we will denote T as a weakly bad set corresponding to 𝒞.

Definition 11.

Let S be a vertex cover of a graph G and let 𝒞 be a configuration of guards on S such that 𝒞 is not weakly good. There exists a non-empty TI=V(G)S such that if C1,C2,C are the connected components of G[V(G)T], there must exist a Ci (where i[1,]) such that the number of guards in Ci must be equal to 𝗆𝗏𝖼(Ci) (cannot be less than 𝗆𝗏𝖼(Ci) because S is a vertex cover). Then we will denote T as a weakly bad set corresponding to S.

For every vertex cover S which is not weakly good, there must exist at least one corresponding weakly bad set TV(G)S. Similarly for every configuration 𝒞 which is not weakly good, there must exist at least one corresponding weakly bad set TV(G)S. Conversely, if for a vertex cover S (or a configuration 𝒞 occupying the vertices in a vertex cover S), there exists a subset T of V(G)S which is weakly bad, then the vertex cover S (or the configuration 𝒞) is not weakly good.

Lemma 12.

The 𝖾𝗏𝖼(G) is at least k, where k such that every vertex of G belongs to a weakly good configuration of size at most k. This means that a graph G has 𝖾𝗏𝖼(G)=k only if for each vV(G), there exists a weakly good configuration 𝒞v corresponding to a vertex cover Sv such that 𝒞v has k guards and vSv. In particular, a graph G is Spartan only if for each vV(G), there exists a minimum-sized and weakly good vertex cover Sv such that vSv.

Proof.

Suppose a graph G has 𝖾𝗏𝖼(G)=k, and there exists vV(G) such that there does not exist a weakly good configuration with k guards with a guard on v. Without loss of generality, we can assume that the defender starts with a configuration with a guard on v, because the attacker can always attack an edge adjacent to v, and ensure that at least one guard comes to v. As there exists no weakly good configuration with k guards, which has a guard on v, the configuration 𝒞 formed by the guards cannot be a weakly good configuration. If the guards do not occupy a vertex cover, some edge must be vulnerable and the attacker can attack that edge. So, we can assume that the set S of vertices occupied by the guards in the configuration 𝒞 forms a vertex cover. Therefore, there exists a weakly bad subset T of the unoccupied vertices such that if C1,C2,,C are the connected components of G[V(G)T], we must have a Ci (where i[1,]), which contains 𝗆𝗏𝖼(Ci) guards. Now, since the components are not adjacent to each other, there exists an edge from a vertex wV(Ci) to a vertex uT because the graph G is connected. Since no vertex in T has a guard, the guard on w must come to u. Therefore, some edge in Ci will become vulnerable, as there were only 𝗆𝗏𝖼(Ci) many guards in V(Ci), and one guard has moved out of Ci, while no guard from outside can come to a vertex of Ci in one step. Thus, the attacker wins, and this contradicts 𝖾𝗏𝖼(G)=k.

Lemma 13.

Let S be a minimum-sized vertex cover of a graph G, such that there exists a cut vertex x of G such that xS. Then S cannot be a weakly good vertex cover.

Proof.

Let x be a cut vertex of a graph G, and let S be a vertex cover of G which does not contain x. Then we show that {x}V(G)S is weakly bad, which will imply that S is not a weakly good vertex cover. Since x is a cut vertex, there exist connected components C1,C2,,C where 2 of V(G){x}. If |SV(Ci)|>𝗆𝗏𝖼(Ci) for all i[1,], then S={x}S1S2S will be a vertex cover of G of size |S|+1 (where Si is a vertex cover of Ci of size 𝗆𝗏𝖼(Ci)). This is not possible as |S|<|S| and S is a minimum-sized vertex cover of G. Thus, there exists some i[1,] such that |SV(Ci)|=𝗆𝗏𝖼(Ci), which implies that {x} is a weakly bad set. Hence, S is not a weakly good vertex cover. Thus, with Lemma 12 and Lemma 13, we get the result in [2] that states that if 𝖾𝗏𝖼(G)=𝗆𝗏𝖼(G), then each vertex must belong to a minimum-sized vertex cover which contains all the cut vertices.

We next define a generalization of a bad set, which is used to define the notion of a strongly good vertex cover. We use this notion to give another necessary condition for a graph G to be Spartan. In order to define this, we define the notion of compatible vertex sets (or vertex covers) in a graph. We also give analogous definitions of compatible configurations and strongly good configurations. This gives us a new lower bound for 𝖾𝗏𝖼(G).

Definition 14.

Two vertex sets (vertex covers) S1 and S2 of a graph G are said to be compatible, if there exist |S1S2|many vertex-disjoint paths between S1S2 and S2S1.

Definition 15.

Two configurations 𝒞1 and 𝒞2 are said to be compatible, if there exist |𝒞1𝒞2|many vertex disjoint paths (counting multiplicity) between 𝒞1𝒞2 and 𝒞2𝒞1. Here we view each configuration as a multi-set over the set of vertices V(G).

Also, when we say 𝒞i𝒞j, we account for multiplicity of each vertex. That is, if v occurs 5 times in 𝒞1 and 3 times in 𝒞2, v will occur 2 times in 𝒞1𝒞2. Also, when we say vertex-disjoint paths (counting multiplicity) between 𝒞1𝒞2 and 𝒞2𝒞1, we mean that if a vertex v occurs multiple times in 𝒞1𝒞2, each occurrence of v will be an endpoint of exactly one path from 𝒞1𝒞2. Similarly, if a vertex v occurs multiple times in 𝒞2𝒞1, each occurrence of v will be an endpoint of exactly one path to 𝒞2𝒞1. If we consider the union of all the multisets formed by the intermediate vertices (i.e., the vertices of 𝒞1𝒞2) of each path, the number of times a vertex v occurs in the union, should be less than or equal to the number of times v occurs in 𝒞1𝒞2.

It is clear that two configurations 𝒞1 and 𝒞2 are compatible, if and only if there is a possible movement of guards from 𝒞1 to 𝒞2, where each guard moves at most one step. The guards can rearrange themselves by moving one step from 𝒞1𝒞2 to 𝒞2𝒞1 if and only if there exist |𝒞1𝒞2|many vertex disjoint paths (counting multiplicity) between 𝒞1𝒞2 and 𝒞2𝒞1. For more explanation on the equivalence between the guard movements and vertex-disjoint paths, please refer to Figure 2.

The following is a known result shown in [2].

Lemma 16 ([2]).

Two minimum-sized vertex covers of a graph G are always compatible.

Definition 17.

For a vertex cover S, a set TV(G)S is strongly bad, if there is some connected component Ci of V(G)T and some vN(T)V(Ci), such that no vertex cover of Ci of size |SV(Ci)|1 is compatible with (SV(Ci)){v}.

Definition 18.

A vertex cover S of a graph G is said to be strongly good, if V(G)S does not have a strongly bad subset.

Now we analogously define a strongly good configuration.

Definition 19.

For a configuration 𝒞 of guards on a vertex cover S, a set TV(G)S is strongly bad, if there is some connected component Ci of V(G)T and some vN(T)V(Ci), such that no configuration on a vertex cover of Ci of size |𝒞V(Ci)|1 is compatible with (𝒞V(Ci)){v}.

Definition 20.

A configuration 𝒞 on a vertex cover S of a graph G is said to be strongly good, if V(G)S does not have a strongly bad subset.

Now we make an observation which relates the notions of weakly good and strongly good configurations (vertex covers).

Lemma 21.

A strongly good configuration (vertex cover) is a weakly good configuration (vertex cover).

Proof.

We prove the contrapositive of this statement, i.e., a configuration on a vertex cover which is not a weakly good configuration, is also not a strongly good configuration. Let 𝒞 be a configuration on a vertex cover S, such that 𝒞 is not weakly good. Therefore, there exists a non-empty TI=V(G)S, such that if C1,C2,,C are the connected components of G[V(G)T], there must exist a Ci (where i[1,]) such that the number of guards in Ci (in 𝒞) is equal to 𝗆𝗏𝖼(Ci). Since T is non-empty and the graph G is connected, there exists vV(Ci) such that v is adjacent to T and since S is a vertex cover v is in S (and has exactly one guard in 𝒞 as the number of guards in Ci (in 𝒞) is equal to 𝗆𝗏𝖼(Ci)). The configuration 𝒞Ci{v} is not compatible with any vertex cover of Ci, as the number of guards in 𝒞Ci{v} is less than 𝗆𝗏𝖼(Ci). Thus the set T is a strongly bad set, and 𝒞 is not a strongly good configuration.

The same proof works for vertex covers, if we consider a vertex cover as a configuration with one guard per vertex.

Lemma 22.

The 𝖾𝗏𝖼(G) is at least k, where k such that every vertex of G belongs to a strongly good configuration of size at most k. This means that graph G has 𝖾𝗏𝖼(G)=k, only if for each vV(G), there exists a ksized strongly good configuration 𝒞v on a vertex cover Sv, such that vSv. In particular, a graph G is Spartan if for each vV(G), there exists a minimum-sized and strongly good vertex cover Sv, such that vSv.

Proof.

Suppose that there exists a graph G with 𝖾𝗏𝖼(G)=k and a vertex v, such that there exists no ksized strongly good configuration on a vertex cover containing v. Without loss of generality, we can assume that the initial configuration has at least one guard on v, because if not, the attacker can force a guard to come to v by attacking an edge adjacent to v. If the vertices occupied by the guards in the resulting configuration do not form a vertex cover, then there exists some edge which is vulnerable, and hence the attacker wins. Therefore, the resulting configuration must have guards on a vertex cover. Since there is no ksized strongly good configuration 𝒞v on a vertex cover Sv such that vSv, for the configuration 𝒞 formed by the guards on the vertex cover S, there exists a strongly bad subset TV(G)S. Hence, there is some connected component Ci of V(G)T and some uN(T)V(Ci) such that no configuration on a vertex cover of Ci of size 𝒞V(Ci)1 is compatible with SV(Ci){u}. Suppose the attacker attacks an edge joining u to a vertex in T, the guard on u is forced to move to T. No guard from a vertex outside Ci can come to Ci and the guards in Ci cannot rearrange themselves to form a vertex cover of Ci. Therefore, some edge will be vulnerable no matter how the guards rearrange themselves, which contradicts 𝖾𝗏𝖼(G)=k.

Therefore, a graph G has 𝖾𝗏𝖼(G)=k, only if for each vV(G), there exists a ksized strongly good configuration 𝒞v on a vertex cover Sv where vSv.

4 König–Egerváry Graphs

A graph G is said to be a König–Egerváry graph, if the size of a smallest vertex cover of G is equal to the size of the largest matching of G, i.e., 𝗆𝗏𝖼(G)=mm(G). This class is a natural and strict111There are König-Egerváry graphs which are non-bipartite as well. For example consider G with V(G)={a1,b1,a2,b2} and E(G)={a1a2,a1b1,a2b2,a1b2,a2b1}. This graph has a perfect matching {a1b1,a2b2} and thus mm(G)=2 and thus 𝗆𝗏𝖼(G)2. But {a1,a2} forms a vertex cover of G of size 2 thus 𝗆𝗏𝖼(G)=mm(G) and G is not bipartite because it contains a triangle. generalization of bipartite graphs. In this section, we derive the necessary and sufficient condition for a König-Egerváry graph to be Spartan. Before that, we have a corollary of Lemma 12, which gives a sense of how a Spartan graph will look like. The proof is given in the Appendix.

Corollary 23.

If a graph G with more than one vertex is Spartan and I is an independent set of G which is not maximal, then |N(I)|>|I|.

The main result of this section is the following:

Theorem 1. [Restated, see original statement.]

A König-Egerváry graph G is Spartan if and only if it is bipartite and essentially elementary.

Proof.

As described in Lemma 4, it suffices to look at connected graphs i.e., it will be sufficient to prove that a connected König-Egerváry graph G is Spartan if and only if it is bipartite and elementary. The reverse direction has already been proved in [1]. Thus we need to only show that if a connected König-Egerváry graph G is Spartan, then it is bipartite and elementary.

Since G is Spartan, let S be a minimum-sized vertex cover of G, which is an eternal vertex cover configuration, and let I=V(G)S be the corresponding independent set. By Lemma 5, there exists a matching M from I to S, which saturates I. This means that |S||I|. Since S is a minimum-sized vertex cover, each edge of any matching, and hence a maximum matching of G must have at least one endpoint in S. Suppose some edge of a maximum matching has two endpoints in S, then |S|>mm(G), which contradicts the assumption that G is a König-Egerváry graph. Therefore, every edge of a maximum matching of G has exactly one endpoint in S. Thus, |S||V(G)S| i.e., |S||I|. Hence we obtain |S|=|I|=V(G)/2, and M is a perfect matching of G.

Now, consider the bipartite graph H with V(H)=V(G), and E(H)=E(G)E(G[S]). That is, H has the same vertex set as that of G, and the edge set of H consists of edges of G going across from S to I. Now V(H)=SI, such that S and I are independent sets in H, and M is a perfect matching of H. Suppose there exists TI, such that |N(T)|=|T| in H. Since I is an independent set in G as well, we have |N(T)|=|T| in G. Since TI, T is an independent set of G which is not maximal. Thus, by Corollary 23, we get that G is not Spartan, which is a contradiction. Therefore, H must be elementary, by Lemma 2.

Thus, we know that H can have only the two minimum-sized vertex covers S and I (using an alternate definition of elementary bipartite graph from [5]). Since E(H)E(G), any vertex cover of G must be a vertex cover of H. Thus, G cannot have any minimum-sized vertex cover other than S and I. If there is an edge of G with both its endpoints in S, then I is not a vertex cover of G and thus S is the only minimum-sized vertex cover of G. For vI, there does not exist a minimum-sized vertex cover of G which contains v. Thus, using Lemma 3, we get that G is not Spartan, which is a contradiction. Thus, there cannot be any edge with both the endpoints in S. Thus, E(G)=E(H) and we already know that V(G)=V(H) and H is bipartite and elementary. Therefore, G is bipartite and elementary.

5 General Graphs

Before stating the main result of this section, we need the definition of an auxiliary graph, defined for a pair of vertex covers of a graph G. Also, in this section, as we are dealing with Spartan-ness, we are dealing with configurations of guards of size 𝗆𝗏𝖼(G). If there is more than one guard on some vertex of a configuration, the set of vertices occupied by guards does not form a vertex cover, and this configuration can be attacked by the attacker immediately. Hence, we look at only those configurations with one guard per vertex.

Definition 24.

Let S and T be two vertex covers of a graph G. Let H1,,Hk be the connected components of G[ST]. For i, where 1ik, we say that two vertices uST and vTS are pseudo-adjacent via i if both u and v are adjacent to some vertex in V(Hi).

Let D=(ST)(TS). We define two subsets of D×D:

E1:={(u,v)uST,vTS,uvE(G)},

and

E2:={(u,v)uST,vTS,uv are pseudo-adjacent via i for some i}.

We use 𝔥G(S,T) to denote the graph (D,E1E2).

Figure 3: Depicting the construction of 𝔥G(S,T) where S and T are two minimum sized vertex covers of G. The connected components of ST are C1 (red), C2 (green) and C3 (purple). The edges is G from ST to TS are also there in 𝔥G(S,T) as “real edges”. For every u in ST and v in TS such that u and v are both adjacent to a vertex in C1, there is a red wavy “helper” edge in 𝔥G(S,T), and similarly there are green and purple helper edges corresponding to C2 and C3.

Note that 𝔥G(S,T) may have multi-edges. In the context of this graph, we refer to the edges in E1 as real edges and the edges in E2 as helper edges.

Note that the helper edges can be naturally partitioned into k sets E2(1),,E2(k), where E2(i) consists of the helper edges that are pseudo-adjacent via i. For convenience, we refer to the edges in E2(i) as being edges of color i.

The following can be easily observed:

Lemma 25.

The graph 𝔥G(S,T) is bipartite for a graph G with at least one edge.

Proof.

Since ST and TS are subsets of independent sets V(G)T and V(G)S respectively, the graph 𝔥G(S,T) is bipartite.

Theorem 26.

A graph G is Spartan if and only if there exists a non-empty family of minimum-sized vertex covers such that the following condition holds:

For every S and for every edge uvG for which uS and vS, there exists T such that vT and:

  1. (1)

    either uT and there is a perfect matching in 𝔥G(S,T) which contains the edge uv,

  2. (2)

    or uT, and there is a perfect matching in 𝔥G(S,T), where the matched partner of v, say w, has a neighbor – in G – among the vertices of X, where X is the connected component of G[ST] that contains u.

Proof.

First, assume that G is Spartan. Then, there is a strategy for indefinite defense of G with 𝗆𝗏𝖼(G) guards. Let be the set of all vertex covers that are used in the strategy: note that they are all of minimum size by definition. Since G is Spartan, is indeed non-empty.

Consider a vertex cover S and an edge uv such that uS and vS.

As S occurs in the strategy of the defender, there is a way to defend an attack on an edge when guards occupy the vertices of S (one guard on each vertex). We attack the edge uv here and observe the promised defense: let us say that the guards are positioned on the vertex cover T after the defense is executed. Clearly, T, by definition. Depending on whether uT or not, we can conclude that either (1) holds or (2) does (respectively), by tracing the movement of the guards from vertices in ST to vertices in TS.

Suppose uT, we show that (1) holds. Let S=ST, i.e., the set of vertices which had a guard before the attack and do not have a guard after the defense is completed. Let T=TS, i.e., the set of vertices which had a guard after the defense is completed and do not have a guard before the attack. Let |S|=|T|=k. Then there must be a collection 𝒫 of k vertex disjoint paths from S to T (with the starting vertex of each path from S, end vertex in T, and each intermediate vertex from ST), and one of these paths must be the edge uv. We show how the collection 𝒫 is obtained. Each path is obtained by tracing the movement of each individual guard. The guard on u is forced to move to v by the attacker and hence the edge uv is traced by a guard. Thus uv𝒫. Similarly look at the movement of a guard on a vertex say u1u of S. This guard moves to some vertex u2. If u2T, u1u2𝒫. Otherwise u2ST as the guard can only move for one step after each attack and hence u2 must have a guard both before and after the attack. The guard which previously was on u2 moves to some u3 (as both S and T are vertex covers hence there must be only one guard per vertex after the reconfiguration has been done). Now again if u3T, u1u2u3𝒫. Otherwise u3ST and the guard which was previously on u3 must move to some u4. This process will only stop when a guard moves to a vertex which did not already have a guard, i.e., a vertex in T. We obtain k paths by tracing the movement of each of the k guards in S (including the guard moving from u to v). It is clear that a vertex v in S or T cannot belong to two paths because this will indicate that two guards started from the vertex v (if vS) or two guards ended up at v (if vT). A vertex vST cannot belong to two paths in 𝒫, because this will indicate that this vertex has at least two guards after the reconfiguration is done which is not possible. Also, each path in 𝒫 which contains more than one edge must have all the intermediate vertices from the same connected component of ST. This is because the intermediate vertices contain a guard both before and after the reconfiguration and hence lie in ST. Each guard can move only to a neighboring vertex, the intermediate vertices of a path in 𝒫 also form a path in ST. Thus a path u1u2ut𝒫 where t>2 implies u1S, utT and u2,u3,,ut1V(Hi), for some i. Therefore, in the graph 𝔥G(S,T), there exists a helper edge of color i between u1 and ut. Also an edge in 𝒫 corresponds to a real edge in 𝔥G(S,T). Thus, each path in 𝒫 gives an edge in 𝔥G(S,T). The edges in 𝔥G(S,T) corresponding to the paths in 𝒫 form a perfect matching, because each vertex in S is adjacent to exactly one edge corresponding to a path in 𝒫. This is because there is only one guard on each vertex of S before the attack and each vertex in S has no guard after the attack. Thus, 𝔥G(S,T) contains a perfect matching containing the edge uv and condition (1) holds.

Now suppose uT, we show that (2) holds. Let S and T be the same as above, and similarly k=|S|=|T|. By the same reasoning as the previous case, we have k vertex disjoint paths in G, which correspond to a perfect matching M in 𝔥G(S,T). Now as uS and uT, a guard is present on u before the attack and after the reconfiguration is complete. Since T is obtained from S by applying the winning strategy for a defense after the attacker attacks the edge uv, the guard on u must move to v while reconfiguring from S to T. Since a guard is present on u after the attack, there must exist a path u1u2ut in 𝒫, where t>2, such that u1S, ut1=u and ut=v. Also, u2,u3,,ut1 belong to the same connected component of Hi. This path corresponds to the following movement: A guard on a vertex u1 of S moves to a vertex u2 of ST. The guard on u2 moves to u3 of ST, and so on, till the guard on ut2 moves to u, and the guard on u moves to v. Clearly, the vertices u2,u3,,ut1 must belong to the same connected component of ST, because a guard can only move to a neighboring vertex. The edge u1v is a helper edge in 𝔥G(S,T) and lies in M. The vertex u1 has a neighbor u2 in the connected component of G[ST] that contains u (because there is a path u2u3ut1=u in G[ST]). Hence, (2) holds.

Thus, we have shown that when G is Spartan, the family of all vertex covers used in a strategy of the defender; satisfies the condition in Theorem 26.

Now we show the converse, i.e., if a graph G has a family of minimum-sized vertex covers which satisfy the condition in Theorem 26, then G is Spartan. For this, we show that if the guards occupy a vertex cover S and an arbitrary edge uv is attacked, the guards can reconfigure themselves, such that at least one guard moves across the attacked edge uv, and the final positions of the guards form a vertex cover T.

Since S is a vertex cover, there cannot be any edge with both the endpoints outside S. If an edge uv such that u,vS is attacked, the guard on u moves to v, and the guard on v moves to u. The attack is defended and the configuration S is restored. Therefore, we need to consider the attack on an edge uv such that uS and vS.

By the given condition, there exists a vertex cover T such that and vT such that:

  1. (1)

    either uT and there is a perfect matching in 𝔥G(S,T) which contains the edge uv,

  2. (2)

    or uT, and there is a perfect matching in 𝔥G(S,T), where the matched partner of v, say w, has a neighbor – in G – among the vertices of X, where X is the connected component of G[ST] that contains u.

Suppose (1) holds. We show that it is possible to reconfigure the guards from S to T such that one guard moves across uv. Let S=ST, T=TS and |S|=|T|=k. It is enough to show that there is a collection 𝒫 containing uv of k vertex disjoint paths from S to T with all the intermediate vertices in ST. A path u1u2ut in G where u1S, utT and u2,u3,,ut1ST will represent the movement of a guard from u1 to u2, the movement of the guard previously on u2 to u3, and so on up to the movement of the guard previously on ut1 to ut.

If there exists a perfect matching M in 𝔥G(S,T) such that it consists of possibly some real edges and at most one helper edge of each color, then there exists a collection 𝒫 of k vertex disjoint paths from S to T with intermediate vertices in each path from ST. We show that a path in 𝒫 can be obtained from each edge of M. A real edge in 𝔥G(S,T) is also an edge in G. Thus, for each real edge e in M, add e to 𝒫. A helper edge uv of color i implies the existence of a path u1(=u)u2u3ut(=v) in G where t>1 and u2,u3,,ut1V(Hi), where Hi is a connected component of ST. For each helper edge e=wz in M of color i, add a path u1(=w)u2u3ut(=z) in G where t>1 and u2,u3,,ut1V(Hi) to 𝒫. Clearly, there are k paths in 𝒫 (one path obtained from each edge of M). We show that the paths in 𝒫 are vertex disjoint. Since M is a matching, the endpoints of each edge in M are distinct. Hence the endpoints of all the k paths are distinct. Since all the intermediate vertices of each path are distinct and each path of length at least 2 is obtained from a helper edge of different color (as there are no two helper edges of the same color in M), each path obtained from a helper edge in M has intermediate vertices from distinct components of G[ST]. Thus all the intermediate vertices of each path in 𝒫 are disjoint.

Now we show that there exists a perfect matching in 𝔥G[S,T] which contains possibly some real edges and at most one helper edge of each color. By Lemma 16, there exists a perfect matching from S to T in G. This means that there exists a perfect matching Mp in 𝔥G(S,T) which consists of only real edges. Let M be the perfect matching in 𝔥G(S,T) such that M contains uv (exists by condition (1)), and the size of MMp is as large as possible. Now, consider the graph H in 𝔥G(S,T) such that V(H)=V(𝔥G(S,T)) and E(H)=MMp. Since M and Mp are both perfect matchings, H is a union of edges and even cycles.

Claim 27.

There can be at most one cycle in H.

Proof.

If there are two distinct cycles C1 and C2 in H, at most one of them can contain the edge uv. Therefore, without loss of generality, we can assume that uvE(C1). Suppose C1 is a cycle and C1=u1v1u2v2utvtu1, where M1:={u1v1,u2v2,,utvt}M and M2:={v1u2,v2u3,,vt1ut,vtu1}Mp with t>1. The matching M:=MM1M2 has strictly more intersection with Mp than M, and also contains the edge uv, which is a contradiction. If H has no cycle, then M=Mp, which means that all the edges of M are real, and we are done. Now, we consider the case where M has exactly one even cycle C. If uvE(C), then we get a contradiction by the same argument as the claim above. Therefore, let C=u1(=u)v1(=v)u2v2utvtu1. Here M1:={u1v1,u2v2,,utvt}M and M2:={v1u2,v2u3,,vt1ut,vtu1}Mp. Also, {u1,u2,,ut}S and {v1,v2,,vt}T. This is because uS and 𝔥G(S,T) is bipartite (by Lemma 25). All the edges in M which are not in M1, are also the edges of Mp, and hence are real. Next, we show that M cannot contain two (or more) helper edges of the same color.

Claim 28.

M can contain at most one helper edge of each color.

Proof.

Suppose M contains two helper edges of the same color (say i). These two edges must lie in M1, because the edges of M outside M1 are real. Let these two edges be upvp and uqvq, where 1<p<qt. (As uv is a real edge, we have p1.) Therefore, there must exist edge upvq of color i. This is because up and vp are both adjacent to some vertex in V(Hi), and similarly uq and vq are both adjacent to some vertex in V(Hi). Hence, up and vq are adjacent to some vertex in V(Hi). Also, M3:={vpup+1,vp+1up+2,,vq1uq}Mp, hence the edges in M3 are real edges of 𝔥G(S,T). Let M4={upvp,up+1vp+1,,uqvq} and M5=(M1M4)M3{upvq}. Consider the perfect matching M=(MM1)M5. It can be checked that M is a perfect matching which contains uv, and has greater intersection with Mp than M, which is a contradiction.

Figure 4: Demonstrating the exchange argument from the proof.

Thus, we have shown the existence of a perfect matching between S and T containing the edge uv in 𝔥G(S,T), which contains at most one helper edge of each color. This implies that there is a collection of |S| vertex-disjoint paths from S to T, such that one path in this collection is the edge uv. Therefore, the guards can reconfigure from S to T (such that one guard moves across uv).

Now, suppose (2) holds. Since w has a neighbor in the same connected component X=Ci (say) of G[ST] that contains u, this means that there exists a path (w=)u1u2ut1(=u)ut(=v), where t>1, such that u2,u3,,ut1(=u) belong to V(Ci), that is, wv is a helper edge of color i in 𝔥G(S,T). As we have seen above, a matching in 𝔥G(S,T), with at most one helper edge of each color, can be used to show the existence of |ST| vertex-disjoint paths from S=ST to T=TS, with the intermediate vertices from ST. This shows that, it is possible to reconfigure the guards from S to T.

Now, if we have a perfect matching in 𝔥G(S,T), containing wv with at most one helper edge of each color, it can be seen that it is possible to reconfigure the guards from S to T such that at least one guard moves across uv. This is because, we have already seen that such a matching represents vertex-disjoint paths in G, and particularly, the edge wv represents the path (w=)u1u2ut1(=u)ut(=v). This means that, it is possible to move the guard on w to u2, the guard previously on u2 to u3, and so on up to the guard previously on ut2 to u, and the guard previously on u to v. Thus, the existence of a perfect matching in 𝔥G(S,T) containing wv with at most one helper edge of each color, is enough to show that the defender can defend an attack on the edge uv, and reconfigure the guards to a vertex cover T, while starting from a vertex cover S. It remains to show the existence of such a perfect matching in 𝔥G(S,T).

By Lemma 16, we know that there exists a perfect matching Mp between S and T in 𝔥G(S,T), which consists of real edges only. Let M be a perfect matching which contains a helper edge of color i adjacent to v (where uV(Ci) for the component Ci of G[ST]) such that MMp is as large as possible. It can be seen by a similar argument to the case (1) that the graph H, with V(H)=ST and E(H)=MMp, can have at most one cycle (even length).

If H has no cycle, then M=Mp, which is not possible because M has only real edges and Mp has at least one helper edge of color i. Let the (exactly one) cycle in H be given by C=u1v1u2v2utvtu1, where M1:={u1v1,u2v2,,utvt}M, and M2:={v1u2,v2u3,,vtu1}Mp. Again, if wvM1, then M=MM1M2 is a perfect matching containing a helper edge wv (which is of color i and adjacent to v) and MMp has greater size than MMp, which is a contradiction. Therefore, wvM1. Also, if M1 contains any two helper edges of the same color (other than wv), then we can use an exchange argument similar to the case (1) shown above to get a contradiction.

It remains to show that C cannot have an edge of color i other than wv. Without loss of generality, let w=u1 and v=v1. Let upvp for some p>1 be the other helper edge of color i. Also, recall that similarly to case (1), {u1,u2,,ut}S and {v1,v2,,vt}T. This is because uS, and 𝔥G(S,T) is bipartite (by Lemma 25). This means that upS, and we already know that vT. Since upvp is an edge of color i, up is adjacent to V(Ci) in G. We already know that v is adjacent to V(Ci) in G. Therefore, there exists a helper edge upv of color i in 𝔥G(S,T). Let M3:={v2u1,v3u2,,vpup1,upv}, all these edges exist in 𝔥G(S,T) because the edges in M3 other than upv are from Mp (as seen in the above paragraph) and hence are, in fact, real edges and we have already seen the existence of the edge upv which is a helper edge of color i. Let M4:={u1v1,u2v2,,upvp}M1. Let M5:=(M1M4)M3. The perfect matching M=(MM1)M5 contains a helper edge upv of color i (adjacent to v) and has a greater intersection (in size) with Mp compared to M, which is a contradiction. Therefore, the guards on S can be reconfigured to T while defending the attack on the edge uv. Thus, we have shown that it is always possible for the guards to reconfigure between the vertex covers in while defending every attack; thus the graph G is Spartan.

6 Concluding Remarks

In this paper, we give a necessary and sufficient condition for a graph G to be Spartan, i.e., to satisfy 𝖾𝗏𝖼(G)=𝗆𝗏𝖼(G). There are several directions to be pursued further. An important question is whether the complexity of checking whether a given graph G is Spartan is less than that of computing 𝖾𝗏𝖼(G). In terms of checking whether 𝖾𝗏𝖼(G)=𝗆𝗏𝖼(G), although we have a complete characterization, the question of finding a simpler characterization remains open. In particular, it would be interesting to know whether there exists a graph G, such that every vertex of G belongs to a strongly (weakly) good vertex cover, but 𝖾𝗏𝖼(G)𝗆𝗏𝖼(G). If not, it would be good to know the proof that this condition is indeed sufficient to guarantee 𝖾𝗏𝖼(G)=𝗆𝗏𝖼(G). Also, we know that there exist weakly good vertex covers that are not strongly good and hence can be destroyed by the attacker (hence, not 𝖾𝗏𝖼 configurations). However, we still do not know whether the condition: “For each vertex v there exists a weakly good minimum vertex cover containing v” implies the following condition: “For each vertex v there exists a strongly good minimum vertex cover containing v”.

References

  • [1] Hisashi Araki, Toshihiro Fujito, and Shota Inoue. On the eternal vertex cover numbers of generalized trees. IEICE Trans. Fundam. Electron. Commun. Comput. Sci., 98-A(6):1153–1160, 2015. doi:10.1587/TRANSFUN.E98.A.1153.
  • [2] Jasine Babu, L. Sunil Chandran, Mathew C. Francis, Veena Prabhakaran, Deepak Rajendraprasad, and Nandini J Warrier. On graphs whose eternal vertex cover number and vertex cover number coincide. Discrete Applied Mathematics (in press), 2021.
  • [3] Reinhard Diestel. Graph theory, Sixth Edition. Springer, 2025.
  • [4] William F. Klostermeyer and Christina M. Mynhardt. Edge protection in graphs. Australas. J Comb., 45:235–250, 2009. URL: http://ajc.maths.uq.edu.au/pdf/45/ajc_v45_p235.pdf.
  • [5] László Lovász and Michael D Plummer. Matching theory, volume 367. American Mathematical Soc., 2009.
  • [6] Neeldhara Misra and Saraswati Girish Nanoti. Spartan bipartite graphs are essentially elementary. In MFCS, volume 272 of LIPIcs, pages 68:1–68:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPICS.MFCS.2023.68.

Appendix A Appendix

Proof of Claim 6 in Lemma 5.

Let T be a minimum-sized vertex cover of G, such that T contains more than |N(X)| vertices from XN(X). Consider the set T=(T(XN(X)))N(X). Clearly, the size of T is less than the size of T. We show that T is also a vertex cover of G, which contradicts the fact that T is a minimum-sized vertex cover of G. Any edge with both endpoints outside XN(X) is covered by T, and hence covered by T, because the vertices outside XN(X) which belong to T also belong to T. Any edge with both endpoints in XN(X) is also covered by T, as N(X)T and no edge in G can have both endpoints in X, as X is an independent set. An edge with one endpoint in XN(X) and the other endpoint outside XN(X), must have an endpoint in N(X) because a vertex in X cannot be adjacent to a vertex outside N(X) (by the definition of N(X)). Thus, such an edge is also covered by T, as N(X)T. Thus ,every edge of G has at least one endpoint in T. This is a contradiction, as G cannot have a vertex cover of size smaller than T. Thus, any minimum-sized vertex cover of G cannot contain more than N(X) vertices from XN(X).

Proof of Corollary 7.

Let G be a Spartan graph with more than one vertex, and |V(G)|=n. Let I be a maximum independent set of G. Let S=V(G)I. Then, |N(I)||I| by Lemma 5, and thus |I||V(G)|/2, which means that |S||V(G)|/2, i.e., 𝗆𝗏𝖼(G)|V(G)|/2.

Proof of Corollary 23.

Let G be a graph with more than one vertex which is Spartan. Let I be an independent set of G which is not maximal, such that |N(I)|=|I|. Denote N(I) by C. Consider an inclusion-wise minimal such set I. The graph H with vertex set IC and edge set E(G[IC])E(C) must be bipartite (because I is an independent set) and elementary (using the inclusion-wise minimality of I and Lemma 2). Therefore, using an alternate definition of elementary bipartite graph from [5], I and C are the only two minimum-sized vertex covers of H. Now, any minimum vertex cover S of G cannot contain more than |I| many vertices from G[IC]. Suppose not, S(IC)C is a strictly smaller vertex cover of G (this is a vertex cover, as there are no edges from I to V(G)C, and hence SC).

Now, since G is Spartan, by Lemma 12, every vertex in I belongs to a minimum-sized weakly good vertex cover. Consider a minimum-sized weakly good vertex cover T, which contains some vI. Clearly, T can contain only |I| vertices from CI. Also as T is also a vertex cover of H of size |I| and H has only two minimum vertex covers, IT and CT=. The graph G[V(G)(IC)]) is non-empty as I is not maximal. If T(V(G)(IC)) is more than mvc(G[V(G)(IC)]), then a smaller vertex cover of G than T can be obtained from the union of C and a minimum vertex cover of (V(G)(IC)). Thus T(V(G)(IC)) is equal to the mvc(G[V(G)(IC)]), which makes C a weakly bad subset for T which is a contradiction.