OctoInform Beta

OpenAI preprint, September 2026 · 6. Rank and payoff for every arrival order

Lemma 17: Lower bounds on the conditional expectation of λh\lambda_h and the final rank statistic under independent Bernoulli test thinning

Independent test thinning for the final rank statistic.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

In online matroid prophet inequalities against an almighty adversary, an algorithm partitions ground-set elements into weight groups and tracks available rank across integer levels through guarded and nominal flat paths. A random test mask TT then thins each weight group independently at a fixed Bernoulli probability. Lemma 17 isolates the effect of averaging over the test bits of a single focal group while keeping the filter, density, and guard masks, the parity bit, and all test memberships outside that group fixed. Under this conditioning, the expected thinned rank statistic is at least the thinning rate times the corresponding unthinned rank statistic.

Density expansion and flat paths

Let M=(E,ℐ)M = (E, \mathcal{I}) be a matroid on a finite ground set EE, with closure operator cl\operatorname{cl} and loops L=cl⁡(∅)L = \operatorname{cl}(\emptyset). The matroid rank rk⁡(X)∈ℕ\operatorname{rk}(X) \in \mathbb{N} of a subset X⊆EX \subseteq E is the natural-number rank of XX in MM✦, and the conditional rank of S⊆ES \subseteq E given P⊆EP \subseteq E is rk⁡(S∣P)=rk⁡(S∪P)−rk⁡(P).\operatorname{rk}(S \mid P) = \operatorname{rk}(S \cup P) - \operatorname{rk}(P).(1)✦

Fix a natural-number density threshold κ∈ℕ\kappa \in \mathbb{N} and subsets D,P⊆ED, P \subseteq E. The density objective function assigns to each subset X⊆EX \subseteq E the integer Φκ,D(X)=|D∩X|−κrk⁡(X).\Phi_{\kappa, D}(X) = |D \cap X| - \kappa \operatorname{rk}(X).(2)✦ A subset Q⊆EQ \subseteq E is a density-maximizing flat for PP if QQ is a flat of MM containing PP such that Φκ,D(Z)≤Φκ,D(Q)\Phi_{\kappa, D}(Z) \le \Phi_{\kappa, D}(Q) for every flat ZZ of MM containing PP.✦ For every MM, κ\kappa, DD, and PP, there exists a density-maximizing flat QQ that contains every density-maximizing flat Q′Q' for PP.✦ The largest density-maximizing flat exp⁡κ,D(P)\operatorname{exp}_{\kappa, D}(P) is this unique maximum flat.✦

