English

Recursive Record Filtering and Longest Decreasing Subsequences

Combinatorics 2026-05-27 v2 Probability

Abstract

We consider a recursive record-filtering procedure, which we informally call Disappear-Sort. Let DnD_n denote the random variable giving the required number of passes in Disappear-Sort to eliminate a sequence of length nn sampled as i.i.d. copies of a continuous random variable XX, 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]d_n=\mathbb{E}[D_n] satisfies an exact recurrence involving the unsigned Stirling numbers of the first kind. For the non-resampling variant, we associate to a permutation pnSnp_n\in S_n 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)L(p_n), where L(pn)L(p_n) is the length of the longest decreasing subsequence of pnp_n. We then show that for a uniform random permutation of size nn, the expectation E[Dn]\mathbb{E}[D_n] 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\mathbb{E}[D_n]\sim 2\sqrt{n}, with fluctuations on the n1/6n^{1/6} scale governed by the Tracy--Widom law derived by Baik, Deift and Johansson. We conclude with an O(nlogn)O(n\log n) implementation.

Keywords

Cite

@article{arxiv.2604.23825,
  title  = {Recursive Record Filtering and Longest Decreasing Subsequences},
  author = {Jackson Zariski and Kaitlin Kratter},
  journal= {arXiv preprint arXiv:2604.23825},
  year   = {2026}
}
R2 v1 2026-07-01T12:35:57.544Z