arXiv:2003.01574v4 [math.RA] 15 Mar 2021 ytm,te peri aybace fsinesc smathe as such [ science see of particular, branches in many in appear they time, by tde rmtevepito apid leri geometry algebraic [ (applied) theory of tation s viewpoint algebraic the Hopf from interesting studied an possess statist integrals to Iterated applied successfully been (co recently phenomena have nonlinear objects of power descriptive their usually to are Owing paths analysis stochastic of field de the uniquely In integrals iterated relation, equivalence an to their through is paths at look to way One A Introduction 1 t where aepae ao oeteeadti umntdi er Ly Terry in culminated this and there role major a played have td fteeitgaswsudrae yKoTa hn[ Chen Tsai Kuo by undertaken was integrals these of study i i “ r P ∗ ‡ † path .Ş oe,SSA ret (Italy) Trieste SISSA, () Sorea, Greifswald M.-Ş. of University Diehl, J. .Cleaeo nvriyo ascuet tAhrt(US Amherst at Massachusetts of University Colmenarejo, L. 1 0 d , . . . , etn fltiepts epoea nrgigcombinator intriguing an to prove connection we close paths, lattice of setting , n 1 sacniuu map continuous a is s oiae yaplnma dniyo eti trtdinte iterated certain of identity polynomial a by Motivated , ě and r peeie otnosydffrnibefntos D functions. differentiable continuously (piecewise) are , 1 and DR19 X 9 ar Colmenarejo Laura t p i udai dniyi h hffl ler and algebra shuffle the in identity quadratic A w w i q natraiepoffrd rinsformula Bruijn’s de for proof alternative an ]. 1 ż eoe h eiaieof derivative the denotes w , . . . , dX eBuj’ formula Bruijn’s de t p 1 w n 1 q X t P dX . . . CGM20 : 1 d , . . . , r 0 ∗ , t p n w 1 Ñ s n o references. for ] q u : eew s h brvae notations: abbreviated the use we Here . “ hnitrrtdi h rmwr fsgaue fpaths. of signatures of framework the in interpreted when trtdintegrals iterated R ac 6 2021 16, March ocaDiehl Joscha ż 0 d ă X esalasm httecmoet of components the that assume shall We . Abstract t 1 p 㨨¨ă w i q 1 o differentiable not ihrsett h variable the to respect with t n ă A) cllann [ learning ical emn path. a termine rcue[ tructure 1 † X 9 a dniyi h hffl ler.I a a has It algebra. shuffle the in identity ial pr hnsuiuns eutaoe,these above), result uniqueness Chen’s mpare t [ p Che57 1 AFS19 w 1 q rl,fis bevdi [ in observed first grals, n’ter of theory ons’ ais hsc,mdcn rfiac.For finance. or medicine physics, matics, . . . iuaŞeaaSorea Miruna-Ştefana Reu93 .Freape hnpoe ht up that, proved Chen example, For ]. X , 9 Gal19 oehls sohsi)integrals (stochastic) Nonetheless . t p srbn hnmn parametrized phenomena escribing LNO14 n w n q .Mr eetyte aebeen have they recently More ]. dt , 1 Stu96 dt . . . , og paths rough KSH t n , i , h rtsystematic first The . ` PSS19 17 CGM20 X , t i KO19 ‡ n represen- and ] : [ “ LQ02 nthe in ] X X , , p LZL X t , i q FH14 p , i q ` with for , 19 ]. ]. In [CGM20] an approach of studying signature-path tensors through the lens of toric geometry is presented and the following curious property was discovered.

Theorem 1.1 ([CGM20, Corollary 3.23]).

p1q p1q p1q pdq dX dX . . . dX dX 2 ż ż 1 1 ¨ . .. . ˛ σp q σpdq det . . . “ d signpσq dX . . . dX . (1) 2 S ˚ 1 ‹ ˜σP d ż ¸ ˚ dXpdqdXp q . . . dXpdqdXpdq‹ ÿ ˚ ‹ ˚ ‹ ˝ż ż ‚ Their proof is based on calculations with lattice paths. One consequence of this result is that it gives an inequality for the iterated integrals of order two (i.e. this particular determinant is non-negative). Notice that when working on the Zariski closure of the space of signatures, as in the framework of [AFS19], one can only obtain equalities. See [CGM20, p. 22-23] for more details. In the current paper we look at this statement from a purely algebraic perspective. (We advise the reader to peek ahead to Section 2 for notation used in the following.) Consider the space of formal linear combinations of words in the alphabet rds “ t1,..., du, and denote it by T pRdq. Given two words w and

v in the alphabet rds, the shuffle product of them, w ¡ v, is defined as the sum of all permutations of the concatenated word wv, that keep the respective order of the two words intact. For example,

12 ¡ 34 “ 1234 ` 1324 ` 1342 ` 3124 ` 3142 ` 3412.

d Then, T pR q, ¡ is an algebra known as the shuffle algebra. In a sense made precise in Section 2 the determinant (in the shuffle algebra) of the ` ˘ 11 . . . 1d . .. . ¨ . . . ˛ d1 . . . dd ˚ ‹ ˝ ‚ relates to the determinant (in R) appearing in (1). To reformulate the other side of the equality in (1), we recall the basis of SLpRdq-invariants in T pRdq, going back to Weyl [Wey46], and presented, in the language relevant used here, in [DR19]. This basis is indexed by standard Young tableaux of shape pw, . . . , wq, for

d times w ě 1. For us, only the cases w “ 1, 2 are relevant and we denote the basis by tinvpT qu, where T ranges looooomooooon over these standard Young tableaux. The definition of this basis is presented in Section 2.4, and we illustrate with two examples here:

1 inv “ 12 ´ 21, and ˜ 2 ¸ (2) 1 2 inv “ 1122 ´ 1221 ´ 2112 ` 2211. ˜ 3 4 ¸

We can now state our main theorem (see Theorem 4.1 in Section 4).

2 Theorem. For d ě 1 the following two equalities hold:

¡2 1 2 1 11 . . . 1d 3 4 1 2 . .. . ¨ ˛ ¨ ˛ det¡ “ inv . . “ inv . . ¨ . . . ˛ . . 2d . ˚ . . ‹ ˚ . ‹ d1 . . . dd ˚ ‹ ˚ ‹ ˚ ‹ ˚ 2d ´ 1 2d ‹ ˚ d ‹ ˝ ‚ ˚ ‹ ˚ ‹ ˝ ‚ ˝ ‚ In particular, we give a new and purely algebraic proof of the fact that the determinant of the second level of the iterated integrals signature is a square, Theorem 1.1 (see Corollary 4.2). As an application of our approach, we obtain the de Bruijn’s formula for the Pfaffian. We note that de Bruijn’s formula was looked at in the language of shuffle algebras already in [LT02]. Our viewpoint differs in that we approach the topic through invariant theory. In Section 2, we present the framework of the shuffle algebra and the half-shuffle products, together with their relation with the signatures of paths. Since our proof for the main theorem uses some results from representation theory, we include in Section 2.3 the necessary basic notions. Moreover, in Section 2.4 we relate our setting with the work of [DR19] about SLpRdq-invariants and signed volume. In Section 3 we present already known results that will help us to prove our main results. For instance, we present several identities related to the shuffle product that already appeared in [And83]. Section 4 is dedicated to prove our main theorem. In Section 5, we present the relation of our main theorem with the de Bruijn’s formula for both the even and odd-dimensional cases.

Acknowledgements

The authors express their gratitude to Bernd Sturmfels and Mateusz Michałek for helpful discussions and suggestions, and for bringing the team together. The authors are also grateful to the MPI MiS for giving us the opportunity to work on this project in such a nice environment. We would like to thank Darij Grinberg for making us aware of several inconsistencies in an earlier version. We are also grateful to the anonymous referees, for their careful reading and for their comments that helped us improve the quality of our manuscript.

Funding

Laura Colmenarejo was partially supported by MTM2016-75024-P.

2 Preliminaries

In this section we present several connected frameworks. First, we talk about the shuffle algebra and the half-shuffle operation. A survey on the history of the shuffle product can be found in [FP13] and our presentation here is inspired by [CP18], especially the part concerning the half-shuffle operation. Next, we describe briefly the relation between the setting of signatures of paths and the shuffle algebra. We refer the reader to [DR19, Subsection 2.1] for more details. We also include a brief summary of the

3 representation theory setting, which can be found in [FH91] with full detail. We finish by presenting a brief overview of the SLpRdq-invariants inside of T pRdq.

2.1 The shuffle algebra and half–shuffle products

Let us consider the alphabet rds “ t1,..., du and denote by rds˚ the set of words of any length in this alphabet, including the empty word ε. Denote by TpRdq the space of finite linear combinations of these words. Together with the concatenation product, w ¨ v, TpRdq, ¨ is an algebra, known as the tensor algebra. ` ˘ Let us consider another operation on TpRdq.

