Size reconstructibility of graphs
[There were “end of proof symbols” missing in the initial publication of the paper online, which have been revised and added to reflect on 12 August 2020, on pages 8, 9, and 10.]
Abstract
The deck of a graph is given by the multiset of (unlabeled) subgraphs . The subgraphs are referred to as the cards of . Brown and Fenner recently showed that, for , the number of edges of a graph can be computed from any deck missing 2 cards. We show that, for sufficiently large , the number of edges can be computed from any deck missing at most cards.
1 INTRODUCTION
Throughout this paper, all graphs are finite and undirected with no loops or multiple edges. The order of a graph is the number of vertices in the graph; the size of a graph refers to the number of edges.
Given a graph and any vertex , the card is the subgraph of obtained by removing the vertex and all edges incident to . The multiset of all unlabeled cards of is called the deck and has size .
It is natural to ask whether it is possible for two nonisomorphic graphs to have the same deck. Kelly and Ulam [8, 9, 15] proposed the following Reconstruction Conjecture.
Conjecture 1.1.For , two graphs and of order are isomorphic if and only if .
The Reconstruction Conjecture remains open, although it is known to be true for a few classes of graphs (eg, trees [9]). Moreover, almost every graph can be reconstructed [2, 11, 12]. For more background, see [1, 3, 4, 10, 14].
A more general problem is to determine which parameters of a graph can be calculated from its deck. Such parameters are said to be reconstructible. Given a full deck of cards, it is easy to reconstruct the number of edges : summing over the edges present in all of the cards gives , where is the number of vertices. It is also well known that connectedness and the degree sequence are reconstructible.
Some parameters are reconstructible even if there is not a full deck of cards. For example, Bowler, Brown, Fenner, and Myrvold [6] showed that any cards suffice to determine whether the graph is connected. Myrvold [13] also found that the degree sequence is reconstructible from any cards.
In this paper, we are concerned with reconstructing the number of edges. Myrvoldʼs result [13] on the degree sequence immediately implies that the size is reconstructible from any cards. In a recent paper, Brown and Fenner [7] showed that, for , the size of a graph can be reconstructed from any cards.
Woodall [16] found that, for any and sufficiently large, if two graphs on vertices have common cards, then the number of edges in these two graphs differs by at most .
In Section 2, we will improve on both results by showing that the size of a graph is reconstructible with up to missing cards. In particular, we will prove the following theorem.
Theorem 1.2.For sufficiently large and , the number of edges of a graph on vertices is reconstructible from any cards.
We will also consider the following adversarial version of the problem. An adversary chooses a graph of order and gives us a collection of cards, each showing a graph on vertices. We are told that there are true cards, which come from the deck . The other cards are false cards, which can depict any graph of order . For which can we reconstruct the size of , regardless of the graph and the cards given by the adversary? Theorem 1.2 immediately implies the following.
Corollary 1.3.Let be sufficiently large and . The number of edges of a graph on vertices is reconstructible from any collection of cards where are true and are false.
Proof.Suppose that and are two graphs on vertices and each has at least cards in common with a deck of cards . Then and must have at least cards in common. We may apply Theorem 1.2 to these common cards. If is sufficiently large and , then and must have the same number of edges.
The rest of the paper is organized as follows. Theorem 1.2 is proved in Section 2 and some open problems are given in Section 3.
2 SIZE RECONSTRUCTION FROM CARDS
We first give the relevant definitions in Section 2.1 followed by an outline of our proof in Section 2.2. Some of the auxiliary results are given in Section 2.3 and the main proof is presented in Section 2.4.
2.1 Notation and definitions
Throughout Section 2, is a graph of order and size , where is unknown. The vertex set of is and we write for the card . We may assume that we are given the cards . In the proof of the main result, we will assume that .
We use the short-hand and slightly abuse notation by writing for the set of integers in the corresponding real interval.
2.2 Proof overview
We first show that our estimate on the number of edges is an upper bound on satisfying . Our goal is then to determine from the cards, since this allows us to compute from .
We note that . Hence, if we were told that and , then we could determine the shift from (namely, would be the largest for which ). Aiming for a situation like this, we reconstruct exactly from the cards for many values of . If we know , then the formula given in (1) makes it possible to compute from . Unfortunately, we cannot determine exactly but an estimate suffices in many cases: if we can compute an estimate for the integer with error less than , then we can round away the error. This is made precise in Claim 1.
In Lemma 2.5, we show that, for many values of , we can “guess” the integers and from . We require the value to be bounded away from certain fractions (that do not depend on ). Moreover, we need and to be small (to improve the estimate and to have fewer values to guess between). To find a for which and are small, we compute yet another estimate from the cards in Lemma 2.4.
Using our reconstructed values for , we reconstruct the shift which allows us to determine .
2.3 Preliminary results
Lemma 2.1..
Note that, if , then .
Proof of Lemma 2.1.Suppose that we have the entire deck of . Every edge of is on exactly cards and therefore . Furthermore, for every , we have that . It follows that
Lemma 2.2.We have and
Proof.A vertex of degree on a card can either have degree in the graph or degree (in the case where it is a neighbor of ). This shows that for all .
A vertex of degree gets counted exactly once in for each of its neighbors; a vertex of degree gets counted on all cards except for its own and those of its neighbors. This proves (2). The last claim follows by combining the fact that with the first claim.
As noted by Brown and Fenner [7] and others, any result for a graph implies a corresponding result for its complement .
Observation 2.3.If , then . Moreover, we have that for any .
The result below will be used to find values of for which is guaranteed to be small.
Lemma 2.4.Suppose that . For each we can calculate a value from the cards that satisfy .
Proof.We will consider two cases: when and when .
Case 1. .
Define
Let be the number of times a vertex of degree in is seen as a vertex of degree in the cards . We will find upper and lower bounds for . For the upper bound, note that a vertex of degree appears as a vertex of degree on the card if and only if is one of its neighbors. Therefore, .
Now consider the card for some . We claim that there are at least vertices that have degree in but degree in . Indeed, the only missing vertex is (which might have degree ) and at most of the other vertices with degree in have degree in . It follows that . We combine these bounds on to get
Case 2. .
Define
In the proof of Theorem 1.2, we will compare the unknown sequence to a sequence that can be calculated from the cards. To do this, we will need to know some values of exactly. For the proof we will only need the following lemma in the case when and lies in the interval . However, the result may be useful elsewhere and so we state it in a more general form.
Lemma 2.5.Suppose and let . Suppose is sufficiently large and . Then, for any graph of order and any deck of cards, the value of can be calculated exactly for all but values of .
Proof.Recall from Lemma 2.2 that
To achieve this, we first restrict to those values of for which we can calculate an upper bound on and from the cards. Assume that is sufficiently large to ensure . Lemma 2.4 then applies to ensure that, for all the quantity (which is defined in (3) and (4) and can be calculated from the cards) satisfies . By the lower bound, if is small, then is small as well. We use the upper bound to show that is small for most values of . Indeed, let , and . Then
For all , we know that
Let . Suppose that, for some , we are able to find elements and within satisfying . Rearranging, we get
Since , the result shows that we can reconstruct for all but of the .
2.4 Proof of main result
We are now ready to prove Theorem 1.2, which is restated below.
Theorem 1.2.For sufficiently large and , the number of edges of a graph on vertices is reconstructible from any cards.
Proof.Let be sufficiently large and . Let be a graph on vertices and let be the cards of that we are given.
Our goal is to determine for many values of . We will handle values of for which separately from those where . For this reason, it will be convenient to say that is big if and little if .
Claim 1.Suppose that, for some , the value of is known exactly and is not big. Then either can be calculated exactly or can be identified as being big.
Proof.Since we can calculate from the cards, if is known, then we can calculate
Since and is not big,
From the calculation in (5) we also find
Claim 2.Suppose that, for some , the value of is known exactly and is not big. Then either can be calculated exactly or can be identified as being big.
Proof.If , then . By Observation 2.3, we have . Apply Claim 1 to to see that either can be calculated exactly or it can be identified as being big.
Claim 3.The interval contains consecutive values of such that every can be calculated exactly and they are all little.
Proof.Let . Lemma 2.5 with gives a set and a constant such that and we can calculate exactly if .
Partition into intervals of length . At most of them are completely contained in . For sufficiently large, . Therefore, for these values of , there are at least intervals which are not completely contained within . By Claims 1 and 2, we are able to calculate exactly for all values of in each of these intervals unless the interval happens to contain a value of for which is big.
We know that there are at most values of for which is not little. Therefore, as , there exists an interval which is not completely contained within and which only contains values of that are little, each of which we can calculate exactly.
By Claim 3, we can find an interval such that, for every , we can calculate exactly and it is little. We may then recursively apply Claim 1, starting with . We continue until either we reach or we hit a big vertex for some . Similarly, we may recursively apply Claim 2, starting with . Again, we will either calculate or we will identify that is big for some .
If we are able to calculate both and , then we will know for every . This tells us the degree sequence of and hence we can directly calculate .
Therefore, we may assume that we have the following situation: there exists an interval with endpoints and such that . For every , the value is known exactly and is not big. At least one of and has been identified as being big. By Observation 2.3, we may assume that is big.
By Lemma 2.1, the estimate for that we can obtain from the cards satisfies with . For sufficiently large, we have and hence . Recall from the proof overview that can be calculated from the cards and that our goal is to discover the “shift” in this sequence. The overall shape of will be the same as the overall of shape of but shifted to the right by . Moreover, we are “missing” values, so that . (Note that we need to calculate for and that, for , it is possible for to take a nonzero value.)
Although we do not know the exact value of , it is sufficient to redefine each and to be the minimum of their current value and . After doing this, we still have . It follows that . We now show that can be recognized as the unique “shift” in a given interval that ensures is sufficiently close to .
Claim 4.For , if and only if .
Proof.Fix . We noted above that . It remains to show that if . Let . We have
By Claim 4, we see that is the only value satisfying . As we have calculated and from the cards, and we know as well, we are able to find the value satisfying , and hence identify . Once we have identified , we can then calculate , the number of edges in .
3 CONCLUSION
We have shown that the size of a graph can be reconstructed if we are given a deck from which either at most cards are missing or at most cards are false. The constants can be improved a little, although we do not know whether the result remains true with missing cards. However, we suspect that stronger results could be proved by using more information about the degree sequences on the cards.
We also note that is still very far away from the best known lower bounds, which are linear. For example, for , Bowler, Brown, and Fenner [5] have given the following two graphs which differ in the number of edges but have cards in common: the graphs and both have vertices and at least cards of the form . We suspect that the lower bound is closer to the truth and propose the following question.
Problem 3.1.Does there exist some such that, for any graph on vertices, we can reconstruct the number of edges of from any subset of at least cards?
Another direction for future work is to reconstruct other graph parameters, such as the degree sequence or the number of triangles. Although our techniques do not immediately extend to this setting, we conjecture this should be possible from a partial deck as well.
Conjecture 3.2.Fix and a graph and let be sufficiently large. For every graph on vertices, the number of subgraphs of isomorphic to is reconstructible given any cards from .
If we are given the entire deck (ie, ), then this problem is solved by Kellyʼs lemma [9], which states that for any two graphs and with , the number of subgraphs of isomorphic to is reconstructible.
If the number of edges is known, then the degree of a vertex can be calculated from the number of edges on its card. Therefore, by our main result, if , then all but of the degrees are known. If is larger, then Lemma 2.5 still allows us to construct most of the degree sequences. We expect that, for a large range of , it is possible to determine the whole degree sequence exactly. As a first step, we make the following conjecture.
Conjecture 3.3.Fix and let be sufficiently large. For any graph on vertices, the degree sequence of is reconstructible from any cards.
Note that a positive answer to Problem 3.2 would give a positive answer to Conjecture 3.3: for fixed and sufficiently large, we can find the number of edges of the graph by Theorem 1.2 and hence determine all but elements of the degree sequence. Provided is sufficiently large, we can reconstruct the number of copies of the star for ; this is given by . By subtracting the terms corresponding to vertices of known degree, we obtain a sequence of polynomials in the unknown degrees. Adding constants, these form a basis for all polynomials of degree at most . From these, it is straightforward to evaluate the remaining degrees.
ACKNOWLEDGMENTS
We would like to thank the referees for their helpful comments. Alex Scott was supported by a Leverhulme Trust Research Fellowship.