OctoInform Beta

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

Lemma 16: Bounding the conditional rank loss from later guard masks CrC_r and density masks DrD_r by a single cumulative budget

Telescoping rank cost across later flat expansions.

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 selection against an almighty adversary, weight groups are processed in sequence, and each group expands a nested path of flats using density-maximizing closures and guard elements. When evaluating the rank contributed by a group hh against the final guarded flat path produced after all later groups, those later expansions can span elements that were unspanned on the nominal flat path of group hh. Lemma 16 bounds the total conditional rank lost across an entire parity window by a single cumulative budget built from the guard mask of group hh and the guard and density masks of all later groups.

Throughout, let M=(E,ℐ)M = (E, \mathcal{I}) be a matroid on a finite ground set EE with matroid rank rk⁡(X)∈ℕ\operatorname{rk}(X) \in \mathbb{N}, closure cl⁡(X)\operatorname{cl}(X), and loops L=cl⁡(∅)L = \operatorname{cl}(\emptyset) for X⊆EX \subseteq E. 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)✦

Flat paths

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 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 containing PP if QQ is a flat of MM with P⊆QP \subseteq Q such that ϕκ,D(Z)≤ϕκ,D(Q)\phi_{\kappa, D}(Z) \le \phi_{\kappa, D}(Q) for every flat ZZ of MM containing PP.✦ Among all density-maximizing flats containing PP, there exists a largest one containing every other density-maximizing flat containing PP✦; denote this largest density-maximizing flat by exp⁡κ,D(P)\operatorname{exp}_{\kappa, D}(P).✦

For a group index h∈ℕh \in \mathbb{N}, the group activation time is ah=−3(h+1)∈ℤa_h = -3(h + 1) \in \mathbb{Z}. Given integers a,k∈ℤa, k \in \mathbb{Z}, the activated density expansion of P⊆EP \subseteq E with respect to κ\kappa, DD, and aa 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)✦