Definition 2.1. Consider the words u, v and w, and the letters a and b. The shuffle product of two

words is defined recursively by ¡

ε ¡ u “ u ε “ u, and

¡ ¡ pv ¨ aq ¡ pw ¨ bq “ pv pw ¨ bqq ¨ a ` ppv ¨ aq wq ¨ b.

d d This operation extends bilinearily to a commutative product on all of T pR q. The algebra TpR q, ¡ is known as the shuffle algebra. ` ˘ The shuffle product can be seen as the symmetrisation of the right half-shuffle product.

Definition 2.2. The right half-shuffle product is recursively given on words as

w ą a :“ wa, and w ą va :“ pw ą v ` v ą wq ¨ a, where w, v are words and a is a letter.

The definition of the half-shuffle goes back to considerations in topology [EML53, Section 18] and in Lie theory [Sch58]. Many variants and generalizations are known, see for example [AL04], [BR10].

Note that if w, v are any non-empty words, then w ¡ v “ w ą v ` v ą w. Hence in Definition 2.2 we

can replace w ą va “ pw ą v ` v ą wq ¨ a with the equivalent equality w ą va “ pw ¡ vq ¨ a. In general, for non-empty words, one has

u ą pv ą wq “ pu ¡ vq ą w. (3)

In particular, notice that the shuffle product is associative, while the half-shuffle product is not.

2.2 Iterated-integrals signatures of paths

For a (piecewise) smooth path X : r0, 1sÑ Rd the collection of iterated integrals

pa1q panq pa1q panq 9 9 1 dXt1 . . . dXtn :“ Xt1 . . . Xtn dt ...dtn, 0 1 ż ż ăt1㨨¨ătnă

4 where n ě 1 and a1,..., an P rds, is conveniently stored in the iterated-integrals signature

pa1q panq σpXq :“ dXt1 . . . dXtn w. ně0, ˚ ż w“a1...ÿanPrds

This object is a formal infinite sum of words w in the alphabet rds whose coefficients are given by the integrals. Alternatively, σpXq can be seen as a linear function on T pRdq given by

pw1q pwnq w,σpXq “ dXt1 . . . dXtn , A E ż for any element w P rds˚, and extended linearly to all of T pRdq. It turns out that σpXq is in fact a d multiplicative character (i.e. an algebra morphism into R) on pT pR q, ¡q, see [Reu93, Corollary 3.5]. This fact is also called the shuffle identity and reads as

Rd w ¡ v,σpXq “ w,σpXq ¨ v,σpXq , @w, v P T p q. (4) A E A E A E 2.3 Representation theory

This section provides some broad ideas from representation theory that are used in this paper. For more details, we refer the reader to [FH91]. Given a group G and an n-dimensional vector space over R, V , we say that the map ρ : G ÝÑ GLpV qq is a representation of G if ρ is a group homomorphism, where GLpV q is the group of automorphisms of V . In general, ρ is identified with V , and ρpgqpvq :“ g ¨ v, for all v P V and g P G. In this sense, we say that the group acts (on the left) on the vector space. There are different ways to construct representations from other representations; for instance, by constructing the direct sum or the tensor product of representations, or restricting or inducing representations from groups to subgroups, and vice versa. Another approach to understand representations is by looking at them as modules, which allows us to study representations as vector spaces over the group algebra RrGs (i.e. set of all linear combinations of elements in G with coefficients in R). A (non-zero) representation V of G is said to be irreducible if the only subspaces of V invariant under the action of G are the vector space itself and the trivial subspace. By Schur’s Lemma and Maschke’s Theorem, we know that given any representation of a well-behaved1 group G we can decompose it as the direct sum of irreducible representations.

‘nk That is V “ k Ik, where Ik – Wk , the Wk are pairwise non-isomorphic irreducible representations, and nk denotes their multiplicity (in V ). The Ik are called the isotypic components of V and this À decomposition is called the canonical decomposition of V or the decomposition into isotypic components Ik. Note that the decomposition into the Ik is unique, while the decomposition of Ik into the nk copies 2 of Wk is not. One of the main general goals in Representation Theory is to characterise the irreducible

1G finite or G “ SLpRdq will do. 2The idea for the isotypic decomposition is that there may be several irreducible representations inside of V that are isomorphic, and they are ’bundled’ in Ik.

5 representations of a group and to give an algorithm to compute the canonical decomposition of an arbitrary representation. Each representation is also characterised by the trace of the matrix associated to each element of the group. This vector is known as the character of the representation, and it is invariant under conjugation. Character theory is closely related to the theory of symmetric functions.

In this section we focus our attention on the symmetric group and on the general linear group. Let Sd be the group of permutations of t1, 2,...,du, for d ě 1. In the case of the symmetric group Sd, the conjugacy classes are in bijection with the partitions of d, which are weakly decreasing sequences of positive integers that sum up to d. This bijection is given by the decomposition of the permutations in cycles. Given a partition λ “ pλ1, λ2, . . . , λℓq, we associate to λ a Young diagram, which is just an array of boxes with th λi boxes in the i row. Then, the standard Young tableaux are fillings of Young diagrams with all the numbers in the set t1, 2,...,du that are increasing in columns and rows.

2.4 SL invariants and signed volume

The natural representation of SLpRdq on Rd induces a representation on T pRdq. The study of invariants to this action goes back over a century, see [Wey46] for a good starting point of the literature. We recall the presentation used in [DR19]. As mentioned in the introduction, a basis for the invariants is indexed by standard Young tableaux of shape pw, . . . , wq, for w ě 1 arbitrary. Given a Young tableaux T , the corresponding invariant basis

d times 3 element,looooomooooon denoted invpT q is obtained as follows: let n “ wd be the length of T and consider the word th w “ a1a2 . . . an, where aℓ “ i if and only if ℓ is in the i row of T . Then

invpT q :“ signpσqσw, σ ÿ where the sum is over all permutations σ P Sn that leave the values in each column of T unchanged. For 1 2 example, the tableau T “ gives the word 1122. Therefore, 3 4

1 2 inv “ pid ´p13q ´ p24q ` p13qp24qq1122 “ 1122 ´ 2112 ´ 1221 ` 2211. ˜ 3 4 ¸

Our study only looks at the following two particular standard Young tableaux for w “ 1, 2 4

1 1 2 2 3 4 t1,d :“ . , t2,d :“ . . . (5) . . .

d 2d ´ 1 2d

3 In [DR19] it is denoted by ιpeT q. 4 The basis element invpt1,dq has a nice geometric interpretation in the setting of iterated integrals, see [DR19] where it is denoted by invd.

6 In this case, we have that

inv pt1,dq“ signpσqσp12 ¨ ¨ ¨ dq (6) σPS ÿd inv pt2,dq“ signpσqσp1122 ¨ ¨ ¨ ddq, (7) σPH ÿd where Hd :“ p1, 3q, p2, 4q, p3, 5q,..., p2d ´ 2, 2dq Ď S2d. We also recallA the matrix introduced before: E 11 . . . 1d W . .. . d :“ ¨ . . . ˛ , (8) d1 . . . dd ˚ ‹ ˝ ‚ which is an element of Adˆd where A “ T pRdq, seen as a commutative algebra (over R).

3 Auxiliary results

3.1 An identity by Andréief

Notation 3.1. Please note that we use the convention of strict left bracketings for the half-shuffle product.5 For words w1,..., wk, w1 ą w2 ą . . . ą wk :“ ppw1 ą w2q ą . . . q ą wk.

The following lemma expresses the shuffle product of k words in terms of half-shuffle products.

Lemma 3.2. For any non-empty words w1,..., wk, the following equality holds: ¡ w1 ¡ ¨ ¨ ¨ wk “ wσp1q ą wσp2q ą . . . ą wσpkq. (9) σPS ÿk Proof. The identity can be proven by a simple induction on k, using (3). It also follows from a more abstract argument as follows. First, the statement is immediately seen to be true if the words w1, ..wk are in fact single (distinct) letters. Now, T pRkq is the free commutative dendriform algebra over k letters, [Sch58, p.19], [Lod95, Proposition 1.8]. In particular, for any commutative dendriform algebra Z and any map φ : t1, .., ku Ñ Z there exists a unique morphism Φ : T pRkq Ñ Z of commutative dendriform algebras satisfying

Φpiq“ φpiq, i “ 1,...,k.

d k

We specialize to Z “ T pR q and φpiq“ wi. Now, in T pR q we have the following identity ¡ 1 ¡ ... k “ σp1q ą ... ą σpkq. σPS ÿk 5Recall that the half-shuffle product is non-associative, so the specification of a bracketing is necessary.

7

Therefore, using that Φ is a morphism, we have that

¡ ¡ ¡ ¡ ¡ w1 ¡ ... wk “ Φp1q ... Φpkq“ Φ p1 ... kq“ Φ σp1q ą ... ą σpkq ˜σPS ¸ ÿk “ Φpσp1qq ą ... ą Φpσpkqq “ wσp1q ą wσp2q ą . . . ą wσpkq, σPS σPS ÿk ÿk as desired.

The following statement seems to first appear in [And83] (see also [dB55, p.1] and [For19]) and is also known as the continuous (or generalized) Cauchy-Binet formula [Joh05, Proposition 2.10]. Lemma 3.3 ([And83]). Let t1,..., du and t1,..., du be two alphabets in d letters each. Then 11 12 . . . 1d 21 22 . . . 2d ą ą ą det ¡ “ signpσq signpτq rσp1qτp1q σp2qτp2q . . . σpdqτpdqs (10) ¨...... ˛ σ,τPS ˚d1 d2 . . . dd‹ ÿ d ˚ ‹ ˝ ‚ Proof. For a fixed σ P Sd, applying Lemma 3.2 with wi :“ iσpiq, we get

d iσpiq“ τp1qσpτ 1qq ą τp2qσpτ 2qq ą . . . ą τpdqσpτpdqq. ¡1 i“ τPSd ÿ ` ` Then, the left-hand side of (10) is equal to,

d signpσq iσpiq“ signpσqτp1qσpτ 1qq ą τp2qσpτ 2qq ą . . . ą τpdqσpτpdqq ¡1 σPSd i“ σPSd τPSd ÿ ÿ ÿ ` ` “ signpσ ˝ τq signpτqτp1qσpτ 1qq ą τp2qσpτ 2qq ą . . . ą τpdqσpτpdqq

σPSd τPSd ÿ ÿ ` ` “ signpρq signpτqτp1qρ 1q ą τp2qρ 2q ą . . . ą τpdqρpdq,

ρPSd τPSd ÿ ÿ ` ` as desired.

3.2 The shuffle determinant

In this section we present a technical lemma that is crucial for the proof of our main result. This lemma W states that, for the determinant det ¡ p dq, the shuffle of letters can be replaced by a “shuffle of blocks of 2 letters”. First, let us see one example. Example 3.4. For d “ 2, we have that

W 11 12 ¡ det¡ p 2q“ det “ 1122 ` 2211 ´ 1221 ´ 2112 21 22 ˆ ˙ “ shuffle of the block 11 with the block 22 ´ shuffle of the block 12 with the block 21.

