OctoInform Beta

OpenAI preprint, September 2026 · 4. Reverse exposure and safe samples

Lemma 11: Conditional expectation of the safe layer statistic over random guard, test, and parity choices for any independent set YY

Lower bound on expected safe sampled labels.

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 the matroid prophet problem against an almighty adversary, an online algorithm observes element weights on a finite labeled matroid M=(E,ℐ)M = (E, \mathcal{I}) with ground set E={0,…,n−1}E = \{0, \dots, n - 1\}, rank function rk⁡(X)\operatorname{rk}(X), closure cl⁡(X)\operatorname{cl}(X), and loops L=cl⁡(∅)L = \operatorname{cl}(\emptyset). Elements are assigned to four random masks H,D,C,T⊆EH, D, C, T \subseteq E together with a random parity bit, and their observed optional integer weight levels organize the non-spanned candidates into ordered weight groups.

Holding the filter mask HH and density mask DD fixed, this item bounds from below the expected number of sampled elements from an independent set Y∈ℐY \in \mathcal{I} at a given integer weight level that enter the nominal flat path at an admissible level of matching parity while avoiding the density expansion of the lagged guarded flat and lower-group competition set.

Candidate groups and density expansion

For n∈ℕn \in \mathbb{N} and E={0,…,n−1}E = \{0, \dots, n - 1\}, random partition masks dd consist of four subsets of EE, namely the filter mask HH, the density mask DD, the guard mask CC, and the test mask TT, together with a Boolean parity bit.✦ Given subsets A,B,C′⊆EA, B, C' \subseteq E, the updated main masks d(A,B,C′)d(A, B, C') are obtained from dd by replacing the density, guard, and test masks with AA, BB, and C′C' while keeping HH and the parity bit unchanged.✦

Let s:E→ℤ∪{⊥}s : E \to \mathbb{Z} \cup \{\bot\} assign each element an optional integer level, where ⊥\bot denotes an absent level. For elements f,e∈Ef, e \in E and optional levels a,b∈ℤ∪{⊥}a, b \in \mathbb{Z} \cup \{\bot\}, the level priority order holds for (f,a)(f, a) over (e,b)(e, b) if either a,b∈ℤa, b \in \mathbb{Z} with b<ab < a or with b=ab = a and f<ef < e, or a∈ℤa \in \mathbb{Z} and b=⊥b = \bot; otherwise it fails.✦

Given MM, random partition masks dd with filter mask HH and density mask DD, and observed levels ss, an element e∈Ee \in E with optional level w∈ℤ∪{⊥}w \in \mathbb{Z} \cup \{\bot\} is a non-spanned candidate element if w≠⊥w \neq \bot, e∉He \notin H, and e∉cl⁡({f∈H:(f,s(f)) precedes (e,w)}),e \notin \operatorname{cl}\bigl( \{f \in H : (f, s(f)) \text{ precedes } (e, w)\} \bigr),(1)✦ where precedence in (1) is the level priority order. For any i∈ℤi \in \mathbb{Z}, the true candidate group Ui⊆EU_i \subseteq E is the set Ui={e∈E:e is a non-spanned candidate element at s(e) and s(e)=i}.U_i = \{e \in E : e \text{ is a non-spanned candidate element at } s(e) \text{ and } s(e) = i\}.(2)✦ The active candidate weight levels form the finite set {s(e)∈ℤ:e∈D and e is a non-spanned candidate element at s(e)}\{s(e) \in \mathbb{Z} : e \in D \text{ and } e \text{ is a non-spanned candidate element at } s(e)\} of integer weight levels realized by non-spanned candidate elements in the density mask DD✦, and the sorted active weight groups list these levels in nondecreasing order, indexed from 00.✦ For a mask A⊆EA \subseteq E and a group index h∈ℕh \in \mathbb{N}, the masked candidates in group hh, denoted AhA_h, consist of those e∈Ae \in A that are non-spanned candidate elements at s(e)s(e) whose level s(e)s(e) equals the hh-th entry of the sorted active weight groups; when hh is at least the length of that list, Ah=∅A_h = \emptyset.✦

