{'fraction_non_alphanumeric': 0.057906887264332435, 'fraction_numerical': 0.011312043093497499, 'mean_word_length': 3.9048877146631438, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 31, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Cumulant-cumulant relations in free probability theory from Magnus' expansion

Relations between moments and cumulants play a central role in both classical and non-commutative probability theory. The latter allows for several distinct families of cumulants corresponding to different types of independences: free, Boolean and monotone. Relations among those cumulants have been studied recently. In this work we focus on the problem of expressing with a closed formula multivariate monotone cumulants in terms of free and Boolean cumulants. In the process we introduce various constructions and statistics on non-crossing partitions. Our approach is based on a pre-Lie algebra structure on cumulant functionals. Relations among cumulants are described in terms of the pre-Lie Magnus expansion combined with results on the continuous Baker-Campbell-Hausdorff formula due to A. Murua.

In a series of recent papers, two of us developed an alternative approach based on noncommutative shuffle algebra combined with group and Lie algebra theory [15,16,17,18,19]. More precisely, these works explore the group of characters and its corresponding Lie algebra of infinitesimal characters on a non-commutative combinatorial Hopf algebra H constructed from the data provided by a non-commutative probability space (A, ϕ). Concretely, H is defined to be the double tensor algebra over the latter. In this context, the linear functional ϕ : A → K, which defines the moments of non-commutative random variables, is interpreted as an algebra map from H to the ground field K (usually the complex numbers). The various families of cumulants (free, Boolean and monotone), usually seen as multilinear functions over (A, ϕ), enter naturally this picture as infinitesimal characters, i.e., linear forms on H that vanish on the algebra unit as well as on products of non-unital elements in the augmentation ideal of H. This approach leads in particular to the definition of a pre-Lie algebra structure on the space of infinitesimal characters, which results naturally from the formalism of shuffle algebras.
The pivotal aim of the work at hand is to employ the aforementioned pre-Lie algebra structure on the level of cumulants, now seen as multilinear maps on the non-commutative probability space. This approach is self-contained and does not require using shuffle or Hopf algebras. In fact, it will be shown that the notion of pre-Lie algebra provides an adequate setting for a concise theoretical presentation of multivariate cumulant-cumulant relations. In particular, it is tailored to describe precisely multivariate monotone-free and monotone-Boolean cumulantcumulant relations in terms of the pre-Lie Magnus map and its inverse, the so-called pre-Lie exponential. Both of them are familiar in various domains of applied mathematics such as numerical analysis of differential equations and geometric control theory [2,5,23]. This is underlined by the fact that we use combinatorial constructions and formulas introduced by A. Murua [28] in the study of the expansion of the continuous Baker-Campbell-Hausdorff formula in a Hall basis. In the process, still inspired by Murua's seminal work, we introduce operations on non-crossing partitions together with the notion of quasi-monotone partitions. These turn out to be related to other partitions previously considered in the context of free probability, see Remark 5.2 below. As we are interested in obtaining explicit formulas, we enhance this new point of view by focusing on the combinatorics of non-planar rooted forests naturally associated to non-crossing partitions.
The paper is organised as follows. Section 2 briefly recalls the basics on non-crossing partitions including the link to non-planar rooted trees encoding the hierarchy of nested blocks in a noncrossing partition as well as tree factorials. In Section 3 we give a self-contained presentation of the pre-Lie structure on the space of cumulants -the space g of multilinear maps taking values in the complex numbers, defined on a non-commutative probability space. We recall the theoretical results on the pre-Lie Magnus map and its inverse relevant to relations between cumulants. In Section 4, we compute explicitly iterated pre-Lie products in g and, as a first application, show how the formula can be used to recover the known expression of free and Boolean cumulants in terms of monotone ones [3]. Notice that the proof is different from the one we used in [17]. In Section 5, we use the same strategy to handle the more involved computation of multivariate monotone cumulants in terms of free (or Boolean) cumulants. It is based on a recursion that has a similar structure than the one defining the coefficients of the computation of the continuous Baker-Campbell-Hausdorff (BCH) coefficients ω in a Hall basis described in Murua's work [28]. This should not come as a surprise since the BCH coefficients are known to be closely related to the Magnus formula. However, their appearance in the context of cumulantcumulant relations in non-commutative probability theory seems to indicate new perspectives. In the process of adapting Murua's constructions to the context of non-crossing partitions, we introduce the notion of quasi-monotone partitions. It allows to define a statistics on non-crossing partitions that leads to the computation of the coefficients of the multivariate monotone-free cumulant-cumulant expansion.
In the following the pair (A, ϕ) denotes a non-commutative probability space. Its unital linear map ϕ : A → K sends elements from an arbitrary unital associative algebra of random variables into the ground field of characteristic zero. We remark that in the context of the present paper any additional assumptions such as positivity on the map ϕ are not necessary. We assume some familiarity with the basic combinatorial notions and constructions related to free probability and non-crossing partitions. On these topics, the reader is referred to [29].
Iterated left-and right-multiplication operators are denoted as follows. Given any bilinear product, denoted by •, we define the left/right multiplication operators L m α• (β) :

Recall at last the classical generating series for the Bernoulli numbers
Acknowledgements: The fourth author would like to thank CONACyT (Mexico) for its support via the scholarship 714236. This work was partially supported by the project "Pure Mathematics in Norway", funded by Trond Mohn Foundation and Tromsø Research Foundation.

Non-crossing partitions and rooted trees
We denote by NC(n) the lattice of non-crossing partitions of the set [n] = {1, . . . , n}. Sometimes the obvious extension of the notion of non-crossing partition of [n] to other finite totally ordered sets X is used. The corresponding set of non-crossing partitions will then be written NC(X).
The number of blocks of a non-crossing partition, π = {π 1 , . . . , π m } ∈ NC(n), is denoted by |π| = m. A non-crossing partition in NC(n) is irreducible if and only if both 1 and n are in the same block. The set of irreducible non-crossing partitions in NC(n) is denoted by NC irr (n). The sets of non-crossing and irreducible non-crossing partitions with k blocks are denoted NC k (n) respectively NC irr k (n). Interval partitions are a subset of NC(n) and form the lattice I(n). There is a natural partial order on the lattice NC(n) called reversed refinement order ≤. For π, σ ∈ NC(n), we write "π ≤ σ" if every block of σ is a union of blocks of π. The maximal element of NC(n) with this order is 1 n := {{1, . . . , n}} (the partition of [n] with only one block), and the minimal element is 0 n := {{1}, {2}, . . . , {n}} (the partition of [n] with n blocks). This order is at play when we refer to the lattice structure on NC(n).
Remark 2.1. For π, σ ∈ NC(n), we write "π ≪ σ" for the so-called min-max order on NC(n), meaning that π ≤ σ and that for every block σ i of σ there exists a block π j of π such that min(σ i ), max(σ i ) ∈ π j . We refer the reader to [4] for a broader description of this partial order and its deeper meaning in the context of moments and cumulants.
Recall that a rooted tree t is a connected and simply connected graph with a distinguished vertex called the root. The edges are oriented towards the root. Vertices have exactly one outgoing edge and an arbitrary number of incoming ones, except for the root which is the only vertex with no outgoing edge. The leaves are the vertices without incoming edges. A forest is a finite set of rooted trees.
Let T denote the set of non-planar rooted trees For later use we denote by T ℓ the set of so-called ladder trees The degree, |t|, of a rooted tree t ∈ T is defined by its number of vertices and T n contains all trees of degree n. The empty tree, ∅, has degree |∅| = 0. Recall also that if a rooted tree t is obtained by attaching trees t 1 , . . . , t n on a new common root, the tree factorial of t is such that t! := |t|t 1 ! . . . t n !. Together with •! := 1, this identity defines inductively tree factorials.

Lemma 2.2 ([25]
). Let t ∈ T be a rooted tree. By L − (t) ⊂ T we denote the multiset of rooted trees that result from eliminating a leaf together with its outgoing edge from t. The cardinality of L − (t) equals the number of leaves of t. Then Recall that the blocks of a non-crossing partition π = {π 1 , . . . , π k } are naturally ordered: π j < π i if and only if there exist elements x, y in π j such that x < z < y for any z in π i . A block π i is outer if it is minimal for this order, that is if there do not exist elements x, y in another block π j such that x < z < y for any z in π i .
To any irreducible non-crossing partition π = {π 1 , . . . , π k } ∈ NC irr (n) one can naturally associate a rooted tree t(π) encoding the hierarchy of the nested blocks of π. We refer to [3] for more details. The root is associated with the outer block, that contains 1, n ∈ [n].
To a non-crossing partition which is not irreducible, one associates similarly a forest of trees, each tree encoding the hierarchy of one of its irreducible components. To define the latter, consider the block B 1 of π that contains 1 =: i 1,min and write i 1,max its maximal element. The set of blocks ρ 1 := {π i |π i ≥ B 1 } forms an irreducible non-crossing partition of the set {i 1,min , i 1,min + 1, . . . , i 1,max }. Consider then the block B 2 with minimal element i 2,min := i 1,max + 1 and write i 2,max for its maximal element. The set of blocks ρ 2 := {π i , π i ≥ B 2 } forms an irreducible non-crossing partition of {i 2,min , . . . , i 2,max }. Iterating this construction, π decomposes uniquely, π = ρ 1 ∪ ρ 2 ∪ · · · ∪ ρ l , as a union of irreducible non-crossing partitions. The partitions ρ 1 , . . . , ρ l are the irreducible components of π. The latter are in bijection with the outer blocks which, in turn, are associated to the roots of the trees in the forest. Note that for π ∈ NC(n), |π| = |t(π)|. For instance, consider the following two non-crossing partitions and the corresponding rooted tree, respectively forest, encoding the nesting structures .
Here, for notational clarity, the nodes of the trees are decorated by the minimal elements of the corresponding blocks in the partition.
Monotone partitions are non-crossing partitions equipped with a total order on their blocks refining the natural partial order of the blocks. We refer the reader to [3] for more details on monotone partitions. Choosing such a total order amounts to reindexing the blocks in such a way that i < j implies π i ≤ π j . Let us write m(π) for the number of these total orders, that is, the number of monotone partitions associated to a given non-crossing partition, then where we recall that |t(π)| = |π| stands for the number of blocks of π. Following [22] we introduce a random process that generates the set denoted M irr k (n) of all irreducible monotone partitions (monotone partitions of irreducible non-crossing partitions) of [n] with k blocks. In fact, this construction is adapted from standard arguments on the construction and enumeration of noncrossing partitions. See, e.g., [29]. We call interval in a finite subset S of the set of integers any sequence of successive elements of S for the usual order. We also call interval the associated subset of S. For example, {4, 8} is an interval in the set {2, 3, 4, 8, 10}.
• To initiate the recursion, choose an interval π k in [n] of length less or equal to n − k such that 1, n / ∈ π k . Call S 2 the complementary subset of π k in [n] and denote n 2 its cardinality (so that n 2 ≥ k).
Then the ordered sequence π 1 , . . . , π k is an irreducible monotone partition of [n]. The process creates (randomly) all irreducible monotone partitions of [n] with k blocks. As a corollary of this construction it follows that non trivial irreducible monotone partitions of [n] are in bijection with pairs (α, κ) where α is an interval of [n] that does not contain {1, n} (as π k above) and κ runs over all irreducible monotone partitions of [n]\α. This corollary is all we will need and follows easily from the definitions, but we find the description of the generating process of irreducible monotone partitions illuminating in view of our forthcoming developments.

Pre-Lie algebra and cumulants
In this section we outline the mathematical setting in which we will express monotone cumulants in terms of free and Boolean cumulants and vice versa.
Let (A, ϕ) be a non-commutative probability space [29]. The starting point is the nonunital tensor algebra T + (A) := n>0 A ⊗n . Elements w ∈ T + (A) are denoted as words, i.e., w = a 1 · · · a k := a 1 ⊗ · · · ⊗ a k ∈ A ⊗k . The length of a word is defined by its number of letters and will be denoted . . , k}, a π stands for the word a i 1 · · · a im ∈ T + (A). The following notation is put in place for linear forms α ∈ g : where π = {π 1 , . . . , π k } ∈ NC(n). The functional ϕ : A → K is extended linearly to T + (A) giving the nth multivariate moment φ(w) := ϕ(a 1 · A · · · · A a n ) for w = a 1 · · · a n ∈ T + (A), where · A denotes the product in A that we distinguish notationally from the concatenation product of words in the tensor algebra. Free, Boolean and monotone cumulants form respectively the families of multilinear functionals {r n : A ⊗n → K} n≥1 , {b n : A ⊗n → K} n≥1 , {h n : A ⊗n → K} n≥1 . These families can be viewed equivalently as linear forms κ, β, ρ : T + (A) → K, i.e., κ(a 1 · · · a n ) := r n (a 1 , . . . , a n ) and analogously for the Boolean and monotone cumulants. Free [29], Boolean [30] and monotone [22] cumulants are defined in terms of the corresponding moment-cumulant relations φ(a 1 · · · a n ) = The following proposition is central to the approach used in this paper. It defines a (left) pre-Lie algebra structure on cumulants, seen as linear forms over T + (A). Proposition 3.1. Let α, β ∈ g and w ∈ T + (A), then the product ✄ : g ⊗ g → g defined by satisfies the left pre-Lie identity Proof. Let w be a word in T + (A). In the following formulas all words and subwords appearing in summations are non-empty except possibly w 13 , w 31 and w ′ 3 . We get: As the expression is symmetric in α and β, the statement follows.