8 1 2 Further note, that this is equal to inv . ˜ 3 4 ¸

The general statement is as follows. Proposition 3.5.

1 2 d ÝÑ 3 4 W ¨ ˛ det¡ p dq“ signpσq τpiqσpτ iq “ inv . . , S S . . σP d ˆ τP d i“1 ˙ ˚ ‹ ÿ ÿ ź ` ˘ ˚ ‹ ˚ 2d ´ 1 2d ‹ ˚ ‹ ÝÑ ˝ ‚ where the product denotes the concatenation product. ź Before presenting the proof for Proposition 3.5, we illustrate its idea in the case d “ 3. Example 3.6. Consider d “ 3. By Lemma 3.3, we obtain 3 signpσq iσpiq“ signpσq signpτq rσp1qτp1q ą σp2qτp2q ą σp3qτp3qs ¡1 σPS3 i“ σ,τPS3 ÿ ÿ “ p11 ą 22q ą 33 ` p11 ą 33q ą 22 ` p22 ą 11q ą 33 ` p22 ą 33q ą 11 ` p33 ą 11q ą 22 ` p33 ą 22q ą 11 `¨¨¨´p13 ą 22q ą 31 ´ p13 ą 31q ą 22 ´ p22 ą 13q ą 31 ´ p22 ą 31q ą 13 ´ p31 ą 13q ą 22 ´ p31 ą 22q ą 31 “: ‹.

Now observe that the term ¡ p11 ą 22q ą 33 “ p11 ą 22q ¨ 33 ` p11 ¡ 2 3q ¨ 23

cancels with the term ¡ p11 ą 32q ą 23 “ p11 ą 32q ¨ 23 ` p11 ¡ 3 2q ¨ 23, to give the term p11 ą 22q ¨ 33 ´ p11 ą 32q ¨ 23. Applying this to all terms, we replace the right-most half-shuffle product by a concatenation product. That is,

‹ “p11 ą 22q ¨ 33 ` p11 ą 33q ¨ 22 ` p22 ą 11q ¨ 33 ` p22 ą 33q ¨ 11 ` p33 ą 11q ¨ 22 ` p33 ą 22q ¨ 11 ` . . . ´ p13 ą 22q ¨ 31 ´ p13 ą 31q ¨ 22 ´ p22 ą 13q ¨ 31 ´ p22 ą 31q ¨ 13 ´ p31 ą 13q ¨ 22 ´ p31 ą 22q ¨ 31.

A similar replacement now needs to be done for the remaining half-shuffle products. As an example of how this works, consider only the terms with 33 at the end

p11 ą 22q ¨ 33 ` p22 ą 11q ¨ 33 ´ p12 ą 21q ¨ 33 ´ p21 ą 12q ¨ 33 ¡

“ 11 ¨ 22 ¨ 33 ` p1 ¡ 2q ¨ 12 ¨ 33 ` 22 ¨ 11 ¨ 33 ` p2 1q ¨ 21 ¨ 33 ¡ ´ 12 ¨ 21 ¨ 33 ´ p1 ¡ 2q ¨ 21 ¨ 33 ´ 21 ¨ 12 ¨ 33 ´ p2 1q ¨ 12 ¨ 33 “ 11 ¨ 22 ¨ 33 ` 22 ¨ 11 ¨ 33 ´ 12 ¨ 21 ¨ 33 ´ 21 ¨ 12 ¨ 33,

9 Similarly, applying this procedure for all the other terms, we obtain

‹“` 11 ¨ 33 ¨ 22 ` 11 ¨ 22 ¨ 33 ` 33 ¨ 11 ¨ 22 ` 22 ¨ 11 ¨ 33 ` 22 ¨ 33 ¨ 11 ` 33 ¨ 22 ¨ 11 ` 31 ¨ 23 ¨ 12 ` 31 ¨ 12 ¨ 23 ` 12 ¨ 31 ¨ 23 ` 12 ¨ 23 ¨ 31 ` 23 ¨ 31 ¨ 12 ` 23 ¨ 12 ¨ 31 ` 13 ¨ 21 ¨ 32 ` 13 ¨ 32 ¨ 21 ` 21 ¨ 13 ¨ 32 ` 21 ¨ 32 ¨ 13 ` 32 ¨ 13 ¨ 21 ` 32 ¨ 21 ¨ 13 ´ 11 ¨ 23 ¨ 32 ´ 11 ¨ 32 ¨ 23 ´ 23 ¨ 11 ¨ 32 ´ 32 ¨ 11 ¨ 23 ´ 23 ¨ 32 ¨ 11 ´ 32 ¨ 23 ¨ 11 ´ 12 ¨ 21 ¨ 33 ´ 12 ¨ 33 ¨ 21 ´ 33 ¨ 12 ¨ 21 ´ 21 ¨ 12 ¨ 33 ´ 21 ¨ 33 ¨ 12 ´ 33 ¨ 21 ¨ 12 ´ 13 ¨ 31 ¨ 22 ´ 31 ¨ 13 ¨ 22 ´ 13 ¨ 22 ¨ 31 ´ 31 ¨ 22 ¨ 13 ´ 22 ¨ 13 ¨ 31 ´ 22 ¨ 31 ¨ 13, as desired.