For any matroid MM on a ground set EE, natural-number threshold κ∈ℕ\kappa \in \mathbb{N}, and subsets A,X⊆EA, X \subseteq E, the density objective function is Φκ,A(X)=|A∩X|−κrk⁡(X),\Phi_{\kappa, A}(X) = |A \cap X| - \kappa \operatorname{rk}(X),(3)✦ where rk⁡(X)∈ℕ\operatorname{rk}(X) \in \mathbb{N} is the matroid rank of XX in MM. Given P⊆EP \subseteq E, a subset Q⊆EQ \subseteq E is a density-maximizing flat of PP with respect to AA and κ\kappa if QQ is a flat of MM containing PP such that Φκ,A(Z)≤Φκ,A(Q)\Phi_{\kappa, A}(Z) \le \Phi_{\kappa, A}(Q) for every flat ZZ of MM containing PP.✦ Because a density-maximizing flat containing every other density-maximizing flat of PP exists, let Qκ,A(P)Q_{\kappa, A}(P) denote this largest density-maximizing flat.✦

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

Flat paths and the safe layer statistic

Let (Dh)h≥0(D_h)_{h \ge 0}, (Ch)h≥0(C_h)_{h \ge 0}, and (Th)h≥0(T_h)_{h \ge 0} be sequences of subsets of EE, and let κ∈ℕ\kappa \in \mathbb{N}. Using (4), the guarded flat path Fh(k)⊆EF_h(k) \subseteq E and the 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 through (5): F0(k)={Lif 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} L & \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}(5) For each level b∈ℤb \in \mathbb{Z} and step h∈ℕh \in \mathbb{N}, the lower competition set Kh,b⊆EK_{h, b} \subseteq E is defined recursively by K0,b=∅,Kh+1,b=Kh,b∪(Th∩(Xh(b)\Xh(b−1))).\begin{aligned} K_{0, b} &= \emptyset, \\ K_{h+1, b} &= K_{h, b} \cup \bigl(T_h \cap (X_h(b) \setminus X_h(b - 1))\bigr). \end{aligned}(6)✦

For any integer a∈ℤa \in \mathbb{Z}, the integer window is the set [a−2,1]∩ℤ[a - 2, 1] \cap \mathbb{Z}.✦ Identifying the Boolean parity bit with ε∈{0,1}\varepsilon \in \{0, 1\} by sending false to 00 and true to 11, the parity index window is W(a,ε)={k∈ℤ:a−2≤k≤1 and kmod⁡2=ε},W(a, \varepsilon) = \{k \in \mathbb{Z} : a - 2 \le k \le 1 \text{ and } k \bmod 2 = \varepsilon\},(7)✦ where kmod⁡2∈{0,1}k \bmod 2 \in \{0, 1\} is the Euclidean remainder of kk modulo 22. For h∈ℕh \in \mathbb{N}, U,I⊆EU, I \subseteq E, ε∈{0,1}\varepsilon \in \{0, 1\}, and b∈W(ah,ε)b \in W(a_h, \varepsilon), the nominal layer set Nh(U,ε,b)N_h(U, \varepsilon, b) and the safe layer set Sh(U,I,ε,b)S_h(U, I, \varepsilon, b) are defined from (5) and (6) by Nh(U,ε,b)={e∈U:ah+2≤b≤0,e∈Xh(b),e∉Xh(b−1)},Sh(U,I,ε,b)=(I∩Nh(U,ε,b))\Qκ,Dh(Fh(b−2)∪Kh,b).\begin{aligned} N_h(U, \varepsilon, b) &= \{e \in U : a_h + 2 \le b \le 0,\; e \in X_h(b),\; e \notin X_h(b - 1)\}, \\ S_h(U, I, \varepsilon, b) &= \bigl(I \cap N_h(U, \varepsilon, b)\bigr) \setminus Q_{\kappa, D_h}\bigl(F_h(b - 2) \cup K_{h, b}\bigr). \end{aligned}(8) Summing cardinalities of the safe layer sets in (8) over the parity index window (7) gives the safe layer statistic σh(U,I,ε)=∑b∈W(ah,ε)|Sh(U,I,ε,b)|.\sigma_h(U, I, \varepsilon) = \sum_{b \in W(a_h, \varepsilon)} \bigl|S_h(U, I, \varepsilon, b)\bigr|.(9)✦

Given random partition masks dd with masks H,D,C,TH, D, C, T, observed levels ss, threshold κ∈ℕ\kappa \in \mathbb{N}, integer level i∈ℤi \in \mathbb{Z}, subset Y⊆EY \subseteq E, and parity ε∈{0,1}\varepsilon \in \{0, 1\}, the listed group safe statistic σ̃i(d,s,Y,ε)\tilde{\sigma}_i(d, s, Y, \varepsilon) is defined from (2) and (9) as follows: if ii appears in the sorted active weight groups at 00-based index hh, then σ̃i(d,s,Y,ε)\tilde{\sigma}_i(d, s, Y, \varepsilon) equals σh(Ui,D∩Y,ε)\sigma_h(U_i, D \cap Y, \varepsilon) evaluated on the group-masked sequences (Dj)j≥0(D_j)_{j \ge 0}, (Cj)j≥0(C_j)_{j \ge 0}, and (Tj)j≥0(T_j)_{j \ge 0} of dd; if ii does not appear in the sorted active weight groups, then σ̃i(d,s,Y,ε)=0\tilde{\sigma}_i(d, s, Y, \varepsilon) = 0.✦

