 Research
 Open Access
 Published:
Treeaverage distances on certain phylogenetic networks have their weights uniquely determined
Algorithms for Molecular Biology volume 7, Article number: 13 (2012)
Abstract
A phylogenetic network N has vertices corresponding to species and arcs corresponding to direct genetic inheritance from the species at the tail to the species at the head. Measurements of DNA are often made on species in the leaf set, and one seeks to infer properties of the network, possibly including the graph itself. In the case of phylogenetic trees, distances between extant species are frequently used to infer the phylogenetic trees by methods such as neighborjoining.
This paper proposes a treeaverage distance for networks more general than trees. The notion requires a weight on each arc measuring the genetic change along the arc. For each displayed tree the distance between two leaves is the sum of the weights along the path joining them. At a hybrid vertex, each character is inherited from one of its parents. We will assume that for each hybrid there is a probability that the inheritance of a character is from a specified parent. Assume that the inheritance events at different hybrids are independent. Then for each displayed tree there will be a probability that the inheritance of a given character follows the tree; this probability may be interpreted as the probability of the tree. The treeaverage distance between the leaves is defined to be the expected value of their distance in the displayed trees.
For a class of rooted networks that includes rooted trees, it is shown that the weights and the probabilities at each hybrid vertex can be calculated given the network and the treeaverage distances between the leaves. Hence these weights and probabilities are uniquely determined. The hypotheses on the networks include that hybrid vertices have indegree exactly 2 and that vertices that are not leaves have a treechild.
1 Introduction
In phylogeny, the evolution of a collection of species is modelled via a directed graph in which the vertices are species and the arcs indicate direct descent, usually with modification as mutations accumulate. The leaves typically correspond to extant species, while internal vertices typically correspond to presumed ancestors. It has been common to assume that the directed graphs are trees, but more recently more general networks have also been studied so as to include the possibility of hybridization of species or lateral gene transfer. General frameworks for phylogenetic networks are discussed in [1], [2], [3], and [4]. See also the recent book [5].
There are many methods to reconstruct phylogenetic trees from information such as the DNA of extant species. The most generally accepted methods include maximum parsimony, maximum likelihood, and Bayesian. See [6] for an overview. These methods, however, are only heuristic, do not guarantee an optimal solution, and can be very timeconsuming for a moderate number of species.
Suppose X denotes the set of extant species for some analysis, including an outgroup which is used to locate the root. The DNA information may be summarized via the computation of distances between members of X. If x, y ∈ X, then d(x, y) summarizes the amount of genetic difference between the DNA strings of x and y. In order to compensate at least partially for the possibility of repeated mutation at the same site, a number of different distances are in use, based on different models of mutation. Notable examples include the JukesCantor [7], Kimura [8], HKY [9], and log determinant [10], [11] distances. The log determinant distance is especially interesting in that it can be proved that typically the distances add along the paths, so that the distance along a path is the sum of the distances for each edge along the path.
Some fast methods to reconstruct phylogenetic trees make use of distances between members of X. Probably the most common distancebased method is Neighborjoining [12]. It is computationally fast. It often gives a good initial tree with which heuristic methods begin in order to find an improved tree by other methods. Another more recent method FastME [13], [14] is based on the principle of balanced minimum evolution, in which one assumes that the correct tree is the one that exhibits the minimal total amount of evolution, suitably measured.
Distancebased methods have been rarely used to construct phylogenetic networks that are not necessarily trees. It is true that distances occur in common exploratory methods to display the diversity of trees for the same species such as the split decomposition (see [15] or an overview in [5]). These distances, however, are not derived from any biologically based model of evolution.
This paper studies a distance on rooted directed networks that is based upon a model of evolution. Consider, for example, the network N in Figure 1. The root is 1 and there is a hybridization event at 7 with parents 6 and 8. Vertex 7 is called a hybrid vertex or a reticulation vertex. For some characters, the character state at 7 is inherited from the parental species 6, while for other characters the character state at 7 is inherited from species 8. For character states inherited from 6 the evolutionary history is best described by the displayed tree N_{ p } , while for character states inherited from 8 the history is best described by the tree N_{ p }_{'}. Here p and p' are parent maps telling the parent of every nonroot vertex. In the example p(7) = 6 while p'(7) = 8. Each parent map p leads to a displayed tree N_{ p } .
In Figure 1, each arc might have a numerical weight measuring the amount of genetic change on the arc. In either tree N_{ p } or N_{ p }_{'} the distance between two vertices might be plausibly defined as the sum of the weights of the edges on the unique path between the vertices. This paper explores the possibility that an appropriate distance between the vertices in the network N is a weighted average of the distances in N_{ p } and N_{ p }_{'}.
More generally, the trees displayed by a network N will be conveniently indexed as N_{ p } where p ranges over all the parent maps. Let Par(N) denote the set of all parent maps for N. For each hybrid vertex h, the probability that a character of h is inherited from a particular parent vertex q_{ i } will be denoted α(q_{ i } , h). Assume that these inheritances at different hybrid vertices are independent events. Then for each p ∈ Par(N) we obtain that the probability Pr(p) that the tree N_{ p } models the inheritance of a particular character is given by
If x and y are vertices, then the distance between x and y in N_{ p } , written d(x, y; N_{ p } ), is the sum of the weights of arcs on the unique path joining x and y in N_{ p } . The treeaverage distance d(x, y; N) between x and y in N will be defined to be the expected value of the distances in the various trees N_{ p } :
If a hybrid vertex h satisfies that each parent q of h has the same probability, we will call the inheritance equiprobable at h. This special case assumes that the contribution from each parent to h is the same; if there are two parents, each contributes approximately 50%.
In Figure 1 note that, for each species in the leafset X = {1, 2, 3, 4}, it is plausible that the DNA is available since 2, 3, 4 correspond to extant species and 1 to an extant outgroup species. Hence it is plausible that we know d(x, y; N) for distinct x and y in X, hence \left(\begin{array}{c}4\\ 2\end{array}\right)=6 nonzero distances. Nevertheless, N has 8 arcs and hence it is not likely that from the 6 known distances we could compute 8 independent weights for these arcs. Indeed, the equations obtained in this paper for this network have infinitely many solutions. There is a possibility of simultaneous identical mutations between 6 and 7 and between 8 and 7 which might be confused with mutations between 7 and 3.
In this paper we will assume that the weight of an arc into a hybrid vertex is 0. Thus in Figure 1, the weights of arcs (6, 7) and (8, 7) will be zero. Under this assumption vertex 7 corresponds roughly to the immediate offspring of a hybridization event, in which some characters came intact from 6 and the remainder intact from 8. Further mutation occurred before species 3 evolved from 7.
Note that the number of arcs of N in Figure 1 that are not directed into a hybrid vertex is 6. It is therefore plausible that given the 6 numbers d(x, y; N) for x, y ∈ {1, 2, 3, 4}, we might be able to recover the weights for each of the 6 arcs in N that are not directed into the hybrid vertex 7. These same weights would be utilized in distances for both N_{ p } and N_{ p }_{'}. On the other hand, we should like to determine an additional parameter α(6, 7) telling the probability of inheritance by 7 of a character from 6. It is unlikely that six equations, one for each d(x, y; N), will uniquely and generically determine seven real parameters. Indeed, the methods of this paper for this example lead to six equations in seven unknowns such that for certain values of the distances the weights and probabilities are not uniquely determined. Consequently for the situation in Figure 1 we will assume that α(6, 7) = α(8, 4) = 1/2; we call the inheritance equiprobable at 7.
By contrast, Figure 2 shows another network with X = {r, x_{1}, x_{2}, x_{3}, y} containing a single hybrid vertex h_{0}. In this case there are \left(\begin{array}{c}5\\ 2\end{array}\right)=10 distances and 8 arcs not into a hybrid vertex, so it is plausible that the 10 equations would allow us to uniquely determine a ninth parameter α_{1} = α(q_{1}, h_{0}) satisfying 0 < α_{1}< 1. In fact, this paper will show how to determine all 9 parameters. Then α(q_{2}, h_{0}) = 1  α_{1} is also determined. In Figure 2 we will not need to assume equiprobability at h_{0}.
In order to obtain interesting results, assumptions must be made about the network N. As an extreme case it would be easy to add many more internal vertices and edges to the network N of Figure 1 without adding any additional leaves yet increasing arbitrarily the number of arcs. For example, Figure 3 shows a network in which the network N of Figure 1 has been modified by the addition of other arcs. The 6 distances do not determine the weights for all 7 arcs that do not lead to a hybrid vertex in Figure 3.
Particular kinds of acyclic networks have been studied in various papers. Wang et al. [16] and Gusfield et al. [17] study "galled trees" in which all recombination events are associated with nodedisjoint recombination cycles; the idea occurs also earlier in [18]. Choy et al. [19] and Van Iersel et al. [20] generalized galled trees to "levelk" networks. Baroni, Semple, and Steel [2] introduced the idea of a "regular" network, which coincides with its cover digraph. Cardona et al. [21] discussed "treechild" networks, in which every vertex not a leaf has a child that is not a reticulation vertex. An arc (a, b) is redundant if there is a directed path from a to b that that does not utilize this arc. The current author has utilized "normal" networks [22] which are both treechild and contain no redundant arc.
Most results in this paper assume that the network is normal. This means, briefly, that every vertex not in X and not a leaf has a treechild (a child with indegree one); and moreover, there is no redundant arc. For example, if X = {1, 2, 3, 4} then the network in Figure 1 is normal while the network in Figure 3 is not normal since arc (5,10) is redundant. With the assumption that there are no redundant arcs we show in Section 3 that for a given network N, the treeaverage distance d is a metric on X. With the assumption of normality we also show that different parent maps p yield different displayed trees N_{ p } . Hence the average over the parent maps p is the same as the average over displayed trees. This result eliminates the logical possibility that different parent maps p_{1} and p_{2} might yield displayed trees that are topologically the same, yielding an uncertainty about which is the correct average to use in the definition.
The main result, Theorem 4.1, assumes that the network N is normal and also that for all hybrid vertices the indegree is exactly 2 and the outdegree is exactly 1. At each hybrid vertex h we assume either equiprobability or else that h has a grandparent on at least one side of the reticulation cycle, as in Figure 2 but not Figure 1. Then from knowledge both of N and of the treeaverage distance function d, the weights for all arcs are uniquely determined and indeed can be computed by explicit formulas. Moreover, the probabilities of inheritance at each hybrid vertex are uniquely determined and can be computed by explicit formulas. This calculation is, of course, trivial if the network is equiprobable at h.
A model for a distance function containing certain parameters is called identifiable if the parameters can be reconstructed from the (exact) values of the distance function. Theorem 4.1 thus asserts that, if the treeaverage distance function d on X and the network N are known, then the real parameters of the model (i.e., the weights and the probabilities) are identifiable in various cases.
A major problem, of course, is the reconstruction of N itself from a distance function d. I have obtained partial results (not included in this paper) which give a reconstruction of N itself when the distance d is the treeaverage distance and when the network N satisfies the hypotheses of Theorem 4.1 and some additional hypotheses. The reconstruction of N is possible because of the simple forms of the formulas obtained in this paper. Essentially, the formulas are simple enough that they can be used recursively when only part of the network is yet known. I plan a subsequent paper which will utilize the results in the current paper to reconstruct N from the treeaverage distances.
The assumption that all hybrid vertices have indegree 2, assumed in Theorem 4.1, is plausible biologically since in sexually reproducing species an offspring arises from one egg and one sperm.
The assumption that there be no redundant arcs is essential for Theorem 4.1. Figure 3 displays a treechild network N with X = {1, 2, 3, 4}. There are 6 independent nonzero distances between the members of X, yet there are 7 arcs not directed into hybrid vertices. It is easy to choose positive values for the treeaverage distances such that there are infinitely many positive choices of the weights given the network. Note that each vertex not a leaf has a treechild, so the network is a treechild network [21]. Hence Theorem 4.1 cannot be extended to general treechild networks.
Some other extensions of the current results and problems are discussed in the concluding section 6.
2 Fundamental Concepts
A directed graph or digraph (V, A) consists of a finite set V of vertices and a finite set A of arcs, each consisting of an ordered pair (u, v) where u ∈ V , v ∈ V , u ≠ v. We interpret (u, v) as an arrow from u to v and say that the arc starts at u and ends at v. There are no multiple arcs and no loops. If (u, v) ∈ A, say that u is a parent of v and v is a child of u. A directed path is a sequence u_{0}, u_{1}, ..., u_{ k } of vertices such that for i = 1, ..., k, (u_{i  1}, u_{ i } ) ∈ A. The path is trivial if k = 0. Write u ≤ v if there is a directed path starting at u and ending at v. The digraph is acyclic if there is no nontrivial directed path starting and ending at the same point. If the digraph is acyclic, it is easy to see that ≤ is a partial order on V .
The indegree of vertex u is the number of v ∈ V such that (v, u) ∈ A. The outdegree of u is the number of v ∈ V such that (u, v) ∈ A. A leaf is a vertex of outdegree 0. A normal vertex (or tree vertex ) is a vertex of indegree 1. A hybrid vertex (or reticulation vertex ) is a vertex of indegree at least 2. An arc (u, v) is a normal arc if v is a normal vertex.
A digraph (V, A) is rooted if it has a unique vertex r ∈ V with indegree 0 such that, for all v ∈ V , r ≤ v. This vertex r is called the root.
Let X denote a finite set. Typically in phylogeny, X is a collection of species. Measurements are assumed to be possible among members of X, so that we may assume that, for example, their DNA is known for each x ∈ X.
A phylogenetic Xnetwork N = (V, A, r, X) is a rooted acyclic digraph G = (V, A) with root r such that there is a onetoone map ϕ : X → V whose image contains all vertices v such that either

(i)
v is a leaf; or

(ii)
v = r; or

(iii)
v has indegree 1 and outdegree 1.
There may be additional vertices in X. We will identify each x ∈ X with its image ϕ(x). The set X will be called the baseset for N.
In biology the network gives a hypothesized relationship among the members of X. It is quite common also that a certain extant outgroup species r' is assumed to have evolved separately from the rest of the species in question. When this happens, we identify the species r' with the root r. Thus extant species (the leaves) are in X by (i) since measurements can be made on them. The outgroup r', which is identified with the root, is in X by (ii). If a vertex has indegree 1 and outdegree 1 then nothing uniquely determines it unless, for fortuitous reasons, it is possible to make measurements on its DNA, in which case it lies in the baseset X.
An Xtree is a phylogenetic Xnetwork such that the underlying digraph is a tree.
Figure 4 shows a phylogenetic Xnetwork N with baseset X = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}. The root is r = 1. Note that the leaves are in X by (i), 1 ∈ X by (ii), and 10 ∈ X by (iii). Measurements such as DNA are assumed possible on members of X. Since the root 1 is actually an outgroup and the leaves are all extant, this is plausible for all members of X except 10. We are perhaps here assuming that, by some fortuitous chance, some historical DNA of 10 is also available.
An arc (u, v) ∈ A is redundant if there exists w ∈ V such that u, v, and w are distinct and u ≤ w ≤ v. The removal of a redundant arc (u, v) still leaves u ≤ v in the network.
A phylogenetic Xnetwork N = (V, A, r, X) with baseset X is normal provided (1) whenever v ∈ V and v ∉ X, then v has a treechild c; and (2) there are no redundant arcs. The networks in Figure 2 and 4 are normal, while the network of Figure 3 is not normal. The usage here of "normal" differs slightly from that in [22] in that here hybrid vertices that are not leaves may have outdegree 1, whereas in [22] hybrid vertices that were not leaves had outdegree 2 or higher. There is an obvious onetoone relationship between normal networks in the current sense and normal networks in the previous sense.
A normal network N is semibinary if each hybrid node has indegree 2 and outdegree 1. It follows from normality that the child of the hybrid node is necessarily normal.
A normal path in N from v to x is a directed path v = v_{0}, v_{1}, ..., v_{ k } = x such that for i = 1, ... k, v_{ i } is normal. A normal path from v to X is a normal path starting at v and ending at some x ∈ X. For example, in Figure 4, the path 20, 18, 19, 8 is normal and is a normal path from 20 to X. The path 18, 17, 16, 5 is not normal since 16 is hybrid. The trivial path 3 is normal.
Suppose N is normal and v ∈ V . Then there is a normal path from v to X. To see this, if v ∈ X, then the trivial path is a normal path from v to X. If v ∉ X, then v has a tree child v_{1}. If v_{1} ∈ X, then the path v_{0}, v_{1} is a normal path to v_{1} in X. Otherwise v_{1} has a treechild v_{2}. If v_{2} ∈ X then the path v_{0}, v_{1}, v_{2} is a normal path from v to v_{2} in X. Proceeding in this manner, we obtain the result.
Suppose two normal paths shared a common vertex x, say the normal paths v = v_{0}, ..., v_{ k } = x and w = w_{0}, ..., w_{ j } = x. If k > 0 and j > 0 then since x is normal with a unique parent, it follows that v_{ k  }_{1} = w_{ j  }_{1}. Repeating the argument we find that either there is an i such that v = w_{ i } or else there is an i such that w = v_{ i } . This argument, of frequent use, is called following the normal paths backwards.
A graph (or, for emphasis, an undirected graph) (V, E) consists of a finite set V of vertices and a finite set E of edges, each a subset {v_{1}, v_{2}} of V consisting of two distinct vertices. Thus an edge has no direction, while an arc has a direction. If N = (V, A, r, X) is a phylogenetic Xnetwork, there is an associated undirected graph Und(N) = (V, E) in which every arc in A has its direction ignored; thus E = {{a, b}: (a, b) ∈ A or (b, a) ∈ A}.
3 The TreeAverage Distance
If N = (V, A, r, X) is a phylogenetic Xnetwork, then a parent map p for N consists of a map p : V {r} → V such that, for all v ∈ V  {r}, p(v) is a parent of v. Note that r has no parent. If v is normal, then there is only one possibility for p(v), while if v is hybrid, there are at least two possibilities for p(v). In Figure 4, an example of a parent map p satisfies p(20) = 23, p(16) = 17, and for all other vertices v besides 1, p(v) is the unique parent of v.
Write Par (N) for the set of all parent maps for N. In general if there are k distinct hybrid vertices and they have indegrees respectively i_{1}, i_{2}, ..., i_{ k } , then the number of distinct parent maps p is Par (N) = ∏[i_{ j } : j = 1, ..., k]. If N is a network with k distinct hybrid vertices, each of indegree 2, then Par(N) = 2 ^{k} .
Given p ∈ Par (N) the set A_{ p } of parcs is A_{ p } = {(p(v), v): v ∈ V  {r}}. The induced tree N_{ p } is the directed graph (V, A_{ p } ) with root r. Note that each vertex in V  {r} has a unique parent in N_{ p } . Thus N_{ p } is a tree with vertex set V . The set X, however, need not be a baseset of N_{ p } . For example, if h is hybrid in N, then in N_{ p } the vertex h has indegree 1 from the arc (p(h), h) and outdegree 1, yet need not lie in X.
Several of the proofs will require the notion of "complementary parents". Suppose p ∈ Par (N) and h is a particular hybrid vertex with exactly two parents q_{1} and q_{2}. Assume p(h) = q_{1}. The complementary parent map p' of p with respect to h is defined by
Thus p' agrees with p except at h, where p' chooses the other parent from that chosen by p.
A phylogenetic Xnetwork is weighted provided that for each arc (a, b) ∈ A there is a nonnegative number ω(a, b) called the weight of (a, b) such that

(1)
if b is hybrid, then ω(a, b) = 0;

(2)
if b is normal, then ω(a, b) ≥ 0.
We call the function ω from the set of arcs to the reals the weight function of N. We interpret ω (a, b) as a measure of the amount of genetic change from species a to species b. If h is hybrid with parents q_{1} and q_{2} and unique child c, then the hybridization event is essentially assumed to be instantaneous between q_{1} and q_{2} with no genetic change in those character states inherited by h from q_{1} or q_{2} respectively. Further mutation then occurs from h to c, as measured by ω (h, c).
In any rooted tree T = (V, A, r), two vertices u and v have a unique most recent common ancestor mrca(u, v) = mrca(u, v; T ) ∈ V that satisfies

(1)
mrca(u, v) ≤ u and mrca(u, v) ≤ v;

(2)
whenever z ≤ u and z ≤ v, then z ≤ mrca(u, v).
In a network that is not a tree, two vertices u and v need not have a mrca(u, v).
Suppose that N = (V, A, r, X) is a weighted phylogenetic Xnetwork with weight function ω. For each p ∈ Par (N) and for each u, v ∈ V , define the distance d(u, v; N_{ p } ) as follows: in N_{ p } there is a unique undirected path P (u, v) between u and v; defined (u, v; N_{ p } ) to be the sum of the weights of arcs along P (u, v). More precisely, since N_{ p } is a tree, there exists a most recent common ancestor m = mrca(u, v; N_{ p } ), a directed path P_{1} given by m = u_{0}, u_{1}, . . ., u_{ k } = u from m to u, and a directed path P_{2} given by m = v_{0}, v_{1}, . . ., v_{ j } = v from m to v. Define
We shall refer to d(u, v; N_{ p } ) as the distance between u and v in N_{ p } .
Let H denote the set of hybrid vertices of N. For each h ∈ H, let P (h) denote the set of parents of h, i.e. the set of vertices u such that (u, h) ∈ A. Since h ∈ H,P (h) ≥ 2. For each u ∈ P (h), let α(u, h) denote the fraction of the genome that h inherits from u. We may interpret α(u, h) as the probability that a character is inherited by h from u, so for all h ∈ H, ∑[α(u, h): u ∈ P(h)] = 1.
If h and h' are distinct members of H, we will assume that the inheritances at h and h' are independent. More generally, suppose for every h ∈ H that q_{ h } is a parent of h. Then we assume that the events that a character at h is inherited from q_{ h } are independent. It is then easy to see that for each p ∈ Par(N) the probability that inheritance follows the parent map p is Pr (p) = ∏[α(p(h), h): h ∈ H].
The treeaverage distance d(u, v; N) between u and v in N is defined by
It is thus the expected value of the distances between u and v in the various N_{ p } .
The simplest situation has each parent of h equally likely, so α(p(h), h) = 1/P (h) for each p ∈ Par(N). If this situation occurs, we call the network equiprobable at h. If the network N is equiprobable at h for all h ∈ H, then we call the network equiprobable, and for each u and v in X, d(u, v; N) is the average of the values d(u, v; N_{ p } ) for p ∈ Par(N).
For example, for the network N in Figure 1 suppose that the arcs have weights given by ω(1, 5) = 1 = ω(5, 6) = ω(7, 3), while ω(5, 8) = ω(8, 4) = 2 and ω(6, 2) = 4. Since 7 is hybrid, ω(6, 7) = ω(8, 7) = 0. Suppose, as in Figure 1, the parent map p satisfies p(7) = 6 while the parent map p' satisfies p' (7) = 8. Then N_{ p } shown in Figure 1 is obtained from N by deleting the arc (8, 7) while N_{ p }_{'} is obtained from N by deleting the arc (6, 7). Assume α(6, 7) = 1/3 and α(8, 7) = 2/3, so Pr(p) = 1/3, Pr(p') = 2/3. To compute α(1, 3; N) we find d(1, 3; N_{ p } ) = ω(1, 5) + ω(5, 6) + ω(6, 7) + ω(7, 3) = 1 + 1 + 0 + 1 = 3, d(1, 3; N_{ p }_{'}) = ω(1, 5) + ω(5, 8) + ω(8, 7) + ω(7, 3) = 1 + 2 + 0 + 1 = 4. Hence d(1, 3; N) = (1/3)d(1, 3; N_{ p } ) + (2/3)d(1, 3; N_{ p }_{'}) = (1/3)(3) + (2/3)(4) = 11/3. For another example d(1, 2; N_{ p } ) = d(1, 2; N_{ p }_{'}) = 6 so d(1, 2; N) = (1/3)(6) + (2/3)(6) = 6.
Given u and v, the vertices mrca(u, v; N_{ p } ) may differ for different p. This is seen in Figure 1 where mrca(2, 3; N_{ p } ) = 6 while mrca(2, 3; N_{ p }_{'}) = 5.
Theorem 3.1. Assume N = (V, A, r, X) is a phylogenetic Xnetwork that has no redundant arcs. Assume N has a weight function ω satisfying that ω(a, b) > 0 if b is normal. Then the treeaverage distance on X from N is a metric on X.
Proof. A metric d on X must satisfy

(1)
For all x and y in X, d(x, y) ≥ 0 and d(x, y) = 0 iff x = y.

(2)
For all x and y in X, d(x, y) = d(y, x).

(3)
For all x, y, z ∈ X, d(x, z) ≤ d(x, y) + d(y, z).
For (2), suppose x, y, ∈ X. For all p, d(x, y; N_{ p } ) = d(y, x; N_{ p } ), whence d(x, y; N) = d(y, x; N).
For (3) suppose x, y, z ∈ X. For each N_{ p } , d(x, z; N_{ p } ) ≤ d(x, y; N_{ p } ) + d(y, z; N_{ p } ) from the truth of the fourpoint condition, see [23], p 147. Hence the result follows for distances in N as well.
For (1) it is clear that for each p, d(x, y; N_{ p } ) ≥ 0, whence d(x, y; N) ≥ 0. Moreover, for each p, d(x, x; N_{ p } ) = 0, whence d(x, x; N) = 0.
To finish the proof of (1), suppose d(x, y; N) = 0; we show x = y. Assume instead x ≠ y. Since the weights are nonnegative, for every p we have d(x, y; N_{ p } ) = 0. Hence for every p ∈ Par(N), in N_{ p } the unique path between x and y contains only arcs (a, b) with b hybrid in N.
If x and y are both normal, then for every p the unique path between x and y in N_{ p } must consist of a directed path from v = mrca(x, y; N_{ p } ) to x and a path from v to y; hence it contains a normal arc whence d(x, y; N_{ p } ) > 0. Thus we may assume that one vertex, say y, is hybrid.
In N choose a directed path P = y_{0}, y_{1}, ..., y_{ k } = y such that y_{1} is not hybrid but y_{2}, ..., y_{ k } are hybrid. This is always possible because there is a directed path from r to y, say u_{0} = r, u_{1}, u_{2}, ..., u_{ k } = y. The child u_{1} of r cannot be hybrid, because if it were, then its other parent q besides r must also have a path to q from r, and this path combined with the arc (q, u_{1}) would make the arc (r, u_{1}) redundant. Moreover, we may choose this path so that x does not lie in {y_{1}, ..., y_{ k } } since whenever y_{ i } is hybrid there are at least two choices of the parent y_{ i  }_{1}, and we may select y_{ i  }_{1} to be distinct from x.
If x is normal in N, let Q be the trivial path z_{0} = x. Otherwise we may choose a directed path Q = z_{0}, z_{1}, ..., z_{ s } = x such that z_{0} is not hybrid but all other vertices are hybrid. Moreover, we may assume that the vertices of Q are all distinct from the vertices of P . This is because, if z_{ i } is hybrid, it cannot have two parents q_{1} and q_{2} which are on P since then there must be a directed path from say q_{1} to q_{2}, whence the arc (q_{1}, z_{ i } ) is redundant.
Since the vertices on P and Q are distinct, there exists a parent map p that agrees with all the choices made in constructing both P and Q. Hence in N_{ p } , P is a path from y_{0} to y, Q is a path form z_{0} to x, and the paths are disjoint. In N_{ p } let v = mrca(y_{0}, z_{0}; N_{ p } ). Then in N_{ p } the unique path between x and y consists of P , Q, a path from v to y_{0}, and a path from v to z_{0}. Since y_{1} and z_{0} are normal, this path includes a normal arc, so d(x, y; N_{ p } ) > 0. It follows that d(x, y; N) > 0, a contradiction. □
Corollary 3.2. Assume N is a normal network with weight function ω such that ω(a, b) > 0 if b is normal. Then the treeaverage distance on X from N is a metric on X.
The treeaverage distance is defined as a weighted average in terms of parent maps. Any tree that arises as N_{ p } for some parent map p is said to be displayed in N. There is a logical possibility that several different parent maps p could yield essentially the same displayed tree. The next theorem gives sufficient conditions so that in fact the displayed trees are all distinct. Hence the treeaverage distance becomes a weighted average over all the distinct displayed trees.
The proof requires the notion of a split. A split of X is a partition of X into exactly two nonempty subsets; if these are A and B, we write the split AB. Two splits A_{1}B_{1} and A_{2}B_{2} are compatible if at least one of the sets A_{1} ∩ A_{2}, A_{1} ∩ B_{2}, B_{1} ∩ A_{2}, and B_{1} ∩ B_{2} is the empty set. Removal of any edge e (but not its endpoints) from a tree T produces a split ∑(e) consisting of vertices in the connected components of T with e removed. The set of splits of a tree T will be denoted ∑(T). If T is directed, then the splits of T are obtained by reference only to the undirected tree so ∑(T) = ∑(Und(T)). By the SplitsEquivalence Theorem (see [23], p. 44) any two splits of a tree are compatible.
Theorem 3.3. Assume N = (V, A, r, X) is a normal phylogenetic Xnetwork. Suppose that every hybrid vertex that is not a leaf satisfies that it has outdegree 1 and that its unique child is normal. Suppose p and q are distinct parent maps for N. Then N_{ p } and N_{ q } are topologically distinct trees.
Proof. We show that ∑(N_{ p } ) and ∑(N_{ q } ) are distinct. Since p ≠ q there exists a hybrid vertex h such that p(h) ≠ q(h). Let q_{1} = p(h) and q_{2} = q(h). Choose a normal path in N from q_{1} to x_{1} ∈ X, a normal path from q_{2} to x_{2} ∈ X, and a normal path from h to y ∈ X. Note that each normal path is a path in both N_{ p } and N_{ q } . Moreover, q_{1} is normal in N because otherwise its unique child would not be a treechild. Similarly q_{2} is normal in N.
If ∑(N_{ p } ) = ∑(N_{ q } ), then each pair of splits would be compatible. In N_{ p } consider the split ∑(a, q_{1}) where a is the unique parent of q_{1} and we remove the arc (a, q_{1}) from N_{ p } . We may write ∑(a, q_{1}) as A_{1}B_{1} where A_{1} contains r. The directed path in N_{ p } from r to y includes the arc (a, q_{1}), so B_{1} contains y. Then x_{1} ∈ B_{1} because there is a path from q_{1} to x_{1} and from h to y, neither of which includes (a, q_{1}). Moreover, x_{2} ∈ A_{1}. To see this, since N_{ p } is rooted, there is a directed path from r to q_{2}. If it included the arc (a, q_{1}), then there would be a directed path in N_{ p } from q_{1} to q_{2}; this is not possible since in that case the arc (q_{1}, h) would be redundant in N, contradicting normality of N. Since N_{ p } contains the directed path from q_{2} to x_{2} missing the arc (a, q_{1}), it follows that x_{2} ∈ A_{1}. Hence{r, x_{2}} ⊆ A_{1} and {y, x_{1}} ⊆ B_{1}.
In N_{ q } consider the split ∑(b, q_{2}) where b is the parent of q_{2} and we remove the arc (b, q_{2}) from N_{ q } . Similarly to the case of N_{ p } we may write ∑(b, q_{2}) = A_{2}  B_{2} where {r, x_{1}} ⊆ A_{2} and {y, x_{2}} ⊆ B_{2}. If N_{ p } were topologically the same as N_{ q } , then these splits would need to be compatible. Yet r ∈ A_{1} ∩ A_{2}, x_{2} ∈ A_{1} ∩ B_{2}, x_{1} ∈ B_{1} ∩ A_{2}, and y ∈ B_{1} ∩ B_{2}, contradicting compatibility. □
Corollary 3.4. Suppose N = (V, A, r, X) is a phylogenetic Xnetwork that is normal. Suppose every hybrid vertex that is not a leaf has outdegree 1 and its unique child is normal. Suppose that there are exactly k hybrid vertices h_{1}, h_{2}, ..., h_{ k } and that for i = 1, ..., k, hybrid vertex h_{ i } has indegree d_{ i }. Then the total number of distinct trees displayed by N and the total number of parent maps are both ∏[d_{ i } : i = 1, ..., k].
4 Finding the weight function from d and N
In this section we prove the main theorem, that the weights are determined by knowledge of N and the treeaverage distances between members of X. For each hybrid vertex h we will assume either equiprobability at h or else a more complicated situation resembling Figure 2. The assumptions can be different at different hybrid vertices.
Theorem 4.1. Suppose N = (V, A, r, X) is a phylogenetic Xnetwork which is normal and semibinary. Let ω be a weight function on A satisfying ω(a, b) = 0 if b is hybrid and ω(a, b) ≥ 0 if b is normal. Assume that N is known and that the treeaverage distance d(x, y; N) is known for each x and y in X.
For each hybrid vertex h with parents q _{1} and q _{2} , assume either
(1) the inheritance is equiprobable at h; or
(2) at least one parent (say q _{2} ) satisfies that there exists q _{3} such that
(a) there is a normal path from q _{3} to q _{2} ;
(b) there is a normal path from q _{3} to some x _{3} in x which is disjoint from the normal path from q _{3} to q _{2} except for the vertex q _{3} ;
(c) there is no directed path from q_{3}to q_{1}.
Then the weight function ω is uniquely determined and can be computed explicitly. Moreover, for each hybrid h, the probabilities α(q_{ i } , h) for each parent q_{ i } of h are uniquely determined and can be computed explicitly.
See Figure 2 to understand the assumptions about h in (2). Throughout this section we will assume the hypotheses of Theorem 4.1.
The proof primarily consists of a number of cases to handle different situations. We will present several of these special situations as lemmas and then later relate these together. Each lemma tells how certain distances or weights relate to distances between members of X.
Lemma 4.2. Assume the hypotheses of Theorem 4.1. Suppose there is a normal path from a to b. Suppose there is a normal path from a to x ∈ X which meets the normal path from a to b only in a. Suppose b has normal paths to y and z in X which are disjoint except at b. Then d(a, b; N) = [d(r, y; N) + d(x, z; N)  d(r, x; N)  d(y, z; N)]/2.
Proof. For each p ∈ Par(N), the path from a to b, the path from a to x, the path from b to y, and the path from b to z must lie in N_{ p } since none of the arcs enters a hybrid vertex. Moreover, there must be a path from r to a which includes none of the arcs on the other paths mentioned above. See Figure 5a. Hence for each p ∈ Par(N) one can verify
It follows that
Taking expected values we see d(a, b; N) = ∑[Pr(p)d(a, b; N_{ p } ): p ∈ Par(N)] = ∑[Pr(p)[d(r, y; N_{ p } ) + d(x, z; N_{ p } )  d(r, x; N_{ p } )  d(y, z; N_{ p } )]/2: p ∈ Par(N)] = [d(r, y; N) + d(x, z; N)  d(r, x; N)  d(y; z; N)]/2. □
Lemma 4.3. Assume the hypotheses of Theorem 4.1.
(1) Suppose (a, b) is an arc where a ∈ X and b is normal. Suppose b has normal paths to y and z in X which are disjoint except at b. Then ω(a, b) = [d(a, y; N) + d(a, z; N)  d(y, z; N)]/2.
(2) Suppose there is a normal path from a to b ∈ X. Suppose there is a normal path from a to x ∈ X which intersects the path from a to b only in a. Then d(a, b; N) = [d(b, r; N) + d(b, x; N)  d(r, x; N)]/2.
In particular, suppose (a, b) is an arc, b ∈ X is normal, and there is normal path from a to x ∈ X which does not include b. Then ω(a, b) = [d(b, r; N) + d(b, x; N)  d(r, x; N)]/2.
(3) Suppose (a, b) is an arc and b is normal. Suppose there is a normal path from a to x ∈ X which does not include the vertex b. Suppose b has normal paths to y and z in X which are disjoint except at b. Then ω(a, b) = [d(r, y; N) + d(x, z; N)  d(r, x; N)  d(y, z; N)]/2.
Proof. For (1) we take a = x in Lemma 4.2 and note that d(r, y; N)  d(r, a; N) = d(a, y; N). For (2) we take b = y = z in Lemma 4.2 and note that d(y, z; N) = 0. For (3), we use the normal path a, b as the path from a to b. □
Lemma 4.4. Assume the hypotheses of Theorem 4.1. Suppose there is a normal path from a to y ∈ X where a is hybrid with indegree 2 and parents q_{1}and q_{2}. Assume q_{1}and q_{2}have normal paths to x_{1}and x_{2}respectively in X. Then d(a, y; N) = [d(y, x_{1}; N) + d(y, x_{2}; N)  d(x_{1}, x_{2}; N)]/2.
Proof. See Figure 5b. We first show that the portion of the figure including the paths from q_{1} to x_{1}, from q_{2} to x_{2}, from a to y and the arcs (q_{1}, a) and (q_{2}, a) accurately represents the hypotheses of the lemma. (The network in Figure 3, which is not normal, has this situation with a = 10, q_{1} = 5, q_{2} = 6, x_{1} = x_{2} = 4, y = 2. Hence Figure 5b is wrong for the network in Figure 3, primarily because the normal paths from q_{1} to x_{1} and from q_{2} to x_{2} intersect.) I claim that for normal networks the normal paths from q_{1} to x_{1} and from q_{2} to x_{2} have no vertex in common. To see this, suppose there were such a common vertex w. In that case by following the normal paths backwards from w we infer that either q_{1} lies on the path from q_{2} to x_{2} or else q_{2} lies on the path from q_{1} to x_{1}. In the former case there is a directed path from q_{2} to q_{1}, whence the arc (q_{2}, a) is redundant, contradicting the normality of the network. In the latter case (q_{1}, a) is redundant. It follows that the paths are disjoint. In particular, x_{1} ≠ x_{2}.
Similarly, neither path can intersect the normal path from a to y. If, for example, the path from q_{1} to x_{1} intersected the path from a to y, then by following the normal paths backwards we would have that either q_{1} lies on the path from a to y or else a lies on the path from q_{1} to x_{1}. In the former case there would be a directed cycle from q_{1} to a to q_{1}, contradicting that the network is acyclic. In the latter case the hybrid vertex a would lie on the normal path from q_{1} to x_{1}, contradicting that it is a normal path.
Suppose p ∈ Par(N) is a parent map that satisfies p(a) = q_{1}, and let p' denote the complementary parent map that agrees with p except that p'(a) = q_{2}. Thus N_{ p } and N_{ p }_{'} agree except that N_{ p } contains the arc (q_{1}, a) while N_{ p }_{'} contains instead the arc (q_{2}, a). In particular they both contain the same paths from q_{1} to x_{1}, from q_{2} to x_{2}, and from a to y. Let v = mrca(q_{1}, q_{2}; N_{ p } ). There is a directed path from r to v since r is the root (possibly r = v). There are directed paths from v to q_{1} and v to q_{2} in N_{ p } which are disjoint except for v. Figure 5b thus shows a portion of N_{ p } relevant to the lemma, together with the arc (q_{2}, a).
In N_{ p } we see from Figure 5b that
By substituting these formulas we see that [d(y, x_{1}; N_{ p } ) + d(y, x_{2}; N_{ p } )  d(x_{1}, x_{2}; N_{ p } )]/ 2 = d(a, y; N_{ p } ) + ω(q_{1}, a). Since ω(q_{1}, a) = 0 because a is hybrid, it follows
The network N_{ p }_{'} is the same except that (q_{1}, a) is replaced by (q_{2}, a). A symmetric argument then shows
Since the indegree of a is 2, every parent map p satisfies either p(a) = q_{1} or p(a) = q_{2}. It follows that for every p ∈ Par(N), [d(y, x_{1}; N_{ p } ) + d(y, x_{2}; N_{ p } )  d(x_{1}, x_{2}; N_{ p } )]/2 = d(a, y; N_{ p } ).
When we take the expected value over all p ∈ Par(N) we obtain by linearity [d(y, x_{1}; N) + d(y, x_{2}; N)  d(x_{1}, x_{2}; N)]/2 = d(a, y; N). □
Lemma 4.5. Assume the hypotheses of Theorem 4.1. Suppose (a, b) is an arc such that b is normal, and a is hybrid with indegree 2 and parents q_{1}and q_{2}. Assume q_{1}and q_{2}have normal paths to x_{1}and x_{2}respectively in X. Suppose b has normal paths to w and z in X where the paths are disjoint except for b. Then
Proof. Since b is normal and the paths from b to w and from b to z are normal and disjoint except for b, we have d(w, z; N_{ p } ) = d(b, w; N_{ p } ) + d(b, z; N_{ p } ) for every parent map p, whence d(w, z; N) = d(b, w; N) + d(b, z; N). Similarly d(a, w; N) = ω(a, b) + d(b, w; N) and d(a, z; N) = ω(a, b) + d(b, z; N).
Hence [d(a, w; N) + d(a, z; N)  d(w, z; N)]/2
= [ω(a, b) + d(b, w; N) + ω(a, b) + d(b, z; N)  d(b, w; N)  d(b, z; N)]/2 = ω(a, b).
In addition, Lemma 4.4 applies with y replaced by w since the path from a to b to w is normal. Hence d(a, w; N) = [d(w, x_{1}; N) + d(w, x_{2}; N)  d(x_{1}, x_{2}; N)]/2.
Lemma 4.4 also applies with y replaced by z. Hence d(a, z; N) = [d(z, x_{1}; N) + d(z, x_{2}; N)  d(x_{1}, x_{2}; N)]/2.
By substitution it follows ω(a, b) = [d(a, w; N) + d(a, z; N)  d(w, z; N)]/2
= [d(w, x_{1}; N)+d(w, x_{2}; N)  2d(x_{1}, x_{2}; N)+d(z, x_{1}; N)+d(z, x_{2}; N)  2d(w, z; N)]/4.
But symmetry shows that for each parent map p, d(w, x_{2}; N_{ p } ) + d(z, x_{1}; N_{ p } ) = d(w, x_{1}; N_{ p } ) + d(z, x_{2}; N_{ p } ). Hence by taking the expected value over p ∈ Par(N), we have d(w, x_{2}; N) + d(z, x_{1}; N) = d(w, x_{1}; N) + d(z, x_{2}; N).
Thus ω(a, b) = [2d(w, x_{1}; N)  2d(x_{1}, x_{2}; N) + 2d(z, x_{2}; N)  2d(w, z; N)]/ 4 = [d(w, x_{1}; N)  d(x_{1}, x_{2}; N) + d(z, x_{2}; N)  d(w, z; N)]/2. □
For the next calculations we require a preliminary result. Suppose h_{0} is hybrid with indegree 2 and parents q_{1} and q_{2}. For a given parent map p with p(h_{0}) = q_{1}, let p' denote the complementary parent map and G_{ p } = N_{ p } ∪ N_{ p }_{'} be the network N_{ p } with the additional arc (q_{2}, h_{0}). Let H be the set of hybrid vertices of N. For each p ∈ Par(N) satisfying p(h_{0}) = q_{1}, let W(p) = ∏[α(p(h), h): h ∈ H, h ≠ h_{0}]. Hence Pr(p) = α(q_{1}, h_{0})W (p) and Pr(p') = α(q_{2}, h_{0})W (p).
Lemma 4.6. For any Xnetwork M which is a subnetwork of N, suppose C(M) is a linear combination of expressions of form d(a, b; M). Then
(1) C(G_{ p } ) = α(q_{1}, h_{0})C(N_{ p } ) + α(q_{2}, h_{0})C(N_{ p }_{'} ).
(2) C(N) = ∑[W(p)C(G_{ p } ): p ∈ Par(N), p(h_{0}) = q_{1}].
Proof. For (1), d(x, y; G_{ p } ) = α(q_{1}, h_{0})d(x, y; N_{ p } ) + α(q_{2}, h_{0})d(x, y; N_{ p }_{'}). For (2) each term d(a, b; N) = Pr(p)d(a, b; N_{ p } ). Hence C(N) = ∑Pr(p)C(N_{ p } ) by linearity
= ∑[Pr(p)C(N_{ p } ) + Pr(p')C(N_{ p }_{'}): p(h_{0}) = q_{1}]
= ∑[α(q_{1}, h_{0})W(p)C(N_{ p } ) + α(q_{2}, h_{0})W(p)C(N_{ p }_{'}): p(h_{0}) = q_{1}]
= ∑[W(p)[α(q_{1}, h_{0})C(N_{ p } ) + α(q_{2}, h_{0})C(N_{ p }_{'})]: p(h_{0}) = q_{1}]
= ∑[W (p)C(G_{ p } ): p ∈ Par(N), p(h_{0}) = q_{1}]. □
Lemma 4.7. Assume the hypotheses of Theorem 4.1. Suppose a is hybrid with indegree 2 and parents q_{1}and q_{2}. Assume the inheritance is equiprobable at a. Suppose there is a normal path from q_{1}to x_{1} ∈ X, from q_{2}to x_{2} ∈ X, and from a to y ∈ X. Then d(q_{1}, x_{1}; N) = d(x_{1}, y; N)  d(r, y; N)+[d(r, x_{1}; N)+d(r, x_{2}; N)  d(x_{1}, x_{2}; N)]/2.
Proof. See Figure 5b. As in the proof of Lemma 4.4, the portion of the figure including the paths from q_{1} to x_{1}, from q_{2} to x_{2}, from a to y and the arcs (q_{1}, a) and (q_{2}, a) accurately represents the hypotheses of the lemma since N is normal. Suppose p ∈ Par(N) satisfies p(a) = q_{1}. Let p' denote the complementary parent map such that p'(a) = q_{2}. Then all three normal paths in the statement lie in both N_{ p } and N_{ p }_{'} since they contain no hybrid arcs. Note that N_{ p } contains (q_{1}, a) and not (q_{2}, a), while N_{p '} contains (q_{2}, a) but not (q_{1}, a). Moreover, the path in N_{ p } between q_{1} and q_{2} must be the same as the path in N_{ p }_{'} between q_{1} and q_{2}. Let v = mrca(q_{1}, q_{2}; N_{ p } ); then v is also mrca(q_{1}, q_{2}; N_{ p }_{'}).
For any phylogenetic Xnetwork M with the same baseset X write L(M) = d(x_{1}, y; M)  d(r, y; M) + [d(r, x_{1}; M) + d(r, x_{2}; M)  d(x_{1}, x_{2}; M)]/2.
Note that L is a linear expression.
In both N_{ p } and N_{ p }_{'}, d(r, x_{1}) = d(r, v) + d(v, q_{1}) + d(q_{1}, x_{1})
d(r, x_{2}) = d(r, v) + d(v, q_{2}) + d(q_{2}, x_{2})
d(x_{1}, x_{2}) = d(q_{1}, x_{1}) + d(v, q_{1}) + d(v, q_{2}) + d(q_{2}, x_{2}).
Hence [d(r, x_{1}) + d(r, x_{2})  d(x_{1}, x_{2})]/2 = d(r, v).
In N_{ p } we find d(x_{1}, y; N_{ p } ) = d(x_{1}, q_{1}; N_{ p } ) + ω(q_{1}, a) + d(a, y; N_{ p } ), and d(r, y; N_{ p } ) = d(r, v; N_{ p } ) + d(v, q_{1}; N_{ p } ) + ω(q_{1}, a) + d(a, y; N_{ p } ).
Hence L(N_{ p } ) = d(x_{1}, y; N_{ p } )  d(r, y; N_{ p } ) + [d(r, x_{1}; N_{ p } ) + d(r, x_{2}; N_{ p } )  d(x_{1}, x_{2}; N_{ p } )]/2 = d(x_{1}, y; N_{ p } )  d(r, y; N_{ p } ) + d(r, v; N_{ p } ) = d(x_{1}, q_{1}; N_{ p } ) + ω(q_{1}, a) + d(a, y; N_{ p } )  d(r, v; N_{ p } )  d(v, q_{1}; N_{ p } )  ω(q_{1}, a)  d(a, y; N_{ p } ) + d(r, v; N_{ p } ) = d(x_{1}, q_{1}; N_{ p } )  d(v, q_{1}; N_{ p } ).
In N_{ p }_{'} we find d(x_{1}, y; N_{ p }_{'}) = d(q_{1}, x_{1}; N_{ p }_{'})+d(v, q_{1}; N_{ p }_{'})+d(v, q_{2}; N_{ p }_{'})+ω(q_{2}, a)+d(a, y; N_{ p }_{'}) d(r, y; N_{ p }_{'}) = d(r, v; N_{ p }_{'}) + d(v, q_{2}; N_{ p }_{'}) + ω(q_{2}, a) + d(a, y; N_{ p }_{'}).
Hence L(N_{ p }_{'}) = d(x_{1}, y; N_{ p }_{'})  d(r, y; N_{ p }_{'}) + [d(r, x_{1}; N_{ p }_{'}) + d(r, x_{2}; N_{ p }_{'})  d(x_{1}, x_{2}; N_{ p }_{'})]/2 = d(x_{1}, y; N_{ p }_{'})  d(r, y; N_{ p }_{'}) + d(r, v; N_{ p }_{'}) = d(q_{1}, x_{1}; N_{ p }_{'}) + d(v, q_{1}; N_{ p }_{'}). Thus L(N_{ p } ) + L(N_{ p }_{'}) = d(q_{1}, x_{1}; N_{ p } )  d(v, q_{1}; N_{ p } ) + d(q_{1}, x_{1}; N_{ p }_{'}) + d(v, q_{1}; N_{ p }_{'}) = d(q_{1}, x_{1}; N_{ p } ) + d(q_{1}, x_{1}; N_{ p }_{'}) since d(v, q_{1}; N_{ p } ) = d(v, q_{1}; N_{ p }_{'}).
Using Lemma 4.6(1) with h_{0} = a, we see that L(G_{ p } ) = α(q_{1}, a)L(N_{ p } ) + α(q_{2}, a)L(N_{ p }_{'}) so L(G_{ p } ) = (1/2)[L(N_{ p } ) + L(N_{ p }_{'})] by equiprobability at a.
From above it follows L(G_{ p } ) = (1/2)d(q_{1}, x_{1}; N_{ p } ) + (1/2)d(q_{1}, x_{1}; N_{ p }_{'}).
By Lemma 4.6(2) L(N) = ∑[W(p)L(G ): p ∈ Par(N), p(a) = q ]
= ∑[W(p)(1/2)d(q_{1}, x_{1}; N_{ p } ) + W (p)(1/2)d(q_{1}, x_{1}; N_{ p }_{'}): p(a) = q_{1}]
= ∑[Pr(p)d(q_{1}, x_{1}; N_{ p } ) + Pr(p')d(q_{1}, x_{1}; N_{ p }_{'}): p ∈ Par(N), p(a) = q_{1}]
= ∑[Pr(p)d(q_{1}, x_{1}; N_{ p } ): p ∈ Par(N)]
= d(q_{1}, x_{1}; N). □
It is interesting in the proof that different choices of the parent map p may yield different vertices v; nevertheless all these choices cancel out.
Lemma 4.8. Assume the hypotheses of Theorem 4.1. Suppose h is hybrid with indegree 2 and parents q_{1}and q_{2}. Assume equiprobable inheritance at h. Suppose there is a normal path from q_{2}to x_{2} ∈ X and from h to y ∈ X. Suppose q_{1}has normal child b and there are normal paths from b to z_{1} ∈ X and from b to z_{2} ∈ X such that these paths intersect only at b. Then ω(q_{1}, b) = [2d(z_{1}, y; N)  4d(r, y; N) + d(r, z_{1}; N) + 2d(r, x_{2}; N)  d(z_{1}, x_{2}; N) + 2d(z_{2}, y; N) + d(r, z_{2}; N)  d(z_{2}, x_{2}; N)  2d(z_{1}, z_{2}; N)]/4.
In particular, if b is a leaf, then ω(q_{1}, b) = [2d(b, y; N)  2d(r, y; N) + d(r, b; N) + d(r, x_{2}; N)  d(b, x_{2}; N)]/2.
Proof. By an argument like that for Lemma 4.2, for each p ∈ Par(N) we have ω(q_{1}, b) = [d(q_{1}, z_{1}; N_{ p } ) + d(q_{1}, z_{2}; N_{ p } )  d(z_{1}, z_{2}; N_{ p } )]/2
whence by averaging over p ∈ Par(N) we find ω(q_{1}, b) = [d(q_{1}, z_{1}; N) + d(q_{1}, z_{2}; N)  d(z_{1}, z_{2}; N)]/2.
But the paths from q_{1} to z_{1} and from q_{2} to z_{2} are normal, so by Lemma 4.7 d(q_{1}, z_{1}; N) = d(z_{1}, y; N) d(r, y; N)+[d(r, z_{1}; N)+ d(r, x_{2}; N) d(z_{1}, x_{2}; N)]/2 and d(q_{1}, z_{2}; N) = d(z_{2}, y; N)d(r, y; N)+[d(r, z_{2}; N)+d(r, x_{2}; N)d(z_{2}, x_{2}; N)]/2. Hence ω(q_{1}, b) = [d(z_{1}, y; N)d(r, y; N)+[d(r, z_{1}; N)+d(r, x_{2}; N)d(z_{1}, x_{2}; N)]/2 +d(z_{2}, y; N)d(r, y; N)+[d(r, z_{2}; N)+d(r, x_{2}; N)d(z_{2}, x_{2}; N)]/2d(z_{1}, z_{2}; N)]/2 = [2d(z_{1}, y; N) 2d(r, y; N)+d(r, z_{1}; N)+d(r, x_{2}; N)d(z_{1}, x_{2}; N)+2d(z_{2}, y; N) 2d(r, y; N) + d(r, z_{2}; N) + d(r, x_{2}; N)  d(z_{2}, x_{2}; N)  2d(z_{1}, z_{2}; N)]/4 = [2d(z_{1}, y; N) 4d(r, y; N)+d(r, z_{1}; N)+2d(r, x_{2}; N)d(z_{1}, x_{2}; N)+2d(z_{2}, y; N)+ d(r, z_{2}; N)  d(z_{2}, x_{2}; N)  2d(z_{1}, z_{2}; N)]/4.
If b is a leaf we may take b = z_{1} = z_{2} to obtain ω(q_{1}, b) = [2d(b, y; N)  4d(r, y; N) + d(r, b; N) + 2d(r, x_{2}; N)  d(b, x_{2}; N) + 2d(b, y; N) + d(r, b; N)  d(b, x_{2}; N)  2d(b, b; N)]/4 = [4d(b, y; N) 4d(r, y; N)+2d(r, b; N)+2d(r, x_{2}; N) 2d(b, x_{2}; N) 2d(b, b; N)]/4 = [2d(b, y; N)  2d(r, y; N) + d(r, b; N) + d(r, x_{2}; N)  d(b, x_{2}; N)]/2. □
We next prove analogues of Lemma 4.7 and Lemma 4.8 for the case where the hybrid is not equiprobable and we are dealing with the situation in Figure 2 rather than Figure 5b.
Lemma 4.9. Assume the hypotheses of Theorem 4.1. Suppose h_{0}is hybrid with indegree 2 and parents q_{1}and q_{2}. Suppose there is a normal path from q_{1}to x_{1} ∈ X, from q_{2}to x_{2} ∈ X, and from h to y ∈ X. Assume q_{3}is such that there is a normal path from q_{3}to q_{2}, a normal path from q_{3}to x_{3} ∈ X, but no directed path from q_{3}to q_{1}. Suppose M is a phylogenetic Xnetwork that is a subnetwork of N. Let
(a) w_{ rv } (M) = [d(r, x_{1}; M) + d(r, x_{3}; M)  d(x_{1}, x_{3}; M)]/2 = [d(r, x_{1}; M) + d(r, x_{2}; M)  d(x_{1}, x_{2}; M)]/2
(b) {w}_{v{q}_{3}}\left(M\right)=\left[d\left(r,{x}_{\mathsf{\text{3}}};M\right)+d\left({x}_{\mathsf{\text{1}}},{x}_{\mathsf{\text{2}}};M\right)d\left(r,{x}_{\mathsf{\text{1}}};M\right)d\left({x}_{\mathsf{\text{3}}},{x}_{\mathsf{\text{2}}};M\right)\right]/\mathsf{\text{2}}
(c) {w}_{{q}_{3}{x}_{3}}\left(M\right)=\left[d\left(r,{x}_{\mathsf{\text{3}}};M\right)+d\left({x}_{\mathsf{\text{3}}},{x}_{\mathsf{\text{2}}};M\right)d\left(r,{x}_{\mathsf{\text{2}}};M\right)\right]/\mathsf{\text{2}}
(d) w_{ hy } (M) = [d(y, x_{2}; M) + d(y, x_{1}; M)  d(x_{1}, x_{2}; M)]/2
(e) E_{2}(M) = d(x_{1}, y; M)  d(r, y; M) + w_{ rv } (M)
(f) E_{4}(M) = d(x_{2}, y; M)  d(r, y; M) + w_{ rv } (M)
(g) \alpha \left(M\right)=\left[\mathsf{\text{2}}d\left({x}_{\mathsf{\text{3}}},y;M\right)\mathsf{\text{2}}{w}_{{q}_{\mathsf{\text{3}}}{x}_{\mathsf{\text{3}}}}\left(M\right)\mathsf{\text{2}}{w}_{hy}\left(M\right)d\left(r,{x}_{\mathsf{\text{1}}};M\right)+{E}_{\mathsf{\text{2}}}\left(M\right)+\right.
\left(\right)close="]">\mathsf{\text{2}}{w}_{rv}\left(M\right)+{E}_{\mathsf{\text{4}}}\left(M\right)d\left(r,{x}_{\mathsf{\text{2}}};M\right)+\mathsf{\text{2}}{w}_{v{q}_{3}}\left(M\right)\n \n \n \n \n \n \n 4\n \n \n \n w\n \n \n v\n \n \n q\n \n \n 3\n \n \n \n \n \n \n M\n \n \n \n \n
(h) {w}_{v{q}_{1}}\left(M\right)=\left[d\left(r,{x}_{\mathsf{\text{1}}};M\right){E}_{\mathsf{\text{2}}}\left(M\right){w}_{rv}\left(M\right)\right]/\left[\mathsf{\text{2}}a\left(M\right)\right]
(i) {w}_{{q}_{\mathsf{\text{3}}}{q}_{2}}\left(M\right)=\left[d\left({x}_{\mathsf{\text{3}}},y;M\right){w}_{{q}_{\mathsf{\text{3}}}{x}_{\mathsf{\text{3}}}}\left(M\right){w}_{hy}\left(M\right)a\left(M\right)\left({w}_{v{q}_{3}}\left(M\right)+{w}_{v{q}_{1}}\left(M\right)\right)\right]/\left(\mathsf{\text{1}}a\left(M\right)\right)
(j) {w}_{{q}_{\mathsf{\text{1}}}{x}_{1}}\left(M\right)=d\left(r,{x}_{\mathsf{\text{1}}};M\right){w}_{rv}\left(M\right){w}_{v{q}_{1}}\left(M\right)
(k) {w}_{{q}_{\mathsf{\text{2}}}{x}_{2}}\left(M\right)=d\left(r,{x}_{\mathsf{\text{2}}};M\right){w}_{rv}\left(M\right){w}_{v{q}_{3}}\left(M\right){w}_{{q}_{\mathsf{\text{3}}}{q}_{2}}\left(M\right)
(l) C\left(M\right)=\mathsf{\text{2}}d\left({x}_{\mathsf{\text{3}}},y;M\right)\mathsf{\text{2}}{w}_{{q}_{3}{x}_{3}}\left(M\right)\mathsf{\text{2}}{w}_{hy}\left(M\right)d\left(r,{x}_{\mathsf{\text{1}}};M\right)+{E}_{\mathsf{\text{2}}}\left(M\right)+
\mathsf{\text{2}}{w}_{rv}\left(M\right)+{E}_{\mathsf{\text{4}}}\left(M\right)d\left(r,{x}_{\mathsf{\text{2}}};M\right)+\mathsf{\text{2}}{w}_{v{q}_{3}}\left(M\right)
(m)D\left(M\right)=\mathsf{\text{4}}{w}_{v{q}_{3}}\left(M\right).
Then
(i) α(q_{1}, h; N) = α(N) = C(N) /D(N).
(ii)d\left({q}_{\mathsf{\text{1}}},{x}_{\mathsf{\text{1}}};N\right)={w}_{{q}_{1}{x}_{1}}\left(N\right).
(iii)d\left({q}_{\mathsf{\text{2}}},{x}_{\mathsf{\text{2}}};N\right)={w}_{{q}_{2}{x}_{2}}\left(N\right).
Proof. Suppose p ∈ Par(N) is a parent map satisfying p(h_{0}) = q_{1} and p' is the complementary parent map agreeing with p except that p' (h_{0}) = q_{2}. Let G_{ p } = N_{ p } with the additional arc (q_{2}, h_{0}), so G_{ p } = N_{ p } ∪ N_{ p }_{'}. A portion of G_{ p } is shown in Figure 2. Note that Figure 2 is accurate for every p (although the vertex v may differ for different p) because of the hypotheses on q_{1}, q_{2}, q_{3}, h_{0}, x_{1}, x_{2}, x_{3}, and y.
Write u_{ rv } = d(r, v; G_{ p } ), {u}_{v{q}_{1}}=d\left(v,{q}_{\mathsf{\text{1}}};{G}_{p}\right), {u}_{v{q}_{3}}=d\left(v,{q}_{\mathsf{\text{3}}};{G}_{p}\right), {u}_{{q}_{3}{x}_{3}}=d\left({q}_{\mathsf{\text{3}}},{x}_{\mathsf{\text{3}}};{G}_{p}\right), {u}_{{q}_{3}{q}_{2}}=d\left({q}_{\mathsf{\text{3}}},{q}_{\mathsf{\text{2}}};{G}_{p}\right), {u}_{{q}_{2}{x}_{2}}=d\left({q}_{\mathsf{\text{2}}},{x}_{\mathsf{\text{2}}};{G}_{p}\right), u_{ hy } = d(h, y; G_{ p } ), {u}_{{q}_{1}{x}_{1}}=d\left({q}_{\mathsf{\text{1}}},{x}_{\mathsf{\text{1}}};{G}_{p}\right).
The definition of the treeaverage distance yields the following ten equations for G_{ p } , where α = α(q_{1}, h_{0}).
d\left(r,{x}_{\mathsf{\text{1}}};{G}_{p}\right)={u}_{rv}+{u}_{v{q}_{\mathsf{\text{1}}}}+{u}_{{q}_{\mathsf{\text{1}}}{x}_{\mathsf{\text{1}}}}
d\left(r,{x}_{\mathsf{\text{3}}};{G}_{p}\right)={u}_{rv}+{u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{{q}_{\mathsf{\text{3}}}{x}_{\mathsf{\text{3}}}}
d\left(r,{x}_{\mathsf{\text{2}}};{G}_{p}\right)={u}_{rv}+{u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}+{u}_{{q}_{\mathsf{\text{2}}}{x}_{\mathsf{\text{2}}}}
\begin{array}{l}d\left(r,y;{G}_{p}\right)=\alpha \left[{u}_{rv}+{u}_{v{q}_{1}}+{u}_{hy}\right]+\left(\mathsf{\text{1}}\alpha \right)\left[{u}_{rv}+{u}_{v{q}_{3}}+{u}_{{q}_{\mathsf{\text{3}}}{q}_{2}}+{u}_{hy}\right]\\ ={u}_{rv}+{u}_{hy}+{\alpha}_{uv{q}_{\mathsf{\text{1}}}}+\left(\mathsf{\text{1}}\alpha \right)\left({u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}\right)\end{array}
d\left({x}_{\mathsf{\text{1}}},{x}_{\mathsf{\text{3}}};{G}_{p}\right)={u}_{{q}_{\mathsf{\text{1}}}{x}_{\mathsf{\text{1}}}}+{u}_{v{q}_{\mathsf{\text{1}}}}+{u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{{q}_{\mathsf{\text{3}}}{x}_{\mathsf{\text{3}}}}
d\left({x}_{\mathsf{\text{1}}},{x}_{\mathsf{\text{2}}};{G}_{p}\right)={u}_{{q}_{\mathsf{\text{1}}}{x}_{\mathsf{\text{1}}}}+{u}_{v{q}_{\mathsf{\text{1}}}}+{u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}+{u}_{{q}_{\mathsf{\text{2}}}{x}_{\mathsf{\text{2}}}}
\begin{array}{l}d\left({x}_{\mathsf{\text{1}}},y;{G}_{p}\right)=\alpha \left[{u}_{{q}_{\mathsf{\text{1}}}{x}_{\mathsf{\text{1}}}}+{u}_{hy}\right]+\left(\mathsf{\text{1}}\alpha \right)\left[{u}_{{q}_{\mathsf{\text{1}}}{x}_{\mathsf{\text{1}}}}+{u}_{v{q}_{\mathsf{\text{1}}}}+{u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}+{u}_{hy}\right]\\ ={u}_{{q}_{\mathsf{\text{1}}}{x}_{\mathsf{\text{1}}}}+{u}_{hy}+\left(\mathsf{\text{1}}\alpha \right)\left[{u}_{v{q}_{\mathsf{\text{1}}}}+{u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}\right]\end{array}
d\left({x}_{\mathsf{\text{3}}},{x}_{\mathsf{\text{2}}};{G}_{p}\right)={u}_{{q}_{\mathsf{\text{3}}}{x}_{\mathsf{\text{3}}}}+{u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}+{u}_{{q}_{\mathsf{\text{2}}}{x}_{\mathsf{\text{2}}}}
\begin{array}{l}d\left({x}_{\mathsf{\text{3}}},y;{G}_{p}\right)=\alpha \left[{u}_{{q}_{\mathsf{\text{3}}}{x}_{\mathsf{\text{3}}}}+{u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{v{q}_{\mathsf{\text{1}}}}+{u}_{hy}\right]+\left(\mathsf{\text{1}}\alpha \right)\left[{u}_{{q}_{\mathsf{\text{3}}}{x}_{\mathsf{\text{3}}}}+{u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}+{u}_{hy}\right]\\ ={u}_{{q}_{\mathsf{\text{3}}}{x}_{\mathsf{\text{3}}}}+{u}_{hy}+\alpha \left({u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{v{q}_{\mathsf{\text{1}}}}\right)+\left(\mathsf{\text{1}}\alpha \right)\left({u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}\right)\end{array}
\begin{array}{l}d\left({x}_{\mathsf{\text{2}}},y;{G}_{p}\right)=\alpha \left[{u}_{{q}_{\mathsf{\text{2}}}{x}_{\mathsf{\text{2}}}}+{u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}+{u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{v{q}_{\mathsf{\text{1}}}}+{u}_{hy}\right]+\left(\mathsf{\text{1}}\alpha \right)\left[{u}_{{q}_{\mathsf{\text{2}}}{x}_{\mathsf{\text{2}}}}+{u}_{hy}\right]\\ ={u}_{{q}_{\mathsf{\text{2}}}{x}_{\mathsf{\text{2}}}}+{u}_{hy}+\alpha \left({u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}+{u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{v{q}_{\mathsf{\text{1}}}}\right)\end{array}
We now solve this system of ten equations.
It is straightforward by simplifying the expressions that [d(r, x_{1}; G_{ p } ) + d(r, x_{3}; G_{ p } )  d(x_{1}, x_{3}; G_{ p } )]/2 = u_{ rv } so a comparison with (a) shows that w_{ rv } (G_{ p } ) = u_{ rv } . Similarly [d(r, x_{1}; G_{ p } ) + d(r, x_{2}; G_{ p } )  d(x_{1}, x_{2}; G_{ p } )]/2 = u_{ rv } so the two expressions in (a) for w_{ rv } (G_{ p } ) are the same.
Likewise from the ten equations, \left[d\left(r,{x}_{\mathsf{\text{3}}};{G}_{p}\right)+d\left({x}_{\mathsf{\text{1}}},{x}_{\mathsf{\text{2}}};{G}_{p}\right)d\left(r,{x}_{\mathsf{\text{1}}};{G}_{p}\right)d\left({x}_{\mathsf{\text{3}}},{x}_{\mathsf{\text{2}}};{G}_{p}\right)\right]/\mathsf{\text{2}}={u}_{v{q}_{3}}
so {w}_{v{q}_{\mathsf{\text{3}}}}\left({G}_{p}\right)={u}_{v{q}_{\mathsf{\text{3}}}};
\left[d\left(r,{x}_{\mathsf{\text{3}}};{G}_{p}\right)+d\left({x}_{\mathsf{\text{3}}},{x}_{\mathsf{\text{2}}};{G}_{p}\right)d\left(r,{x}_{\mathsf{\text{2}}};{G}_{p}\right)\right]/\mathsf{\text{2}}={u}_{{q}_{3}{x}_{3}}
so {w}_{{q}_{\mathsf{\text{3}}}{x}_{\mathsf{\text{3}}}}\left({G}_{p}\right)={u}_{{q}_{\mathsf{\text{3}}}{x}_{\mathsf{\text{3}}}};
[d(y, x_{2}; G_{ p } ) + d(y, x_{1}; G_{ p } )  d(x_{1}, x_{2}; G_{ p } )]/2 = u_{ hy } so w_{ hy } (G_{ p } ) = u_{ hy } .
From the system of ten equations we see
{E}_{\mathsf{\text{2}}}\left({G}_{p}\right)={u}_{{q}_{\mathsf{\text{1}}}{x}_{\mathsf{\text{1}}}}+\left(\mathsf{\text{1}}\alpha \right){u}_{v{q}_{\mathsf{\text{1}}}}{\alpha}_{uv{q}_{\mathsf{\text{1}}}}={u}_{{q}_{\mathsf{\text{1}}}{x}_{\mathsf{\text{1}}}}+\left(\mathsf{\text{1}}\mathsf{\text{2}}\alpha \right){u}_{v{q}_{\mathsf{\text{1}}}}.
Since d\left(r,{x}_{\mathsf{\text{1}}};{G}_{p}\right)={u}_{rv}+{u}_{v{q}_{1}}+{u}_{{q}_{\mathsf{\text{1}}}{x}_{1}} it follows d\left(r,{x}_{\mathsf{\text{1}}};{G}_{p}\right)={u}_{rv}+{u}_{v{q}_{1}}+{E}_{\mathsf{\text{2}}}\left({G}_{p}\right)\left(\mathsf{\text{1}}\mathsf{\text{2}}\alpha \right){u}_{v{q}_{1}} whence
Similarly {E}_{\mathsf{\text{4}}}\left({G}_{p}\right)={u}_{{q}_{\mathsf{\text{2}}}{x}_{\mathsf{\text{2}}}}+{u}_{hy}+\alpha \left({u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}+{u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{v{q}_{\mathsf{\text{1}}}}\right){u}_{rv}{u}_{hy}\alpha {u}_{v{q}_{\mathsf{\text{1}}}}\left(\mathsf{\text{1}}\alpha \right)\left({u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}\right)+{u}_{rv}
={u}_{{q}_{\mathsf{\text{2}}}{x}_{\mathsf{\text{2}}}}+\alpha \left({u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}+{u}_{v{q}_{\mathsf{\text{3}}}}\right)\left(\mathsf{\text{1}}\alpha \right)\left({u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}\right)={u}_{{q}_{\mathsf{\text{2}}}{x}_{\mathsf{\text{2}}}}+\left(\mathsf{\text{2}}\alpha \mathsf{\text{1}}\right)\left({u}_{v{q}_{\mathsf{\text{3}}}}+{u}_{{q}_{\mathsf{\text{3}}}{q}_{\mathsf{\text{2}}}}\right).
But from d\left(r,{x}_{\mathsf{\text{2}}};{G}_{p}\right)={u}_{rv}+{u}_{v{q}_{3}}+{u}_{{q}_{\mathsf{\text{3}}}{q}_{2}}+{u}_{{q}_{2}{x}_{2}} it follows {u}_{{q}_{2}{x}_{2}}=d\left(r,{x}_{\mathsf{\text{2}}};{G}_{p}\right){u}_{rv}{u}_{v{q}_{3}}{u}_{{q}_{3}{q}_{2}} so {E}_{\mathsf{\text{4}}}\left({G}_{p}\right)=d\left(r,{x}_{\mathsf{\text{2}}};{G}_{p}\right){u}_{rv}{u}_{v{q}_{3}}{u}_{{q}_{3}{q}_{2}}+\left(\mathsf{\text{2}}\alpha \mathsf{\text{1}}\right)\left({u}_{v{q}_{3}}+{u}_{{q}_{3}{q}_{2}}\right). This can be solved to show
Since d\left({x}_{\mathsf{\text{3}}},y;{G}_{p}\right)={u}_{{q}_{3}{x}_{3}}+{u}_{hy}+a\left({u}_{v{q}_{3}}+{u}_{v{q}_{1}}\right)+\left(\mathsf{\text{1}}\alpha \right)\left({u}_{{q}_{3}{q}_{2}}\right) we obtain
Note (1), (2), and (3) are equations in the unknowns α, {w}_{v{q}_{1}},{w}_{{q}_{3}{q}_{2}} in terms of known quantities such as w_{ rv } , {w}_{{q}_{3}{x}_{3}}, w_{ hy } , {w}_{v{q}_{3}}, E_{4}(G_{ p } ). These three equations in three unknowns can be solved to yield for G_{ p } (for any p ∈ Par(N) with p(h) = q_{1}) the following:
\begin{array}{c}\alpha \left({G}_{p}\right)=[\mathsf{\text{2}}d\left({x}_{\mathsf{\text{3}}},y;{G}_{p}\right)\mathsf{\text{2}}{w}_{{q}_{3}{x}_{3}}\mathsf{\text{2}}{w}_{hy}d\left(r,{x}_{\mathsf{\text{1}}};{G}_{p}\right)+{E}_{\mathsf{\text{2}}}\left({G}_{p}\right)+\mathsf{\text{2}}{w}_{rv}+{E}_{\mathsf{\text{4}}}\left({G}_{p}\right)\\ d\left(r,{x}_{\mathsf{\text{2}}};{G}_{p}\right)+\mathsf{\text{2}}{w}_{v{q}_{3}}]/\left[\mathsf{\text{4}}{w}_{v{q}_{3}}\right]\end{array}
{w}_{v{q}_{1}}\left({G}_{p}\right)=\left[d\left(r,{x}_{\mathsf{\text{1}}};{G}_{p}\right){E}_{\mathsf{\text{2}}}\left({G}_{p}\right){w}_{rv}\right]/\left[\mathsf{\text{2}}\alpha \left({G}_{p}\right)\right]
{w}_{{q}_{3}{q}_{2}}\left({G}_{p}\right)=\left[d\left({x}_{\mathsf{\text{3}}},y;{G}_{p}\right){w}_{{q}_{3}{x}_{3}}{w}_{hy}\alpha \left({w}_{v{q}_{3}}+{w}_{v{q}_{1}}\right)\right]/\left(\mathsf{\text{1}}\alpha \left({G}_{p}\right)\right).
Moreover, the value of α is independent of the choice of p.
We thus have C(G_{ p } ) = αD(G_{ p } ) for each p satisfying p(h_{0}) = q_{1}.
By Lemma 4.6, C(N) = ∑[W(p)C(G_{ p } ): p(h_{0}) = q_{1}] and D(N) = ∑[W(p)D(G_{ p } ): p(h_{0}) = q_{1}].
Hence C(N) = ∑[W(p) αD(G_{ p } ): p(h_{0}) = q_{1}] = α ∑[W(p)D(G_{ p } ): p(h_{0}) = q_{1}] = αD(N).
It follows that α = C(N) ≠ D(N). This proves (i).
Similarly, for any p ∈ Par(N) satisfying p(h_{0}) = q_{1}, since the path from q_{1} to x_{1} is normal, d\left({q}_{\mathsf{\text{1}}},{x}_{\mathsf{\text{1}}};N\right)=d\left({q}_{\mathsf{\text{1}}},{x}_{\mathsf{\text{1}}};{G}_{p}\right)={w}_{{q}_{1}{x}_{1}}\left({G}_{p}\right). By Lemma 4.6 d(q_{1}, x_{1}; N) = ∑[W(p)d(q_{1}, x_{1}; G_{ p } ): p ∈ Par(N), p(h_{0}) = q_{1}] =\sum \left[W\left(p\right){w}_{{q}_{1}{x}_{1}}\left({G}_{p}\right):p\in Par\left(N\right),p\left({h}_{0}\right)={q}_{\mathsf{\text{1}}}\right]={w}_{{q}_{1}{x}_{1}}\left(N\right), proving (ii). Similarly d\left({q}_{\mathsf{\text{2}}},{x}_{\mathsf{\text{2}}};N\right)={w}_{{q}_{2}{x}_{2}}\left(N\right), proving (iii). □
Lemma 4.10. Assume the hypotheses of Theorem 4.1. Suppose h_{0}is hybrid with indegree 2 and parents q_{1}and q_{2}. Suppose there is a normal path from q_{3}to q_{2}, from q_{2}to x_{2} ∈ X, from q_{1}to x_{1} ∈ X, from h_{0}to y ∈ X, and from q_{3}to x_{3} ∈ X but no directed path from q_{3}to q_{1}.
(a) Suppose q_{1}has normal child b and there are normal paths from b to x_{1} ∈ X and from b to z_{1} ∈ X such that these paths intersect only at b. Then ω(q_{1}, b) = [d(q_{1}, x_{1}; N) + d(q_{1}, z_{1}; N)  d(x_{1}, z_{1}; N)]/2, where d(q_{1}, x_{1}; N) and d(q_{1}, z_{1}; N) are determined by Lemma 4.9.
(b) Suppose q_{2}has normal child c and there are normal paths form c to x_{2} ∈ X and from c to z_{2} ∈ X such that these paths intersect only at c. Then ω(q_{2}, c) = [d(q_{2}, x_{2}; N) + d(q_{2}, z_{2}; N)  d(x_{2}, z_{2}; N)]/2, where d(q_{2}, x_{2}; N) and d(q_{2}, z_{2}; N) are determined by Lemma 4.9.
Proof. For (a), Lemma 4.9 applies to yield d(q_{1}, x_{1}; N). By a parallel computation with z_{1} replacing x_{1}, Lemma 4.9 also yields d(q_{1}, z_{1}; N). Since the paths from q_{1} to x_{1} and z_{1} are normal, it follows that ω(q_{1}, b) = d(q_{1}, b; N) = [d(q_{1}, x_{1}; N)+d(q_{1}, z_{1}; N)d(x_{1}, z_{1}; N)]/2 by an argument like that of Lemma 4.2. A similar argument shows (b). □
We now turn to the proof of the main theorem 4.1:
Proof. We seek to reconstruct each weight ω (a, b) and each probability. If b is hybrid, then by assumption ω (a, b) = 0. Hence we may assume b is normal.
At the tail a we have the following exhaustive list of possibilities:
Case A_{1}. There is a normal path from a to some w ∈ X such that the path does not go through b. This includes the possibility where a ∈ X (in which case the trivial path at a satisfies the condition). Since r ∈ X, this includes the case a = r.
Case A_{2}. a is hybrid and b is its unique child. Since a is hybrid it has two parents q_{1} and q_{2}. Choose a normal path from q_{1} to w_{1} ∈ X and from q_{2} to w_{2} ∈ X.
Case A_{3}. a has a hybrid child h' with other parent q'. Choose a normal path from q' to w_{1} ∈ X and from h' to w_{2} ∈ X.
At the head b, either b ∈ X or else b is not a leaf and b has at least two children, at least one of which must be normal. Hence we have the following exhaustive list of possibilities:
Case B_{1}. b ∈ X.
Case B_{2}. b has two normal children c_{1} and c_{2}. For i = 1, 2 there is a normal path from c_{ i } to x_{ i } ∈ X.
Case B_{3}. b has one normal child c and a hybrid child h for which there is exactly one other parent q. There is a normal path from c to x ∈ X, from h to y ∈ X, and from q to z ∈ X.
Since there are 3 cases for a and three cases for b, we must consider 9 cases. The case where A_{ i } is combined with B_{ j } will be denoted Case A_{ i }B_{ j } . We will compute ω(a, b). To compute the probabilities, it suffices to compute α(a, h') in situation A_{3}.
Case A_{1}B_{1}. Assume there is a normal path from a to some w ∈ X such that the path does not go through b, and b ∈ X. Then Lemma 4.3(2) shows that ω(a, b) = [d(r, b; N) + d(w, b; N)  d(r, w; N)]/2.
Case A_{1}B_{2}. Assume there is a normal path from a to some w ∈ X such that the path does not go through b. Assume b has two normal children c_{1} and c_{2}. For i = 1, 2 there is a normal path from c_{ i } to x_{ i } ∈ X. In this case, Lemma 4.3(3) shows that ω(a, b) = [d(r, x_{1}; N) + d(w, x_{2}; N)  d(r, w; N)  d(x_{1}, x_{2}; N)]/2.
Case A_{2}B_{1}. Assume a is hybrid and b is its unique child. Assume b ∈ X. Since a is hybrid it has two parents q_{1} and q_{2}. Choose a normal path from q_{1} to w_{1} ∈ X and from q_{2} to w_{2} ∈ X. In this case, Lemma 4.4 shows that ω(a, b) = [d(b, w_{1}; N) + d(b, w_{2}; N)  d(w_{1}, w_{2}; N)]/2.
Case A_{2}B_{2}. Assume a is hybrid and b is its unique child. Since a is hybrid it has two parents q_{1} and q_{2}. Choose a normal path from q_{1} to w_{1} ∈ X and from q_{2} to w_{2} ∈ X. Assume b has two normal children c_{1} and c_{2}. For i = 1, 2 there is a normal path from c_{ i } to x_{ i } ∈ X. In this case by Lemma 4.5 we have ω(a, b) = [d(w_{1}, x_{1}; N) + d(w_{2}, x_{2}; N)  d(w_{1}, w_{2}; N)  d(x_{1}, x_{2}; N)]/2.
Case A_{3}B_{1}. Assume a has a hybrid child h' with other parent q'. Choose a normal path from q' to w_{1} ∈ X and from h' to w_{2} ∈ X. Assume b ∈ X. In the equiprobable case, Lemma 4.7 with q_{1} = a, x_{1} = b, x_{2} = w_{2} shows ω(a, b) = d(a, b; N) = d(b, w_{2}; N)  d(r, w_{2}; N) + [d(r, b; N) + d(r, w_{1}; N)  d(b, w_{1}; N)]/2.
In the other case, Lemma 4.9(ii) with q_{1} = a and x_{1} = b yields ω(a, b) while Lemma 4.9(i) yields α(a, h').
Case A_{3}B_{2}. Assume a has a hybrid child h' with other parent q'. Choose a normal path from q' to w_{1} ∈ X and from h' to w_{2} ∈ X. Assume b has two normal children c_{1} and c_{2}. For i = 1, 2 there is a normal path from c_{ i } to x_{ i } ∈ X. In the equiprobable case, Lemma 4.8 with q_{1} = a, y = w_{2}, z_{1} = x_{1}, z_{2} = x_{2}, h = h', q_{2} = q', x_{2} = w_{1} shows ω(a, b) = [2d(x_{1}, w_{2}; N)  4d(r, w_{2}; N)+d(r, x_{1}; N)+2d(r, w_{1}; N)  d(x_{1}, w_{1}; N)+ 2d(x_{2}, w_{2}; N) + d(r, x_{2}; N)  d(x_{2}, w_{1})  2d(x_{1}, x_{2})]/ 4.
In the nonequiprobable case Lemma 4.10a applies to determine ω(a, b), while Lemma 4.9(i) determines α(a, h').
Case A_{1}B_{3}. Assume that there is a normal path from a to some w ∈ X such that the path does not go through b. Assume b has one normal child c and a hybrid child h for which there is exactly one other parent q. There is a normal path from c to x ∈ X, from h to y ∈ X, and from q to z ∈ X. See Figure 6. Since N is normal, an argument like that for Lemma 4.4 shows that Figure 6 is accurate for the situation.
In this situation, by Lemma 4.4(2), d(a, x; N) = [d(x, r; N) + d(x, w; N)  d(r, w; N)]/2. In the equiprobable case, by Lemma 4.7, with b = q_{1}, x_{1} = x, z = x_{2}, d(b, x; N) = d(x, y; N)  d(r, y; N) + [d(r, x; N) + d(r, z; N)  d(x, z; N)]/2.
Finally ω(a, b) = d(a, x; N)  d(b, x; N). In the nonequiprobable case, Lemma 4.9 with a = q_{3} and b = q_{2} yields the computation of w\left(a,b\right)={w}_{{q}_{3},{q}_{2}}\left(N\right) and Lemma 4.9(i) shows α(b, h) = α(q_{2}, h; N) = 1  α(q_{1}, h; N).
Case A_{2}B_{3}. Assume a is hybrid and b is its unique child. Since a is hybrid it has two parents q_{1} and q_{2}. Choose a normal path from q_{1} to w_{1} ∈ X and from q_{2} to w_{2} ∈ X. Assume b has one normal child c and a hybrid child h for which there is exactly one other parent q. Choose a normal path from c to x ∈ X, from h to y ∈ X, and from q to z ∈ X.
See Figure 7a. An argument like that for Lemma 4.4 shows that the figure accurately represents what is needed in the argument. In particular, the normal paths from q_{1} to w_{1}, from q_{2} to w_{2}, and from q to x have no vertex in common. Similarly the paths from q to z, from b to x, and from h to y have no vertex in common.
By Lemma 4.4, d(a, x; N) = [d(x, w_{1}; N) + d(x, w_{2}; N)  d(w_{1}, w_{2}; N)]/2. In the equiprobable case, by Lemma 4.7, d(b, x; N) = d(x, y; N)  d(r, y; N) + [d(r, x; N) + d(r, z; N)  d(x, z; N)]/2.
In the nonequiprobable case, Lemma 4.9(ii) or 4.9(iii) similarly yields d(b, x; N). But ω(a, b) = d(a, x; N)  d(b, x; N) since the path from a to x is normal, so subtracting these formulas leads to a formula for ω(a, b).
Case A_{3}B_{3}. Assume that a has a hybrid child h' with other parent q'. Choose a normal path from q' to w_{1} ∈ X and from h' to w_{2} ∈ X. Assume b has one normal child c and a hybrid child h for which there is exactly one other parent q. Choose is a normal path from c to x ∈ X, from h to y ∈ X, and from q to z ∈ X.
See Figure 7b. The argument will make two uses of Lemma 4.7 or 4.9, and Figure 7b accurately represents the situation by arguments like those in Lemma 4.4.
In the equiprobable case, by Lemma 4.7, d(a, x; N) = d(x, w_{2}; N)d(r, w_{2}; N)+[d(r, x; N)+d(r, w_{1}; N)d(x, w_{1}; N)]/2, d(b, x; N) = d(x, y; N)  d(r, y; N) + [d(r, x; N) + d(r, z; N)  d(x, z; N)]/2.
But then ω(a, b) = d(a, x; N)  d(b, x; N) since the path from a to x is normal. In the other case, Lemma 4.9(ii) or 4.9(iii) yields d(a, x; N) and d(b, x; N) and again ω(a, b) is determined. Moreover, Lemma 4.9(i) yields α(a, h') and α(q, h).
Since all 9 cases yield a formula for ω(a, b) and also any relevant probability when a is parent to a hybrid and b is a normal child of a, the proof of the theorem is complete.
Corollary 4.11. Suppose N = (V, A, r, X) is a normal phylogenetic Xnetwork such that each hybrid vertex has indegree 2 and, if it is not a leaf, outdegree 1. Let n = X and a be the total number of arcs directed into any normal vertex. Thena\le \left(\begin{array}{c}n\\ 2\end{array}\right).
Proof. We may assume that the arcs have weights and that each hybrid is equiprobable. Each of the weights ω(u, v) if (u, v) is an arc directed into a normal vertex v is uniquely determined from the \left(\begin{array}{c}n\\ 2\end{array}\right) linear equations obtained from the \left(\begin{array}{c}n\\ 2\end{array}\right) distances given by the treeaverage distance function. Hence there are at most \left(\begin{array}{c}n\\ 2\end{array}\right) variables. □
Figure 1 gives an example in which n = 4 and there are exactly \left(\begin{array}{c}4\\ 2\end{array}\right)=6 arcs directed into a normal vertex. Hence the bound in Corollary 4.11 is tight.
5 An example
We illustrate the calculations of Section 4 to find the values of the weight function given the network and the treeaverage distance. Figure 4 exhibits a phylogenetic Xnetwork N = (V, A, r, X) with X = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11} and root 1 which satisfies the hypotheses of Theorem 4.1. Observe that by Corollary 3.4, N displays exactly 4 trees, and there are exactly four parent maps. Let ω be a weight function on A such that ω(a, b) = 0 when b is hybrid but ω(a, b) ≥ 0 when b is normal. Let d(x, y) = d(x, y; N) denote the resulting treeaverage distance between x and y in X. Suppose first that we assume equiprobability about the network, so each α(a, b) = 1/2 when b is hybrid. There are 24 arcs for which we compute the weights as follows:
First, since 16 and 20 are hybrid, we have ω(17, 16) = ω(15, 16) = ω(21, 20) = ω(23, 20) = 0.
By Lemma 4.3(2),
ω(19, 8) = [d(8, 1) + d(7, 8)  d(1, 7)]/2, ω(19, 7) = [d(7, 1) + d(7, 8)  d(1, 8)]/2, and we similarly find ω(14, 3), ω(13, 2), and ω(22, 10).
By Lemma 4.3(1), ω(1, 22) = [d(1, 9) + d(1, 11)  d(9, 11)]/2. By Lemma 4.3(3), ω(18, 19) = [d(1, 8) + d(6, 7)  d(1, 6)  d(7, 8)]/2, ω(12, 13) = [d(1, 2) + d(11, 3)  d(1, 11)  d(2, 3)]/2, and we similarly find ω(13, 14) and ω(22, 12).
By Lemma 4.5, ω(20, 18) = [d(9, 8) + d(11, 6)  d(9, 11)  d(8, 6)]/2. By Lemma 4.4, ω(16, 5) = [d(5, 4) + d(5, 6)  d(4, 6)]/2.
By Lemma 4.7 in the equiprobable case, ω(21, 9) = d(9, 7)  d(1, 7) + [d(1, 9) + d(1, 11)  d(9, 11)]/2, ω(23, 11) = d(11, 7)  d(1, 7) + [d(1, 9) + d(1, 11)  d(9, 11)]/2, and we similarly find ω(17, 6) and ω(15, 4).
By Lemma 4.3(2), d(18, 6) = [d(6, 1) + d(6, 7)  d(1, 7)]/2. But then ω(18, 17) = d(18, 6)  ω(17, 6).
Similarly by Lemma 4.2(2) d(14, 4) = [d(4, 1) + d(4, 3)  d(1, 3)]/2 and then ω(14, 15) = d(14, 4)  ω(15, 4).
Similarly by Lemma 4.3(2) d(12, 11) = [d(11, 1) + d(11, 2)  d(1, 2)]/2 and then ω(12, 23) = d(12, 11)  ω(23, 11).
Finally, d(10, 9) is known since 10 ∈ X, so ω(10, 21) = d(10, 9)  ω(21, 9). This concludes the calculation of all the weights for N in the equiprobable case. Note that in several of these calculations, there were alternative choices possible. For example, we also have ω(22, 12) = [d(1, 4) + d(9, 11)  d(1, 9)  d(4, 11)]/2.
The general case where we do not assume equiprobability proceeds in a similar manner, different from the above only in the use of Lemma 4.9 in place of Lemma 4.7. We compute ω(21, 9), ω(23, 11), α(21, 20), and α(23, 20) using Lemma 4.9 with x_{1} = 9, x_{2} = 11, x_{3} = 2, and y = 7. We compute ω(17, 6), ω(15, 4), α(17, 16), and α(15, 16) using Lemma 4.9 with x_{1} = 6, x_{2} = 4, x_{3} = 3, y = 5.
6 Extensions
Theorem 4.1 applies only to normal phylogenetic networks for which the indegree of each hybrid vertex is 2. It would be interesting to see whether the same results are true without the restriction on the indegree of a hybrid vertex. Whereas I have verified this for several individual networks with vertices of indegree 3 or 4, I do not have a general proof.
In the event of a true hybridization between two sexual species, it is plausible to assume that the indegree is 2 and that each parent contributes approximately equally. Hence in this case it is plausible that we would obtain the treeaverage distance utilized in Theorem 4.1. Nevertheless, backcrossing of the hybrid h with one of the parental species q_{1} could easily increase the fraction of the genome of q_{1} in h, changing it from 50%. Similarly, if the reticulation is actually a horizontal gene transfer, common between bacteria, then there is no guarantee that the sources contribute approximately equally. Hence the occurrence of probabilities different from 1/2 seems likely.
References
Bandelt HJ, Dress A: Split decomposition: a new and useful approach to phylogenetic analysis of distance data. Molecular Phylogenetics and Evolution. 1992, 1: 242252. 10.1016/10557903(92)900218
Baroni M, Semple C, Steel M: A framework for representing reticulate evolution. Annals of Combinatorics. 2004, 8: 391408.
Moret BME, Nakhleh L, Warnow T, Linder CR, Tholse A, Padolina A, Sun J, Timme R: Phylogenetic networks: modeling, reconstructibility, and accuracy. IEEE/ACM Transactions on Computational Biology and Bioinformatics. 2004, 1: 1323. 10.1109/TCBB.2004.10
Nakhleh L, Warnow T, Linder CR: Reconstructing reticulate evolution in speciestheory and practice. Proceedings of the Eighth Annual International Conference on Computational Molecular Biology (RECOMB '04 March 2731, 2004. Edited by: Bourne PE, Gusfield D. 2004, 337346. San Diego, California), ACM, New York
Huson D, Rupp R, Scornavacca C: Phylogenetic Networks: Concepts, Algoriithms and Applications. 2010, Cambridge, Cambridge University Press
Felsenstein J: Inferring Phylogenies. 2004, Sunderland, Massachusetts, Sinauer
Jukes TH, Cantor CR: Evolution of protein molecules. Evolution of Life: Fossils, Molecules, and Culture. Edited by: S Osawa, Honjo T. 1969, 7995. SpringerVerlag, Tokyo
Kimura M: A simple model for estimating evolutionary rates of base substitutions through comparative studies of nucleotide sequences. Journal of Molecular Evolution. 1980, 16: 111120. 10.1007/BF01731581
Hasegawa M, Kishino H, Yano K: Dating of the humanape splitting by a molecular clock of mitochondrial DNA. J Mol Evol. 1985, 22 (1985): 160174.
Lake JA: Reconstructing evolutionary trees from DNA and protein sequences: Paralinear distances. Proc Natl Acad Sci USA. 1994, 91 (1994): 14551459.
Steel MA: Recovering a tree from the leaf colorations it generates under a Markov model. Appl Math Lett. 1994, 7 (2): 1923. 10.1016/08939659(94)900248
Saitou N, Nei M: The neighborjoining method: A new method for reconstructing phylogenetic trees. Molecular Biology and Evolution. 1987, 4: 406425.
Desper R, Gascuel O: Fast and accurate phylogeny reconstrution algorihms based on the minimumevolution principle. Journal of Computational Biology. 2002, 9 (5): 687705. 10.1089/106652702761034136
Desper R, Gascuel O: Theoretical foundation of the balanced minimum evolution method of phylogenetic inference and its relationship to weighted leastsquares tree fitting. Molecultar Biology and Evolution. 2004, 21 (3): 587598.
Huson D: SplitsTree: analyzing and visualizing evolutionary data. Bioinformatics. 1998, 14 (10): 6873.
Wang L, Zhang K, Zhang L: Perfect phylogenetic networks with recombination. Journal of Computational Biology. 2001, 8: 6978. 10.1089/106652701300099119
Gusfield D, Eddhu S, Langley C: Optimal, efficient reconstruction of phylogenetic networks with constrained recombination. Journal of Bioinformatics and Computational Biology. 2004, 2: 173213. 10.1142/S0219720004000521
Wang L, Ma B, Li M: Fixed topology alignment with recombination. Discrete Applied Mathematics. 2000, 104 (13): 281300. 10.1016/S0166218X(00)001967
Choy C, Jansson J, Sadakane K, Sung WK: Computing the maximum agreement of phylogenetic networks. Theoretical Computer Science. 2005, 335 (1): 93107. 10.1016/j.tcs.2004.12.012
Iersel LJJ van, Keijsper JCM, Kelk SM, Stougie L, Hagen F, Boekhout T: Constructing level2 phylogenetic networks from triplets. IEEE/ACM Transactions on Computational Biology and Bioinformatics. 2009, 6 (43): 667681.
Cardona G, Rosselló F, Valiente G: Comparison of treechild phylogenetic networks. IEEE/ACM Transactions on Computational Biology and Bioinformatics. 2009, 6 (4): 552569.
Willson SJ: Properties of normal phylogenetic networks. Bulletin of Mathematical Biology. 2010, 72: 340358. 10.1007/s115380099449z
Semple C, Steel M: Phylogenetics. 2003, Oxford University Press, Oxford
Acknowledgements
I am indebted to Jesper Jansson for references about the first use of certain kinds of networks. I also thank Mukund Thattai and Mike Steel for useful discussions about the probabilities at hybrid vertices. Finally I am endebted to the anonymous referees for many helpful suggestions.
Author information
Authors and Affiliations
Corresponding author
Additional information
Competing interests
The author declares that they have no competing interests.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Willson, S.J. Treeaverage distances on certain phylogenetic networks have their weights uniquely determined. Algorithms Mol Biol 7, 13 (2012). https://doi.org/10.1186/17487188713
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/17487188713
Keywords
 digraph
 distance
 metric
 hybrid
 network
 treechild
 normal network
 phylogeny