Lemma 3.7. For any (non-commutative) polynomial P and for any letters a, b, c, d we have: ¡ pP ą rabsq ą rcds “ pP ą rabsq ¨ c ¨ d ` pP ¡ a cq ¨ b ¨ d. (11)

Proof. Using (3), we have:

¡ ¡

pP ą rabsq ą rcds “ pP ą rabsq ¡ cq ¨ d “ ppP aq ¨ bq cq ¨ d

¡ ¡ ¡ ¡ “ ppP ¡ aq ¨ bq ¨ cq ¨ d ` ppP aq cq ¨ b ¨ d “ pP ą rabsq ¨ c ¨ d ` pP a cq ¨ b ¨ d.

Proof of Proposition 3.5. The second equality is obtained as follows,

d d ÝÑ ÝÑ signpτq σpiqτpσ iq “ signpτq σpiqτpσpiqq S S S τP d ˆ σP d i“1 ˙ τ,σP d i“1 ÿ ÿ ź ` ˘ ÿ ź 1 2 d d ÝÑ ÝÑ ¨ 3 4 ˛ “ signpσq signpτ ˝ σq σpiqτ ˝ σpiq“ signpηq signpρq ηpiqρpiq“ inv . . . S S . . τ,σP d i“1 η,ρP d i“1 ˚ ‹ ÿ ź ÿ ź ˚ ‹ ˚ 2d ´ 1 2d ‹ ˚ ‹ ˝ ‚ Regarding the first equality, by Lemma 3.3, we have

d W ą ą ą

det¡ p dq“ signpσq iσpiq“ signpσq signpτq rσp1qτp1q σp2qτp2q . . . σpdqτpdqs ¡ σPS i“1 σ,τPS ÿd ÿ d “ signpτq signpσ ˝ τq rτp1qσpτp1qq ą τp2qσpτp2qq ą . . . ą τpdqσpτpdqqs , σ,τPS ÿ d where the last equality holds by rewriting the summation (and reusing the symbols σ and τ). Note that signpτq signpσ ˝ τq“ signpτq signpσq signpτq“ signpσq, and so signpτq does not appear in our summations anymore.

10 Then, we denote d´1 :“ d ´ 1 and we split our summation into two, depending on the values of τpd´1q and τpdq:

signpσq rτp1qσpτp1qq ą τp2qσpτp2qq ą . . . ą τpdqσpτpdqqs σ,τPS ÿ d “ signpσq rτp1qσpτp1qq ą τp2qσpτp2qq ą . . . ą τpdqσpτpdqqs

σ,τPSd τpd´1ÿqăτpdq ` signpσq rτp1qσpτp1qq ą τp2qσpτp2qq ą . . . ą τpdqσpτpdqqs

σ,τPSd τpd´1ÿqąτpdq

These summations contain terms that cancel each other, and so we want to control those terms. To do so, we first rewrite the summation for τpd´1qą τpdq in the following way:

signpσq rτp1qσpτp1qq ą . . . ą τpdqσpτpdqqs

σ,τPSd τpd´1ÿqąτpdq

“ signpηq δp1qηpδp1qq ą . . . ą pδpd ´ 2qηpδpd ´ 2qq ą pδpdqqηppδpdqq ą δpd´1qηpδpd´1qq , η,δPSd δpd´1ÿqăδpdq ” ı where we rewrite the summation by taking σ “ η and δ “ τ ˝pd, d´1q, so that δpiq“ τpiq for 1 ď i ď d ´ 2, δpd´1q“ τpdq, and δpdq“ τpd´1q. Next, we apply Lemma 3.7 to both summations. For the first summation, we have that

signpσq rτp1qσpτp1qq ą . . . ą τpdqσpτpdqqs

σ,τPSd τpd´1ÿqăτpdq

“ signpσq rτp1qσpτp1qq ą . . . ą τpd´1qσpτpd´1qqs τpdqσpτpdqq σ,τPSd

τpd´1ÿqăτpdq ¡ ` signpσq pprτp1qσpτp1qq ą . . . ą τpd ´ 2qσpτpd ´ 2qqs ¡ τpd´1q τpdqqqσpτpd´1qqσpτpdqq, σ,τPSd τpd´1ÿqăτpdq while for the second summation we have that

signpηq δp1qηpδp1qq ą . . . ą pδpd ´ 2qηpδpd ´ 2qq ą pδpdqqηppδpdqq ą δpd´1qηpδpd´1qq η,δPSd δpd´1ÿqăδpdq ” ı ı

“ signpηq rδp1qηpδp1qq ą . . . ą δpdqηpδpdqqs δpd´1qηpδpd´1qq η,δPSd

δpd´1ÿqăδpdq ¡ ` signpηq pprδp1qηpδp1qq ą . . . ą δpd ´ 2qηpδpd ´ 2qqs ¡ δpd δpd´1qqqηpδpdqqηpδpd´1qq. η,δPSd δpd´1ÿqăδpdq

11

Now we are ready to identify the terms that cancel with each other. In fact, we want to see that ¡ signpσq pprτp1qσpτp1qq ą . . . ą τpd ´ 2qσpτpd ´ 2qqs ¡ τpd´1q τpdqqqσpτpd´1qqσpτpdqq σ,τPSd

τpd´1ÿqăτpdq ¡ ` signpηq pprδp1qηpδp1qq ą . . . ą δpd ´ 2qηpδpd ´ 2qqs ¡ δpd δpd´1qqqηpδpdqqηpδpd´1qq “ 0. η,δPSd δpd´1ÿqăδpdq (12)

In order to prove (12), we identify terms from each summation. Given σ, τ P Sd, consider the unique ´1 permutations η, δ P Sd such that δ “ τ and η “ σ ˝τ ˝pd, d´1q˝τ . Thus, δpiqηpδpiqq, for 1 ď i ď d ´ 2, ηpδpdqqηpδpd´1qq “ σpτpd´1qqσpτpdqq, and signpηq“´ signpσq. This implies that the terms in the first summation of (12) cancel with the terms appearing in the second summation. Therefore,

signpσq rτp1qσpτp1qq ą τp2qσpτp2qq ą . . . ą τpdqσpτpdqqs σ,τPS ÿ d “ signpσq rτp1qσpτp1qq ą . . . ą τpd´1qσpτpd´1qqs τpdqσpτpdqq σ,τPSd τpd´1ÿqăτpdq

` signpηq rδp1qηpδp1qq ą . . . ą δpdqηpδpdqqs δpd´1qηpδpd´1qq. η,δPSd δpd´1ÿqăδpdq

Note that if we take η “ σ and δ “ τ ˝ pd, d ´ 1q, the second summation corresponds to the condition τpd´1qą τpdq and the summations merge into one:

signpσq rτp1qσpτp1qq ą τp2qσpτp2qq ą . . . ą τpdqσpτpdqqs σ,τPS ÿ d “ signpσq rτp1qσpτp1qq ą . . . ą τpd´1qσpτpd´1qqs τpdqσpτpdqq σ,τPS ÿ d Our final step is basically using the inductive hypothesis on the remaining half-shuffle corresponding to d´1. However, one should notice that the factor τp1qσpτp1qq ą . . . ą τpd´1qσpτpd´1qq does not correspond directly to a term in Sd´1. However, a permutation can be seen as a comparison between total order relations on a set of objects. In this way, for the inductive step, we can consider the restriction of this total order relation to a subset of d ´ 1 elements. Thus, replacing step by step all the half-shuffle products by concatenation, we obtain the desired identity

d d ÝÑ

signpσq iσpiq“ signpσq τpiqσpτ iq . ¡ S i“1 S S σ,τP d σP d ˆ τP d i“1 ˙ ÿ ÿ ÿ ź ` ˘