For each natural-number group index h∈ℕh \in \mathbb{N}, the group activation time is a(h)=−3(h+1)∈ℤa(h) = -3(h + 1) \in \mathbb{Z}.✦ Given integers a,k∈ℤa, k \in \mathbb{Z} and subsets D,P⊆ED, P \subseteq E, the activated density expansion is act⁡κ,D(a,k,P)={exp⁡κ,D(P)if a≤k,Pif k<a.\operatorname{act}_{\kappa, D}(a, k, P) = \begin{cases} \operatorname{exp}_{\kappa, D}(P) & \text{if } a \le k, \\ P & \text{if } k < a. \end{cases}(3)✦

Given sequences D•=(Dj)j≥0D_\bullet = (D_j)_{j \ge 0} of density masks and C•=(Cj)j≥0C_\bullet = (C_j)_{j \ge 0} of guard masks in EE, the guarded flat path Fh(k)F_h(k) for h∈ℕh \in \mathbb{N} and k∈ℤk \in \mathbb{Z} is defined recursively by F0(k)={cl⁡(∅)if k<0,Eif k≥0,Fh+1(k)=cl⁡(act⁡κ,Dh(a(h),k,Fh(k))∪(Ch∩act⁡κ,Dh(a(h),k+1,Fh(k+1)))).\begin{aligned} F_0(k) &= \begin{cases} \operatorname{cl}(\emptyset) & \text{if } k < 0, \\ E & \text{if } k \ge 0, \end{cases} \\ F_{h+1}(k) &= \operatorname{cl}\Bigl( \operatorname{act}_{\kappa, D_h}\bigl(a(h), k, F_h(k)\bigr) \\ &\qquad \cup \bigl(C_h \cap \operatorname{act}_{\kappa, D_h}(a(h), k + 1, F_h(k + 1))\bigr) \Bigr). \end{aligned}(4)✦ The nominal flat path Xh(k)X_h(k) is obtained from Fh(k)F_h(k) by applying the activated density expansion at step hh: Xh(k)=act⁡κ,Dh(a(h),k,Fh(k)).X_h(k) = \operatorname{act}_{\kappa, D_h}\bigl(a(h), k, F_h(k)\bigr).(5)✦

Final rank statistic and Bernoulli thinning

For an integer a∈ℤa \in \mathbb{Z}, the integer window [a−2,1][a - 2, 1] is the set of integers kk satisfying a−2≤k≤1a - 2 \le k \le 1.✦ Given a parity bit ε∈{0,1}\varepsilon \in \{0, 1\}, the parity index window W(a,ε)W(a, \varepsilon) consists of all k∈[a−2,1]k \in [a - 2, 1] with k≡ε(mod⁡2)k \equiv \varepsilon \pmod 2.✦

For a step h∈ℕh \in \mathbb{N}, a candidate set U⊆EU \subseteq E, a parity bit ε∈{0,1}\varepsilon \in \{0, 1\}, and an index b∈W(a(h),ε)b \in W(a(h), \varepsilon), the nominal layer set is Nh,b(U)={e∈U:a(h)+2≤b≤0,e∈Xh(b)\Xh(b−1)}.N_{h,b}(U) = \bigl\{e \in U : a(h) + 2 \le b \le 0,\; e \in X_h(b) \setminus X_h(b - 1)\bigr\}.(6)✦ The lower competition set depends only on test bits from strictly earlier weight groups, so it remains fixed when averaging the test mask of group hh. Given a sequence T•=(Tj)j≥0T_\bullet = (T_j)_{j \ge 0} of test masks in EE and an integer b∈ℤb \in \mathbb{Z}, the lower competition set Kh,b(T•)K_{h,b}(T_\bullet) is defined recursively for h∈ℕh \in \mathbb{N} by K0,b(T•)=∅,Kh+1,b(T•)=Kh,b(T•)∪(Th∩(Xh(b)\Xh(b−1))).\begin{aligned} K_{0,b}(T_\bullet) &= \emptyset, \\ K_{h+1,b}(T_\bullet) &= K_{h,b}(T_\bullet) \cup \bigl(T_h \cap (X_h(b) \setminus X_h(b - 1))\bigr). \end{aligned}(7)✦ For step indices h,m∈ℕh, m \in \mathbb{N}, a candidate set U⊆EU \subseteq E, an excluded set O⊆EO \subseteq E, a test set R⊆ER \subseteq E, and a parity bit ε∈{0,1}\varepsilon \in \{0, 1\}, the final rank statistic is Λκ(D•,C•,T•;h,m,U,O,R,ε)=∑b∈W(a(h),ε)rk⁡((Nh,b(U)\O)∩R|Fm(b−2)∪Kh,b(T•)).\begin{aligned} &\Lambda_\kappa(D_\bullet, C_\bullet, T_\bullet; h, m, U, O, R, \varepsilon) \\ &\quad = \sum_{b \in W(a(h), \varepsilon)} \operatorname{rk}\bigl((N_{h,b}(U) \setminus O) \cap R \;\big|\; F_m(b - 2) \cup K_{h,b}(T_\bullet)\bigr). \end{aligned}(8)✦

For real-valued inclusion probabilities q:E→ℝq : E \to \mathbb{R} and finite subsets V,S⊆EV, S \subseteq E, the Bernoulli subset probability is pq(V,S)=∏e∈V{q(e)if e∈S,1−q(e)if e∉S.p_q(V, S) = \prod_{e \in V} \begin{cases} q(e) & \text{if } e \in S, \\ 1 - q(e) & \text{if } e \notin S. \end{cases}(9)✦ For any real-valued function ff on finite subsets of EE, the Bernoulli mask expectation of ff over VV with probabilities qq is 𝔼q,V[f]=∑S⊆Vpq(V,S)f(S).\mathbb{E}_{q, V}[f] = \sum_{S \subseteq V} p_q(V, S)\, f(S).(10)✦ When qq takes a constant real value tt on VV, we write 𝔼t,V[f]\mathbb{E}_{t, V}[f]. The thinning rate is the real constant 2−1402^{-140}.✦

Weight groups and the listed group statistic

Fix n∈ℕn \in \mathbb{N} and write En={0,…,n−1}E_n = \{0, \dots, n - 1\}. Random partition masks on EnE_n consist of a tuple d=(H,D,C,T,odd)d = (H, D, C, T, \mathrm{odd}) of four finite subsets H,D,C,T⊆EnH, D, C, T \subseteq E_n (the filter mask, density mask, guard mask, and test mask) together with a Boolean parity flag odd\mathrm{odd}.✦ The boolean parity bit ε(odd)∈{0,1}\varepsilon(\mathrm{odd}) \in \{0, 1\} equals 11 when odd\mathrm{odd} is true and 00 otherwise.✦

Let w:En→ℤ∪{⊥}w : E_n \to \mathbb{Z} \cup \{\bot\} assign each element an optional integer weight level, where ⊥\bot marks an absent level. In the level priority order, a pair (f,a)(f, a) precedes (e,b)(e, b) if both levels are present as integers ii and jj with j<ij < i or with j=ij = i and f<ef < e, or if aa is present and bb is absent; otherwise (f,a)(f, a) does not precede (e,b)(e, b).✦ Given a matroid MM on EnE_n and random partition masks dd, an element e∈Ene \in E_n with optional level wew_e is a non-spanned candidate element if we≠⊥w_e \neq \bot, e∉He \notin H, and e∉cl⁡({f∈H:(f,w(f)) precedes (e,we)}).e \notin \operatorname{cl}\bigl(\{f \in H : (f, w(f)) \text{ precedes } (e, w_e)\}\bigr).(11)✦

The active candidate weight levels form the finite set of integer levels w(e)w(e) realized by non-spanned candidate elements e∈De \in D at their observed level w(e)w(e)✦, and the sorted active weight groups (g0,…,gm−1)(g_0, \dots, g_{m-1}) list those levels in nondecreasing order, with length mm.✦ For any mask S⊆EnS \subseteq E_n and h∈ℕh \in \mathbb{N}, the masked candidates in group hh form the set ShS_h of elements e∈Se \in S that are non-spanned candidate elements at their observed level w(e)w(e) and satisfy w(e)=ghw(e) = g_h (and Sh=∅S_h = \emptyset if h≥mh \ge m).✦ The listed group elements Gh=(En)h⊆EnG_h = (E_n)_h \subseteq E_n form the finite set of non-spanned candidate elements e∈Ene \in E_n at their observed level w(e)w(e) satisfying w(e)=ghw(e) = g_h (and Gh=∅G_h = \emptyset if h≥mh \ge m).✦ Writing D•=(Dj)j≥0D_\bullet = (D_j)_{j \ge 0}, C•=(Cj)j≥0C_\bullet = (C_j)_{j \ge 0}, and T•=(Tj)j≥0T_\bullet = (T_j)_{j \ge 0} for the group-restricted masks and O=H∪D∪CO = H \cup D \cup C, the listed group statistic λh(d)∈ℕ\lambda_h(d) \in \mathbb{N} is λh(d)=Λ2100(D•,C•,T•;h,m,(En)h,O,T,ε(odd)).\lambda_h(d) = \Lambda_{2^{100}}\bigl( D_\bullet, C_\bullet, T_\bullet; h, m, (E_n)_h, O, T, \varepsilon(\mathrm{odd}) \bigr).(12)✦

The claim

Lemma 17. Let n∈ℕn \in \mathbb{N}, let MM be a matroid on En={0,…,n−1}E_n = \{0, \dots, n - 1\}, let d=(H,D,C,T,odd)d = (H, D, C, T, \mathrm{odd}) be random partition masks on EnE_n, let w:En→ℤ∪{⊥}w : E_n \to \mathbb{Z} \cup \{\bot\} be an optional integer weight map, and let h∈ℕh \in \mathbb{N}. Write mm for the length of the sorted active weight groups, D•D_\bullet and C•C_\bullet for the group-restricted density and guard masks, GjG_j for the jj-th listed group elements, O=H∪D∪CO = H \cup D \cup C, and dT′=(H,D,C,T′,odd)d_{T'} = (H, D, C, T', \mathrm{odd}) for the mask configuration with test mask T′⊆EnT' \subseteq E_n. For every subset A⊆EnA \subseteq E_n disjoint from GhG_h, 2−140Λ2100(D•,C•,(A∩Gj)j≥0;h,m,Gh,O,En,ε(odd))≤𝔼2−140,En[T′↦𝟏T′\Gh=Aλh(dT′)]𝔼2−140,En[T′↦𝟏T′\Gh=A],\begin{aligned} &2^{-140} \Lambda_{2^{100}}\bigl( D_\bullet, C_\bullet, (A \cap G_j)_{j \ge 0}; h, m, G_h, O, E_n, \varepsilon(\mathrm{odd}) \bigr) \\ &\qquad \le \frac{ \mathbb{E}_{2^{-140}, E_n}\bigl[ T' \mapsto \mathbf{1}_{T' \setminus G_h = A}\,\lambda_h(d_{T'}) \bigr] }{ \mathbb{E}_{2^{-140}, E_n}\bigl[ T' \mapsto \mathbf{1}_{T' \setminus G_h = A} \bigr] }, \end{aligned}(13)✦ where 𝟏T′\Gh=A\mathbf{1}_{T' \setminus G_h = A} equals 11 when T′\Gh=AT' \setminus G_h = A and 00 otherwise.

More generally, let MM be a matroid on a finite ground set EE, let κ∈ℕ\kappa \in \mathbb{N}, let D•D_\bullet and C•C_\bullet be sequences of subsets of EE, and let (Yj)j≥0(Y_j)_{j \ge 0} be a sequence of pairwise disjoint finite subsets of EE. For all h,m∈ℕh, m \in \mathbb{N}, O⊆EO \subseteq E, ε∈{0,1}\varepsilon \in \{0, 1\}, t∈[0,1]t \in [0, 1], and every finite subset A⊆EA \subseteq E disjoint from YhY_h, tΛκ(D•,C•,(A∩Yj)j≥0;h,m,Yh,O,E,ε)≤𝔼t,Yh[B↦Λκ(D•,C•,((A∪B)∩Yj)j≥0;h,m,Yh,O,A∪B,ε)].\begin{aligned} &t \, \Lambda_\kappa\bigl( D_\bullet, C_\bullet, (A \cap Y_j)_{j \ge 0}; h, m, Y_h, O, E, \varepsilon \bigr) \\ &\qquad \le \mathbb{E}_{t, Y_h}\Bigl[ B \mapsto \Lambda_\kappa\bigl( D_\bullet, C_\bullet, ((A \cup B) \cap Y_j)_{j \ge 0}; h, m, Y_h, O, A \cup B, \varepsilon \bigr) \Bigr]. \end{aligned}(14)✦

What is checked

In Lemma 17, the Lean library states the conditional thinning bound (13) for a matroid on {0,…,n−1}\{0, \dots, n - 1\} with random partition masks, optional integer weights, density threshold 21002^{100}, and thinning rate 2−1402^{-140}, together with the fixed-outside thinning bound (14) for a matroid on a finite ground set EE, arbitrary density threshold κ\kappa, pairwise disjoint finite subsets (Yj)j≥0(Y_j)_{j \ge 0}, and thinning probability t∈[0,1]t \in [0, 1]. For these constructions, the Lean library establishes the existence of a largest density-maximizing flat containing any given subset P⊆EP \subseteq E.