<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Rectangular Young tableaux with local decreases and the density method for uniform random generation</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">Cyril</forename><surname>Banderier</surname></persName>
							<affiliation key="aff0">
								<orgName type="laboratory">LIPN (UMR CNRS 7030</orgName>
								<orgName type="institution">Université de Paris Nord</orgName>
								<address>
									<country key="FR">France</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Philippe</forename><surname>Marchal</surname></persName>
							<affiliation key="aff1">
								<orgName type="laboratory">LAGA (UMR CNRS 7539</orgName>
								<orgName type="institution">Université de Paris Nord</orgName>
								<address>
									<country key="FR">France</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Michael</forename><surname>Wallner</surname></persName>
							<affiliation key="aff2">
								<orgName type="laboratory">LaBRI (UMR CNRS 5800</orgName>
								<orgName type="institution">Université de Bordeaux</orgName>
								<address>
									<country key="FR">France</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Rectangular Young tableaux with local decreases and the density method for uniform random generation</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">CD5B70411CB1FE22D0239FB253CCA1D0</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-24T05:44+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>In this article, we consider a generalization of Young tableaux in which we allow some consecutive pairs of cells with decreasing labels. We show that this leads to a rich variety of combinatorial formulas, which suggest that these new objects could be related to deeper structures, similarly to the ubiquitous Young tableaux. Our methods rely on variants of hook-length type formulas, and also on a new efficient generic method (which we call the density method) which allows not only to generate constrained combinatorial objects, but also to enumerate them. We also investigate some repercussions of this method on the D-finiteness of the generating functions of combinatorial objects encoded by linear extension diagrams, and give a limit law result for the average number of local decreases.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>As predicted by Anatoly Vershik in <ref type="bibr" target="#b11">[Ver01]</ref>, the 21st century should see a lot of challenges and advances on the links of probability theory with (algebraic) combinatorics. A key role is played here by Young tableaux, because of their ubiquity in representation theory <ref type="bibr" target="#b7">[Mac15]</ref> and in algebraic combinatorics, as well as their relevance in many other different fields (see e.g. <ref type="bibr" target="#b10">[Sta11]</ref>).</p><p>Young tableaux are tableaux with n cells labelled from 1 to n, with the additional constraint that these labels increase among each row and each column (starting from the lower left cell). Here we consider the following variant: What happens if we allow exceptionally some consecutive cells with decreasing labels? Does this variant lead to nice formulas if these local decreases are regularly placed? Is it related to other mathematical objects or theorems? How to generate them? This article gives some answers to these questions.</p><p>As illustrated in Figure <ref type="figure">1</ref>, we put a bold red edge between the cells which are allowed to be decreasing. Therefore these two adjacent cells can have decreasing labels (like 19 and 12 in the top row of Figure <ref type="figure">1</ref>, or 11 and 10 in the untrustable Fifth column), or as usual increasing labels (like 13 and 15 in the bottom row of Figure <ref type="figure">1</ref>). We call these bold red edges "walls". 7 18 19 12 21 20 17 2 6 8 9 10 14 16 1 3 4 5 11 13 15 Figure <ref type="figure">1</ref>: We consider Young tableaux in which some pairs of (horizontally or vertically) consecutive cells are allowed to have decreasing labels. Such places where a decrease is allowed (but not compulsory) are drawn by a bold red edge, which we call a "wall".</p><p>For Young tableaux of shape<ref type="foot" target="#foot_0">1</ref> n × 2 several cases lead directly to nice enumerative formulas for the total number of specific tableaux with 2n cells:</p><p>1. Walls everywhere: (2n)! 2. Horizontal walls everywhere: (2n)! 2 n 3. Horizontal walls everywhere in left (or right) column: (2n − 1)!! = (2n)! 2 n n! 4. Vertical walls everywhere: 2n n = (2n)! (n!) 2</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">No walls:</head><formula xml:id="formula_0">1 n+1 2n n = (2n)! (n+1)(n!) 2</formula><p>In this article we are interested in the enumeration and the generation of Young tableaux (of different rectangular shapes) with such local decreases, and we investigate to which other mathematical notions they are related. Section 2 focuses on the case of horizontal walls: We give a link with the Chung-Feller Theorem, binomial numbers and a Gaussian limit law. Section 3 focuses on the case of vertical walls: We give a link with hook-length type formulas. Section 4 presents a generic method, which allows us to enumerate many variants of Young tableaux (or more generally, linear extensions of posets), and which also offers an efficient uniform random generation algorithm, and links with D-finiteness.</p><p>2 Vertical walls, Chung-Feller and binomial numbers</p><p>In this section we consider a family of Young tableaux having some local decreases at places indicated by vertical walls, see Figure <ref type="figure">2</ref>.</p><p>Theorem 2.1. The number of n × 2 Young tableaux with k vertical walls is equal to</p><formula xml:id="formula_1">v n,k = 1 n + 1 − k n k 2n n .</formula><p>Proof. We apply a bijection between two-column Young tableaux of size 2n with k walls and Dyck paths without the positivity constraint of length 2n and k coloured down steps.</p><p>These paths start at the origin, end on the x-axis and are composed out of up steps (1, 1), and coloured down steps (1, −1) which are either red or blue.</p><p>Given an arbitrary two-column Young tableau, the m-th step of the associated path is an up step if the entry m appears in the left column, while the m-th step is a down step, if the m-th entry appears in the right column. Furthermore, we associate colours to the down steps: If the m-th down step is in a row with a wall we colour it red, and blue otherwise. Thus, v n,k counts the number of paths with exactly k red down steps. Note that the down steps of a path below the x-axis are always red because a wall has to be involved, yet above the x-axis down steps can have any colour. We decompose paths with k coloured down steps with respect to the number of steps which are below the x-axis. By the Chung-Feller Theorem <ref type="bibr" target="#b4">[CF49]</ref> (see also <ref type="bibr" target="#b3">[Che08]</ref> for a bijective proof) the number of Dyck paths of length 2n with i down steps below the x-axis is independent of i and equal to the Catalan number Cat n = 1 n+1 2n n . When i steps are below the x-axis we have to colour k − i of the remaining n − i steps above the x-axis red. This gives</p><formula xml:id="formula_2">v n,k = k i=0 n − i k − i Cat n = n + 1 k Cat n ,</formula><p>and the claim follows. As a simple consequence, we get the following result.</p><p>Corollary 2.2. The average number of linear extensions of a random n × 2 Young tableau with k walls, where the location of these walls is chosen uniformly at random, is</p><formula xml:id="formula_3">1 n + 1 − k 2n n .</formula><p>Proof. In a two-column Young tableau of size 2n we have n k possibilities to add k walls. We now conclude this section with a limit law result.</p><p>Theorem 2.3. Let X n be the random variable for the number of walls in a random n × 2 Young tableau chosen uniformly at random. The rescaled random variable Xn−n/2 √ n/4 converges to the standard normal distribution N (0, 1).</p><p>Proof. We see that the total number of two-column Young tableaux of size n with walls is equal to</p><formula xml:id="formula_4">n k=0 v n,k = Cat n 2 n+1 − 1 .</formula><p>Then, the previous results show that</p><formula xml:id="formula_5">P (X n = k) = n + 1 k 1 2 n+1 − 1 ,</formula><p>which is a slight variation of a binomial distribution with parameters n+1 and probability 1/2. By the well-known convergence of the rescaled binomial distribution to a normal distribution the claim holds (see e.g. <ref type="bibr" target="#b5">[FS09]</ref>).</p><p>3 Horizontal walls and the hook-length formula</p><p>The hook-length formula is a well-known formula to enumerate standard Young tableaux of a given shape (see e.g. <ref type="bibr" target="#b7">[Mac15,</ref><ref type="bibr" target="#b10">Sta11]</ref>). What happens if we add walls in these tableaux? Let us first consider the case of a Young tableau of size n such that its walls cut the corresponding tableau into m disconnected parts without walls of size k 1 , . . . , k m (e.g., some walls form a full horizontal or vertical line). Then, the number of fillings of such a tableau is trivially:</p><formula xml:id="formula_6">n! k 1 ! . . . k m ! m i=1 HookLengthFormula(subtableau of size k i ).</formula><p>So in the rest of article, we focus on walls which are not trivially splitting the problem into subproblems: They are the only cases for which the enumeration (or the random generation) is indeed challenging.</p><p>We continue our study with families of Young tableaux of shape m × n having some local decreases at places indicated by horizontal walls in the left column. We will need the following lemma counting special fillings of Young tableaux.</p><p>Lemma 3.1. The number of n × 2 "Young tableaux" with 2λ cells filled with the numbers 1, 2, . . . , 2n for n ≥ λ such that (the number 2n is used and) all consecutive numbers between the minimum of the second and 2n are used is equal to</p><formula xml:id="formula_7">2n λ − 2n λ − 1 . (<label>1</label></formula><formula xml:id="formula_8">)</formula><p>Proof. The constraint on the maximum implies that all not used numbers are smaller than the number in the bottom right cell. Therefore it is legitimate to add these numbers to the tableaux. In particular, we create a standard Young tableau of shape (λ, 2n − λ) (i.e., the first column has λ cells and the second one 2n − λ) which is in bijection with the previous tableau.</p><p>Next we build a bijection between standard Young tableaux of shape (λ, 2n − λ) and Dyck paths with up steps (1, 1) and down steps (1, −1) starting at (0, 2(n − λ)), always staying above the x-axis and ending on the x-axis after 2n steps. In particular, if the number i appears in the left column, the i-th step is an up step, and if it appears in the right column, the i-th step is a down step.</p><p>Finally, note that these paths can be counted using the reflection principle <ref type="bibr" target="#b0">[And87]</ref>. In particular, there are 2n λ possible paths from (0, 2(n − λ)) to (2n, 0). Yet, 2n λ−1 "bad" paths cross the x-axis at some point. This can be seen, by cutting such a path at the first time it reaches altitude −1. The remaining path is reflecting along the horizontal line y = −1 giving a path ending at (2n, −2). It is easy to see that this is a bijection between bad paths from (0, 2(n − λ)) to (2n, 0) and all paths from (0, 2(n − λ)) to (2n, −2). The latter is obviously counted by 2n λ−1 , as λ − 1 of the 2n steps have to be up steps. Theorem 3.2. The number of n × 2 Young tableaux of size 2n with k walls in the first column at heights 0 &lt; h i &lt; n, i = 1, . . . , k with h i &lt; h i+1 is equal to</p><formula xml:id="formula_9">1 2n + 1 k+1 i=1 2h i + 1 h i − h i−1 ,</formula><p>with h 0 := 0 and h k+1 := n.</p><p>Remark 3.3. Denoting consecutive relative distances of the walls by λ i := h i − h i−1 for i = 1, . . . , k + 1 the previous result can also be stated as</p><formula xml:id="formula_10">1 2n + 1 k+1 i=1 2(λ 1 + . . . + λ i ) + 1 λ i .</formula><p>Proof. We will show this result by induction on the number of walls k. For k = 0 the result is clear as we are counting two-column standard Young tableaux which are counted by Catalan numbers (for a proof see also Lemma 3.1 with λ = n).</p><p>Next, assume the formula has been shown for k − 1 walls and arbitrary n. Choose a proper filling with k walls and cut the tableau at the last wall at height h k into two parts. The top part is a Young tableau with 2(n − h k ) elements and no walls, yet labels between 1 and 2n. Furthermore, it has the constraint that all numbers larger than the element in the bottom right cell have to be present. This is due to the fact that all elements in lower cells must be smaller. In other words, these are the objects of Lemma 3.1 and counted by (1).</p><p>The bottom part is a Young tableau with k − 1 walls and 2h k elements (after proper relabelling). By our induction hypothesis this number is equal to</p><formula xml:id="formula_11">1 2h k + 1 k i=1 2h i + 1 h i − h i−1 .</formula><p>As a final step, we rewrite Formula (1) into</p><formula xml:id="formula_12">2(n − λ) + 1 2n + 1 2n + 1 λ ,</formula><p>and set λ := n − h k . Multiplying the last two expressions then shows the claim.</p><p>Remark 3.4. Note that so far we have not found a direct combinatorial interpretation of this formula. However, note that in general 2n+1 λ does not have to be divisible by 2n + 1.</p><p>Let us now also give the general formula for n × m Young tableaux with walls of lengths m − 1 from columns 1 to m − 1, i.e., a hole in column m and nowhere else in a row with walls. Before we state the result, let us define for integers n, k the falling factorial (n</p><formula xml:id="formula_13">) k := n(n − 1) • • • (n − k + 1) and for integers n, m 1 , . . . , m k such that n ≥ m 1 + • • • + m k the (shortened) multinomial coefficient 2 n m1,m2,...,m k := n! m1!m2!•••m k !(n−m1−...−m k )! .</formula><p>Theorem 3.5. The number of n × m Young tableaux of size mn with k walls from column 1 to m − 1 at heights 0 &lt; h i &lt; n, i = 1, . . . , k with h i &lt; h i+1 is equal to</p><formula xml:id="formula_14">(m − 1)! (mn + m − 1) m−1   k+1 i=1 m−2 j=1 λ i + j j −1   k+1 i=1 m(λ 1 + . . . λ i ) + m − 1 λ i , . . . , λ i ,</formula><p>where λ i := h i − h i−1 and the λ i 's in the multinomial coefficients appear m − 1 times.</p><p>Proof (Sketch). First derive an extension of Lemma 3.1 proved by the hook-length formula and then compute the product. Note that this gives a telescoping factor, giving the first factor. Just as one more example, here is a more explicit example of what it gives.</p><p>Corollary 3.6. The number of n × 4 Young tableaux with k walls from column 1 to 3 at heights 0 &lt; h i &lt; n, i = 1, . . . , k with h i &lt; h i+1 is equal to</p><formula xml:id="formula_15">6 (4n + 3)(4n + 2)(4n + 1) k+1 i=1 2 (λ i + 1) 2 (λ i + 2) k+1 i=1 4(λ 1 + . . . λ i ) + 3 λ i , λ i , λ i , with λ i := h i − h i−1 .</formula><p>Let us consider some other special cases. For example, consider tableaux with walls between every row and a hole in the last column. For this case we set λ i = 1 for all i. This gives the general formula (mn)! n!(m!) n , for n × m tableaux, see OEIS A001147 for m = 2 and OEIS A025035 to OEIS A025042 for the special cases m = 3, . . . , 10. Now that we gave several examples of closed-form formulas enumerating some families of Young tableaux with local decreases, we go to harder families which do not necessarily lead to a closed-form result. However, we shall see that we have a generic method to get useful alternative formulas (based on recurrences), also leading to an efficient uniform random generation algorithm. 2 In the literature, one more often finds the notation</p><formula xml:id="formula_16">n m 1 ,m 2 ,...,m k ,n−m 1 −...−m k := n! m 1 !m 2 !•••m k !(n−m 1 −...−m k )!</formula><p>. But we opted in this article for a more suitable notation to the eyes of our readers! 4 The density method, D-finiteness, random generation</p><p>In this section, we present a generic approach which allows us to enumerate and generate any shape involving some walls located at periodic positions. To keep it readable, we illustrate it with a specific example (without loss of generality).</p><p>So, we now illustrate the method on the case of a 2n × 3 tableau where we put walls on the right and on the left column at height 2k (for 1 ≤ k ≤ n − 1), see the leftmost tableau in Figure <ref type="figure" target="#fig_2">3</ref>. In order to have an easier description of the algorithm (and more compact formulas), we generate/enumerate first similar tableaux with an additional cell at the bottom of the middle column, see the middle tableau in Figure <ref type="figure" target="#fig_2">3</ref>: It is a polyomino Polyo n with 6n + 1 cells. There are trivially (6n + 1)! fillings of this polyomino with the numbers 1 to 6n + 1. Some of these fillings are additionally satisfying the classical constraints of Young tableaux (i.e., the labels are increasing in each row and each column), with some local decreases allowed between cells separated by a wall (as shown with bold red edges in Figure <ref type="figure" target="#fig_2">3</ref>). Let f n be the number of such constrained fillings.</p><p>To compute f n we use a generic method which we call the density method, which we introduced and used in <ref type="bibr" target="#b9">[Mar18,</ref><ref type="bibr" target="#b8">Mar16,</ref><ref type="bibr" target="#b1">BMW18]</ref>. It relies on a geometric point of view of the problem: Consider the hypercube [0, 1] 6n+1 and associate to each coordinate a cell of Polyo n . To almost every element α of [0, 1] 6n+1 (more precisely, every element with all coordinates distinct) we can associate a filling of Polyo n : Put 1 into the cell of Polyo n corresponding to the smallest coordinate of α, 2 into the cell of Polyo n corresponding to the second smallest coordinate of α and so on. The reverse operation associates to every filling of Polyo n a region of [0, 1] 6n+1 (which is actually a polytope). We call P the set of all polytopes corresponding to correct fillings of Polyo n (i.e., respecting the order constraints). This P is also known as the "order polytope" in poset theory.</p><p>Let us explain how the density method works. It requires two more ingredients. The first one is illustrated in Figure <ref type="figure" target="#fig_2">3</ref>: It is a generic building block with 7 cells with names X,Y,Z,R,S,V,W. We put into each of these cells a number from [0, 1], which we call x, y, z, r, s, v, w, respectively. The second ingredient is the sequence of polynomials p n (x), defined by the following recurrence (which in fact encodes the full structure of the problem, building block after building block): </p><formula xml:id="formula_17">p n+1 (z) =</formula><p>The fact that this sequence of nested integrals encodes the full structure of the problem (i.e. all the inequalities) is better stressed with the following writing: Remark 4.2. If one wants to generate many diagrams and not just one, then it is valuable to make a precomputation phase computing and storing all the polynomials p n . The rest of the algorithm is the same. For each new object generated, this is saving O(n 2 ) time, to the price of O(n 2 ) memory. The algorithm is globally still of quadratic time complexity (because of the evaluation at each step of p k (x), while p k+1 (z) was already evaluated).</p><formula xml:id="formula_19">p n+1 (z) =</formula><p>Remark 4.3. If one directly wants to generate 2n × 3 Young tableaux with decreases instead of our strange polyomino shapes Polyo n , then one still uses the same relation between p n+1 and p n but p 0 is not defined and p 1 has a more complicated form. Another way is to generate Polyo n , and to reject all the ones not having a 1 in the bottom cell, then to remove this bottom cell and to relabel the remaining cells from 1 to 6n (see Figure <ref type="figure" target="#fig_2">3</ref>). This still gives a fast algorithm of O(n 2 ) time complexity (the only difference being the cost of the initial algorithm which is the multiplicative constant included in the big-O).</p><p>Using dynamic programming or clever backtracking algorithms allows hardly to compute the sequence f n (the number of fillings of the diagram) for n ≥ 3. In the same amount of time, the density method allows us to compute thousands of coefficients via the relation f n = (6n + 1)! 1 0 p n (z), where the polynomial p n (z) is computed via the recurrence</p><formula xml:id="formula_20">p n+1 (z) = z 0 1 24 (z − 1)(x − z)(3x 3 − 7x 2 z − xz 2 − z 3 − 2x 2 + 4xz + 4z 2 )p n (x) dx.<label>(8)</label></formula><p>This gives the sequence {f n } n≥0 : As far as we know, there is no further simple expression for this sequence. This concludes our analysis of the model given by Figure <ref type="figure" target="#fig_2">3</ref>.</p><p>We can additionally mention that the generating function associated to the sequence of polynomials p n (x) has a striking property:</p><p>Theorem 4.4. The generating function G(t, z) := n≥0 p n (z)t n is D-finite<ref type="foot" target="#foot_1">3</ref> in z.</p><p>Proof. The general scheme (whenever one has one hole between the walls) is</p><formula xml:id="formula_21">p n+1 (z) = z 0 Q(x, z)p n (x) dx,<label>(9)</label></formula><p>where Q is a polynomial in x and z, given by Q(x, z) := Pz 1. The fact that there is just one hole between the walls guarantees that all the other variables encoding the faces of the polytope P z will disappear in this integration. Let d be the degree of Q in z, applying ∂ d+1 ∂z d+1 to both sides of Formula 9 leads to a relation between the (d + 1)-st derivative of p n+1 and the first (d + 1) derivatives of p n . Multiplying this new relation by t n+1 and summing over n ≥ 0 leads to the D-finite equation for G(t, z).</p><p>Note that G(t, z) is D-finite in z, but is (in general) not D-finite in t. When it is D-finite in t, our algorithm has a better complexity (namely, a O(n 3/2 ) time complexity), because it is then possible to evaluate p n (z) in time O( √ n ln n) instead of O(n). See [BCGLLSS17, Chapter 15] for more details on these complexity issues.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Conclusion</head><p>We presented a new way to enumerate and generate Young tableaux with local decreases (and, more generally, linear extensions of posets). Our approach is different from the classical way to generate Young tableaux (e.g. via the Greene-Nijenhuis-Wilf algorithm, see <ref type="bibr" target="#b6">[GNW84]</ref>), which relies on the existence of an enumeration by a simple product formula (given by the hook-length formula). As there is no such simple product formula for the more general cases we considered here, such an approach cannot work anymore. Obviously, in order to generate these objects, there is the alternative to use some naive "brute-force-like" methods (like e.g. dynamic programming with backtracking). However this leads to an exponential time algorithm. The density method which we presented here is the only method we are aware of which leads to a quadratic cost uniform random generation algorithm.</p><p>It would be a full project to examine many more families of Young tableaux with local decreases, to check which ones lead to nice generating functions, to give bijections, and so on. This article presented three different approaches to handle them: bijections, hook-length-like formulas, and the density method. Let us emphasize again that the last one is of great generality. We will give more examples in the long version of this article.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head></head><label></label><figDesc>Figure 2: Example of one of our n × 2 Young tableaux with walls.</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head></head><label></label><figDesc>v) dv dw ds dr dy dx, with p 0 = 1.</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>0&lt;x&lt;zFigure 3 :</head><label>3</label><figDesc>Figure3: Left: A 2n × 3 Young tableau with walls. Centre: Our algorithm first generates a related labelled shape, Polyo n , with one more cell in its bottom (removing this cell and relabelling the remaining cells gives the left tableau). Right: The "building block" of 7 cells. Each polyomino Polyo n is made of the overlapping of n such building blocks.</figDesc></figure>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0">We will refer to "n × m Young tableaux", or "Young tableaux of shape n × m", for rectangular Young tableaux with n rows and m columns. They are trivially in bijection with m × n Young tableaux.</note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_1">A function F (z) is D-finite if it satisfies a linear differential equation, with polynomial coefficients in z. See e.g.<ref type="bibr" target="#b5">[FS09]</ref> for their role in enumeration and asymptotics of combinatorial structures.</note>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Acknowledgements</head><p>This work was initiated during the postdoctoral position of Michael Wallner at the University of Paris Nord, in September-December 2017, thanks a MathStic funding. The subsequent part of this collaboration was funded by the Erwin Schrödinger Fellowship of the Austrian Science Fund (FWF): J 4162-N35.</p></div>
			</div>

			<div type="annex">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Let us now give a more algorithmic presentation of our method: Density method algorithm 1 Initialization: We order the building blocks from k = n − 1 (the top one) to k = 0 (the bottom one). We start with the value k := n − 1, i.e. the building block from the top. Put into its cell Z a random number z with density p n (z)/ 1 0 p n (t) dt. We repeat the following process until k = 0: 2 Filling: Now that Z is known, put into the cells X, Y, R, S, V, W random numbers x, y, r, s, v, w with conditional density</p><p>where 1 P z is the indicator function of the k-th building block (with value z in cell Z):</p><p>1 P z := 1 {0≤x≤y≤z,0≤r≤y,r≤s≤z,z≤w≤1,y≤v≤w} .</p><p>3 Iteration: Consider X as a the Z of the next building block. Set k := k − 1 and go to step 2.</p><p>Next we prove that this algorithm generates Young tableaux with walls uniformly and determine its cost.</p><p>Theorem 4.1. The density method algorithm is a uniform random generation algorithm with quadratic time complexity and linear space complexity.</p><p>Proof. Let us indeed prove that the algorithm gives a random element of our set of polytopes P with the uniform measure. Our algorithm yields a (6n + 1)-tuple x := (x j , y i , r i , s i , v i , w i , 0 ≤ j ≤ n, 0 ≤ i ≤ n − 1) whose density is the product of the conditional densities:</p><p>The crucial point is that this product is telescopic and equal to</p><p>where 1 P x k is as in the algorithm above the indicator function of the k-th block (where the local variables x, y, r, s, v, w, z of the algorithm are now x k , y k , r k , s k , v k , w k , z k ) and where the product 1 P of these indicator functions is the indicator function of the full polytope (with n blocks):</p><p>Therefore, this density is constant on our set P of polytopes and zero elsewhere, which is exactly what we wanted. The fact that it is a density implies that its integral is 1, whence</p><p>Now if we choose a random uniform element in [0, 1] 6n+1 , the probability that it belongs to our set P of polytopes is</p><p>But due to the reasoning above, this is also the probability that a random uniform filling of our building block is correct (i.e., respects the order constraints). Thus this probability is given by 1 0 p n (t)dt/(6n + 1)!. This implies that f n = (6n + 1)! 1 0 p n (t)dt. Finally, as each step relies on the computation and the evaluation of the associated polynomial p n (z) (of degree proportional to n), this gives a quadratic time complexity, and takes linear space.</p></div>			</div>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Solution directe du problème résolu par M. Bertrand</title>
		<author>
			<persName><forename type="first">D</forename><surname>André</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Comptes Rendus de l&apos;Académie des Sciences</title>
		<imprint>
			<biblScope unit="volume">105</biblScope>
			<biblScope unit="page" from="436" to="437" />
			<date type="published" when="1887">1887</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">Periodic Pólya urns and an application to Young tableaux</title>
		<author>
			<persName><forename type="first">C</forename><surname>Banderier</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Marchal</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Wallner</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 29th International Conference on Probabilistic, Combinatorial and Asymptotic Methods for the Analysis of Algorithms (AofA 2018)</title>
				<meeting>the 29th International Conference on Probabilistic, Combinatorial and Asymptotic Methods for the Analysis of Algorithms (AofA 2018)<address><addrLine>Uppsala</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2018">2018. 2018</date>
			<biblScope unit="page" from="1" to="12" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<monogr>
		<title level="m" type="main">Algorithmes Efficaces en Calcul Formel. Frédéric Chyzak</title>
		<author>
			<persName><forename type="first">A</forename><surname>Bostan</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Chyzak</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Giusti</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Lebreton</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Lecerf</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B</forename><surname>Salvy</surname></persName>
		</author>
		<author>
			<persName><forename type="first">É</forename><surname>Schost</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2017-09">September 2017</date>
			<biblScope unit="page">686</biblScope>
			<pubPlace>Palaiseau</pubPlace>
		</imprint>
	</monogr>
	<note>auto-édit. Printed by CreateSpace</note>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">The Chung-Feller theorem revisited</title>
		<author>
			<persName><forename type="first">Y.-M</forename><surname>Chen</surname></persName>
		</author>
		<idno type="DOI">10.1016/j.disc.2007.03.068</idno>
	</analytic>
	<monogr>
		<title level="j">Discrete Mathematics</title>
		<imprint>
			<biblScope unit="volume">308</biblScope>
			<biblScope unit="issue">7</biblScope>
			<biblScope unit="page" from="1328" to="1329" />
			<date type="published" when="2008">2008</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">On fluctuations in coin-tossing</title>
		<author>
			<persName><forename type="first">K</forename><forename type="middle">L</forename><surname>Chung</surname></persName>
		</author>
		<author>
			<persName><forename type="first">W</forename><surname>Feller</surname></persName>
		</author>
		<idno type="DOI">10.1073/pnas.35.10.605</idno>
	</analytic>
	<monogr>
		<title level="j">Proceedings of the National Academy of Sciences of the United States of America</title>
		<imprint>
			<biblScope unit="volume">35</biblScope>
			<biblScope unit="page" from="605" to="608" />
			<date type="published" when="1949">1949</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<monogr>
		<author>
			<persName><forename type="first">P</forename><surname>Flajolet</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Sedgewick</surname></persName>
		</author>
		<title level="m">Analytic Combinatorics</title>
				<imprint>
			<publisher>Cambridge University Press</publisher>
			<date type="published" when="2009">2009</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Another probabilistic method in the theory of Young tableaux</title>
		<author>
			<persName><forename type="first">C</forename><surname>Greene</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Nijenhuis</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H</forename><forename type="middle">S</forename><surname>Wilf</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of Combinatorial Theory Series A</title>
		<imprint>
			<biblScope unit="volume">37</biblScope>
			<biblScope unit="page" from="127" to="135" />
			<date type="published" when="1984">1984</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">Symmetric functions and Hall polynomials</title>
		<author>
			<persName><forename type="first">I</forename><forename type="middle">G</forename><surname>Macdonald</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Oxford Classic Texts in the Physical Sciences</title>
				<imprint>
			<publisher>Oxford University Press</publisher>
			<date type="published" when="2015">2015</date>
		</imprint>
	</monogr>
	<note>second edition</note>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">Rectangular Young tableaux and the Jacobi ensemble</title>
		<author>
			<persName><forename type="first">P</forename></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Discrete Mathematics and Theoretical Computer Science Proceedings</title>
				<meeting><address><addrLine>BC</addrLine></address></meeting>
		<imprint>
			<date type="published" when="2016">2016</date>
			<biblScope unit="page" from="839" to="850" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">Permutations with a prescribed descent set</title>
		<author>
			<persName><forename type="first">P</forename></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">This Proceedings</title>
		<imprint>
			<date type="published" when="2018">2018</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<monogr>
		<author>
			<persName><forename type="first">R</forename><forename type="middle">P</forename><surname>Stanley</surname></persName>
		</author>
		<title level="m">Enumerative combinatorics</title>
				<imprint>
			<publisher>Cambridge University Press</publisher>
			<date type="published" when="2011">2011</date>
			<biblScope unit="volume">1</biblScope>
		</imprint>
	</monogr>
	<note>2nd edition</note>
</biblStruct>

<biblStruct xml:id="b11">
	<analytic>
		<title level="a" type="main">Randomization of Algebra and Algebraization of Probability</title>
		<author>
			<persName><forename type="first">A</forename><forename type="middle">M</forename><surname>Vershik</surname></persName>
		</author>
		<idno type="DOI">10.1007/978-3-642-56478-9_60</idno>
	</analytic>
	<monogr>
		<title level="m">Mathematics unlimited-2001 and beyond</title>
				<editor>
			<persName><forename type="first">B</forename><surname>Engquist</surname></persName>
		</editor>
		<editor>
			<persName><forename type="first">W</forename><surname>Schmid</surname></persName>
		</editor>
		<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2001">2001</date>
			<biblScope unit="page" from="1157" to="1166" />
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