4 Main result

The aim of this section is to prove the following theorem.

12 Theorem 4.1. For d ě 1,

¡2 1 2 1 3 4 1 2 W ¨ ˛ ¨ ˛ det¡ p q“ inv . . “ inv . , d . . 2d . ˚ . . ‹ ˚ . ‹ ˚ ‹ ˚ ‹ ˚ 2d ´ 1 2d ‹ ˚ d ‹ ˚ ‹ ˚ ‹ ˝ 1 ‚ ˝ ‚ W t t ¡2 i.e., using the notation (5), det¡ p dq“ invp 2,dq“ 2d invp 1,dq .

Before presenting the proof for Theorem 4.1, we show that Theorem 1.1 is a consequence of it. Corollary 4.2. Equation (1) holds.

Proof. x11,σpXqy . . . x1d,σpXqy dXp1qdXp1q . . . dXp1qdXpdq . .. . ¨ . . . ˛ ¨ż . . ż . ˛ xd1,σpXqy . . . xdd,σpXqy det . .. . “ det ˚ ‹ ˚ ‹ ˚ pdq p1q p1q pdq‹ ˚ ‹ ˚ dX dX . . . dX dX ‹ ˚ ‹ ˚ ‹ ˚ ‹ ˚ż ż ‹ ˚ ‹ ˝ ‚ ˚ ‹

1 ˝ 1 ‚ ¡ (4) W Thm 4.1 t ¡2 t 2

“ det ¡ p q,σpXq “ inv p 1 q ,σpXq “ inv p 1 q ,σpXq d 2d ,d 2d ,d A E A E A 2 E 2 (4) 1 1 σp1q σpdq “ inv pt1 q ,σpXq “ signpσq dX . . . dX . 2d ,d 2d ˜σPS ¸ A E ÿd ż

From Proposition 3.5 we already know that the first equality holds. To show the second equality we use the following strategy:

Step 1 Show that the two terms lie in the same isotypic component of a representation of a certain subgroup of S2d, and that this isotypic component has dimension 1. Step 2 Determine the pre-factors, by looking at the factors on a particular word in each side of the equality.

¡2 For Step 1, we first observe that both invpt2,dq and invpt1,dq are in the irreducible representation for S2d corresponding to the shape p2, 2,..., 2q. Denote by χ1 the irreducible character for this shape.

Recall that we denote by Hd the subgroup of S2d given by

Hd “ p1, 3q, p2, 4q, p3, 5q,..., p2d ´ 2, 2dq – Sd ˆ Sd. A E Note that χ1 is also a character for Hd, but it is not irreducible. Let χ2phq :“ signphq, for all h P Hd, be the character for the one-dimensional sign-representation restricted from S2d to Hd. This representation is still irreducible, since it is one-dimensional.

13 Recall the two standard Young tableaux defined in (5). The following two results show that both

¡2 pinvpt1,dq and invpt2,dq lie in the isotypic component related of this sign-representation.

Lemma 4.3. For all h P Hd, ¡

¡2 2 1 1 ¨ 2 ˛ ¨ 2 ˛ h ¨ invd . “ signphq ¨ invd . . ˚ . ‹ ˚ . ‹ ˚ ‹ ˚ ‹ ˚ d ‹ ˚ d ‹ ˚ ‹ ˚ ‹ ˝ ‚ ˝ ‚ Proof. Note that it is enough to show this result for generators of the subgroup Hd, in particular permu- tations of the form h “ pi, i ` 2q, with i P t1, 2,..., 2d ´ 2u are sufficient.

¡2

By (6), we have that invpt1,dq “ signpσq signpτq rσp12 . . . dq ¡ τp12 . . . dqs, and we want to show σ,τPSd that ÿ

signpσq signpτq rσp12 . . . dq ¡ τp12 . . . dqs σ,τPS ÿ d

“ signppi, i ` 2qq signpσq signpτqpi, i ` 2q rσp12 . . . dq ¡ τp12 . . . dqs . (13) σ,τPS ÿ d

If we expand σp12 . . . dq ¡ τp12 . . . dq in each side and do not simplify the expression, we obtain on both sides a huge sum of words with coefficients in t˘1u. To see that both expressions are equal, we show that there is a one-to-one correspondence between the terms in both sums, and that the signs are equal. We are considering all terms appearing in the sums in Equation (13) and we identify each word w with a triplet rσ, τ, P s, where P keeps track of the position of the letters coming from σp12 . . . dq as an increasing list. To visualize our argument, we color-code the letters 12 . . . d when they are letters coming from σp12 . . . dq and 12 . . . d when they are letters coming from τp12 . . . dq.

Let w “ w1 . . . wiwi`1wi`2 . . . w2d be a word appearing in σp12 . . . dq ¡ τp12 . . . dq. This word cor- responds to a triplet rσ, τ, P s. Now, we apply h “ pi, i ` 2q to w and we want to describe the triplet rσ1,τ 1, P 1s corresponding to hw. That is, we want to describe the one-to-one correspondence

w “ w1 . . . wiwi`1wi`2 . . . w2d ÞÝÑ hw “ w1 . . . wi`2wi`1wi . . . w2d

rσ, τ, P s ÞÝÑ rσ1,τ 1, P 1s

We describe this map by cases depending on whenever the letters wi, wi`1 and wi`2 are from σp12 . . . dq or from τp12 . . . dq; that is, depending on the colors of the letters wi, wi`1, and wi`2. Before describing all the possible cases, we need some more notation. Recall that σ and τ act on the left, which means that the act on the positions of 12 . . . d. Therefore, σp12 . . . dq “ σ´1p1qσ´1p2q ...σ´1pdq and τp12 . . . dq “ τ ´1p1qτ ´1p2q ...τ ´1pdq. This implies that the letters appearing in w corresponds to σ´1pjq or τ ´1pjq, for some j P rds. Now, we are ready to describe all the possible cases. We only look at the relevant part of w, and we

include an example using σ “ p1, 3, 4q, τ “ p1, 2, 3q and 4213 ¡ 3124 to illustrate each case.

14 (C1) If the three letters are coming from σp12 . . . dq, then

w hw

wi wi`1 wi`2 wi`2 wi`1 wi σ´1pjq σ´1pj ` 1q σ´1pj ` 2q σ´1pj ` 2q σ´1pj ` 1q σ´1pjq

Therefore, σ1 “ pj, j `2qσ, τ 1 “ τ, and P 1 “ P since the position of the blue letters does not change.

(C2) If two of the letters are coming from σp12 . . . dq and the other one is coming from τp12 . . . dq, then we have three cases:

(C2.a) w hw

wi wi`1 wi`2 wi`2 wi`1 wi σ´1pjq σ´1pj ` 1q τ ´1pkq τ ´1pkq σ´1pj ` 1q σ´1pjq Therefore, σ1 “ pj, j ` 1qσ and τ 1 “ τ. Moreover, we know that P is of the form P “ p...,i,i ` 1,... q, with no i ` 2 in P . Therefore, P 1 is of the form P 1 “ p...,i ` 1, i ` 2,... q, with no i in P 1. (C2.b) w hw

wi wi`1 wi`2 wi`2 wi`1 wi σ´1pjq τ ´1pkq σ´1pj ` 1q σ´1pj ` 1q τ ´1pkq σ´1pjq Therefore, σ1 “ pj, j ` 1qσ, τ 1 “ τ, and P 1 “ P since the position of the blue letters does not change. (C2.c) w hw

wi wi`1 wi`2 wi`2 wi`1 wi τ ´1pkq σ´1pjq σ´1pj ` 1q σ´1pj ` 1q σ´1pjq τ ´1pkq Therefore, σ1 “ pj, j ` 1qσ and τ 1 “ τ. Moreover, we know that P is of the form P “ p...,i ` 1, i ` 2,... q, with no i in P . Therefore, P 1 is of the form P 1 “ p...,i,i ` 1,... q, with no i ` 2 in P 1.

(C3) If one of the letters is coming from σp12 . . . dq and the other two are coming from τp12 . . . dq, then we have three cases:

(C3.a) w hw