Remark 3.2.
Recall that pre-Lie algebras are Lie admissible [1,6,27], that is, the pre-Lie algebra g is a Lie algebra for the commutator bracket [f, g] := f ✄ g − g ✄ f. The notion of pre-Lie algebra appeared in different place in mathematics, including algebra and geometry, but also in control theory, where preLie algebras are known as chronological algebras [1,6,8,27].
Using the standard pictorial representation, elements in π = {π 1 , π 2 } ∈ NC irr 2 (n) have the particular form where the outer block π 1 contains 1 and n.
In the univariate case the explicit computations of pre-Lie products in g give: This can be summarised in a closed formula based on the fact that there are n − l − 1 intervals of length l contained in {2, . . . , n − 1}: Corollary 3.3. Let α, β ∈ g and a ∈ A. Then: α ✄ β(a n ) = − n l=1 (n − l − 1)β(a n−l )α(a l ).
Proposition 3.1 points at an interesting phenomenon. For α 1 , . . . , α 4 ∈ g, we note that in general We may therefore associate an effective degree to any pre-Lie monomial in g. It determines the minimal length of words in the support of such monomials. The effective degree for any pre-Lie monomial P of cumulants is denoted #(P ).
We introduce now the fundamental tool for our forthcoming computation of a formula expressing monotone cumulants in terms of free and Boolean cumulants: the (pre-Lie) Magnus expansion. The classical Magnus expansion [26] is a well-known object in applied mathematics [5,23]. In the context of ordinary differential equations, it computes the logarithm of the solution of a linear matrix-valued initial value problem. Its pre-Lie content was first uncovered in [1]. It was then rediscovered and further developed in [12,13]. The corresponding endomorphism Ω ′ of a pre-Lie algebra satisfying suitable completion properties appeared in the context of enveloping algebras of pre-Lie algebras in [1], together with its inverse, denoted W . The Hopf and group-theoretical properties of Ω ′ and its links with the Mielnik-Plebanskii-Strichartz continuous Baker-Campbell-Hausdorff formula have been investigated in [9,14]. We refer the reader to [20,24] for more details, including its range of applications and mathematical properties.
The first few terms in the expansion (12) are given The compositional inverse of Ω ′ is W : = κ + n>0 1 (n + 1)! L n κ✄ (κ) = κ + ] as a pre-Lie product on time-dependent operators -seen as elements in a non-unital algebra A of operators, having suitable regularity properties allowing to compute derivatives, integrals, and so on, -one recovers the classical Magnus expansion [1,12]. See [20] for a detailed review.
The pre-Lie Magnus expansion and its inverse permit to express monotone cumulants in terms of Boolean and free cumulants and vice versa.
Theorem 3.7. Monotone, free and Boolean cumulants, ρ, κ, β ∈ g are related in terms of the pre-Lie Magnus expansion (12) Proof. The proof of (16) follows from a group-theoretical result in the context of Hopf algebra and requires shuffle algebra arguments. For details we refer the reader to [15,16,17,18,19].
The above theorem implies that which can be expressed in more compact form In [17] it was shown that (18) permits to describe the relations between free and Boolean cumulants in terms of closed formulas defined via irreducible non-crossing partitions. They were first derived in [4] using Möbius calculus. See also [3].
β(a 1 · · · a n ) = π∈NC irr (n) π i ∈π κ(a π i ), κ(a 1 · · · a n ) = π∈NC irr (n) In the forthcoming sections of the article, we will first invert formulas (16) to describe (known) results of expressing multivariate free and Boolean cumulants in terms of monotone cumulants using irreducible non-crossing partitions. After that we will address the inverse problem of expressing multivariate monotone cumulants in terms of free and Boolean cumulants using irreducible non-crossing partitions.

