Recursive Record Filtering and Longest Decreasing Subsequences

Abstract

We consider a recursive record-filtering procedure, which we informally call Disappear-Sort. Let Dn denote the random variable giving the required number of passes in Disappear-Sort to eliminate a sequence of length n sampled as i.i.d. copies of a continuous random variable X, where each pass retains the left-to-right records and discards all remaining entries. We show that this procedure admits two natural probabilistic interpretations. For the resampling variant we prove that dn=E[Dn] satisfies an exact recurrence involving the unsigned Stirling numbers of the first kind. For the non-resampling variant, we associate to a permutation pn∈ Sn a natural poset and prove that the recursive Disappear-Sort layers form an antichain decomposition of this poset. We deduce that the total number of passes equals L(pn), where L(pn) is the length of the longest decreasing subsequence of pn. We then show that for a uniform random permutation of size n, the expectation E[Dn] of this second variant coincides with the expected first-column length of a Plancherel-random Young diagram. Using the Robinson--Schensted correspondence, we obtain an exact formula for this expectation in terms of partitions and standard Young tableaux, and classical Plancherel asymptotics then yield E[Dn] 2n, with fluctuations on the n1/6 scale governed by the Tracy--Widom law derived by Baik, Deift and Johansson. We conclude with an O(n n) implementation.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…