wi wi`1 wi`2 wi`2 wi`1 wi σ´1pjq τ ´1pkq τ ´1pk ` 1q τ ´1pk ` 1q τ ´1pkq σ´1pjq

15 Therefore, σ1 “ σ and τ 1 “ pk, k ` 1qτ. Moreover, we know that P is of the form P “ p...,i,... q, with no i ` 1, i ` 2 in P . Therefore, P 1 is of the form P 1 “ p...,i ` 2,... q, with no i, i ` 1 in P 1. (C3.b) w hw

wi wi`1 wi`2 wi`2 wi`1 wi τ ´1pkq σ´1pjq τ ´1pk ` 1q τ ´1pk ` 1q σ´1pjq τ ´1pkq Therefore, σ1 “ σ, τ 1 “ pk, k ` 1qτ, and P 1 “ P since the position of the blue letters does not change. (C3.c) w hw

wi wi`1 wi`2 wi`2 wi`1 wi τ ´1pkq τ ´1pk ` 1q σ´1pjq σ´1pjq τ ´1pk ` 1q τ ´1pkq Therefore, σ1 “ σ and τ 1 “ pk, k ` 1qτ. Moreover, we know that P is of the form P “ p...,i ` 2,... q, with no i, i ` 1 in P . Therefore, P 1 is of the form P 1 “ p...,i,... q, with no i ` 1, i ` 2 in P 1.

(C4) If the three letters are coming from τp12 . . . dq, we only have one case:

w hw

wi wi`1 wi`2 wi`2 wi`1 wi τ ´1pkq τ ´1pk ` 1q τ ´1pk ` 2q τ ´1pk ` 2q τ ´1pk ` 1q τ ´1pkq

Therefore, σ1 “ σ, τ 1 “ pk, k ` 2qτ, and P 1 “ P since the position of the blue letters does not change.

Finally, we look at the sign. Notice that in all the cases, signpσq signpτq “ signpi, i ` 2q signpσ1q signpτ 1q because either σ1 nor τ 1 differ from σ and τ, respectively, by a transposition.

Example 4.4. Consider σ “ p1, 3, 4q and τ “ p1, 2, 3q, for which σp1234q“ 4213 and τp1234q“ 3124.

Then, w “ 43121324 is a word appearing in 4213 ¡ 3124. Let us illustrate the cases in the previous proof with this example with i “ 4:

Case (C1) Case (C2.a) 43121324 43131224 42313124 42313124 σp1234q“ 4213 σ1p1234q“ 4312 “ p2, 4qσ σp1234q“ 4213 σ1p1234q“ 4231 “ p3, 4qσ τp1234q“ 3124 τ 1p1234q“ 3124 τp1234q“ 3124 τ 1p1234q“ 3124 P “ r1, 4, 5, 6s P 1 “ r1, 4, 5, 6s P “ r1, 2, 4, 5s P 1 “ r1, 2, 5, 6s

16 Case (C2.b) Case (C2.c) 42311324 42331124 42311324 42331124 σp1234q“ 4213 σ1p1234q“ 4231 “ p3, 4qσ σp1234q“ 4213 σ1p1234q“ 4231 “ p3, 4qσ τp1234q“ 3124 τ 1p1234q“ 3124 τp1234q“ 3124 τ 1p1234q“ 3124 P “ r1, 2, 4, 6s P 1 “ r1, 2, 4, 6s P “ r1, 2, 5, 6s P 1 “ r1, 2, 4, 5s Case (C3.a) Case (C3.b) 42311234 42321134 42311234 42321134 σp1234q“ 4213 σ1p1234q“ 4213 σp1234q“ 4213 σ1p1234q“ 4213 τp1234q“ 3124 τ 1p1234q“ 3214 “ p2, 3qτ τp1234q“ 3124 τ 1p1234q“ 3214 “ p2, 3qτ P “ r1, 2, 4, 7s P 1 “ r1, 2, 6, 7s P “ r1, 2, 3, 4s P 1 “ r1, 2, 3, 6s Case (C3.c) Case (C4) 42312134 42312134 42131234 42121334 σp1234q“ 4213 σ1p1234q“ 4213 σp1234q“ 4213 σ1p1234q“ 4213 τp1234q“ 3124 τ 1p1234q“ 3214 “ p2, 3qτ τp1234q“ 3124 τ 1p1234q“ 2134 “ p1, 3qτ P “ r1, 2, 6, 4s P 1 “ r1, 2, 4, 6s P “ r1, 2, 3, 7s P 1 “ r1, 2, 3, 7s

It is immediate that invpt2,dq satisfies the analogous statement.

Lemma 4.5. For all h P Hd,

1 2 1 2 ¨ 3 4 ˛ ¨ 3 4 ˛ h ¨ inv . . “ signphq ¨ inv . . . ˚ . . ‹ ˚ . . ‹ ˚ ‹ ˚ ‹ ˚ 2d ´ 1 2d ‹ ˚ 2d ´ 1 2d ‹ ˚ ‹ ˚ ‹ ˝ ‚ ˝ ‚ Now, we want to see that the dimension of this isotypic component is 1. This follows from the fact that the multiplicity of the irreducible character χ2 in χ1 is equal to one in the case we are considering.

Lemma 4.6. Consider the decomposition (with respect to Hd) of the representation (with respect to S2d) corresponding to χ1. In this decomposition, the multiplicity of the irreducible sign-representation, i.e. the irreducible representation corresponding to χ2, has multiplicity one.

Proof. We want to look at the sign representation of S2d, sign, in terms of representations of Sd since we have that Hd – Sd ˆ Sd.

Consider λ “ µ “ p1, ..., 1q, so that Vλ “ Vµ is the sign representation of Sd, and ν “ p2, ..., 2q. d times d times

Denote by Vλ b Vµ loomoonthe (external) product of representations (see [FH91, Exercise 2.36]).loomoon Then, we claim that Vλ bVµ – sign |Hd , where sign |Hd denotes the restriction of the representation sign to Hd. By [FH91,

17 Exercise 2.36] all the irreducible representations of Sd ˆSd are given by the external product of irreducible representations of Sd. In our case, there are exactly two one-dimensional irreducible representations of Sd, the trivial and the sign representations. Thus, there are exactly 4 different one-dimensional representations of Sd ˆ Sd, obtained by taking the external product of either the trivial or the sign representation with, again, either the trivial or the sign representation. Now, sign |Hd is one-dimensional, and so it has to be one of these 4 different representations. Therefore, sign |Hd has to correspond to the one claimed, Vλ b Vµ.

Hence, the multiplicity (as a Hd representation) of χ2 inside of χ1 (as S2d representation) is given by the multiplicity (as Sd ˆ Sd representation) of Vλ b Vµ inside of Vν. By [FH91, Exercise 4.43, Appendix A.1] ν the latter is given by the Littlewood-Richardson coefficient cλµ. That is, we are counting the number of semi-standard Young tableaux of skew-shape ν{λ and type µ such that the reading word is a lattice word (see [Sta99]). In our case, ν{λ is exactly a column and type µ means that we have to fill out the column exactly with the numbers 1, 2,...,d in increasing order. Since there is only one way to do it and the ν lattice word condition is trivially satisfied, cλµ “ 1.

We are now ready to finish the proof of our main theorem.

Proof of Theorem 4.1. Let us start by summarising the situation. By Proposition 3.5 we have that

W t t t ¡2 det ¡ p dq “ invp 2,dq. Now both invp 2,dq and pinvp 1,dqq live in the irreducible S2d-representation corresponding to the shape p2, 2,..., 2q. Restricting this representation to the subgroup Hd of S2d

W t ¡2 and decomposing into irreducible representations of Hd, we have that det¡ p dq and pinvp 1,dqq lie in the component corresponding to the sign-representation, see Lemmas 4.3 and 4.5. We also know, by Lemma 4.6, that this component is 1-dimensional. Our last step is to prove that the prefactors are as stated. Now, the word 1122 . . . dd can only be obtained from shuffling 12 . . . d with 12 . . . d, which results in a factor of 2d. Using the fact that it reduces to shuffle W products of blocks of 2 letters (Proposition 3.5), one sees that in det¡ p dq, the word 1122 . . . dd appears with the factor one.

The following example illustrates the computation of the prefactors from Theorem 4.1 for d “ 3.

¡2

Example 4.7. The word 112233 appearing in invpt1,3q , can only come from the shuffle 123 ¡ 123. This can happen in 23 “ 8 ways, namely (using the color-code from the proof of Lemma 4.3)

112233, 112233, 112233, 112233, 112233, 112233, 112233, 112233. ¡ W ¡

On the other hand, in det¡ p 3q it only appears once in the term coming from 11 22 33 (the diagonal of the matrix in the Leibniz formula for the determinant).

5 Pfaffians and de Bruijn’s formula

Before stating and proving de Bruijn’s formula, we recall some definitions and present some technical results. Let A be a commutative algebra over R. Lemma 5.1. Let A P Adˆd anti-symmetric, v P Ad and λ P A.

18 • If d is even, detrA ` λvvJs“ detrAs.