Let (Dh)h∈ℕ(D_h)_{h \in \mathbb{N}}, (Ch)h∈ℕ(C_h)_{h \in \mathbb{N}}, and (Th)h∈ℕ(T_h)_{h \in \mathbb{N}} be sequences of subsets of EE, serving as density, guard, and test masks. The guarded flat path Fh(k)⊆EF_h(k) \subseteq E and nominal flat path Xh(k)⊆EX_h(k) \subseteq E are defined for h∈ℕh \in \mathbb{N} and k∈ℤk \in \mathbb{Z} by recursion on hh: F0(k)={cl⁡(∅)if k<0,Eif k≥0,Xh(k)=act⁡κ,Dh(ah,k,Fh(k)),Fh+1(k)=cl⁡(Xh(k)∪(Ch∩Xh(k+1))).\begin{aligned} F_0(k) &= \begin{cases} \operatorname{cl}(\emptyset) & \text{if } k < 0, \\ E & \text{if } k \ge 0, \end{cases} \\ X_h(k) &= \operatorname{act}_{\kappa, D_h}\bigl(a_h,\, k,\, F_h(k)\bigr), \\ F_{h+1}(k) &= \operatorname{cl}\bigl(X_h(k) \cup (C_h \cap X_h(k+1))\bigr). \end{aligned}(4) For each integer level b∈ℤb \in \mathbb{Z}, the lower competition set Kh,b⊆EK_{h,b} \subseteq E is defined recursively by K0,b=∅K_{0,b} = \emptyset and Kh+1,b=Kh,b∪(Th∩(Xh(b)\Xh(b−1))).K_{h+1,b} = K_{h,b} \cup \bigl(T_h \cap (X_h(b) \setminus X_h(b-1))\bigr).(5)✦

Rank statistics

For a∈ℤa \in \mathbb{Z}, the integer window [a−2,1][a - 2, 1] consists of all integers kk with 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 integers k∈[a−2,1]k \in [a - 2, 1] satisfying k≡ε(mod⁡2)k \equiv \varepsilon \pmod 2.✦ For h∈ℕh \in \mathbb{N}, a subset U⊆EU \subseteq E, a parity bit ε∈{0,1}\varepsilon \in \{0, 1\}, and b∈W(ah,ε)b \in W(a_h, \varepsilon), the nominal layer set is Ph,b(U)={e∈U:ah+2≤b≤0,e∈Xh(b)\Xh(b−1)}.P_{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)✦

Given subsets U,O,V⊆EU, O, V \subseteq E, a group index h∈ℕh \in \mathbb{N}, a terminal step m∈ℕm \in \mathbb{N}, and a parity bit ε∈{0,1}\varepsilon \in \{0, 1\}, the nominal rank statistic Zh(U,O,ε)∈ℕZ_h(U, O, \varepsilon) \in \mathbb{N} and final rank statistic Zˆh,m(U,O,V,ε)∈ℕ\widehat{Z}_{h,m}(U, O, V, \varepsilon) \in \mathbb{N} are defined by Zh(U,O,ε)=∑b∈W(ah,ε)rk⁡(Ph,b(U)\O∣Xh(b−2)∪Kh,b),Zˆh,m(U,O,V,ε)=∑b∈W(ah,ε)rk⁡((Ph,b(U)\O)∩V∣Fm(b−2)∪Kh,b).\begin{aligned} Z_h(U, O, \varepsilon) &= \sum_{b \in W(a_h, \varepsilon)} \operatorname{rk}\bigl(P_{h,b}(U) \setminus O \mid X_h(b-2) \cup K_{h,b}\bigr), \\ \widehat{Z}_{h,m}(U, O, V, \varepsilon) &= \sum_{b \in W(a_h, \varepsilon)} \operatorname{rk}\bigl((P_{h,b}(U) \setminus O) \cap V \mid F_m(b-2) \cup K_{h,b}\bigr). \end{aligned}(7)

Active candidate groups

For a natural number nn, consider a matroid MM on the finite ground set En={0,…,n−1}E_n = \{0, \dots, n - 1\}. A tuple of random partition masks d=(H,D,C,T,odd)d = (H, D, C, T, \mathrm{odd}) consists of four subsets H,D,C,T⊆EnH, D, C, T \subseteq E_n, namely the filter, density, guard, and test masks, together with a Boolean parity flag whose boolean parity bit ε∈{0,1}\varepsilon \in \{0, 1\} is 11 when the flag is true and 00 when it is false.

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. For elements f,e∈Enf, e \in E_n and optional levels a,b∈ℤ∪{⊥}a, b \in \mathbb{Z} \cup \{\bot\}, the pair (f,a)(f, a) precedes (e,b)(e, b) in the level priority order if either a=ia = i and b=jb = j are integers with j<ij < i or with j=ij = i and f<ef < e, or aa is an integer and b=⊥b = \bot.✦ An element e∈Ene \in E_n with optional level v∈ℤ∪{⊥}v \in \mathbb{Z} \cup \{\bot\} is a non-spanned candidate element if v≠⊥v \neq \bot, e∉He \notin H, and e∉cl⁡({f∈H:(f,w(f)) precedes (e,v)}).e \notin \operatorname{cl}\bigl(\{f \in H : (f, w(f)) \text{ precedes } (e, v)\}\bigr).(8)✦

The active candidate weight levels form the finite set of integers realized as w(e)w(e) by non-spanned candidate elements e∈De \in D at their assigned level w(e)w(e).✦ Sorting these levels in nondecreasing order produces the list g0,g1,…,gm−1g_0, g_1, \dots, g_{m-1} of sorted active weight groups, of length m∈ℕm \in \mathbb{N}.✦ For any subset A⊆EnA \subseteq E_n and h∈ℕh \in \mathbb{N}, the masked candidates in group hh form the set Ah={e∈A:e is a non-spanned candidate element at w(e) and w(e)=gh},A_h = \bigl\{e \in A : e \text{ is a non-spanned candidate element at } w(e) \text{ and } w(e) = g_h\bigr\},(9)✦ which is empty when h≥mh \ge m. Applying (9) to DD, CC, TT, and EnE_n yields the mask sequences (Dh)(D_h), (Ch)(C_h), (Th)(T_h), and (Uh)(U_h). With the fixed density threshold 21002^{100}, the listed nominal rank statistic of group hh is zh=Zh(Uh,H∪D∪C,ε).z_h = Z_h\bigl(U_h,\, H \cup D \cup C,\, \varepsilon\bigr).(10)✦

The claim

Lemma 16. For every natural number nn, every matroid MM on En={0,…,n−1}E_n = \{0, \dots, n - 1\}, every tuple of random partition masks d=(H,D,C,T,odd)d = (H, D, C, T, \mathrm{odd}), every assignment w:En→ℤ∪{⊥}w : E_n \to \mathbb{Z} \cup \{\bot\} of optional integer levels, and every group index h<mh < m, where mm is the number of sorted active weight groups, the listed nominal rank statistic zhz_h and the final rank statistic at density threshold 21002^{100} satisfy zh−(|Ch|+∑r=h+1m−1(|Cr|+|Dr|2100))≤Zˆh,m(Uh,H∪D∪C,En,ε).z_h - \left(|C_h| + \sum_{r=h+1}^{m-1} \left(|C_r| + \frac{|D_r|}{2^{100}}\right)\right) \le \widehat{Z}_{h,m}\bigl(U_h,\, H \cup D \cup C,\, E_n,\, \varepsilon\bigr).(11)✦

More generally, for every matroid MM on a finite ground set EE, every positive integer density threshold κ>0\kappa > 0, all sequences (Dj)j∈ℕ(D_j)_{j \in \mathbb{N}}, (Cj)j∈ℕ(C_j)_{j \in \mathbb{N}}, and (Tj)j∈ℕ(T_j)_{j \in \mathbb{N}} of subsets of EE, all natural numbers hh, ℓ\ell, and qq, every starting integer s∈ℤs \in \mathbb{Z}, and every family of subsets (Sb)b∈ℤ(S_b)_{b \in \mathbb{Z}} of EE satisfying Sb⊆Xh(b)S_b \subseteq X_h(b) for all b∈ℤb \in \mathbb{Z}, κ∑j=0q−1rk⁡(Ss+2j+2∣Xh(s+2j)∪Kh,s+2j+2)≤κ∑j=0q−1rk⁡(Ss+2j+2∣Fh+1+ℓ(s+2j)∪Kh,s+2j+2)+κ|Ch|+∑r=h+1h+ℓ(κ|Cr|+|Dr|).\begin{aligned} &\kappa \sum_{j=0}^{q-1} \operatorname{rk}\bigl(S_{s+2j+2} \mid X_h(s+2j) \cup K_{h, s+2j+2}\bigr) \\ &\quad \le \kappa \sum_{j=0}^{q-1} \operatorname{rk}\bigl(S_{s+2j+2} \mid F_{h+1+\ell}(s+2j) \cup K_{h, s+2j+2}\bigr) \\ &\qquad + \kappa |C_h| + \sum_{r=h+1}^{h+\ell} \bigl(\kappa |C_r| + |D_r|\bigr). \end{aligned}(12)✦

What is checked

In the Lean library, inequality (11) of Lemma 16 is stated for any matroid MM on En={0,…,n−1}E_n = \{0, \dots, n - 1\}, any tuple of random partition masks dd, any assignment ww of optional integer weight levels, and any active group index h<mh < m at density threshold 21002^{100}, while inequality (12) is stated for any matroid MM on a finite ground set EE, any positive integer threshold κ\kappa, any mask sequences (Dj)(D_j), (Cj)(C_j), and (Tj)(T_j), any indices h,ℓ,q∈ℕh, \ell, q \in \mathbb{N} and s∈ℤs \in \mathbb{Z}, and any family of subsets (Sb)b∈ℤ(S_b)_{b \in \mathbb{Z}} with Sb⊆Xh(b)S_b \subseteq X_h(b) for all b∈ℤb \in \mathbb{Z}. For the underlying density expansions, the Lean library proves that for every matroid MM on a finite ground set EE, every κ∈ℕ\kappa \in \mathbb{N}, and all subsets D,P⊆ED, P \subseteq E, a largest density-maximizing flat containing PP exists.✦