For inclusion probabilities q:E→ℝq : E \to \mathbb{R} and subsets V,S⊆EV, S \subseteq E, the Bernoulli subset probability wq(V,S)w_q(V, S) and the Bernoulli mask expectation of a real-valued function ff on subsets of VV are wq(V,S)=∏e∈V{q(e)if e∈S,1−q(e)if e∉S,𝔼S∼Ber⁡(q,V)[f(S)]=∑S⊆Vwq(V,S)f(S).\begin{aligned} w_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} \\ \mathbb{E}_{S \sim \operatorname{Ber}(q, V)}[f(S)] &= \sum_{S \subseteq V} w_q(V, S)\, f(S). \end{aligned}(10) For a real-valued function gg on {0,1}\{0, 1\}, the fair parity expectation is 𝔼ε[g(ε)]=g(0)+g(1)2.\mathbb{E}_{\varepsilon}[g(\varepsilon)] = \frac{g(0) + g(1)}{2}.(11)✦ The algorithm fixes three numerical parameters: the density threshold κ=2100\kappa = 2^{100}✦, the exit hazard threshold η=2−12\eta = 2^{-12}✦, and the thinning rate q0=2−140q_0 = 2^{-140}.✦

The claim

Lemma 11. Let n∈ℕn \in \mathbb{N}, let M=(E,ℐ)M = (E, \mathcal{I}) be a finite labeled matroid on E={0,…,n−1}E = \{0, \dots, n - 1\}, let dd be random partition masks on EE with filter mask HH and density mask DD, let s:E→ℤ∪{⊥}s : E \to \mathbb{Z} \cup \{\bot\} be observed optional integer levels, let i∈ℤi \in \mathbb{Z}, and let Y∈ℐY \in \mathcal{I} be an independent set of MM. Here the active candidate weight levels are defined as the finite set {s(e)∈ℤ:e∈D and e is a non-spanned candidate element at s(e)}\{s(e) \in \mathbb{Z} : e \in D \text{ and } e \text{ is a non-spanned candidate element at } s(e)\} realized by non-spanned candidate elements in the density mask DD.✦ With density threshold κ=2100\kappa = 2^{100}, exit hazard threshold η=2−12\eta = 2^{-12}, and constant inclusion probability q0=2−140q_0 = 2^{-140} on EE in (10) and (11), η4|D∩Y∩Ui|−|D∩Ui|κ≤𝔼C∼Ber⁡(q0,E)[𝔼T∼Ber⁡(q0,E)[𝔼ε[σ̃i(d(D,C,T),s,Y,ε)]]].\begin{aligned} &\frac{\eta}{4} |D \cap Y \cap U_i| - \frac{|D \cap U_i|}{\kappa} \\ &\quad \le \mathbb{E}_{C \sim \operatorname{Ber}(q_0, E)}\Bigl[ \mathbb{E}_{T \sim \operatorname{Ber}(q_0, E)}\bigl[ \mathbb{E}_{\varepsilon}[\tilde{\sigma}_i(d(D, C, T), s, Y, \varepsilon)] \bigr] \Bigr]. \end{aligned}(12)✦

What is checked

Lemma 11 is stated over every n∈ℕn \in \mathbb{N}, finite labeled matroid MM on E={0,…,n−1}E = \{0, \dots, n - 1\}, random partition masks dd, observed optional integer levels ss, integer weight level ii, and independent set YY of MM, bounding the nested Bernoulli mask expectation and fair parity expectation of the listed group safe statistic at κ=2100\kappa = 2^{100} and thinning rate 2−1402^{-140} from below in terms of |D∩Y∩Ui||D \cap Y \cap U_i|, |D∩Ui||D \cap U_i|, η=2−12\eta = 2^{-12}, and κ=2100\kappa = 2^{100}. For the density expansion construction, the Lean library also proves that for every matroid MM on a ground set EE, natural-number threshold κ\kappa, and subsets A,P⊆EA, P \subseteq E, there exists a largest density-maximizing flat containing PP.✦