J d th • If d is odd, detrA ` λvv s“ i“1 detrRis, where Ri denotes the matrix A, with i column by that row of λvvJ. ř J Proof. Let V :“ λvv . For I Ă rns :“ t1,...,nu, let RI be the matrix A with the rows corresponding to I replaced by the corresponding rows of V . Correspondingly, let CI be the matrix A with the columns corresponding to I replaced by the corresponding columns of V . Then

n detrA ` V s“ detpRI q“ detpAq` detpRtiuq I n i“1 Ărÿ s ÿ n detrA ` V s“ detpCI q“ detpAq` detpCtiuq, I n i“1 Ărÿ s ÿ where we used the fact that detpRI q“ detpCI q“ 0 if |I|ě 2.

If d is odd, detrAs“ 0, since A is anti-symmetric. This yields the statement in this case, with (Ri :“ Rtiu). If d is even, we add the two expansions to get

1 n detrA ` V s“ detrAs` detpR q` detpC q , 2 tiu tiu i“1 ÿ ` ˘ and we get detpRtiuq“´ detpCtiuq, for all i P rns. This finishes the proof.

d For the following statement recall the matrix Wd from (8) with entries in the shuffle algebra T pR q. W 1 W WJ Lemma 5.2. Write Symr ds4 :“ 2 p d ` d q. Then we have

1 1 J 1 2 2

SymrWds“ ¨ . ˛ ¡ ¨ . ˛ . 2 . . ˚ ‹ ˚ ‹ ˚d‹ ˚d‹ ˚ ‹ ˚ ‹ ˝ ‚ ˝ ‚ Proof. We have the following computation

1 1 J

¡ ¡ 1 ¡ 1 1 2 . . . 1 d 11 ` 11 12 ` 21 . . . 1d ` d1 2 2 ...... J

¨ ˛ ¡ ¨ ˛ W W . . “ . . .. . “ . . .. . “ d ` d .

. . ¨ ˛ ¨ ˛

¡ ¡ ˚ ‹ ˚ ‹ d ¡ 1 d 2 . . . d d d1 ` 1d d2 ` 2d . . . dd ` dd ˚d‹ ˚d‹ ˚ ‹ ˚ ‹ ˚ ‹ ˚ ‹ ˝ ‚ ˝ ‚ ˝ ‚ ˝ ‚

The following definition is well-known ([Bou07, Chapter 5.2, p.82])

19 dˆd Definition 5.3. Let A “ paijq P A be a anti-symmetric matrix, where d is even. Then

d{2 1 1 PfArAs :“ signpπq a 2 1 2 2d{2 pd{2q! πp i´ qπp iq πPS i“1 ÿd ź is called the Pfaffian of A.

For the following statement see for instance [Art57, pages 140-141], [Led93], and references therein. Lemma 5.4. Let d be even and A P Adˆd a anti-symmetric matrix. We have the following identity: 2 detArAs “ pPfArAsq .

5.1 Deducing de Bruijn’s formula from our results

The de Bruijn’s formula has two different formulations depending on the parity of d. We compare both formulations with our results. We recall that any matrix M can be written as the sum of its symmetric part and its anti-symmetric part 1 J 1 J M “ SymrMs` AntirMs, SymrMs :“ 2 pM ` M q and AntirMs :“ 2 pM ´ M q. For d even, de Bruijn’s formula ([dB55], see also [DR19, Remark 3.18]), reads, in modern language, as follows. Theorem (de Bruijn’s formula - Even case).

1 2 ¨ ˛ d{2 W inv . “ 2 Pf ¡ rAntir dss. ˚ . ‹ ˚ ‹ ˚ d ‹ ˚ ‹ ˝ ‚ Proof. We deduce this from our results in the main text. First, Theorem 4.1 gives

¡2 1 2 ¨ ˛ d W inv . “ 2 det¡ r ds. . ˚ ‹ ˚ ‹ ˚ d ‹ ˚ ‹ ˝ ‚

W W W W W ¡ Note that d “ Symp dq`Antip dq. Then, by Lemma 5.2, det¡ r ds“ det rAntir dss. By properties

W W ¡2 ¡ of the Pfaffian, Lemma 5.4, det¡ rAntir dss “ Pf rAntir dss . Hence

¡2 1 2 ¨ ˛ d W ¡2 inv . “ 2 Pf ¡ rAntir dss . ˚ . ‹ ˚ ‹ ˚ d ‹ ˚ ‹ ˝ ‚ 20 Since the shuffle algebra is commutative and integral, we deduce that:

