scieee AI-readable full text Open interactive document viewer

Lie Markov model

Sumner, Jeremy,Fernández Sánchez, Jesús,Jarvis, Peter

Abstract

Recent work has discussed the importance of multiplicative closure for the Markov mod- els used in phylogenetics. For continuous-time Markov chains, a sufficient condition for multiplicative closure of a model class is ensured by demanding that the set of rate-matrices belonging to the model class form a Lie algebra. It is the case that some well-known Markov models do form Lie algebras and we refer to such models as “Lie Markov models”. However it is also the case that some other well-known Markov models unequivocally do not form Lie algebras (GTR being the most conspicuous example). In this paper, we will discuss how to generate Lie Markov models by demanding that the models have certain symmetries under nucleotide permutations. We show that the Lie Markov models include, and hence provide a unifying concept for, “group-based” and “equivariant” models. For each of two, three and four character states, the full list of Lie Markov models with maximal symmetry is presented and shown to include interesting examples that are neither group-based nor equivariant. We also argue that our scheme is pleasing in the context of applied phylogenetics, as, for a given symmetry of nucleotide substitution, it provides a natural hierarchy of models with increasing number of parameters.

Full text

arXiv:1105.4680v2 [q-bio.PE] 29 Jul 2011 Lie Markov Models Jeremy Sumner1,∗, Jes´us Fern´andez-S´anchez2and Peter Jarvis1,† August 1, 2011 Abstract Recent work has discussed the importance of multiplicative closure for the Markov models used in phylogenetics. For continuous-time Markov chains, a sufficient condition for multiplicative closure of a model class is ensured by demanding that the set of rate-matrices belonging to the model class form a Lie algebra. It is the case that some well-known Markov models do form Lie algebras and we refer to such models as “Lie Markov models”. However it is also the case that some other well-known Markov models unequivocally do not form Lie algebras (GTR being the most conspicuous example). In this paper, we will discuss how to generate Lie Markov models by demanding that the models have certain symmetries under nucleotide permutations. We show that the Lie Markov models include, and hence provide a unifying concept for, “group-based” and “equivariant” models. For each of two, three and four character states, the full list of Lie Markov models with maximal symmetry is presented and shown to include interesting examples that are neither group-based nor equivariant. We also argue that our scheme is pleasing in the context of applied phylogenetics, as, for a given symmetry of nucleotide substitution, it provides a natural hierarchy of models with increasing number of parameters. 1School of Mathematics and Physics, University of Tasmania, Australia 2Departament de Matem`atica Aplicada, Universitat Polit`ecnica de Catalunya, Spain †Alexander von Humboldt Fellow, ∗ARC Research Fellow keywords: phylogenetics, Lie algebras, Lie groups, representation theory, symmetry, Markov chains Corresponding author: Jeremy Sumner, [email protected] 1 1 Introduction Continuous-time Markov chains are fundamental to the implementation of, and philosophy behind, many phylogenetic methods. Likelihood and Bayesian phylogenetic methods usually proceed by attempting to fit a single “rate-matrix” globally across a proposed evolutionary tree history (see, for example, Chapters 2 and 3 of Gascuel (2005)). These rate-matrices are chosen from some restricted class or “model” that is defined by a certain set of constraints on the elements of a generic rate-matrix. These constraints define a set of free parameters that usually correspond to unknown evolutionary quantities such as base composition, mutation rates and the timing of speciation events (these last two are often by necessity confounded together simply as “edge lengths”). Even in phylogenetic distance methods, it is usually the case that the theoretical justification of a given distance estimator is taken from a continuous-time Markov model (for example the general Markov model for the “log-det” (Steel, 1994) distance or the HKY distance taken from its corresponding model (Felsenstein, 2004)). Ahomogeneous Markov chain satisfies the condition that the probability transition rates are constant in time. In the phylogenetic context this means that the rates are unchanged throughout evolutionary history. Of course, this is used as an approximation to biological reality where it is well documented that transition rates are not only time-dependent (Ho et al., 2005, 2007), but also vary across the different lineages of the evolutionary tree (Lockhart et al., 1998). Methods to cope with these issues have been explored by various authors: Tuffley & Steel (1997) proposed the “covarion” model where a switching process allows sites to alternate between “on” and “off” states. Drummond et al. (2006), proposed a method that introduces an overall scaling factor for the transition rates that is sampled randomly (at branching events, for example), and the methods presented in Whelan (2008) are more general still with a switching process that allows for alteration of individual rates. The simulation package discussed in Fletcher & Yang (2009) provides further evidence that these issues are of ongoing importance to phylogenetic analysis. Our philosophy is to remain agnostic as to whether evolutionary rates have changed in the past or, indeed, whether it is possible to statistically detect this change via analysis of present day molecular data. We follow an approach that allows for the biological possibility that there is likely to have been a smooth (or even abrupt) change of each individual transition rate independently occurring across the evolutionary tree (and not necessarily restricted to branching events). This discussion leads naturally to confronting the possibility (at least theoretically) that the phylogenetic process is not homogeneous and is more accurately modelled as an inhomogeneous continuous-time Markov chain; where the rate-matrix is far from constant and ultimately is allowed to vary, smoothly or otherwise, as a function of edge length parameters of the evolutionary tree. Of course, given the bias/variance tradeoff of statistical analysis (Burnham & Anderson, 2002), modelling phylogenetic evolution as a inhomogeneous process is statistically implausible in practice (we would effectively be replacing a small number of parameters by an infinite continuum). Indeed this is where the methods discussed in Drummond et al. (2006), where rates may change but only at branching events, can be seen as somewhat of an intelligent compromise between a (statistically tractable) homogeneous model and a (biologically realistic) inhomogeneous model. Another approach would be to abandon the continuous-time hypothesis and work with discrete Markov chains (or equivalently “algebraic” models (Pachter & Sturmfels, 2005)). However this approach introduces many free parameters and suffers from a lack of interpretation, as it is unclear what the free algebraic parameters mean in biological terms (such as divergence times and molecular rates), except with reference to the corresponding continuous-time approach. An available resolution of these issues is to observe that it is possible to continue to model phylogenetic processes as being homogeneous, but interpret the transition rates that are fitted 2 globally across the tree (or at least non-locally) as a kind of “average” of the true inhomogeneous process. It is this perspective that we take in this work and it leads directly to the concept of multiplicative closure for continuous-time Markov chains. It will be shown that models that are multiplicatively closed have the property that, even in their inhomogeneous formulation, it is possible to interpret their average behaviour as a homogeneous process. It is then the purpose of this article to discuss sufficient conditions for multiplicative closure of continuous-time Markov chains. In order to generate particular examples of closed models, we exploit symmetry properties of DNA substitution rates to present a scheme that creates a hierarchy of closed Markov models based on the number of free parameters available. In §2 we give basic definitions of multiplicative closure and Lie Markov models. To achieve this we review the required Lie theory, and we discuss the Lie algebra of the general Markov model. As an example to motivate the general procedure, in §3 we specialize to the case of binary Markov chains and give a complete description of Lie Markov models in this case. In §4 we discuss the symmetry properties of Markov models and explain how symmetry can be used to assist in the search for Lie Markov models. Here we also prove that equivariant (see Draisma & Kuttler (2008); Casanellas & Fern´andez-S´anchez (2010)) and group-based models are examples of Lie Markov models. In §5 we give a general scheme for generating a full list of Lie Markov models with a given symmetry property, In §6 we explicitly give four state Lie Markov models with maximal symmetry. Finally, §7 discusses implications and possibilities for future work. 2 Lie algebras and closure of Markov models For algebraic simplicity we work over the complex field C, and refer to a matrix as “Markov” if it has unit column sums. Later we will discuss how our discussion specializes to the stochastic case where the entries must be real and lie in the range [0,1]. Rather than work directly with the general Markov model, we will also consider only Markov matrices that have non-zero determinant. Although this need not be the case for a general Markov matrix, it is not too stringent a condition as (i) the set of Markov matrices with zero determinant is of measure zero in the set of Markov matrices (this is because they are defined by the vanishing of a single polynomial function and hence lie in an ambient space of dimension one less than the set of generic Markov matrices), (ii) Markov matrices that arise from a continuous-time formulation have non-zero determinant (as we will see shortly). In any case, in the conclusions we will argue that understanding Markov matrices with zero determinant becomes easier once we understand how the rest can be categorized. Let the general Markov model MGMM be the set of n×nmatrices with column sum 1: MGMM := M∈Mn(C) : θTM=θT, where θis the column n-vector with all its entries equal to 1, ie. θT= (1,1,...,1). Specializing further, consider the subset of matrices in MGMM with non-zero determinant: GL1(n, C) := M∈Mn(C) : θTM=θT,det(M)6=0. In turn, this set of matrices includes a subset of matrices that arise by taking the exponential of a rate-matrix; that is, the exponential of a matrix in LGMM := Q∈Mn(C) : θTQ=0T.(1) We will refer to eLGMM := eQ:Q∈LGMM as “the general rate-matrix model” and below we will discuss matrix exponentials in more detail (particularly their importance to Lie theory). 3 As the inverse of a Markov matrix (if it exists) is also a Markov matrix it is clear that GL1(n, C) is actually a subgroup of the general linear group GL(n, C), and it follows that GL1(n, C) and eLGMM are actually Lie groups (see Stillwell (2008) for the relevant technical definitions). In fact we have the isomorphism GL1(n, C)∼ =A(n−1,C) where A(n−1,C) is the (complex) affine group (see for example Baker (2003)). This observation allows the general methods of Lie theory to be applied to understanding continuous-time Markov models; see Johnson (1985) and Mourad (2004) for general results and discussion, and Sumner et al. (2008) for applications to phylogenetics. Summarizing, we have the following set inclusions eLGMM ⊂GL1(n, C)⊂MGMM , and Lie group hierarchy eLGMM < GL1(n, C)< GL(n, C). We define a Markov model Mby taking M⊆MGMM as some well defined subset of the general Markov model. Similarly, a rate-matrix model eLis defined by taking L⊆LGMM as some well defined subset of rate-matrices drawn from the general rate-matrix model and taking the set of exponentials thereof (as in (1)). It follows immediately from these definitions that all rate-matrix models are Markov models. In what follows we are primarily interested in the case that M=eL, and in this case we will abuse our terminology and refer to Las a “model”. Definition 2.1. A Markov model Mis said to be multiplicatively closed if and only if for all M1, M2∈Mwe also have M1M2∈M. Of course, recalling that matrix multiplication is associative, this is exactly the statement that Mforms a semigroup under matrix multiplication. Presently we explore the conditions for which we can expect a rate-matrix model to be closed. Consider an extension of standard phylogenetic models where each edge eof the tree has its own rate-matrix Qechosen from some model L. We can envisage this process arising under a model where at each branching event a new set of transition rates is chosen (a generalization of the ideas given in Drummond et al. (2006)). Now, if we remove a single taxon from our tree there is a standard marginalization procedure that will give us a new tree with one fewer taxa. However, on this new tree there will now be an edge eab which is the join of the edges ea= (ua, va) and eb= (ub, vb) with ub=vafrom the original tree, that is eab = (ua, vb) (see Figure 1 for an illustration of this). Under the marginalization, the transition matrix for the edge eab will then be the product of the matrices from edge eaand eb: Meab =MebMea=eQbτbeQaτa, where Qa, Qb∈Land τa, τbare the corresponding edge lengths. Now, for eLto be closed we require Meab =eQab(τa+τb), with Qab ∈L. The question then naturally arises, is it obvious that this will be the case no matter how we define our model L? To understand what could go wrong, consider two matrices X, Y ∈Mn(C) and recall the classical Baker-Campbell-Hausdorff (BCH) formula (Campbell, 1897): eXeY= exp(X+Y+1 2[X, Y ] + 1 12 [X, [X, Y ]] + ...), where [X, Y ] := XY −Y X is known as the commutator (or Lie bracket) of Xand Y, and the higher order terms are all given as further commutators of commutators of Xand Y(see Stillwell (2008) for an elementary proof). This formula generalizes the extremely well-known 4 eQaτaeQbτb uava=ubvb eQab(τa+τb) Figure 1: Meab =eQab(τa+τb), with Qab ∈L. b b b b b eQ1τ1eQ2τ2eQmτm Figure 2: An inhomogeneous process. rule for the product of two exponentials, exey=ex+y, from the case of commuting variables, xy =yx, to the more general case of non-commuting variables. This is achieved by “correcting” for the non-commutivity of matrix multiplication with the addition of the further commutators. Considering again the case at hand, if we replace Xand Ywith our rate-matrices Qaand Qb, we see that a sufficient condition for a model Lto satisfy the required condition is for it to be a Lie algebra: τaQa+τbQband [Qa, Qb]∈L, for all Qa, Qb∈Land τa, τb. Suppose we have a model Lthat forms a Lie algebra, and suppose that we choose a sequence of rate-matrices from it: (Q1, Q2,...,Qm). Taking parameters τ1, τ2,...,τmwith t=τ1+τ2+ ...+τm, we can consider the inhomogeneous process given by eQ1τ1eQ2τ2. . . eQmτm. However, because Lforms a Lie algebra, we can conclude, via repeated application of the BCH formula, that there exists a rate-matrix b Q∈Lthat acts as a homogeneous average: M(t) := e b Qt=eQ1τ1eQ2τ2...eQmτm. Thus we see that if we restrict our attention to models that form Lie algebras, we are free to interpret fitting phylogenetic data as finding an average of the (possibly) true inhomogeneous process1. For example, consider the general time reversible model (GTR) (Felsenstein, 2004), with ratematrices Qsatisfying QD(π) = D(π)QT(i.e. QD(π) is symmetric) where πis any (column) distribution vector2: πT=(π1, π2,...,πn), πi>0, π1+π2+...+πn=1, and D(π) is the matrix with πon the diagonal and zeros elsewhere. Taken over the complex field we can express the GTR model using the constraints LGT R =Q∈LGMM :∃πs.t. QD(π) = D(π)QT.(2) 1Here the technical issue arises that the BCH formula does not guarantee that the series X+Y+ [X, Y ] + . . . will actually converge. Although this issue need not concern us in the present work because there will be some radius of convergence for the series, we refer the concerned reader to Blanes & Casas (2004) for further analysis. 2We exclude πi=0 in order to avoid some unimportant technicalities in what follows. 5 Notice that, because QD(π) = D(π)QTimplies QmD(π) = D(π)(Qm)Tfor all m, the GTR model expressed as transition matrices satisfies exactly the same conditions: eLGT R =M∈eLGMM :∃πs.t. MD(π) = D(π)MT. To show that the GTR model does not form a Lie algebra, we need the following result. Lemma 2.2. If X∈Mn(C)satisfies XD(v) = −D(v)Xfor some vector v= (v1, v2,...,vn)T, then, for all iand j, either the matrix entry Xij = 0 or vi=−vj. Proof. The condition on Xcan be expressed in components as Xij vj=−viXij for all iand j. The result follows directly by considering the individual cases. From now on, we denote the n×nidentity matrix as 1n(or simply as 1when nis understood or unspecified). Now, consider two rate matrices Q1and Q2that satisfy (2) for the uniform distribution π=1 nθ=1 n(1,1,...,1). As D(1 nθ) = 1 n1n, it is clear that the required condition is equivalent to demanding that Q1and Q2are symmetric. If the rate-matrices of GTR model form a Lie algebra, the commutator [Q1, Q2] must satisfy (2) for some (possibly different) distribution vector b π. However, D(b π) [Q1, Q2]T=D(b π) (Q1Q2−Q2Q1)T=D(b π) (Q2Q1−Q1Q2) = −D(b π) [Q1, Q2], where the second equality follows because Q1and Q2are symmetric by assumption. Thus the GTR condition on the commutator becomes [Q1, Q2]D(b π) = −D(b π) [Q1, Q2], and by Lemma 2.2 this is impossible unless [Q1, Q2] = 0. To confirm that this is not true in general, consider the n×nrate-matrices Q1=          ∗α β 0... 0 α∗0 0 ... 0 β0 0 0 ... 0 0 0 0 0 0 . . .. . .. . ..... . . 0 0 0 0 ... 0          , Q2=          ∗α β′0... 0 α∗0 0 ... 0 β′0 0 0 ... 0 0 0 0 0 0 . . .. . .. . ..... . . 0 0 0 0 ... 0          , (where the missing entries are chosen so these matrices have zero column-sums). Clearly Q1, Q2∈ LGT R and [Q1, Q2] = 0 if and only if β=β′. Thus we conclude that Result 1. The rate-matrices of the GTR model do not form a Lie algebra. Result 2. The GTR model is not multiplicatively closed. Proof. First we recall that the Perron-Frobenius theorem (see for example Berman & Plemmons (1994)) claims that for each matrix Mwith strictly positive matrix entries there is exactly one probability vector πsatisfying Mπ =π. We consider two Markov matrices M1and M2the GTR condition for the uniform distibution, ie. they are symmetric: MT 1=M1and MT 2=M2(see above). If GTR is multiplicatively closed there must exist a distribution vector bπsuch that the product M1M2satisfies M1M2D(bπ) = D(bπ)(M1M2)T. However, (M1M2)T=MT 2MT 1=M2M1, thus the required condition is M1M2D(bπ) = D(bπ)M2M1.(3) Now M1M2and M2M1are both Markov matrices, so they satisfy θTM2M1=θT, θTM1M2=θT. 6 Taking the transpose we have M1M2θ=θ, M2M1θ=θ. (4) On the other hand, consider M1M2bπ=M1M2(D(bπ)θ)) = D(bπ)M2M1θ =D(bπ)θ=bπ. (5) Now we assume that M1and M2are chosen such that M1M2satisfies the condition of the Perron- Frobenius theorem, and we see from (4) and (5) that we must have bπ=1 nθ. However, this implies that D(bπ) = 1 n1which from (3) implies M1M2=M2M1. The proof is completed by finding particular examples of M1and M2that satisfy the required conditions and M1M26=M2M1. To this end consider the n×nMarkov matrices: M1=          ∗a b c . . . c a∗c c . . . c b c ∗c . . . c c c c ∗c . . .. . .. . ..... . . c c c c . . . ∗          , M2=          ∗a b′c . . . c a∗c c . . . c b′c∗c . . . c c c c ∗c . . .. . .. . ..... . . c c c c . . . ∗          , where a, b, c > 0, a+b+ (n−3)c < 1 (with similar for b′), and the missing entries are chosen so these matrices have unit column-sums. These matrices are symmetric and their product satisfies the conditions of the Perron-Frobenius theorem. Finally it is easy to confirm that M1M26=M2M1, as required. These results show that the GTR model is not multiplicatively closed and hence one cannot interpret a fit of the GTR model as a homogeneous average of a true inhomogeneous process. This observation poses serious questions of interpretation for any phylogenetic inferences achieved using the GTR model. It would be very interesting to perform an exploratory study of how much (or how little) the non-closure of GTR affects phylogenetic inference in practice, however this is outside the scope of our present discussion. Remark 1. The reader may object that our definition (2) of the GTR model is too general and may prefer to define a different copy of “the general time-reversible model” for each fixed distribution vector π: LGT Rπ:= Q∈LGMM :QD(π) = D(π)QT. After all, every rate-matrix in LGT Rπhas stationary distribution π: QD(π) = D(π)QT⇒Qπ=0, and thus LGT Rπseems to be a reasonably well motivated model. However, it is shown in Jarvis & Sumner (2011) that LGT Rπdoes not form a Lie algebra for any π, and the proof of Result 2 shows that GT Rπwith πthe uniform distribution is definitely not closed. Thus, it seems unlikely that LGT Rπis closed for any choice of π(see below for a proof). In any case, in a practical context GTR is usually implemented by considering π=(π1, π2,...,πn)Tas providing “free parameters” that are inferred using the data at hand, and we therefore argue that it is the more general form of GTR model (2) that is most relevant. 7 Result 3. The GT Rπmodel is not closed for any distribution vector π. Proof. If GT Rπis closed we must have M1M2D(π) = D(π)(M1M2)T=D(π)MT 2MT 1for all M1, M2∈GT Rπ. However MiD(π) = D(π)MT ithen implies that M1M2D(π) = M2M1D(π). Since πis a distribution vector (see the definition above), we conclude that D(π)−1exists, so we require M1M2=M2M1, ie. GT Rπis abelian. To confirm that this cannot be the case, consider two rate matrices Q1, Q2∈LGT Rπsuch that [Q1, Q2]6= 0 and the two paths A(t) = etQ1and B(t) = etQ2. Now C(s, t) = A(t)B(s)A(t)−1∈GT Rπfor all s, t, but if GT Rπis abelian we have C(s, t) = B(s), so C(s, t) is independent of t. On the other hand d ds d C(s, t) dt t=0s=0 =A′(0)B′(0) −B′(0)A′(0) = [Q1, Q2]6= 0, which is a contradiction. Constructing examples of Q1and Q2satisfying the required conditions completes the proof. Consider the n×nrate matrices Q1=          ∗π1α π1β0... 0 π2α∗0 0 ... 0 π3β0 0 0 ... 0 0 0 0 0 0 . . .. . .. . ..... . . 0 0 0 0 ... 0          , Q2=          ∗π1α π1β′0... 0 π2α∗0 0 ... 0 π3β′0 0 0 ... 0 0 0 0 0 0 . . .. . .. . ..... . . 0 0 0 0 ... 0          . It is easy to show that QiD(π) = D(π)QT iwhile [Q1, Q2] = 0 if and only if β′=β. Presently we will recall some key definitions and results from elementary Lie theory, and go on to describe the Lie algebra associated with the general Markov model. For the reader who is unfamiliar with the theory, we can recommend the elementary texts Stillwell (2008) and Tapp (2005). Definition 2.3. Amatrix group Gis a closed subgroup of GL(n, C). In this definition “closed” means in the topological sense. That is, if the limit of a sequence of matrices in Gis non-singular, then the limit is also in G. Definition 2.4. The Lie algebra of a matrix group Gis the tangent space of G(regarded as a manifold) at the identity: T1(G). That is X∈T1(G) is equivalent to the existence of a smooth path A: [0,1] → G such that A(0) = 1and A′(0) := dA(t) dt t=0 =X. With this definition it is not too hard to show that T1(G) is a vector space over R, because X+rY is the tangent of the product of two smooth paths A(t)B(rt), with A(0) = 1,B(0) = 1, A′(0)=X,B′(0)=Yand r∈R. Also, T1(G) is closed under Lie brackets, because C′(0)=[X, Y ] is the tangent of the path C(t) := A(t)B′(0)A(t)−1∈T1(G) and C′(0) ∈T1(G) because the tangent space includes all its limit points. A standard (and powerful) tool in Lie theory is the exponential map: exp : X∈Mn(C)7→ exp(X) = 1+X+X2 2! +X3 3! +..., which has infinite radius of convergence, so eXis defined for all X. Recall that det(eX)=etr(X), so we can conclude that eX∈GL(n, C) for all X∈Mn(C). By defining the path A(t) := eXt, 8 we see immediately that A(0) = 1and A′(0) = Xso that X∈T1(GL(n, C)). Given that Xwas chosen arbitrarily, it is clear that T1(GL(n, C)) = Mn(C). We must however pause to reflect that although T1(GL(n, C))=Mn(C), it follows from Definition 2.4 that T1(GL(n, C)) is a vector space only over R. To clarify this point, observe that the elementary matrices {Eij}i,j, with matrix elements (Eij )kl =δikδjl, form a basis for Mn(C) considered as a complex vector space, ie. Mn(C) = h{Eij }i,jiC. However, by definition T1(GL(n, C)) is a real vector space and we see that a basis is given by the set {Eij,iEkl}i,j,k,l, where i=√−1, ie. T1(GL(n, C)) = h{Eij,iEkl}i,j,k,liR. These observations prompt the following definition: Definition 2.5. The complexification of a (real) Lie algebra T1(G) is the complex vector space T1(G)Cspanned by all linear combinations c1X+c2Ywith X, Y ∈T1(G) and c1, c2∈C. When T1(G) = T1(G)Cas sets and T1(G) = T1(G)C=hX1, X2,...,XkiC, where {Xi}1≤i≤kis a set of linearly independent tangent vectors over C, we say that {Xi}1≤i≤kforms a C-basis of T1(G). Remark 2. It should be noted that it is not always the case that T1(G) = T1(G)C; in general this is only true if Gis a manifold over C. Since this is the case for the matrix groups that we will consider in this article (by the definitions given at the start of this section), we will henceforth implicitly assume that complexification has been performed and that the Lie algebras we discuss are vector spaces over C. Presently we derive the Lie algebra of the general Markov model, as was first given in Johnson (1985). The commutator of any two elementary matrices can be checked explicitly: [Eij , Ekl] = Eilδjl −Ekj δil.(6) We then define the elementary rate-matrices as Lij := Eij −Ejj , for every i6=jand note that θTLij =0for every couple (i, j) with i6=j, so that these matrices are indeed rate-matrices. It is then clear that we can express any rate-matrix Qas a linear sum: Q=X i6=j αij Lij, and we have: Lemma 2.6. The matrices {Lij}i6=jform a C-basis for the tangent space of GL1(n, C). Proof. General Lie theory states that the dimension of the tangent space is equal to the dimension of the Lie group as a manifold. Considering GL1(n, C) as a subgroup of GL(n, C) it is clear that the dimension of GL1(n, C) as a manifold is n(n−1). Now, for each i6=j,Lij is a tangent vector of the smooth path A(ij)(t) := eLij t∈GL1(n, C). Also, there are n(n−1) of the Lij and they are obviously linearly independent. Therefore the tangent space of GL1(n, C) at the identity is hLijiC. Result 4. The rate-matrices LGMM =h{Lij}i6=jiCform a Lie algebra. Proof. The result follows directly as a consequence of Lemma 2.6. Indeed, the Lie algebra structure of LGMM follows from (6) and a little manipulation with the elementary rate-matrices: [Lij , Lkl] = (Lil −Ljl) (δjk −δjl)−(Lkj −Llj) (δil −δjl).(7) For convenience in subsequent calculations we record a few individual cases of these commutation relations where we take i, j, k, l all to be distinct: 9 If we label the entries of Kσby the elements of the group G, it follows that [Kσ]ab =1, if b−a=σ 0, otherwise. (11) Comparing (11) and (10) it is clear that: Lemma 4.8. The tangent vectors of a group-based model are given by Lσ=−1+Kσ. Observing that Lσ=−1+Kσis a rate-matrix for any σ∈G, Lemma 4.8 allows us to extend the concept of group-based models to the non-abelian case: Definition 4.9. Given a (possibly non-abelian) group G, the corresponding group-based model is given by LG:= h{Lσ}σ∈GiC, where Lσ=−1+Kσand Kσis the permutation matrix representing σin the regular representation (see Definition 4.7). Proposition 4.3. The group-based model LG=h{Lσ}σ∈GiCis a Lie Markov model. Proof. Consider the commutator of two tangent vectors arising from a group-based model: [Lσ, Lσ′] = [−1+Kσ,−1+Kσ′] = [Kσ, Kσ′] = Kσσ′−Kσ′σ=Lσσ′−Lσ′σ. Thus the tangent vectors of a group-based model are closed under the operation of taking Lie brackets and hence form a Lie algebra. 5 General scheme for producing Lie Markov models Recall that in §3 we observed that there is an CP1continuum of two-state, one-dimensional Lie Markov models. This is an early indication that classifying arbitrary Lie Markov models is a difficult task. On the one hand, the problem seems to simply be to find all sub-algebras of LGMM ; however it must be kept in mind that we also need to ensure that these sub-algebras have a stochastic basis (as in Definition 2.7). We cannot use the classical Killing-Cartan-Dynkin classification of semi-simple Lie algebras (see Erdmann & Wildon (2006)), as these results rely on isomorphism classes over Cand this is completely incompatible with the concept of a stochastic basis. Thus producing a classification of Lie Markov models appears to be rather non-trivial and would rely on careful considerations of the geometry of the Lie bracket operation when restricted to a stochastic cone (cf. Definition 2.7). However, we also learnt in §3 that the search for Lie Markov models can be significantly simplified by demanding that the models have symmetry (this successively reduced an infinite continuum of two-dimensional models to just two special cases). In what follows we rely heavily on using symmetry to assist in the search for Lie Markov models. Of course, it is expected that the larger the symmetry we demand, the easier the analysis will be. 5.1 Background on Group representation theory In what follows we recall and implement basic results from the representation theory of the symmetric group Sn. Again, we recommend Sagan (2001) as an excellent introduction to the required material. Recall that a partition of nis a sequence of non-negative integers λ=(λ1, λ2,...,λr), where λi≥λi+1 for all 1 ≤i≤rand Pr i=1 λi=n. We sometimes write λ={λn1 1λn2 2. . . λns s}to denote the partition that has nicopies of the integer λi, 1 ≤i≤s. For example, λ= (5,5,4,2,2,1)= {524221}is a partition of 19. Recall also that a representation is said to be irreducible if it does not contain any G- sub- module. 16 Lemma 5.1. The irreducible representations of Snare in one-to-one correspondence with the partitions of n. We write ρλ:Sn→GL(Vλ)∼ =GL(m, C) for the irreducible representation corresponding to the partition λand Vλ∼ =Cmis the module carrying the representation. In what follows, we will abuse notation and use the exponent notation to refer to both the partition itself and to the Sn-module Vλthat carries the representation ρλ. Suppose we have a representation ρ:Sn→GL(V), for some complex vector space V. As Snis finite, this representation is completely reducible into irreducible parts. Hence we may write (Maschke’s theorem): V∼ =⊕λcλVλ, where the sum is over all partitions λof n, and the cλare non-negative integers specifying the number of copies of the irreducible module Vλthat appear in the decomposition. For example, recall that the defining representation is given by the action of Snon the n-dimensional vector space Cn∼ =h{ei}1≤i≤niCdefined by σ:ei7→ eσ(i). It is a well known result that the defining representation decomposes as {n}⊕{n−1,1}, where {n}is the one-dimensional trivial representation and the irreducible representation {n−1,1}therefore has dimension (n−1). Consider the projection operators: Θλ:= 1 |Sn|Pσ∈Snχλ(σ)σ, where χλis the character of the irreducible representation λ. We recall that these operators project a given module onto its irreducible parts, i.e. ΘλV=cλVλ. In this way we can use the Θλto compute the cλ. 5.2 The general procedure Suppose we have a Markov Lie algebra Land a permutation group G≤Sn. We proceed by exploiting the action of Gon Lconsidered first as a discrete structure, via a choice of basis BL={L1, L2,...,Ld}, and secondly as a linear structure; that is, the vector space L= hL1, L2,...,LdiC. We demand that Lsatisfies the conditions of Definition 4.5 for the permutation group G. Thus an action of Gis defined on the basis BL={L1, L2,...,Ld}by σ∈G:Li7→ Lρ(σ)(i), where ρis the homomorphism ρ:G→Sd. An orbit of this action is a subset B={La1, La2,...,La|B| } ⊂ BLsuch that Bis invariant: σB:= {Lρ(σ)(a1), Lρ(σ)(a2),...,Lρ(σ)(a|B|)}=B, for all σ∈Gand Bcontains no smaller subsets with this property (i.e. Bis minimal). Notice that this defines an equivalence relation that decomposes BLinto disjoint orbits of G: BL=B1∪B2∪...∪Br, where σBi=Bifor all iand σ∈G. Now, it is a remarkable result of group actions that, up to bijective correspondence, a complete list of the orbits of a given group Gcan be expressed using the orbit stabilizer theorem (see Bogopolski (2008) for example), as follows. Consider a subgroup H≤Gand partition Ginto disjoint (right) cosets G/H ={eH =H, σ2H,...,σqH}where each σi∈Gis chosen such that σiH=σjH⇔i=jand q=|G/H|=|G|/|H|. Thus G/H is a finite set with an action of Gdefined 17 by σ:σiH7→ (σσi)H. The orbit stabilizer theorem then says that there is a bijection of any orbit Bwith G/Gx, where Gx={g∈G:gx =x}is the stabilizer of some element x∈ B. As Gx≤G, and there are only finitely many subgroups of G, it is thus possible to give a complete list of the orbits of G(up to isomorphism) by simply listing all G/H with H≤G. Secondly, we can consider LGMM ={Q=Pi6=jαij Lij :αij ∈C}as a G-module by linearly extending the action (9): Q=X i6=j αij Lij 7→ σ·Q=X i6=j αij Lσ(i)σ(j), for all σ∈G. By virtue of Maschke’s theorem, we can also decompose LGMM into irreducible G-modules Vλ⊂Lof the linear action of G. On the other hand, for each H≤Gwe can extend the set G/H to a complex vector space hG/HiC=hH, σ2H,...,σqHiC={v=c1[e] + c2[σ2] + ...+cq[σq] : ci∈C}, where [σ]≡σH, and consider this vector space as G-module via the mapping σ:v=c1[e] + c2[σ2] + ...+cq[σq]7→ v′=c1[σ] + c2[σσ2] + ...+cq[σσq]. We can then compare the irreducible G-modules that occur in the decomposition of LGMM to those that occur in the decomposition of hG/HiCfor each H≤G. Finally, we can attempt to construct sub-algebras L⊂LGMM with a basis BLsuch that BL=B1∪B2∪...∪Bris a plausible union of orbits Bithat are consistent with the linear decomposition of LGMM induced by the action of G. Example. Consider the action of S2∼ ={e, (12)}on the two-state general Markov model considered as the finite set BGMM ={L12, L21}. As (12)L12 =L21 we see immediately that BGMM contains only one S2-orbit (namely itself). On the other hand, the subgroups of S2are the trivial group H1:= {e}and H2:= S2itself. We have the bijections: S2/H1:= {eH1, σH1}={{e},{σ}}7→ S2,(12) and S2/H2:= {eH1, σH1}={{e, σ},{σ, e}} ={{e, σ}} 7→ {e}.(13) Thus, by comparing the cardinality of BGMM to these two orbits, we conclude that BGMM ∼ = S2/H1∼ =S2, which is to say that the action of S2on BGMM is isomorphic to the action of S2 on itself (cf. Cayley’s theorem). Now, consider the action of S2on the two-state general Markov Lie algebra considered as a complex vector space: LGMM =hL12, L21iC. It is well known that there are exactly two irreducible S2-modules Vid and Vsgn (both one-dimensional, Vid ∼ =Vsgn ∼ =C), where the S2 action is given by v∈Vid 7→ σv =v, v∈Vsgn 7→ σv =sgn(σ)v, for all σ∈S2. The orbit S2/H1described in (12) has size two and linear decomposition hS2/H1iC∼ =Vid ⊕Vsgn, whereas the orbit in (13) has size one and has linear decomposition hS2/H1iC∼ =Vid. If we define Lid := L12 +L21 and Lsgn := L12 −L21 we see immediately that hLidiC∼ =Vid and hLsgniC∼ =Vsgn. Thus we conclude that LGMM =hLidiC⊕hLsgniC∼ = 18 Vid ⊕Vsgn, and we see that the only possible two-state Lie Markov models with S2symmetry are exactly the two cases given in §3. These ideas can be generalized to models with a greater number of states. The general procedure for generating a n-state Lie Markov model, L, with G≤Snsymmetry is as follows. 1. Decompose the Lie algebra of the general Markov model into irreducible modules of G (Maschke’s theorem): LGMM =⊕λfλLλ∼ =⊕λfλVλ, where λlabels the irreducible G- module Vλ∼ =Lλand the fλare integers specifying how many times each irreducible module occurs in the decomposition. 2. Apply the orbit stabilizer theorem and construct the list of G-orbits, G/Hi, by working through the subgroups Hi≤G. 3. Extend each of the orbits linearly over Cto the G-module hG/HiiCand decompose each into irreducible G-modules: hG/HiiC∼ =⊕λh(i) λVλ, where again the h(i) λare integers. 4. Working up in dimension d, consider all unions of G-orbits S:= (G/H1)∪(G/H2)∪...∪ (G/Hq) such that |S|=P1≤i≤q|G/Hi|=d(where |·| stands for cardinality). 5. For each S, consider its linear decomposition into irreducible G-modules: hSiC∼ =⊕λaλVλ where aλ:= h(1) λ+h(2) λ+...+h(q) λ, and, in order to exclude unions of G-orbits that do not occur in the linear decomposition of LGMM as a G-module, check that aλ≤fλ, for each λ. 6. For each case thus identified, consider the vector space L:= ⊕λaλLλand use explicit computation to check whether Lforms a Lie algebra. 7. If Lforms a Lie algebra, attempt to show that it has a stochastic basis. This procedure is guaranteed to produce all Lie Markov models with symmetry Gand is best understood by studying the examples given in the next section. We have successfully implemented it to determine the list of Lie Markov models in the two-state case with G=S2, the three-state case with G=S3,Z3and the four state case with G=S4,Z2≀Z2,Z2×Z2and Z4. In the §6 we will give a complete presentation of the four state G=S4case, and defer presentation of the other cases to a future publication. However, for n“large” and G“small”, it is worth noting that the final two steps in the procedure become quite difficult and computationally expensive. Clearly, further theoretical ideas, such as those alluded to at the start of this section, are needed to describe Lie Markov models in their entirety. 6 Lie Markov models with S4symmetry As we are especially interested in nucleotide evolution, we fix n=4 and use the projection operators to decompose the Lie algebra of the general Markov model into irreducible representations of S4. The partitions of n= 4 are {4},{31},{22},{212}and {14}. Each of these partitions labels an inequivalent irreducible representation of S4and the corresponding character table is given in Table 1. Notice that the first row in the character table gives the dimension of each representation. Notice also that there are two one-dimensional representations, namely {4}, the trivial representation where each permutation is mapped to the identity 1, and {14}, the sign representation where each permutation is mapped to ±1 based on the sign of the permutation. 19 {4} {31} {22} {212} {14} e1 3 2 3 1 [(12)] 1 1 0 -1 -1 [(123)] 1 0 -1 0 1 [(12)(34)] 1 -1 2 -1 1 [(1234)] 1 -1 0 1 -1 Table 1: The character table of S4. The rows are the conjugacy classes and the columns are the irreducible characters. We explicitly confirm the decomposition of the defining representation for n=4 by constructing the projection operators Θ{4}=1 24 Pσ∈S4χ{4}(σ)σ=1 24 (e+ (12) + (13) + (14) + (23) + ...+ (1423) + (1432)) , Θ{31}=1 24 Pσ∈S4χ{31}(σ)σ =1 24 (3e−(12) −(13) −(14) −(23) −(24) −(34) −(12)(34) −(13)(24) −(14)(23) +(1234) + (1243) + (1324) + (1342) + (1423) + (1432)) . Notice that Θ{4}·ei=1 4(e1+e2+e3+e4) for all iand Θ{31}·e1=1 24 (6e1−2e2−2e3−2e4). From this we conclude that the defining representation contains both the modules {4}and {31}. The dimension count 4=1 + 3 then shows that these are the only irreducible modules occurring in the defining representation (or, alternatively, one may check that Θ{22}·ei= Θ{212}·ei= Θ{14}·ei= 0 for all i). Hence: h{ei}1≤i≤4iC∼ ={4}⊕{31}. We will use this decomposition of the defining representation repeatedly in what follows. We would like to decompose LGMM =h{Lij}1≤i6=j≤4iCinto irreducible modules of S4. Recall that the action of S4is defined by σ:Lij 7→ Lσ(i)σ(j). Compare this to the action of S4 on the tensor product space C4⊗C4∼ =h{ei⊗ej}1≤i,j≤4iCdefined by σ:ei⊗ej7→ eσ(i)⊗ eσ(j). As any tangent vector L∈LGMM can be expressed as L=P1≤i6=j≤4αij Lij, we see immediately that the action of S4on LGMM is isomorphic to the action on the subspace of tensors ψ∈C4⊗C4:ψii = 0,1≤i≤4. If we disregard the constraints ψii = 0 for a moment, what we have is the Kronecker product of two copies of the defining representation: ie. C4∼ ={4}⊕{31} and C4⊗C4∼ =({4}⊕{31})⊗({4}⊕{31}). Referring to Table 1 and appealing to orthogonality of irreducible characters, we find that C4⊗C4∼ =({4}⊕{31})⊗({4}⊕{31}) = 2{4}⊕3{31}⊕{22}⊕{212}. Now the subspace spanned by the ei⊗eiis itself isomorphic to the defining representation: h{ei⊗ei}1≤i≤4iC∼ ={4}⊕{31}, and this subspace must appear in the decomposition of C4⊗C4. Setting ψii = 0 is the same as removing this subspace from the decomposition. Thus we have: Result 8. The decomposition of the four state general rate-matrix model LGMM into irreducible representations of S4is given by LGMM ∼ ={4}⊕2{31}⊕{22}⊕{212},(14) where the decomposition of the dimension is given by 12=1 + 2 ×3 + 2 + 3. 20 6.1 A convenient basis We would now like to present an explicit basis for each module present in the decomposition (14). Consider the vector Lid := X 1≤i6=j≤4 Lij =L12 +L13 +...+L43 =    −3 1 1 1 1−3 1 1 1 1 −3 1 111−3    . Clearly this vector is invariant σ·Lid =Lid,∀σ∈S4, and it hence spans the trivial representation: hLidiC∼ ={4}. Thus hLidiCaccounts for the first module appearing in the decomposition (14). Define the row sum vectors Ri:= X j:1≤i6=j≤4 Lij, and the corresponding column sum vectors Ci:= X j:1≤i6=j≤4 Lji. For example, we have R2=    −1 0 0 0 1 0 1 1 0 0 −1 0 000−1    , C4=    0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 −3    . Consider the action of S4on each of these vectors: σ:Ri7→ σRi=X j:1≤i6=j≤4 Lσ(i)σ(j)=Rσ(i), σ:Ci7→ σCi=X j:1≤i6=j≤4 Lσ(j)σ(i)=Cσ(i). Clearly these actions are isomorphic to the defining representation: σ:ei7→ eσ(i). Therefore, the (invariant) subspace generated by the row sum vectors, as well as that generated by the column sum vectors, is isomorphic as a S4-module to the defining representation: hR1, R2, R3, R4iC∼ =hC1, C2, C3, C4iC∼ ={4}⊕{31}.(15) Notice that these vectors are linearly independent except for the single linear relation R1+R2+R3+R4=C1+C2+C3+C4=Lid. Keeping this linear dependence in mind, we may write hLidiC⊕hR1, R2, R3, R4iC⊕hC1, C2, C3, C4iC∼ ={4}⊕2{31}, 21 and we see that we have now accounted for the first three modules occurring in the decomposition (14). Referring to the graphical representation of the Kimura 3ST model given in Figure 3, we see that the Kimura 3ST model has a basis given by: BK3ST ={Lα, Lβ, Lγ}, with Lα=L12 +L21 +L34 +L43, Lβ=L13 +L31 +L24 +L42, Lγ=L14 +L41 +L23 +L32. We claimed in §4 that the symmetry of the Kimura 3ST model is all of S4. We now prove this: Result 9. The symmetry of the Kimura 3ST model is S4. Proof. We consider the following set of bipartitions of the set {1,2,3,4}: S={12|34,13|24,14|23}, where ij|kl := {{i, j},{k, l}}. Now take the bijection between these bipartitions and the three tangent vectors of the K3ST model given by: ij|kl 7→ Lij +Lji +Lkl +Llk.(16) This map is well-defined and, in particular, 12|34 7→ Lα,13|24 7→ Lβ,14|23 7→ Lγ, and we note relations such as 12|34 = 43|12 7→ L43 +L34 +L12 +L21 =Lα. Notice that S4acts on the set Sby taking σ:ij|kl 7→ σ(i)σ(j)|σ(k)σ(l), where i, j, k, l are all different. As Sis obviously invariant under this action of S4, we conclude that the same is true for the set {Lα, Lβ, Lγ}under the bijection (16). This result immediately extends linearly to show that LK3ST =hLα, Lβ, LγiCforms a module of S4with dimension three, but how does this module fit into the decomposition (14)? Note that Lα+Lβ+Lγ=Lid, so LK3ST contains the trivial module hLidiC∼ ={4}. Referring to our decomposition (14), it is enough to do a dimension count to see that the only possible decomposition is LK3ST ∼ ={4}⊕{22}.(17) Thus the Kimura 3ST model accounts for the third term in (14) and we are left with accounting for the module {212}. To this end we define the six antisymmetric combinations Aij := Lij −Lji,1≤i < j ≤4. 22 Referring to Table 1, the projector onto the {212}subspace is given by Θ{212}=1 |S4|Pσ∈S4χ{212}(σ)σ =1 24 (3e−(12) −(13) −(14) −(23) −(24) −(34) −(12)(34) −(13)(24) −(14)(23) + (1234) + (1243) + (1324) + (1342) + (1423) + (1432)) . Applying this projector to our antisymmetric combinations, we get, for example, Θ{212}·A12 =1 12 (2A12 −A13 −A14 +A23 +A24),(18) from which it is easy to see that the general rule is Pij := 1 12 Θ{212}·Aij = 2Aij −Aik −Ail +Ajk +Ajl, where i, j, k, l are all different. We can also see from this that we have (at least) three linearly independent relations: P12 +P13 +P14 =P12 +P23 +P24 =P13 +P23 +P34 = 0, so the dimension of h{Pij }1≤i<j≤4iCis at most three. However, as the projection (18) is non-zero, and {212}is three dimensional, it must be the case that h{Pij}1≤i<j≤4iC∼ ={212}. Putting all of these results together: Result 10. The Lie algebra LGMM of the four state general Markov model can be expressed as LGMM =h{Lij}1≤i6=j≤4iC ∼ =h{Lid}∪{Lα, Lβ, Lγ}∪{Ri}1≤i≤4∪{Ci}1≤i≤4∪{Pij}1≤i<j≤4iC, with linear dependencies Lid =Lα+Lβ+Lγ=R1+R2+R3+R4=C1+C2+C3+C4, P12 +P13 +P14 =P12 +P23 +P24 =P13 +P23 +P34 = 0, and decomposition into irreducible representations of S4: hLidiC∼ ={4}, hLα, Lβ, LγiC∼ ={4}⊕{22}, h{Ri}1≤i≤4iC∼ =h{Ci}1≤i≤4iC∼ ={4}⊕{31}, h{Pij}1≤i<j≤4iC∼ ={212}. We would of course like to understand the Lie algebra of LGMM in this basis. As discussed at the beginning of this section, we are unfortunately bereft of theoretical results that would take us directly from (7) and Result 10 to give the Lie algebra in this basis. Instead, resorting to tedious matrix computations we have found: Result 11. Using the basis defined by the decomposition into irreducible representations of S4 given in Result 10, the Lie algebra of the general Markov model (7) can be expressed as: [Ri, Rj] = Ri−Rj, [Lα, Lβ] = [Lα, Lγ] = [Lβ, Lγ] = 0, Lij|kl, Ri=Rj−Ri, [Ci, Cj] = Rj−Ri−Pij , [Ci, Rj] = δij (Lid −Rj), Ci, Lij|kl=Rj−Ri−Pij , (19) 23 with the understanding that Pij =−Pji,L12|34 =Lα,L13|24 =Lβand L14|23 =Lγ. This nicely gives us an alternative presentation of the Lie algebra of the general Markov model (7) in the basis that explicitly presents the decomposition into irreducible modules of S4. 6.2 Application of the general method. Following the general scheme of Section 5, our task now is to identify Lie Markov models occurring as sub-algebras in (19). In Table 2 we present the decomposition of the orbits of S4. These are computed by using the orbit stabilizer theorem and projecting hS4/HiConto the irreducible module Vλof S4using the projection operator Θλ. These computations are quite tedious, so here we will simply develop the case H=Z2≀Z2as an illustrative example. First of all we note that there are three copies of H=Z2≀Z2in S4: Z2≀Z2∼ ={e, (12),(34),(12)(34),(13)(24),(14)(23),(1324),(1423)} ∼ ={e, (13),(24),(13)(24),(12)(34),(14)(23),(1234),(1432)} ∼ ={e, (14),(23),(14)(23),(13)(24),(12)(34),(1243),(1342)}. (20) Obviously each of these copies of Z2≀Z2is structurally the same4and hence will result in an isomorphic action of S4on S4/H. Choosing the first copy of Z2≀Z2in (20), we have S4/Z2≀Z2={[e],[(13)],[(14)]} where [σ] represents the coset in S4/Z2≀Z2containing the element σ, so for example, [e] = {e, (12),(34),(12)(34),(13)(24),(14)(23),(1324),(1423)}, [(13)] = {(13),(123),(134),(1234),(24),(1432),(243),(142)}, [(14)] = {(14),(124),(143),(1243),(1342),(23),(132),(234)}. These cosets inherit an action of S4by taking σ: [σ′]7→ [σσ′], which can be extended linearly to a representation of S4by taking the module hS4/Z2≀Z2iC=h[e],[(13)],[(14)]iC∼ =C3, with action defined as follows: given σ∈S4, a vector v=c1[e] + c2[(13)] + c3[(14)] is mapped to v′:= σ·v=c1[σ] + c2[σ(13)] + c3[σ(14)]. We would like to decompose hS4/Z2≀Z2iCinto irreducible modules of S4. This can be achieved by applying the projection operators. For example: Θ{4}[e] = 1 24 Pσ∈S4σ·[e] =1 24 Pσ∈S4[σ] =1 24 (8[e] + 8[(13)] + 8[(14)]) , where, in the last equality, we have identified common cosets (eg. [(12)] = [e] etc.) As this projection is non-zero, we conclude that hS4/Z2≀Z2iCcontains the trivial representation {4}. It is easy to check that Θ{4}[(13)] = Θ{4}[(14)] = 1 3([e] + [(13)] + [(14)]) so in fact hS4/HiC contains {4}only once. Now, referring to the Table 1, we have Θ{31}[e] = 1 24 Pσ∈S4χ{31}(σ)σ·[e] =1 24 (3e+(12)+(13)+(14)+(23)+(24)+(34)−(12)(34)−(13)(24) −(14)(23)−(1234)−(1243)−(1324)−(1342)−(1423)−(1432)) ·[e] = 0, 4This is because each copy can be mapped to the others by conjugation with a permutation σ∈S4. 24 where again the final equality follows by identifying common cosets. Similarly, we check that Θ{31}[(13)] = Θ{31}[(14)] = 0 and we learn that hS4/Z2≀Z2iCdoes not contain the representation {31}. In any case we could have concluded this from the outset by noting that both {31}and hS4/Z2≀Z2iCare three-dimensional and we have already accounted for one of these dimensions of hS4/HiCwith the trivial representation. Referring again to Table 1, we see that either hS4/HiCcontains two copies of the sign representation {14}or a single copy of {22}. Consider Θ{22}[e] = 1 24 Pσ∈S4χ{22}(σ)·[e] =1 24 (2e−(123) −(124) −(134) −(143) −(234) −(243) +2(12)(34) + 2(13)(24) + 2(14)(23)) ·[e] =1 24 (2[e]−[(13)]−[(14)]−[(13)]−[(14)]−[(14)]−[(13)]+2[e]+2[e]+2[e]) =1 24 (8[e]−3[(13)] −3[(14)]) and Θ{22}[(13)] = 1 24 Pσ∈S4χ{22}(σ)·[(13)] =1 24 (2e−(123) −(124) −(134) −(143) −(234) −(243) +2(12)(34) + 2(13)(24) + 2(14)(23)) ·[(13)] =1 24 (2[(13)] −[(23)] −[(1324)] −[(14)] −[(34)] −[(1423)] −[(1243)] + 2[(1432)] + 2[(24)] + 2[(1234)]) =1 24 (8[(13)] −3[(23)] −3[e]) . Putting this together we have hS4/HiC=h[e] + [(13)] + [(14)],8[e]−3[(13)] −3[(14)],8[(13)] −3[(23)] −3[e]iC ∼ ={4}⊕{22}. Proceeding as in this example, we have produced the results summarized in Table 2. In particular, Table 2 gives the decomposition of the action of S4on hS4/HiCinto irreducible representations for each subgroup H≤S4. The second column records how many copies of each subgroup Hoccur in S4, with non-isomorphic copies accounted for with distinct decomposition in the fourth column. For example, there are two “types” of Z2in S4: Z2∼ ={e, (12)}∼ ={e, (13)}∼ ={e, (14)}∼ ={e, (23)}∼ ={e, (24)}∼ ={e, (34)}, or Z2∼ ={e, (12)(34)}∼ ={e, (13)(24)}∼ ={e, (14)(23)}. These two types are structurally different and as a result, the corresponding spaces hS4/HiC have differing decomposition into irreducible subspaces, as shown in Table 2. Similarly, there are two “types” of Z2×Z2: Z2×Z2∼ ={e, (12),(34),(12)(34)}∼ ={e, (13),(24),(13)(24)}∼ ={e, (14),(23),(14)(23)}, and Z2×Z2∼ ={e, (12)(34),(13)(24),(14)(23)}. 25 connections between the discrete Markov chains (or “algebraic models” (Pachter & Sturmfels, 2005)) and the continuous-time formulation provided by Lie Markov models. Finally, we can see from the results in this article that the success of Hadamard approach to the Kimura 3ST model (Hendy & Penny, 1989), and generalization via Fourier analysis to arbitrary (abelian) “group-based” models (Szek´ely et al., 1993), results directly from the fact that the Lie algebras of these models are abelian. In Lie theory language this means that any representation of the K3ST Lie algebra can be decomposed into one-dimensional irreducible representations, ie. it is fully “diagonalizable”. It is then interesting to try to understand the other Lie Markov models by applying techniques from Lie theory such as the sequence of derived sub-algebras and Cartan sub-algebras (Erdmann & Wildon, 2006). This point of view has significant potential to generalize the “thin flattenings” of Casanellas & Fern´andez-S´anchez (2010) applied to equivariant models, although the exact connections of these two points of view are not apparent to the authors at this stage. Acknowledgements This research was conducted with support from the University of Tasmania Visiting Fellows Program. The first author is funded by the Australian Research Council Discovery Project DP0770991, and the second author is partially supported by Ministerio de Educacin y Ciencia MTM2009-14163-C02-02, and Generalitat de Catalunya, 2009 SGR 1284 (Spain). References Baker, A. (2003). Matrix Groups: An Introduction to Lie Group Theory. Springer-Verlag. Bashford, J. D., Jarvis, P. D., Sumner, J. G. & Steel, M. A. (2004). U(1)×U(1)×U(1) symmetry of the Kimura 3ST model and phylogenetic branching processes. J. Phys. A Math. Gen. 37, L1–L9. Berman, A. & Plemmons, R. J. (1994). Nonnegative matrices in the mathematical sciences, vol. 9 of Classics in Applied Mathematics. Philadelphia, PA: Society for Industrial and Applied Mathematics (SIAM). Revised reprint of the 1979 original. Blanes, S. & Casas, F. (2004). On the convergence and optimization of the Baker–Campbell– Hausdorff formula. Linear Algebra and its Applications 378, 135–138. Bogopolski, O. (2008). Introduction to group theory. EMS Textbooks in Mathematics, Switzerland. Burnham, K. P. & Anderson, D. (2002). Model Selection and Multi-Model Inference. Springer-Verlag, London. Campbell, J. E. (1897). On a law of combination of operators (second paper). Proc. London Math. Soc. 28, 381390. Casanellas, M. & Fern´ andez-S´ anchez, J. (2010). Relevant phylogenetic invariants of evolutionary models. Journal de Mathmatiques Pures et Appliqus Article in Press. Draisma, J. & Kuttler, J. (2008). On the ideals of equivariant tree models. Mathematische Annalen 344, 619–644. 32 Drummond, A. J., Ho, S. Y. W., Phillips, M. J. & Rambaut, A. (2006). Relaxed phylogenetics and dating with confidence. PLoS Biol 4, e88. Erdmann, K. & Wildon, M. J. (2006). Introduction to Lie Algebras. Springer-Verlag, London. Felsenstein, J. (1981). Evolutionary trees from DNA sequences: a maximum likelihood approach. J. Mol. Evol. 17, 368–376. Felsenstein, J. (2004). Inferring Phylogenies. Sinauer Associates, Sunderland. Fletcher, W. & Yang, Z. (2009). INDELible: a flexible simulator of biological sequence evolution. Mol. Biol. and Evol. 26, 1879–1888. Gascuel, O. (ed.) (2005). Mathematics of Evolution and Phylogenetics. Oxford University Press. Hendy, M. D. & Penny, D. (1989). A framework for the quantitative study of evolutionary trees. Syst. Zool. 38, 297–309. Ho, S. Y. W., Phillips, M. J., Cooper, A. & Drummond, A. J. (2005). Time dependency of molecular rate estimates and systematic overestimation of recent divergence times. Mol. Biol. Evol. 22, 1561–1568. Ho, S. Y. W., Shapiro, B., Phillips, M. J., Cooper, A. & Drummond, A. J. (2007). Evidence for time dependency of molecular rate estimates. Syst Biol 56(3), 515–522. Jarvis, P. D. & Sumner, J. G. (2011). Markov invariants for phylogenetic rate matrices derived from embedded submodels. Accepted pending revision, TCCB ArXiv e-prints: 1008.1121. Johnson, J. E. (1985). Markov-type Lie groups in GL(n, R). J. Math. Phys. 26, 252–257. Jukes, T. H. & Cantor, C. R. (1969). Mammalian protein metabolism., chap. Evolution of Protein Molecules. New York: Academic Press, pp. 21–132. Kimura, M. (1981). Estimation of evolutionary distances between homologous nucleotide sequences. Proc. Natl. Acad. Sci. 78, 1454–1458. Lockhart, P. J., Steel, M. A., Barbrook, A. C., Huson, D. H. & Howe, C. J. (1998). A covariotide model describes the evolution of oxygenic photosynthesis. Mol. Biol. Evol. 15, 1183–1188. Mourad, B. (2004). On a Lie-theoretic approach to generalised doubly stochastic matrices and applications. Linear and Multilinear algebra 52, 99–113. Pachter, L. & Sturmfels, B. (2005). Algebraic Statistics for Computational Biology. Cambridge University Press, New York. Sagan, B. E. (2001). The Symmetric Group: Representations, Combinatorial Algorithms, and Symmetric Functions. Second Edition. Graduate Texts in Mathematics. Springer, New York. Steel, M. A. (1994). Recovering a tree from the leaf colourations it generates under a Markov model. Appl. Math. Lett. 7, 19–24. Stillwell, J. (2008). Naive Lie Theory. Undergraduate Texts in Mathematics. Springer, New York. 33 Sumner, J. G., Charleston, M. A., Jermiin, L. S. & Jarvis, P. D. (2008). Markov invariants, plethysms, and phylogenetics. J. Theor. Biol. 253, 601–615. Sumner, J. G., Holland, B. H. & Jarvis, P. D. (2011). The algebra of the general Markov model on trees and networks. Accepted pending revision, Bull. Math. Biol. ArXiv e-prints: 1008.1121. Szek´ ely, L. A., Steel, M. A. & Erd¨ os, P. L. (1993). Fourier calculus on evolutionary trees. Adv. Appl. Math. 14, 200–216. Tapp, C. (2005). Matrix Groups for Undergraduates. American Mathematical Society. Tuffley, C. & Steel, M. (1997). Modelling the covarion hypothesis of nucleotide substitution. Math. Biosci 147, 63–91. Whelan, S. (2008). Spatial and temporal heterogeneity in nucleotide sequence evolution. Mol. Biol. Evol. 25, 1683–94. 34