Iterated pre-Lie products and rooted trees
In this section we compute iterated pre-Lie products in g and apply the results to describe cumulant-cumulant relations.
We compute the general left iterated pre-Lie products in g using irreducible monotone noncrossing partitions. Then we apply this computation to cumulant-cumulant relations.  Let κ 1 , . . . , κ n+1 ∈ g and w = a 1 · · · a m ∈ T + (A) a word of length deg(w) = m ≥ n + 2, n > 0. Then Proof. The proof goes by induction. Given a subset S of [m] with 1, m ∈ S, we write Int irr (S) for the intervals in S that do neither contain 1 nor m. Then, By the induction hypothesis, where M irr n ([m]\π n+1 ) stands for the set of monotone irreducible partitions of the set [m]\π n+1 with n blocks. The proof follows since M irr n+1 (m) is in bijection with the pairs (π n+1 , π ′ ) appearing in the two summations. Corollary 4.3. Let κ and ρ be linear forms on T + (A) and w = a 1 · · · a m ∈ T + (A) a word of length deg(w) = m ≥ n + 2, n > 0. Then with the notation ρ(w π\π 1 ) = ρ(w π 2 ) . . . ρ(w π n+1 ).
Remark 4.4. Another verification of this corollary via induction can be given using (1) in Lemma 2.2 together with the min-max order on non-crossing partitions mentioned in Remark 2.1. Looking at a rooted tree as a poset, the coefficients in (31) count the number of total order extension of said poset. Looking at these coefficients from the viewpoint of irreducible non-crossing partitions, they count the number of total orderings of the blocks.