1 2 ¨ ˛ d{2 W inv . “˘2 Pf ¡ rAntir dss. . ˚ ‹ ˚ ‹ ˚ d ‹ ˚ ‹ ˝ ‚ By comparing the coefficient of the word 123 . . . d, we deduce that the sign must be positive, and have thus shown de Bruijn’s formula in the even case.

Example 5.5. de Bruijn’s formula in the case d “ 4 gives

1 0 12 ´ 21 13 ´ 31 14 ´ 41 ¨ 2 ˛ 21 ´ 12 0 23 ´ 32 24 ´ 42

inv “ 4Pf ¡ ¨ ˛ , 3 31 ´ 13 32 ´ 23 0 34 ´ 43 ˚ ‹ ˚ ‹ ˚41 ´ 14 42 ´ 24 43 ´ 34 0 ‹ ˚ 4 ‹ ˚ ‹ ˚ ‹ ˝ ‚ ˝ ‚ whereas Theorem 4.1 gives

¡2 1 11 12 13 14 ¨ 2 ˛ 21 22 23 24

inv “ 16 det¡ ¨ ˛ . 3 31 32 33 34 ˚ ‹ ˚ ‹ ˚41 42 43 44‹ ˚ 4 ‹ ˚ ‹ ˚ ‹ ˝ ‚ ˝ ‚ Now, we look at the odd case.

Theorem (de Bruijn’s formula - Odd case). For d odd, de Bruijn’s formula ([dB55]) reads as

1 ¨ 2 ˛ inv . “ Pf ¡ rZds, ˚ . ‹ ˚ ‹ ˚ d ‹ ˚ ‹ ˝ ‚ where Zd denotes the matrix of the form 1 2 ¨ 2 AntirWds . ˛ Zd “ . . ˚ ‹ ˚ d ‹ ˚ ‹ ˚ ´1 ´2 ¨¨¨ ´d 0 ‹ ˚ ‹ ˝ ‚ Proof. We follow a similar strategy as in the even-dimensional case, to show this theorem using our results. As before, we decompose into symmetric and anti-symmetric part, Wd “ SymrWds` AntirWds.

21 W 1 J J W By Lemma 5.2, Symr ds “ 2 vv for v “ 1 2 ¨ ¨ ¨ d . Then by Lemma 5.1, det ¡ r ds “ d W th 1 J

det¡ R R Anti i v v i“1 r is, where i is the matrix r ds“with row replaced‰ by 2 i . řNow 1

d 2 ¨ 2 AntirW s ˛

´d d . ´d

¡ ¡ det¡ rRis“ 2 det . “ 2 det pZdq, 1 ˚ ‹ i“ ˚ d ‹ ÿ ˚ ‹ ˚ ´1 ´2 ¨¨¨ ´d 0 ‹ ˚ ‹ ˝ ‚

d W ¡ which gives 2 det ¡ r ds“ det pZdq. Combining with our Theorem 4.1, we get

¡2 1 2

¨ ˛ d W ¡ inv . “ 2 det¡ r ds“ det pZdq. ˚ . ‹ ˚ ‹ ˚ d ‹ ˚ ‹ ˝ ‚

¡2 ¡ By Lemma 5.4 (note that Zd is even-dimensional), det¡ rZds“ Pf rZds . Hence

¡2 1 2

¨ ˛ ¡2 inv . “ Pf ¡ rZds . ˚ . ‹ ˚ ‹ ˚ d ‹ ˚ ‹ ˝ ‚ As for the even case, since the shuffle algebra is commutative and integral, and by comparing the coefficient of the word 123 . . . d, we deduce de Bruijn’s formula in the odd case.

Example 5.6. de Bruijn’s formula in the case d “ 3 gives

1 0 12 ´ 21 13 ´ 31 1 21 ´ 12 0 23 ´ 32 2

inv ¨ 2 ˛ “ Pf ¡ ¨ ˛ 31 ´ 13 32 ´ 23 0 3 ˚ 3 ‹ ˚ ´1 ´2 ´3 0‹ ˚ ‹ ˚ ‹ ˝ ‚ ˝ ‚ whereas Theorem 4.1 gives

¡2 1 11 12 13

inv ¨ 2 ˛ “ 8 det¡ 21 22 23 , ¨31 32 33˛ ˚ 3 ‹ ˚ ‹ ˝ ‚ which, by the preceding argument, is˝ equal‚ to 0 12 ´ 21 13 ´ 31 1 21 ´ 12 0 23 ´ 32 2

det ¡ ¨ ˛ . 31 ´ 13 32 ´ 23 0 3 ˚ ´1 ´2 ´3 0‹ ˚ ‹ ˝ ‚ 22 References

[AFS19] Carlos Améndola, Peter Friz, and Bernd Sturmfels. Varieties of signature tensors. Forum Math. Sigma, 7:e10, 54, 2019. https://doi.org/10.1017/fms.2019.3.

[AL04] Marcelo Aguiar and Jean-Louis Loday. Quadri-algebras. Journal of Pure and Applied Algebra, 191(3):205–221, 2004.

[And83] C Andréief. Note sur une relation entre les intégrales définies des produits des fonctions. Mém. de la Soc. Sci. Bordeaux, 2(1):1–14, 1883.

[Art57] Emil Artin. Geometric algebra. Interscience Publishers, Inc., New York-, 1957.

[Bou07] Nicolas Bourbaki. Elements de Mathematique Algebre - Chapitre 9. Springer, 2007.

[BR10] Emily Burgunder and María Ronco. Tridendriform structure on combinatorial hopf algebras. Journal of Algebra, 324(10):2860–2883, 2010.

[CGM20] Laura Colmenarejo, Francesco Galuppi, and Mateusz Michałek. Toric geometry of path signa- ture varieties. Advances in Applied Math, 121:102102, 2020. Latest version available in arXiv https://arxiv.org/pdf/1903.03779.pdf.

[Che57] Kuo-Tsai Chen. Integration of paths, geometric invariants and a generalized Baker-Hausdorff formula. Ann. of Math. (2), 65:163–178, 1957. https://doi.org/10.2307/1969671.

[CP18] Laura Colmenarejo and Rosa Preiß. Signatures of paths transformed by polynomial maps. To appear on Contributions to Algebra and Geometry in 2020, 2018. Available at https://arxiv.org/abs/1812.05962.

[dB55] Nicolaas G de Bruijn. On some multiple integrals involving determinants. J. Indian Math. Soc. (N.S.), 19:133–151 (1956), 1955.

[DR19] Joscha Diehl and Jeremy Reizenstein. Invariants of multidimensional time series based on their iterated-integral signature. Acta Appl. Math., 164:83–122, 2019. https://doi.org/10.1007/s10440-018-00227-z.

[EML53] Samuel Eilenberg and Saunders Mac Lane. On the groups HpΠ,nq. I. Ann. of Math. (2), 58:55–106, 1953. https://doi.org/10.2307/1969820.

[FH91] William Fulton and Joe Harris. Representation theory, volume 129 of Graduate Texts in Math- ematics. Springer-Verlag, New York, 1991. A first course, Readings in Mathematics.

[FH14] Peter K Friz and Martin Hairer. A course on rough paths. Universitext. Springer, Cham, 2014. With an introduction to regularity structures.

[For19] Peter J Forrester. Meet andréief, bordeaux 1886, and andreev, kharkov 1882–1883. Random Matrices: Theory and Applications, 8(02):1930001, 2019.

[FP13] Loïc Foissy and Frédéric Patras. Natural endomorphisms of shuffle algebras. Internat. J. Algebra Comput., 23(4):989–1009, 2013. https://doi.org/10.1142/S0218196713400183.

23 [Gal19] Francesco Galuppi. The rough Veronese variety. Linear Algebra Appl., 583:282–299, 2019. https://doi.org/10.1016/j.laa.2019.08.029.

[Joh05] Kurt Johansson. Random matrices and determinantal processes. In Mathematical Statistical Physics, Session LXXXIII: Lecture Notes of the Les Houches Summer School 2005. Citeseer, 2005.

[KO19] Franz J Király and Harald Oberhauser. Kernels for sequentially ordered data. Journal of Machine Learning Research, 20, 2019.

[KSH`17] Andrey Kormilitzin, Kate EA Saunders, Paul J Harrison, John R Geddes, and Terry Lyons. Detecting early signs of depressive and manic episodes in patients with bipolar disorder using the signature-based model. 2017. Available at https://arxiv.org/abs/1708.01206.

[Led93] Walter Ledermann. A note on skew-symmetric determinants. Proc. Edinburgh Math. Soc. (2), 36(2):335–338, 1993. https://doi.org/10.1017/S0013091500018423.

[LNO14] Terry Lyons, Hao Ni, and Harald Oberhauser. A feature set for streams and an application to high-frequency financial tick data. In Proceedings of the 2014 International Conference on Big Data Science and Computing, pages 1–8, 2014.

[Lod95] Jean-Louis Loday. Cup-product for leibniz cohomology and dual leibniz algebras. Mathematica Scandinavica, pages 189–196, 1995.

[LQ02] Terry Lyons and Zhongmin Qian. System control and rough paths. Oxford Mathematical Monographs. Oxford University Press, Oxford, 2002. Oxford Science Publications.

[LT02] Jean-Gabriel Luque and Jean-Yves Thibon. Pfaffian and Hafnian iden- tities in shuffle algebras. Adv. in Appl. Math., 29(4):620–646, 2002. https://doi.org/10.1016/S0196-8858(02)00036-2.

[LZL`19] Chenyang Li, Xin Zhang, Lufan Liao, Lianwen Jin, and Weixin Yang. Skeleton-based ges- ture recognition using several fully connected layers with path signature features and temporal transformer module. In Proceedings of the AAAI Conference on Artificial Intelligence, vol- ume 33, pages 8585–8593, 2019.

[PSS19] Max Pfeffer, Anna Seigal, and Bernd Sturmfels. Learning paths from signature tensors. SIAM J. Matrix Anal. Appl., 40(2):394–416, 2019. https://doi.org/10.1137/18M1212331.

[Reu93] Christophe Reutenauer. Free Lie algebras, volume 7 of London Mathematical Society Mono- graphs. New Series. The Clarendon Press, Oxford University Press, New York, 1993. Oxford Science Publications.

[Sch58] Marcel P Schützenberger. Sur une propriété combinatoire des algebres de lie libres pouvant être utilisée dans un probleme de mathématiques appliquées. Séminaire Dubreil. Algèbre et théorie des nombres, 12(1):1–23, 1958.

[Sta99] Richard P Stanley. Enumerative combinatorics. Vol. 2, volume 62 of Cambridge Studies in Advanced Mathematics. Cambridge University Press, Cambridge, 1999.

24 [Stu96] Bernd Sturmfels. Gröbner bases and convex polytopes, volume 8 of University Lecture Series. American Mathematical Society, Providence, RI, 1996.

[Wey46] Hermann Weyl. The classical groups: their invariants and representations, volume 45. Prince- ton university press, 1946.

25