arXiv:2610.41385math.COOct 2026

Manuscript Offprint

arXiv:2610.41385

The lattice of antichains of intervals: Dyck paths, level sets, and sweep dimension

Paolo Boldi, Sebastiano Vigna

Abstract

The Clarke–Cormack–Burkowski lattice En\mathcal{E}_n is the lattice of antichains of intervals of the chain {0,1,…,n−1}\{\mathbf{0}, \mathbf{1}, \ldots, n - \mathbf{1}\}, the algebraic structure underlying minimal-interval semantics, a query semantics used in information retrieval. We give an explicit, elementary anti-isomorphism between En\mathcal{E}_n minus its top element and the Stanley lattice of Dyck words of semilength n+1n + 1 (an anti-isomorphism whose existence is implicit in work of Ferrari and Munarini), under which the rank of an antichain is (n+12)\binom{n+1}{2} minus the area of the associated Dyck word. Hence the rank generating function of En∖{⊤}\mathcal{E}_n \setminus \{\top\} is the reverse of the Carlitz–Riordan qq-Catalan polynomial. Using a local limit theorem for the area of random-walk excursions, we confirm unconditionally an asymptotic formula of Takács: the size λn\lambda_n of the largest level set of En\mathcal{E}_n satisfies λn∼κ4n+1/(n+1)3\lambda_n \sim \kappa 4^{n+1}/(n+1)^3, where κ≈1.0807\kappa \approx 1.0807. Finally, for the antichains of intervals of an arbitrary finite poset PP we study the sweep dimension, the minimum number of linear orders needed to separate every interval from every element outside it. It equals the Dushnik–Miller dimension of the lattice of convex subsets of PP, it is the least kk for which PP maps into Rk\mathbf{R}^k so that every interval is the preimage of an upper orthant, and it lies between max⁡(2,w)\max(2, w) and 2w2w, where ww is the width of PP, both bounds being tight. Antichains of intervals embed, preserving joins, into kk-dimensional staircase regions.

Keywords: antichains of intervals, minimal-interval semantics, Dyck paths, Stanley lattice, Carlitz–Riordan q-Catalan numbers, order dimension

MSC Classification: 06A07, 06D05, 05A15, 05A16, 68P20

1 Introduction

In modern information-retrieval systems, such as web search engines, the fact that a document (seen as a sequence of words) satisfies a query is not enough to determine its relevance. In fact, the user is often interested in the regions of the document that satisfy the query, and in particular in the minimal regions that satisfy it. For instance, if a user searches for "(A AND B) OR (C AND D)", it is not enough to know that a document contains both A and B (or both C and D): the user wants to know where these terms occur, and in particular whether they occur close to each other.

This idea is formally captured by minimal-interval semantics [1], which uses antichains (w.r.t. inclusion) of intervals (i.e., textual passages in the document) to represent the answer to a query. Each interval in the text of a document is a witness of the satisfiability of the query, that is, it represents a region of the document that satisfies the query; only minimal witnesses are kept, since they are the most informative ones.

This semantics belongs to a larger family of set-based algebraic query languages for text indexing systems that record, besides the positions of words, the positions of text regions; Consens and Milo [2] list several of them, including the algebra of the Pat system and the one of Clarke, Cormack and Burkowski [1], and study the expressive power and the optimization of the Pat algebra, which, in their words, includes most of the operators considered in the other proposals. In the approach of Clarke, Cormack and Burkowski [1], the algebraic laws needed by the query operators (e.g., distributivity) are proved from scratch; minimal intervals can also be used to estimate the relevance of a document [3]. In [4] we showed that these laws are instances of general properties of antichain completions: the antichains of intervals of a document form a lattice, which we call the Clarke–Cormack–Burkowski lattice, in which the Boolean operators of queries become lattice operations; there we also characterized in elementary terms the relative pseudo-complement and other operators of interest in information retrieval, and gave a closed formula for the rank of an element; efficient, optimally lazy algorithms for the operators were described in [5]. More recently, Clarke's annotative indexing [6] has extended minimal-interval semantics in two directions: arbitrary intervals, and not only single positions, can be indexed, and every interval carries a value; for each feature, the set of annotations is still required to follow minimal-interval semantics, that is, to be an element of a Clarke–Cormack–Burkowski lattice.

In this paper, we give an explicit anti-isomorphism between the lattice of antichains of intervals underlying minimal-interval semantics, for a total order, and the Stanley lattice of Dyck paths, which yields the exact asymptotics of its largest level set. For an arbitrary finite poset, instead, we show that it can be embedded into a lattice of higher-dimensional staircase regions whose dimension is a parameter of the poset, the sweep dimension, which turns out to be the Dushnik–Miller dimension of the lattice of convex subsets of the poset; we characterize it and bound it in terms of the width.

References (34)