Monotone-free cumulant-cumulant relations
We adapt now constructions by Murua on rooted trees [28] to non-crossing partitions. The definition of quasi-monotone partitions below is also inspired independently by similar constructions on quasi-posets and finite topologies related to quasi-symmetric functions [21]. A quasi-order is a binary relation which is reflexive and transitive but not necessarily antisymmetric. A quasi-order is total if two elements are always comparable, i.e., if x y or y x for all x, y. Two elements x, y are equivalent (x ≡ y) for if and only if x y and y x. We write x ≺ y if x y and x and y are not equivalent. Total orders on a finite set X of cardinality n are in bijection with bijections from X to [n]: given a total order, choose the unique increasing bijection from X to [n]. Similarly, total quasi-orders on X are in bijection with surjective maps from X to [k] with k ≤ n equal to the number of equivalence classes in X.
Definition 5.1. A quasi-monotone partition of [n] is a non-crossing partition π equipped with a total quasi-order of its blocks compatible with the natural partial order ≤ in the sense that π i < π j implies π i ≺ π j . A quasi-monotone partition is of rank k if has k equivalence classes. The set of quasi-monotone partitions of [n] of rank k is denoted QM k (n).

Remark 5.2.
Choosing such a quasi-order amounts to decorating the blocks with elements of the set [k] with k ≤ n in such a way that π i < π j implies f (π i ) < f (π j ), where f stands for the (surjective) decoration map. The case where f (π i ) ≤ f (π j ) is required in the previous condition was considered in [3] under the name of non-decreasing k-colored non-crossing partitions.
Let now π be an irreducible non-crossing partition. We will write ω k (π) for the number of these total quasi-orders on π, that is the number of quasi-monotone partitions of rank k associated to the irreducible non-crossing partition π. As this number depends only on the order ≤, it depends only on the tree associated to π and we write ω k (t(π)) := ω k (π) (see [28,Def. 12]).
We also define, following [28,Thm. 10], for π an irreducible non-crossing partition of [n], For a general non-crossing partition π ′ of [n], we extend the previous definition by taking ω(π ′ ) to be the product of the evaluations of ω on the irreducible components of π ′ . That is, π ′ decomposes as a union of irreducible non-crossing partitions, π ′ = ρ 1 ∪ ρ 2 ∪ · · · ∪ ρ l and we set: These numbers appear in the analysis of the continuous Baker-Campbell-Hausdorff problem (to compute the logarithm of a flow) in a Hall basis as well as in the context of backward error analysis in numerical analysis [7,10,11,28]. Their appearance is therefore natural in the context of the pre-Lie approach to cumulant-cumulant relations.
The first few terms of ω are listed below The following table can be found in [11].
Before entering cumulant-cumulant relations, let us introduce a last construction. Let π = {π 1 , . . . , π k } be a non-crossing partition of [n] and V = {π i 1 , . . . , π i l } a subset of π including all the minimal elements of π for the ≤-order. We write Sub(π) for the set of all such subsets. The set of the |V | = l blocks belonging to V defines a non-crossing partition of l j=1 π i j that we denote ν(V ).
We call V -connected components of π the sets S π i j , j ≤ l, of blocks in π: The sets of blocks S π i j are disjoint and define a partition of π. By construction, each set S π i j is an irreducible non-crossing partition of the set of integers X j := π i ∈Sπ i j π i with minimal element π i j . We set: that we view as a family of irreducible non-crossing partitions with associated forest f (V (π)) = t(S π i 1 ) · · · t(S π i l ).
Notice, for further use, that there is a bijection between the pairs (π, V ) as above and the pairs (ν, (α i ) 1≤i≤l )), where ν = (ν 1 , . . . , ν l ) is a non-crossing partition and α i is an irreducible non-crossing partition of ν i . The bijection is given by where α 1 j stands for the minimal block in α j .
The following Proposition translates [28,Eq. (41)] in the language of non-crossing partitions.
Proposition 5.4. Given an irreducible non-crossing partition π = {π 1 , . . . , π n } with minimal element π 1 , we write π ′ for the non-crossing partition {π 2 , . . . , π n } and have: In this proposition, f (ν(V )) is the forest associated to non-crossing partition ν(V ). Recall that the factorial of a forest f is the product of the tree factorials t i !, where t i runs over the trees in the forest f .
We address now the central result of this work, i.e., a closed formula for multivariate monotonefree cumulant-cumulant relation. In (16) we saw that they are related in terms of the pre-Lie Magnus expansion ρ = Ω ′ (κ).
The objective is to express the evaluation of this formula on a word in terms of a sum over irreducible non-crossing partitions. An analogous approach applies to the monotone-Boolean relation, ρ = −Ω ′ (−β).
Remark 5.5. Observe that the effective degree (Lemma 3.4) determines the number of terms that are necessary to compute the cumulant-cumulant relation up to order n in (43). Proposition 3.1 together with eq. (31) are central to the proof of Theorem 5.6, which addresses the problem of expressing monotone cumulants in terms of free (and Boolean) cumulants.