6fbd3ac Δ f6bf760 Δ 56bc728 Δ b1f9bc4 Δ b34550f Δ 3ff9228 Δ d908aaa Δ 9fbb795
editors: nobody
% ==========================================================================
% One Sample Suffices for Matroid Prophet Ineualities against an
% Almighty Adversary.
%
% A self-contained rewrite. Every definition, lemma and proof is kept.
%
% The result: one independent sample per element is enough to beat any
% arrival-order adversary, even one that sees all samples, all online
% values, and the algorithm's whole random seed.
% ==========================================================================








definecolor{linkblue}{RGB}{22,64,95}














newcommand{ind}[1]{1_bf1_{{#1}}}



allowdisplaybreaks[1]
# One Sample Suffices for Matroid Prophet Ineualitiesagainst an Almighty Adversary


maketitle

Abstract: 
One independent sample per element always suffices for a constant-competitive
prophet ineuality on every finite matroid.  The guarantee survives the
strongest order adversary, one that sees every sample, every online value,
and the algorithm's whole random seed before choosing the order.  The rule
never needs the value distributions, and it achieves the absolute
competitive ratio 2^{-310}.


# Introduction

What a prophet ineuality is.: 
A gambler is shown a finite set E of items (called labels or
elements) one at a time in some order.  Each item e carries a
nonnegative random value V_e.  When e appears the gambler sees V_e
and must decide, on the spot, to keep it or drop it.  A keep is final and
cannot be undone.  The kept set must stay feasible.  A prophet
who sees every value in advance could keep the best feasible set.  A
prophet ineuality asks how large a fraction of the prophet's value an
online rule can guarantee without knowing the future.

What feasibility means here.: 
Feasibility is described by a known finite matroid
M=(E,I).  Its members I are the independent
sets.  Informally a matroid is any combinatorial rule of independence that
obeys two axioms:
 if IinI and J⊆ I then JinI
      (subsets of independent sets are independent), and
 if I,JinI and |I|<|J| then some ein J∖ I
      has Icup{e}inI (exchange).

Graph edge-sets without cycles, and linearly independent vectors, are the
two examples to keep in mind.  For a value vector v=(v_e:ein E) the best
feasible value is

 OPT_M(v)=max_{IinI}{ein I}v_e .


The information the rule gets.: 
The rule never learns the distributions.  Instead, before any arrival it
receives one independent sample S_e for every label, each drawn
from the same law D_e as the true online value V_e.  The pairs
(S_e,V_e) are mutually independent.  The rule also uses its own random
seed R, drawn independently of all samples and values.  The sample vector
S is the only statistical information available.

The adversary.: 
The arrival order is chosen by an almighty ordering adversary.  This
adversary may inspect the matroid, the distributions, the full sample vector
S, the full online vector V, and the rule's complete seed R before it
picks the order pi.  The rule is never told the order in advance.  This
is the harshest information pattern: nothing random the rule owns is hidden.

The main theorem.: 

There is a measurable online selection rule, depending on no distributions,
with the following property.  Let M=(E,I) be any finite known
labeled matroid, and let (S_e,V_e:ein E) be mutually independent
nonnegative random variables with S_e and V_e sharing an arbitrary law
D_e.  Assume Ex[OPT_M(V)]<∞.  The rule receives exactly the
sample vector S before arrivals and uses a seed R independent of S,V.
For every measurable permutation rule pi that may depend on M, the laws
(D_e), S, V and R, the rule accepts an independent set A, decides
irrevocably at each arrival using only the available history, and

 Ex![sum_{ein A}V_e] ge 2^{-310},Ex[OPT_M(V)] .


The constant is absolute: it does not depend on the matroid, its size, its
rank, or the distributions.  The rule is a finite measurable construction.
No running-time bound and no polynomial independence-oracle bound are
claimed.  The proof actually gives the stronger constant 2^{-293}; the
statement above carries deliberate slack.

Why a loss is unavoidable, and why the sample helps.: 
With no sample at all, a single-choice prophet ineuality guarantees only
1/2 of the prophet's value even with known distributions, and this is
sharp.  With one sample per element the single-choice problem again admits
1/2.  The point of the present theorem is that the same one-sample
information, made robust against a full-seed order adversary, yields a
positive constant on every matroid at once.

The information pattern in words.: 
The unusual demand is the expectation of a minimum.  A guarantee for
each fixed order would only control min_pi Ex[reward].  We must
control Ex[min_pi reward]: the adversary picks a different order
for each seed, so the order can be tuned to the coins.  This is why the
proof first builds a rule for a hidden fixed value vector, where the
minimum over orders sits inside the expectation, and only afterwards
transfers that guarantee to the one-sample model.

Context.: 
For known distributions, a sharp factor of 1/2 for arbitrary matroids was
proved by Kleinberg and Weinberg [cite], following the single-choice
factor-two bound credited to Garling (see Krengel and Sucheston
[cite]).  For unknown distributions, Azar, Kleinberg and Weinberg
[cite] introduced the limited-information sample framework and the
reduction from order-oblivious secretary rules.  In the single-choice setting
Rubinstein, Wang and Weinberg [cite] obtained the optimal one-sample
fraction 1/2, and Caramanis et al. [cite] developed a
greedy-ordered sample-pair method.  For general matroids, Lachish
[cite] and Feldman, Svensson and Zenklusen [cite] first
gave one-sample guarantees with a doubly logarithmic loss in the rank.
Fu et al. [cite] then obtained a constant using
O(log^4(2+n)) samples per element, and [cite] improved the
sample dependence.  Those constant results allow an almighty adversary,
but with a sample budget that grows with the matroid.  The present theorem
uses a single sample.  Recent constant results for ordinary random-order
matroid secretary selection are in [cite].

Proof strategy in one breath.: 
In plain words: reveal a few weights as samples, use them to guess where the
valuable labels sit, and protect those guesses with extra revealed labels,
so that no arrival order can spoil the plan.
Round the values down to powers of a large base B so there are only a few
``weight levels''.  Process levels from low to high.  For each level, a
sparse mask of revealed samples builds flats (matroid-closed sets)
that capture many high-value samples per unit of rank; a second sparse mask
of revealed samples adds guards that protect those captures one step
ahead.  Slice these nested flats into two-step layers, and within each
layer greedily keep arriving labels that are independent of everything kept
so far.  Nesting makes the union feasible for every arrival order.
Three independent losses are then bounded: competition from lower levels
(Section~sec:safety), the fact that revealed samples are sacrificed
(Section~sec:transfer), and the gap between the model path and the
final guarded path (Section~sec:accounting).  A simple separate branch
handles the case where one label dominates the optimum.  A final coupling
carries the fixed-vector guarantee to the one-sample model.

How the sections fit together.: 
Section~sec:setup recasts the problem for a hidden fixed value vector
and proves the one-sample simulation lemma.  Section~sec:algorithm
builds the online rule.  The next three sections each bound one of the three
losses described above, in order: Section~sec:safety, then
Section~sec:transfer, then Section~sec:accounting, where the
constant 2^{-293} is assembled and Proposition~prop:hidden and
Theorem~thm:main are proved.  Section~sec:secretary is a short
application to the secretary problem.

# A fixed-vector formulation

Throughout, M=(E,I) is a finite labeled matroid.  For a set
X⊆ E, its rank rk(X) is the size of a largest independent
subset of X, and its closure is
cl(X)={ein E:rk(Xcup{e})=rk(X)}.  A set is a flat when it
equals its own closure.  We say X spans A when
A⊆cl(X).  Write L=cl(∅) for the set of loops
(elements that are in no independent set), and put
[
 rk(Amid P)=rk(Acup P)-rk(P),
 OPT_M(w)=max_{IinI}{ein I}w_e .
]
Inside a closure, a rank argument, or a map on flats, a sum of sets means
their union.  A set is independent over P when its conditional rank
over P equals its size.  We fix one total order on the labels, used only to
break ties, once and for all.

The hidden-vector game.: 
We first solve a cleaner game.  The value vector w is a fixed but unknown
nonnegative vector.  Before arrivals the rule draws a random mask
B_0⊆ E, independently of w, and is told w on B_0.  It must
reject every label of B_0 (those samples are sacrificed).  On every
other label it learns w_e only when that label arrives.  The mask may
depend on the whole seed R.  Let A(w,R,pi) be the accepted set under
order pi.


There is a measurable rule for the hidden-vector game that is feasible for
every realization and every order and, for every
win[0,∞)^E, satisfies

 Ex_R![min_{pi}sum_{ein A(w,R,pi)}w_e]
  ge 2^{-293},OPT_M(w).

Its revealed mask is chosen before any weight is seen.


The minimum in (eq:hidden-guarantee) is inside the expectation.
So the adversary may choose a different order for every seed.  Everything
below is for a fixed M,w, which we suppress inside conditional
expectations.  The next lemma is the only bridge to Theorem~thm:main.

[One-sample simulation]
A measurable hidden-vector rule satisfying (eq:hidden-guarantee) gives
a measurable one-sample rule with the same competitive ratio against the
adversary of Theorem~thm:main.

Proof. 
Draw the rule's seed independently of S,V.  For the analysis, glue the two
copies together:
[
 w^{glue}_e=
 S_e,&ein B_0(R), V_e,&enotin B_0(R).
]
Given the seed, the choice of which copy supplies each label is fixed, and
the mutual independence with matching laws gives
L(w^{glue}mid R)=⊗_e D_e, the law of V.
Hence w^{glue} is independent of the seed.

Run the hidden-vector rule with S_e on its revealed mask and V_e
elsewhere, ignoring unused samples and rejecting revealed labels without
looking at their online values.  Induction on arrivals shows that, for
every fixed S,V,R and every order, this execution accepts exactly
A(w^{glue},R,pi), and each accepted weight is its true online
value.  So for any adversarial order, even one using all unused samples and
values, the reward is at least
min_{pi'}sum_{ein A(w^{glue},R,pi')}w^{glue}_e.
Integrate (eq:hidden-guarantee) using independence of the glued vector
and seed.  Nonnegative integration needs no moment hypothesis beyond the
reported one, and feasibility caps the reward by OPT_M(V), whose
expectation is finite.


## Elementary matroid facts

We use only rank and closure, so nothing below needs representability.  The
independent sets contain ∅, are closed under subsets, and satisfy
exchange.  Exchange implies that all maximal independent subsets of a set
have the same size and that independent sets extend to bases of larger sets.
Rank is submodular:

 rk(A)+rk(B) ge rk(Acup B)+rk(Acap B).

Indeed, take a basis of Acap B, extend it to a basis of A, then to a
basis of Acup B using elements of B∖ A.  The initial basis
together with those last elements is independent inside B, which gives the
ineuality.  Two consequences we will use constantly:
 rk(Zmid P) can only decrease as P grows;
 closure is increasing and idempotent, and adjoining already-spanned
      elements changes neither rank nor closure.

Finally, scanning any set Z and greedily keeping the elements that raise
rank over a fixed base P selects an independent set over P of size
rk(Zmid P) that spans all of Z over P.

# Constructing the hidden-vector rule

We build the rule of Proposition~prop:hidden for a fixed hidden vector
w.  It rounds values to geometric levels and flips a fair coin between two
sub-rules.  The maximum branch handles the case where one label
dominates the optimum.  The main branch filters arrivals against
revealed samples and sorts them into layers of nested flats built from those
samples; greedy independent sets from different layers then combine feasibly.

## Constants, rounding, and the maximum branch

Fix the constants

 B=2^{32}, kappa=2^{100}, t=2^{-140},
 eta=2^{-12}, gamma=eta/16=2^{-16}.

Here B separates weight levels, kappa is the rank charge in the density
expansions, t is the common sparsity of the guard and eligibility masks,
and the exit cutoff eta yields the sample-to-rank coefficient gamma.
The sizes leave room for every loss combined in Section~sec:accounting.

For w_e>0 round down,
u_e=B^{floor(log_B w_e)}, and put u_e=0 when w_e=0.  Write
u(Z)=sum_{ein Z}u_e and W=OPT_M(u).  Coordinates are rounded when
their weight is revealed or arrives; the full vector u is for analysis
only.  Rounding gives

 OPT_M(w)/B le W le OPT_M(w).

Higher rounded weight means higher priority, ties broken by the fixed label
order.  Running priority greedy over all positive labels keeps an
independent set I^* of u-weight W: its intersection with every initial
segment of weight levels has full rank there, so adding up the gains of
successive levels proves optimality.

Let m_* be the largest rounded weight of a positive nonloop, or 0 if
there is none.  The maximum rule reveals a fair independent mask
(rate 1/2).  It accepts the first label outside the mask that is a positive
nonloop of higher priority than every positive nonloop in the mask, then
accepts nothing more.
Its guarantee is simple.  If there are at least two positive nonloops, then
with probability 1/4 the top-priority one lies outside the mask and the
second lies in the mask; on that event only the top one can clear the
threshold, so it is
accepted in every order.  With one positive nonloop, success has probability
1/2.  Hence in all cases

 Ex![min_pi u(A_{max}(R,pi))] ge m_*/4.

Final rule: with probability 1/2 play the maximum rule and with
probability 1/2 play the main rule built below.  All coins, including
unused branch coins, are drawn initially and independently of w.

## Candidates and weight groups

The main rule draws mutually independent masks H,D,C,T, independently
across labels, with membership probabilities

{@{}ccl@{}}

Mask & Probability & Role 

H & 1/2 & filters candidates by higher-priority span 
D & 1/4 & lists weight groups and supplies density data 
C & t   & supplies guards for the flat paths 
T & t   & thins online eligibility independently of the paths 



Reveal and sacrifice the weights on Hcup Dcup C.  By
Lemma~lem:simulation these revealed weights are sample coordinates.
Being in T alone reveals nothing and forces no rejection.  For each e
let H_{>e} be the labels of H of higher priority than e, and define a
candidate set together with a comparison independent set

 U={enotin H:u_e>0, enotincl(H_{>e})}, Y=I^*∖ H.

Only U matters for analysis; the candidate test is computable as soon as
the weight of e is known.

[Candidate mass]
Y is independent, Y⊆ U, and

 Ex_H u(Y)=W/2, Ex_H u(U)le W .


Proof. 
For ein I^* no higher-priority labels span e, so neither do the
higher-priority labels of H; thus Y⊆ U, and the fair mask gives
the first identity.  Condition on all higher-priority memberships of H.
Then {enotincl(H_{>e})} is fixed, and its contribution to u(U) has
the same expectation as the event that ein H and e is chosen by
priority greedy on H.  Summing over positive labels, the expected greedy
value on H is at most W.


Conditional on H, the true weight groups are
[
 U_i={ein U:u_e=B^i}, n_i=|U_i|, Y_i=Ycap U_i
 (iinZ),
]
empty ones omitted.  A group is listed when Dcap U_ine∅.
List the listed groups G_1,...,G_m from low to high weight and write
D_h=Dcap G_h, C_h=Ccap G_h, T_h=Tcap G_h.  The whole D_h,C_h is
known before arrivals: every label of Dcup C is revealed, and its
candidate test uses only H and its own weight.  The algorithm never needs
the full G_h nor the true sizes n_i.  All candidates are nonloops.

## Density expansions

For a listed group h and a flat P, let Q_h(P) be the largest flat
maximizing

 f_h(Z)=|D_hcap Z|-kappark(Z) over flats Z⊇ P .

For a nonflat argument take its closure first.  The objective rewards the
number of D_h samples spanned and charges kappa per unit of rank, so
extending the flat and picking up more samples costs rank only at that rate.
This is a contracted, sample-restricted form of the cardinality-minus-rank
maximization behind principal partitions (Santiago, Sergeev and Zenklusen
[cite]); we prove the properties we need directly.

[Density expansion]
The largest maximizer in (eq:density-objective) exists, the map Q_h
is increasing, P⊆ Q_h(P), and if Q=Q_h(P) then for every set Z

 |D_hcap(cl(Q+Z)∖ Q)| le kappa,rk(Zmid Q).


Proof. 
The function f_h is supermodular on the lattice of flats: the counting
term is supermodular under intersection and closed union, and the rank term
is supermodular by (eq:rank-submodular).  There are finitely many
flats, and the closed union of two maximizers containing P is again a
maximizer, so a largest maximizer exists.

For P⊆ P', put Q=Q_h(P), Q'=Q_h(P').  The flats Qcap Q'
and cl(Qcup Q') are feasible at P and at P' respectively.  Optimality
gives one ineuality, supermodularity the reverse:
[
 f_h(Qcap Q')+f_h(cl(Qcup Q'))
  le f_h(Q)+f_h(Q') le f_h(Qcap Q')+f_h(cl(Qcup Q')).
]
Equality forces cl(Qcup Q') to be a maximizer at P', and the largest
maximizer there contains Q.  Finally, the flat cl(Q+Z) is feasible in
(eq:density-objective); the rank gap between it and Q is rk(Zmid
Q), which yields (eq:density-residual).


## Nominal and guarded paths

An integer k is an auxiliary time, unrelated to arrival time.  Set
F_0(k)=L for k<0 and F_0(k)=E for kge0.  For a listed group put
a_h=-3h and define an enabled expansion
[
 Q_{h,k}(P)=Q_h(P),&kge a_h, P,&k<a_h,
 (P a flat).
]
In increasing group order form the nominal and guarded paths

 X_h(k)=Q_{h,k}(F_{h-1}(k)),
 F_h(k)=cl!(X_h(k)+(C_hcap X_h(k+1))).

So a guard (C-sample) is added one auxiliary step before it would enter the
nominal path.  Each density map uses only D_h and the known matroid; each
guard set uses only the revealed C_h.  Hence every X_h(k) and F_h(k) is
a computable subset of E before arrivals, even though some of its labels'
weights stay unknown.

[Path properties]
The paths increase in k and satisfy

 F_{h-1}(k)⊆ X_h(k)⊆ F_h(k)⊆ X_h(k+1).

They equal E for kge0.  Moreover X_h(k)=L for k<a_h and
F_h(k)=L for k<a_h-1.  For a nonloop e the nominal birth
b_h(e)=min{k:ein X_h(k)} is either a_h, with ein Q_h(L), or lies
in [a_h+2,0].

Proof. 
Induct on h.  The map Q_{h,k} is increasing in its argument and in k,
because enabling it swaps the identity for an extensive increasing map.
Thus X_h and then F_h increase.  The first two inclusions in
(eq:path-inclusions) are extensiveness.  The last holds because both
sets adjoined in the definition of F_h(k) lie in the flat X_h(k+1).
The same recursion gives E once kge0.

For h>1 we have a_{h-1}=a_h+3, and induction makes F_{h-1}(k)=L for
k<a_h+2; for h=1 it holds directly from F_0.  Before a_h the new map
is the identity, giving the lower bounds on X_h and F_h.  At a_h and
a_h+1 the nominal flat is the same Q_h(L), so no nonloop is born at
a_h+1.  Since X_h(a_h)=Q_h(L), a nonloop born at a_h lies in Q_h(L),
and every other birth is at least a_h+2.


## The online decisions

Draw an independent fair parity εin{0,1} and set
Fhat(k)=F_m(k).F(k)=F_m(k).  If m=0 use Fhat=F_0F=F_0 and reject everything.
Otherwise the layer endpoints are the integers
bequivεpmod2, and layer (b-2,b] has base
Fhat(b-2).F(b-2).  The rule keeps, in each layer, a set
A_b⊆Fhat(b)F(b) independent over Fhat(b-2).F(b-2).  Since
consecutive layers share an endpoint, everything kept in an earlier layer
lies in the base of every later layer.  At the arrival of e:
 Reject if ein Hcup Dcup C, if its candidate test fails, or if its
      rounded weight is not listed.
 For its listed group h compute b=b_h(e).  Reject unless
      
       ein T, bge a_h+2, bequivε (mod 2),
        enotinFhat(b-2).F(b-2).
 Let A_b hold the labels already accepted into this layer.  Accept e
      exactly when rk({e}midFhat(b-2)+A_b)=1,F(b-2)+A_b)=1, and then add it
      to A_b.

These steps use only the revealed data, the arriving label and its weight,
the seed, and earlier decisions; no full true group or future arrival is
needed.  By Lemma~lem:paths the schedule leaves no birth at a_h+1,
so excluding the baseline birth a_h keeps exactly those births with
b-2ge a_h, i.e. the density map is already enabled at the preceding
layer endpoint.

[Feasibility and measurability]
The main rule keeps an independent accepted set at every arrival prefix, for
every order, and is a measurable rule using only the allowed information.

Proof. 
An eligible label at endpoint b lies in X_h(b)⊆Fhat(b),F(b), and
its layer's accepted set is independent over Fhat(b-2).F(b-2).  In
increasing auxiliary endpoint order, all earlier accepted layers lie in that
base flat, so adding the current layer keeps the union independent.  This
gives independence of the union for any interleaving of arrivals, hence of
every prefix.

All masks are drawn initially and the matroid is known.  Each density
maximization ranges over finitely many flats, and by Lemma~lem:paths
it suffices to scan a finite interval of auxiliary times for the at most
|E| listed groups.  Positive rounding has countably many measurable level
sets, and each realized vector occupies finitely many levels.  The rest are
finite rank tests and set comparisons with fixed tie rules, hence measurable.
Zeros never enter a logarithm, and loops fail the candidate test.


## A generator budget for the whole path

We need one bound on how much each density expansion can move the path.
Charging the rank increase separately at each time would bill the same
samples repeatedly; instead choose one generator set for all times.  The
same lemma bounds the independent sampled mass lost to the baseline birth.

[Generator budget]
For each listed group h there is a set J_h⊆ D_h and increasing
subsets J_h(k)⊆ J_h with

 X_h(k)=cl!(F_{h-1}(k)+J_h(k)),
 |J_h|le |D_h|/kappa .

In particular rk(Q_h(L))le |D_h|/kappa.

Proof. 
Before a_h no generators are needed.  Process enabled times
k=a_h,a_h+1,...,0 in order.  Given the earlier generators set
P_k=cl(F_{h-1}(k)+X_h(k-1)).  By monotonicity P_k⊆ X_h(k), and
P_k is feasible in the maximization defining X_h(k), so

 kappa(rk(X_h(k))-rk(P_k))
 &le |D_hcap X_h(k)|-|D_hcap P_k|
 &le |D_hcap X_h(k)|-|D_hcap X_h(k-1)|.

The flat R_k=cl(F_{h-1}(k)+(D_hcap X_h(k))) lies in X_h(k) with the
same D_h count; a proper subflat would have smaller rank and improve the
objective, contradiction.  Thus R_k=X_h(k), and the extension over P_k
has a basis chosen from D_hcap X_h(k).

Adjoin such a basis to the generators, in the fixed label order.  Because
F_{h-1} increases, the earlier generators together with F_{h-1}(k)
already generate P_k, which proves the first identity inductively.  The new
generators are distinct and their counts obey the displayed ineuality.
Summing telescopes the D_h counts to |J_h|le |D_h|/kappa.  Extend the
generators constantly for k>0.  At k=a_h the lower flat is L, giving
the last assertion.


# Reverse exposure and safe samples

The guards serve two purposes: they build the paths, and they protect a
sampled label against lower-weight competition inside its layer.  We relate
these by exposing the guard mask backwards in auxiliary time.  A label
leaves its nominal flat at some step with a decent conditional probability,
and a comparison using the test mask turns the square of that probability
into safety.

Fix H,D and a listed group h throughout; so the groups, their indices,
the density maps, and Y are fixed.  Define the lower-weight competition set

 K_{h,b}=∪_{j<h}(T_jcap(X_j(b)∖ X_j(b-1))).

It contains every possible eligible lower-weight competitor at endpoint b,
and is contained in F_{h-1}(b); including sacrificed labels only enlarges
it.  Let sigma_h count the labels din D_hcap Y whose birth b on
X_h satisfies

 a_h+2le ble0, bequivε (mod 2),
 dnotin Q_h(F_{h-1}(b-2)+K_{h,b}).

These are analysis quantities the rule never computes.  The goal is
Lemma~lem:safe: a constant fraction of D_hcap Y contributes to
sigma_h in expectation, up to a |D_h|/kappa loss.

## The reverse computation and its filtration

The guard mask was drawn with the initial seed and may be fully known to the
adversary.  Reverse exposure analyzes its product law; it adds no online
randomness and hides nothing from the adversary.  For k<0, a later state
S=(S_j:jle h) and a guard-bit vector c, define a one-step map

 
 A_0&=F_0(k), N_j=Q_{j,k}(A_{j-1}),
 A_j&=cl!(N_j+{ein G_jcap S_j:c_e=1})(1le jle h).
 

Its output is (N_j:jle h).  The map is increasing in k, in each
coordinate of S, and in the bits c.  Starting from X_j(0)=E, compute
X(k) at k=-1,-2,...,a_h-1 by X(k)=G_k(C,X(k+1));G_k(C,X(k+1)); this is
exactly the defining recursion.  For an actual state S=X(k+1) the new
N_j lies in S_j for every choice of c: inductively
A_{j-1}⊆ S_{j-1}⊆ F_{j-1}(k+1), so
N_j⊆ Q_{j,k+1}(F_{j-1}(k+1))=S_j, and the guard additions also stay
inside S_j.

After computing N_j, inspect only the bits on G_jcap(S_j∖ N_j);
additions inside N_j do not change its closure.  Order the labels in each
batch.  The batch's domain is fixed before its first query, because N_j
uses only previous groups' bits.  The groups are disjoint and the domains
shrink each reverse step, so no coordinate is queried twice.

Let H_b be the sigma-field of the complete transcript just before
the step from X(b) to X(b-1), including queried labels, their answers,
and the states reached.  Thus H_b⊆H_b⊆H_{b-1} as
reverse time advances.  Conditional on H_b, the unqueried bits on
V_b=∪_{jle h}(G_jcap X_j(b)) are jointly independent Bernoulli of
rate t: the unqueried coordinates are exactly these, and each query was
chosen from its prior transcript.  So the conditional transition law is
(eq:reverse-map) with fresh product bits, and the transcript reveals no
test bits, parity, or not-yet-computed small-time flat.

For a fixed nonloop d, on {din X_h(b)} define the predictable exit
probability

 p_{b-1}=Prob(dnotin X_h(b-1)midH_b),

and p_{b-1}=0 when dnotin X_h(b).  Before exit these probabilities are
nondecreasing along the reverse computation: evaluate each conditional
transition probability with one independent product mask xi on the whole
union of groups; smaller time and smaller input state give a smaller output
under the same xi, and taking probabilities proves it.

## Certificates and exit mass

To bound exits at steps with small p_{b-1} we look at bands of comparable
exit probabilities and show each survival in a band certifies a fixed
increasing event using only that step's fresh positive bits.  An increasing
Boolean event is a family A⊆2^VcalA⊆2^V closed under supersets; a
positive certificate for A is a set IinA
(setting the coordinates of I to one already forces the event).

[Disjoint-query certificates]
Let V_0 be finite with independent Bernoulli bits, and let
A⊆2^A⊆2^{V_0} be increasing with failure probability
delta>0.  An adaptive procedure queries each coordinate at most once and
groups queries into transactions; the next query, the boundaries, and any
stopping rule depend only on the transcript and perhaps an independent
auxiliary seed.  Suppose the number of transactions is deterministically
bounded.  A transaction may be declared successful only if the positive bits
queried within it alone form a certificate for A.  Then

 Ex[number of successful transactions] le log(1/delta),

with log the natural logarithm.

Proof. 
Condition on the auxiliary seed.  Conditional on any query transcript, all
unqueried bits keep their joint product law; this follows by induction over
the predictably chosen queries.

For a remaining set V⊆ V_0, let p(V) be the failure probability of
A when bits on V keep their laws and all others are zero.  For
the set I of positive bits already queried in the current transaction, let
p_I(V) be the same with bits on I forced to one.  Then
deltale p(V)le1, 0le p_I(V)le p(V), and
p(V∖{e})ge p(V).  The ratio Z=p_I(V)/p(V) starts each
transaction at one.

A query of ein V with success probability q_e updates to V'=V∖
{e} via the one-coordinate identity
p_I(V)=(1-q_e)p_I(V')+q_e p_{Icup{e}}(V'), valid conditional on the
current transcript.  The denominator p(V') is the same for either answer,
so

 Ex[Z-Z'midtranscript]
  &=Z(1-(p(V))/(p(V')))
   =Z(1-e^{-(log p(V')-log p(V))})notag
  &lelog p(V')-log p(V),
 

using 0le Zle1 and 1-e^{-x}le x.

At a successful transaction's end, the certificate forces p_I(V)=0, so
Z=0; at any other end 0le Zle1.  Thus a success indicator is bounded
by its realized net decrement 1-Z_{end}.  Summing (eq:log-resource)
over the queries and taking expectations bounds each success probability by
the expected increase of log p(V).  Reset I to empty but keep the
depleted V; the logarithmic increments telescope across all transactions
to at most 0-log p(V_0)=log(1/delta).  Adaptive stopping is covered by
padding with zero increments, since there are finitely many queries and a
bounded number of transactions.


[Exit mass]
Every nonloop d exits its h-th nominal path by the end of the reverse
computation, and

 Prob(d exits at a step with p_{b-1}<etamid H,D)<1/2.

Consequently,

 sum_{b=a_h}^{0}Ex[ind{din X_h(b)},p_{b-1}^{2}mid H,D]
  ge (eta)/(2).


Proof. 
Fix p_0>0 and consider steps, before exit, whose exit probability lies in
[p_0,2p_0).  By monotonicity they form one block, possibly empty.  Its
first step is determined by the pre-step transcript.  Condition on a possible
transcript there, with time k_0 and input state S^0, and on the fresh
bits V_0=∪_{jle h}(G_jcap S^0_j) fix the increasing event
A={c:din(G_{k_0}(c,S^0))_h}.  Its failure probability
satisfies deltage p_0.

Treat the queries within each later step of the block as one transaction.  If
a step does not exit, its own fresh positive bits alone certify A:A:
hold the step's actual input S fixed and let I be only its queried
positives.  Evaluating G_k(c^I,S)G_k(c^I,S) with every other guard bit zero
gives the same output as the actual step, since new N_j are unchanged,
positive additions outside N_j were queried and lie in I, and additions
inside N_j are already spanned.  Earlier queried coordinates lie outside
the current domains, and kle k_0, S⊆ S^0, so
G_k(c^I,S)⊆G_k(c^I,S)⊆G_{k_0}(c^I,S^0).  Non-exit thus gives
IinA.  Lemma~lem:transactions bounds the conditional
expected number of non-exit steps in the block by log(1/delta)le
log(1/p_0); there is at most one exit step.  Hence the expected number of
steps in the range is at most log(1/p_0)+1, and summing their exit
probabilities bounds the chance of exit in the range by
2p_0(log(1/p_0)+1).  For p_0=2^{-(ell+1)}, summing over ellge12,
[
 sum_{ell=12}^{∞}2^{-ell}((ell+1)log2+1)
 =2^{-11}(14log2+1)<1/2.
]
An exit at probability zero has probability zero, and X_h(a_h-1)=L forces
every nonloop to exit; this proves (eq:low-exit-hazard).

The exit mass at steps with p_{b-1}geeta is at least 1/2.  There
p_{b-1}^2geeta p_{b-1}, and ind{din X_h(b)}p_{b-1} has expectation
equal to the probability of exit at step b.  Summing gives
(eq:squared-exit-mass).


## A hybrid transition

Lemma~lem:exit supplies mass for squared exit probabilities.  To use
it we compare the ordinary guard transition with a second transition of the
same conditional law that also uses the departing labels' test bits; joint
exit of the two will certify safety against K_{h,b}.

Fix a_h+2le ble0 and a pre-step transcript H_b.  Run the
ordinary step from S=X(b) to S'=X(b-1) with transcript
H_{b-1}.  Both transitions start from the frozen input S; the
ordinary output S' decides where each hybrid bit comes from:

 {c|c|c}
  coordinates e & ordinary status & widetilde c_e 
  G_jcap S'_j & unqueried & ind{ein C}
  G_jcap(S_j∖ S'_j) & queried & ind{ein T}
 

Let widetilde N=G_{b-1}(widetilde c,S), with intermediate flats
widetilde A_j.

Conditional on the complete ordinary transcript, the partition is
fixed.  The retained C-bits on G_jcap S'_j were never queried, so keep
their independent rate-t laws; no T-bit was queried, and the whole test
mask is independent of the guard mask.  So the hybrid vector has the fresh
product law conditional on H_{b-1}, and its output law is the
ordinary transition law determined by H_b.  In particular on
{din X_h(b)} we have
Prob(dnotinwidetilde N_hmidH_{b-1})=p_{b-1}, and the tower
property gives

 &Prob(din X_h(b),,dnotin X_h(b-1),,dnotinwidetilde N_hmidH_b)
 notag
 &=Ex[ind{din X_h(b)}ind{dnotin X_h(b-1)}p_{b-1}midH_b]H_b]
 =ind{din X_h(b)}p_{b-1}^{2}.
 

This holds for one endpoint at a time; the same T is reused across
endpoints, and no joint independence across endpoints is claimed.

There is also a deterministic containment:

 Q_h(F_{h-1}(b-2)+K_{h,b})⊆widetilde N_h.

Induct over j<h.  If widetilde A_{j-1}⊇ F_{j-1}(b-2) then
[
 widetilde N_j=Q_{j,b-1}(widetilde A_{j-1})
 ⊇ Q_{j,b-2}(F_{j-1}(b-2))=X_j(b-2).
]
The retained guards include exactly C_jcap X_j(b-1), which form
F_j(b-2), so widetilde A_j⊇ F_j(b-2).  The hybrid additions
also include every T-positive in G_jcap(X_j(b)∖ X_j(b-1)), and
extensivity carries the earlier test additions along.  Starting from
F_0(b-1)⊇ F_0(b-2) this proves
widetilde A_{h-1}⊇cl(F_{h-1}(b-2)+K_{h,b}).  The focal map
Q_{h,b-1}=Q_h is enabled, and monotonicity gives (eq:hybrid-containment)
for every completed bit assignment.

An ordinary exit at this step means d has birth b; a simultaneous hybrid
exit, by containment, certifies the safe exclusion.  Thus
(eq:double-exit) implies, for a_h+2le ble0,

 
 &Prob(b_h(d)=b, dnotin Q_h(F_{h-1}(b-2)+K_{h,b})mid H,D)
 &hspace{24mm}ge Ex[ind{din X_h(b)}p_{b-1}^{2}mid H,D].
 

These bounds add by linearity, and for one label the birth events at distinct
endpoints are disjoint.

[Safe sampled labels]
For every listed group h,

 Ex[sigma_hmid H,D] ge (eta)/(4),|D_hcap Y|-(|D_h|)/(kappa).


Proof. 
Apply Lemma~lem:exit to each din D_hcap Y.  By
Lemma~lem:paths the only birth excluded from a_h+2le ble0 is the
baseline a_h (a birth at a_h+1 is impossible), and p^2le p, so the
discarded contribution is at most
[
 sum_{din D_hcap Y}Prob(b_h(d)=a_hmid H,D)
 =|D_hcap Ycap Q_h(L)|lerk(Q_h(L))le(|D_h|)/(kappa),
]
the last step by Lemma~lem:generators.  Summing
(eq:birth-safety-probability) over labels and valid births gives a
pre-parity expected safe count at least
(eta)/(2)|D_hcap Y|-|D_h|/kappa.  The independent fair parity keeps
each such label with probability 1/2, giving the stronger lower bound
eta|D_hcap Y|/4-|D_h|/(2kappa), which implies (eq:safe-samples).


# From safe samples to unobserved rank

We keep the fixed matroid and hidden vector, suppressed in conditional
expectations.  The next step turns the safe-sample estimate into rank
available on labels outside the revealed mask O=Dcup C.  Since the paths
depend on that mask, the argument needs a uniform bound on the sets the paths
can leave unspanned.  For a listed group h let
[
 B_h={binZ:a_h+2bbZ:a_h+2le ble0, bequivε (mod 2)},
 
 P_{h,b}=G_hcap(X_h(b)∖ X_h(b-1))  (binB_h),
]
and P_{h,b}=∅ for other endpoints of the chosen parity.  Define
the nominal rank statistic

 z_h=sum_{binB_h}
 rk(P_{h,b}∖ Omid X_h(b-2)cup K_{h,b}).

It measures rank before the focal thinning by T_h and before replacing
X_h by the final path Fhat.F.

[Sample-to-rank transfer]
Fix H.  For a true group U_i put z_i=z_h and sigma_i=sigma_h when
the group is listed with index h, and both zero otherwise.  If
n_igekappa then

 Ex[z_imid H] ge frac{gamma,|Y_i|-2^{-23}n_i}{kappa},
  gamma=(eta)/(16)=2^{-16}.



First relate z_h to sigma_h.  Choose enough unsacrificed labels to
witness the rank in each summand of (eq:nominal-rank); a safe sample
spanned by these witnesses over its summand base is charged to their rank by
the density bound, and every other safe sample lands in a residual set inside
the revealed mask.  For each summand choose a basis extension
Z_b⊆ P_{h,b}∖ O over X_h(b-2)cup K_{h,b}, so

 sum_b|Z_b|=z_h,
 P_{h,b}∖ O⊆cl(X_h(b-2)cup K_{h,b}cup Z_b).

The Z_b are disjoint because the P_{h,b} are; fix them by the label
order.  Set

 R_h=∪_calR_h=∪_{binB_h}
 (P_{h,b}∖cl(X_h(b-2)cup K_{h,b}cup Z_b)),

which lies in O.  There is a deterministic comparison with the safe count:

 sigma_hlekappa,z_h+|R_h|.R_h|.

Indeed, fix b and put Q'_b=Q_h(F_{h-1}(b-2)cup K_{h,b}).  Since
b-2ge a_h, monotonicity gives X_h(b-2)=Q_h(F_{h-1}(b-2))⊆ Q'_b
and K_{h,b}⊆ Q'_b.  A safe sample at b outside R_h
lies in D_hcap(cl(Q'_bcup Z_b)∖ Q'_b), and
(eq:density-residual) bounds these by kappark(Z_bmid Q'_b)le
kappa|Z_b|; summing proves (eq:safe-residual).

## Counting marked pivots

The set R_h depends on the focal mask, so we must control it
without knowing those bits.  We build, before the bits are revealed, a small
family that contains every possible residual with small z_h.  The key
combinatorial bound does not depend on how many times a path can change.

[Marked pivots]
Let M be any finite matroid and V a set of n nonloops.  Fix sge0,
an ordered sequence of labeled old occurrences, each with a mark in {0,1},
whose labels span E, and at most s labeled movable occurrences;
repetitions are allowed.  Insert the movable occurrences into the old
sequence in any order and positions, each with either mark.  For fin V its
pivot is the first occurrence after whose insertion f is spanned,
and one records that occurrence's mark.  The number of resulting n-mark
vectors is at most

 4^ssum_{ell=0}^{s}binom nell,

with binom nell=0 for ell>n.

Proof. 
Bound the bases kept by greedy processing of an interleaving.  Remove every
old occurrence whose label is spanned by its old predecessors; the span
after every old prefix is unchanged and no pivot mark changes.  The survivors
form an ordered basis b_1,...,b_r of M.  Write B_j={b_1,...,b_j}
and let A denote all movable occurrences, ranks taken through their labels.
For each old position set
[
 Delta_j=rk(Amid B_{j-1})-rk(Amid B_j)
 =1-rk({b_j}mid B_{j-1}cup A)in{0,1},
]
fixed before any insertion, with sum_jDelta_j=rk(A)le s.  If
Delta_j=0 then b_j raises rank even after all of A is adjoined to
B_{j-1}, hence raises rank in every interleaving.  So greedy can omit old
occurrences only at the at most s positions with Delta_j=1.  That gives
at most 2^s choices of omitted old occurrences and 2^s of retained
movable ones, so at most 4^s possible kept bases.

Fix one kept basis J.  For each fin V there is a unique minimal
S_f⊆ J spanning f: if S,T⊆ J both span f then
submodularity on Scup{f} and Tcup{f} gives
|S|+|T|ge|Scup T|+rk((Scap T)cup{f}), so Scap T also spans f.
The support S_f is nonempty because f is a nonloop.  Since at every
prefix the kept greedy occurrences span the same flat as the full prefix,
the pivot of f is the last occurrence of S_f in the interleaving.

Count the possible marks of those last members.  Give the kept old
occurrences fixed absolute scores 2^{s+1},2^{2(s+1)},..., positive for
mark 1 and negative for mark 0, keeping at least s unused powers of two
before the first, between successive old scores, and (reserve) after the
last.  Every order of the kept movable occurrences can be represented by
distinct unused powers in the right gaps, signed by their marks; then every
absolute score exceeds the sum of all earlier ones.  Let the signed
movable scores be real variables, at most s of them.  For each f, the sum
of scores over S_f is affine in these variables, with constant term the
sum of the fixed old scores in S_f.  At the representation just built this
sum is nonzero and its sign is the mark of the last member of S_f.  Thus
every pivot-mark vector for J is a strict sign pattern of n affine
functions in dimension at most s.

The remaining estimate is the affine-arrangement region bound
(Schl"afli [cite]): n affine functions in dimension d have
at most sum_{ell=0}^{d}binom nell strict sign patterns.  A prescribed
strict pattern is open and convex, and adding a proper affine hyperplane
splits at most as many regions as the induced arrangement on it, giving
N(n,d)le N(n-1,d)+N(n-1,d-1) with N(0,d)=1 and N(n,0)le1.  Nonzero
constants have fixed sign, an identically zero function yields no strict
pattern, and coincident or degenerate hyperplanes cannot increase the count.
Induction gives the binomial sum.  Applying it to each of the at most 4^s
kept bases, with all movable orders, positions and marks already counted,
proves (eq:pivot-pattern-bound).


## Encoding residuals as a small family

We apply the counting bound twice.  The first marked sequence tests whether a
label has a valid nominal birth of the chosen parity; among labels passing it,
the second tests whether, within its layer, the label stays outside the span
of the preceding flat, the competing test labels, and the rank witnesses.
Their intersection is exactly the residual.  Counting both tests before the
focal bits are exposed is what lets a later union bound work despite the
residual depending on those bits.

[A uniform family of residuals]
Fix H and a true group U_i of size n=n_igekappa.  Condition also on
the parity and on the D,C,T bits outside U_i, but not on their bits inside
U_i nor on whether U_i is listed.  There is a deterministic family
R_i⊆2^R_i⊆2^{U_i} with

 |R_i|R_i|leexp!((1000logkappa)/(kappa),n)

such that, whenever the group is listed and z_hle n/kappa, every residual
(eq:residual-set) from witnesses (eq:rank-witnesses) lies in
R_i.R_i.

Proof. 
If U_i is listed its index is one plus the number of listed lower-weight
groups; call it h whether or not the group is listed.  The lower-group
paths F(k):=F_{h-1}(k) and all K_{h,b} are fixed by the conditioning, and
no D,C,T bit inside U_i touches them.  Write a=a_h and
q=floor( n/kappa).

On a listed outcome, Lemma~lem:generators gives J_h⊆ U_i,
|J_h|le q, and insertion times tau(g)in[a,0] with

 X_h(k)=cl!(F(k)cup{gin J_h:tau(g)le k}).

When z_hle n/kappa the witness union Z=∪_b Z_b has at most q
labels.  We allow all choices of these two subsets of U_i and encode the
residual with two marked sequences; a label in both is one occurrence per
role.

First sequence (birth test).  Advance k from a-2 to 1.  At time
k take as old occurrences a fixed label-ordered listing of F(k) and mark
the whole block by 1 exactly when kinB_h.  These old slots,
including order and marks, are fixed and span E since F(0)=E.  For the
actual path insert each gin J_h at its time tau(g), after that block,
with the block's mark.  After time k the generated flat is X_h(k), so the
labels of U_i receiving mark 1 form exactly
∪_{binB_h}{h,b}.

Second sequence (layer test).  Take the unique
b_0in{a-2,a-1} with b_0equivε, then the successive
endpoints b_0+2,...,b_1in{0,1}, starting from L=X_h(b_0).  For each
layer (b-2,b]: (i) insert a fixed listing of K_{h,b} as old occurrences
with mark 0, then the movable witnesses Z_b with mark 0
(Z_b=∅ if bnotinB_h); (ii) insert a fixed listing of
F(b) with mark 1, then the movable density generators with
b-2<tau(g)le b with mark 1.  The old slots are fixed and span E at
the final endpoint.  The phases realize
[
 X_h(b-2)xrightarrow[mark 0]{(i)}
 cl(X_h(b-2)cup K_{h,b}cup Z_b)
 xrightarrow[mark 1]{(ii)}X_h(b),
]
because K_{h,b}⊆ F(b) and Z_b⊆ X_h(b), and the generators
inserted at b-1 are postponed to phase (ii); induction from b_0 gives the
endpoints exactly.

Take a label passing the first test with valid birth b.  It is outside
X_h(b-1) and hence X_h(b-2), so its second-sequence pivot is in this
layer, and its second mark is 1 exactly when it is not spanned at the end of
phase (i), i.e. exactly its membership in R_h.  Thus the residual
is the intersection of the two mark-1 sets.  Phase (ii) can also span labels
born at b-1, which is why the first test is needed.

Now define R_i without the focal bits: for every pair of subsets
J,Z⊆ U_i of size at most q, include every intersection of two
marked-pivot sets from the fixed sequences above, allowing all placements,
orders and marks.  This may include spurious intersections, only enlarging
the family; the construction shows every actual residual is inside.

Let S_d(n)=sum_{ell=0}^dbinom nell.  There are at most S_q(n)^2 subset
pairs and at most 2q movable occurrences in a sequence, so
(eq:pivot-pattern-bound) gives

 |R_i|R_i|le S_q(n)^2(4^{2q}S_{2q}(n))^2.

For 0<alphale1/2,
[
 alpha^{alpha n}S_{floor(alpha n)}(n)
 lesum_{ell=0}^{floor(alpha n)}binom nellalpha^ell
 le(1+alpha)^nle e^{alpha n}.
]
Using qle n/kappa and 2qlefloor(2n/kappa) with
alpha=1/kappa and 2/kappa bounds (eq:raw-pattern-count) by
[
 log|R_i|R_i|
 lefrac nkappa(6logkappa+6+4log2)
 le(1000logkappa)/(kappa),n,
]
which is (eq:pattern-family-size).  All tested labels are nonloops, and
no representability of the matroid is used.


## Completing the sample-to-rank estimate

The residual family is fixed before the focal mask is exposed, so we can bound
the chance that any large member lies wholly inside O, even though the
actual residual is chosen using that mask.

Proof. [Proof of Lemma~lem:transfer]
Put n=n_i.  On the unlisted branch Dcap U_i is empty; extend both sides
of Lemma~lem:safe by zero there and average over D.  Each label lies
in D with probability 1/4, so

 Ex[sigma_imid H] ge fraceta{16}|Y_i|-(n)/(4kappa)
  ge gamma|Y_i|-frac nkappa.

Use the conditioning of Lemma~lem:pattern-family.  Inside U_i the
events {ein O} are independent with
p_O=1-(1-1/4)(1-t)=1/4+3/4tle1/2, so for each fixed
R_0inR_i,R_i, Prob(R_0⊆ O)le2^{-|R_0|}.  Let
delta=2^{-26} and let E_i be the event that some
R_0infrakR_i has R_0⊆ O and |R_0|>delta n.  A union
bound gives

 Prob(E_i H,ε,masks outside U_i)
 &leexp!((1000logkappa)/(kappa)n-delta nlog2)
 notag
 &=2^{-(2^{-26}-100000·2^{-100})n}
 le2^{-2^{-27}n}le2^{-2^{73}}<2^{-26},
 

where kappa=2^{100} and ngekappa, the bound holding already at the
smallest analyzed size.

Define an error variable e_i: on a listed outcome with z_ile n/kappa
choose the witnesses and set e_i=|R_h|;R_h|; otherwise set e_i=0.  In
its nonzero branch R_h R_ifrakR_i and
R_h⊆R_h⊆ O, so e_iledelta n+nind{E_i} and
Ex[e_imid H]le2delta n=2^{-25}n, using (eq:residual-tail) and then
averaging that conditioning away.  In every outcome
sigma_ilekappa z_i+e_i: for listed z_ile n/kappa this is
(eq:safe-residual); for listed z_i>n/kappa it is
sigma_ile n<kappa z_i; for unlisted both sides vanish.  Taking
expectations with (eq:averaged-safe-count),
[
 kappa,Ex[z_imid H]
 gegamma|Y_i|-(kappa^{-1}+2^{-25})n
 gegamma|Y_i|-2^{-23}n,
]
which is (eq:rank-transfer).


# Rank and payoff for every arrival order

We pass from the nominal rank guarantee of Lemma~lem:transfer to the
actual greedy reward.  An order-independent rank statistic on the final layers
bounds the reward for every order with all coins fixed.  We then compare
final and nominal layers using one generator budget over the whole auxiliary
timeline.  Only after these deterministic comparisons do we average over the
independent test thinning and the other masks.

## A simultaneous rank lower bound

Fix all weights and coins.  For a listed group h put
S_{h,b}=P_{h,b}∖ O and define the order-independent statistic

 lambda_h=sum_brk(T_hcap S_{h,b}midFhat(b-2)+K_F(b-2)+K_{h,b}).

Sums over b use the chosen parity, and terms outside the finite nontrivial
range are zero.  Each summand is the rank left among tested, unobserved labels
of group h, after contracting the preceding final flat and all lower-weight
test competitors.  Let N_{ge h}(pi) be the number of accepted labels whose
rounded weight is at least that of G_h.

[Order-uniform rank bound]
For each realization of all coins and every permutation pi,

 N_{ge h}(pi) ge lambda_h.


Proof. 
At endpoint b let F=Fhat(b-2)F(b-2) and E_b the entire eligible set of
that layer.  Whatever the order or the interleaving with other layers, the
final greedy set B_b is a basis of E_b over F.  Split
B_b=L_bsqcup H_b into selected labels of strictly lower weight than G_h
and the rest.  Independence and spanning give
[
 |H_b|=rk(H_bmid F+L_b)=rk(E_bmid F+L_b).
]
Every element of T_hcap S_{h,b} outside F is eligible; those in F
contribute no rank.  Also L_b⊆ K_{h,b}, since each lower-weight
accepted label is test-positive and has nominal birth in a lower group.  Thus
[
 |H_b|gerk(T_hcap S_{h,b}mid F+L_b)
        gerk(T_hcap S_{h,b}mid F+K_{h,b}).
]
Summing over layers proves (eq:all-orders); including unselected or
sacrificed labels in K_{h,b} only weakens the bound.


## One budget for later path expansions

[Telescoping rank cost]
For each listed group h the nominal statistic z_h satisfies

 sum_brk(S_{h,b}midFhat(b-2)+K_F(b-2)+K_{h,b}) ge z_h-c_h,
 
 c_h=|C_h|+sum_{j>h}(|C_j|+|D_j|/kappa).


Proof. 
Take the generators of Lemma~lem:generators and put
[
 J=C_hcup∪_{j>h}(C_jcup J_j).
]
This single set has |J|le c_h and, for every integer k,

 X_h(k)⊆Fhat(k)⊆F(k)⊆cl(X_h(k)+J).

Indeed the first group's guards lie in C_h; each later group's density path
uses part of J_j, and its guards lie in C_j.  Induction over groups gives
the second inclusion for all times at once.

At endpoint b abbreviate A=X_h(b-2)+K_{h,b} and S'=S_{h,b}.  The
conditioning set in (eq:rank-cost) lies between A and cl(A+J), so
the rank loss is at most

 rk(S'mid A)-rk(S'mid A+J)
 &=rk(Jmid A)-rk(Jmid A+S')notag
 &lerk(Jmid X_h(b-2))-rk(Jmid X_h(b)),
 

because X_h(b-2)⊆ A⊆ A+S'⊆ X_h(b) (the last step
uses K_{h,b}⊆ F_{h-1}(b) and P_{h,b}⊆ X_h(b)) and
conditional rank decreases as the conditioning set grows.  Summing the right
side of (eq:rank-telescope-step) over the chosen parity telescopes to at
most rk(J)le|J|.  Missing endpoints may be added since all differences are
nonnegative.  This proves (eq:rank-cost); neither independence of J
nor a per-layer budget is required.


## Independent thinning and group estimates

Both lemmas hold simultaneously for every realization and order.  We now
average the focal group's test bits, which took no part in building its paths
or its lower-weight competition sets.

[Independent test thinning]
For a listed group h let F_{-h} be generated by H,D,C, the
parity ε, and the test-mask memberships outside G_h.  Then

 Ex[lambda_hmidF_{-h}]
 ge tsum_brk(S_{h,b}midFhat(b-2)+K_F(b-2)+K_{h,b})
 ge t(z_h-c_h).


Proof. 
The group G_h is determined by H,D and the fixed weights.  All paths use
H,D,C and not T.  The birth sets P_{h,b} use only the parity,
O=Dcup C omits T, and K_{h,b} uses only lower groups' test bits.  So
these sets, z_h, and c_h are F_{-h}-measurable, while the bits
of T_h stay independent Bernoulli of rate t.

Conditional on F_{-h}, fix an independent witness for each
unthinned rank in (eq:test-thinning).  Its intersection with T_h is
still independent over the same base and has expected size t times its size.
Linearity gives the first ineuality, and Lemma~lem:rank-cost the second.
No order is conditioned upon.


Return to true weight indices.  For a listed true group U_i=G_h put
lambda_i=lambda_h, c_i=c_h; if it is unlisted set both to zero, as with
z_i.  Conditional on H, dominate the cost pointwise by counts on all true
groups,
[
 c_ile |Ccap U_i|+sum_{ell>i}(|Ccap U_ell|+(|Dcap U_ell|)/(kappa)),
]
and only then take expectations.  Mask probabilities are unchanged under this
conditioning, so

 Ex[c_imid H]le t n_i+(t+1/kappa)sum_{ell>i}n_ell .

(The exact density-mask contribution is 1/(4kappa); the larger coefficient
is convenient.)  Lemmas~lem:transfer and~lem:thinning then give,
for every true group of size n_igekappa,

 Ex[lambda_imid H]ge(t)/(kappa)(
   gamma|Y_i|-(2^{-23}+tkappa)n_i-(1+tkappa)sum_{ell>i}n_ell).

Although different lambda_i may depend on one another's test bits, each
separate thinning is valid, and the expectations may be summed without
asserting independence.

## The weighted sum and the final constant

Let A_{main}(R,pi) be the main rule's accepted set and let
A(H)={i:n_igekappa} be the analyzed true groups.  For a true
weight index i let N_i(pi) count accepts of weight at least B^i.
Lemma~lem:all-orders, with lambda_i=0 on unlisted groups, gives
lambda_ile N_i(pi) simultaneously for every pi.  Each accepted weight
B^ell contributes at most sum_{ileell}B^i=B^ell B/(B-1)<2B^ell to
the cumulative weighted counts.  Hence the pointwise ineuality is

 min_pi u(A_{main}(R,pi))
  ge frac12sum_{iinA(H)} .

The order has been minimized before any expectation is taken.

Multiply (eq:group-payoff) by B^i and sum over analyzed groups.  The
higher-weight cost is bounded using
[
 sum_{iinA(H)}{ell>i}n_ell
 lesum_ell n_ellsum_{i<ell}B^i
 =frac1{B-1}sum_ell B^ell n_ell .
]
With (eq:constants),

 2^{-23}+tkappa+(1+tkappa)/(B-1)<2^{-21},

since tkappa=2^{-40} and the fractional term is below 2^{-30}.
Combining with (eq:minimum-before-expectation) yields

 Ex![min_pi u(A_{main}(R,pi))given H]
 ge(t)/(2kappa)(
   gammasum_{iinA(H)}|Y_i|-2^{-21}u(U)).


Suppose W>0, so m_*>0.  Ignoring the smaller true groups loses at most

 sum_{inotinA(H)}|Y_i|lekappasum_{B^ile m_*}B^i<2kappa m_* .

If m_*le W/(8kappa), Lemma~lem:filter and (eq:small-groups)
give Ex_Hsum_{iinA(H)}|Y_i|ge W/4 and Ex_H u(U)le W.
Since gamma=2^{-16}, gamma/4-2^{-21}=7·2^{-21}gegamma/8, so

 Ex[min_pi u(A_{main}(R,pi))]
  ge (tgamma)/(16kappa),W .

If instead m_*>W/(8kappa), the maximum branch gives more than
W/(32kappa) by (eq:maximum).

Proof. [Proof of Proposition~prop:hidden and Theorem~thm:main]
Choose the two branches with equal probability.  In the first case the main
branch contributes at least tgamma W/(32kappa) after mixing.  In the
second case the maximum branch contributes more than W/(64kappa), which
exceeds the same target since tgamma=2^{-156}ll1/2.  The minimum over
orders is taken separately for every complete seed, including the branch, so
the fair mixture is valid against branch-dependent orders.  True accepted
weights dominate their rounded values, and by (eq:rounding) the
resulting fixed-vector reward fraction is
[
 (tgamma)/(32kappa B)
 =2^{-140-16-5-100-32}=2^{-293}.
]
When W=0 the benchmark is zero and the claim is immediate.  Feasibility and
measurability follow from Lemma~lem:feasibility and the analogous
properties of the maximum branch.  This proves Proposition~prop:hidden.
The revealed mask is chosen from the initial seed independently of the
weights, so Lemma~lem:simulation proves Theorem~thm:main, with
slack in its announced constant.

The construction covers empty ground sets, loops, rank zero, ties, and zero
values as specified.  Each realized weight vector is finite even under
unbounded support.  Only the expected optimum needs to be finite; loop
values, which can never be accepted, need no moment condition.


# An order-oblivious secretary consequence

The fixed-vector guarantee also gives a secretary rule with a random
observation prefix and an adversarial suffix, in the prefix/suffix form of
Azar, Kleinberg and Weinberg [cite] but with full visibility of the
rule's entire seed.  The mechanism is the sacrificed observation mask of
Proposition~prop:hidden.  Inside either branch, a binomial prefix
length chosen independently of the permutation reproduces that branch's
product-mask law.  After observing that set the rule uses predrawn random
coordinates to reconstruct the remaining source coins from their conditional
law.  The expected minimum over all orders then absorbs any rearrangement of
the suffix.

[Order-oblivious selection with full-seed visibility]

For each known finite labeled matroid M=(E,I) there is one
measurable randomized online rule S_M with the following
property.  Fix any finite nonnegative vector win[0,∞)^E before all
rule and arrival randomness.  Without knowing w the rule draws its complete
initial seed Q, independent of a uniformly random permutation sigma of
E, and fixes a possibly random prefix length K before any arrival.  It
observes the first K label--weight pairs of sigma in order and rejects
them.  After this prefix, an adversary may know M, the entire w, the
ordered prefix, and the complete seed Q (including K, the branch choice,
and unused coins), and may choose any measurable permutation tau of the
remaining labels as a function of this information.  The rule is not told the
future suffix order and decides irrevocably at each suffix arrival while
keeping an independent set.  For every such adversary, with A_{S}
the accepted set,

 Ex![sum_{ein A_{S}}w_e] ge 2^{-293}OPT_M(w).

The expectation is over the rule seed and random prefix and over any
adversary randomization; the adversary cannot alter the random-prefix law or
choose the weights after observing the seed or prefix.

Proof. 
Let R be the complete source seed of Proposition~prop:hidden,
including the fair branch choice J.  The maximum branch sacrifices an
independent mask of rate p_{max}=1/2; the main branch sacrifices
B_0=Hcup Dcup C, of rate
[
 p_{main}=1-(1-1/2)(1-1/4)(1-t)=5/8+3·2^{-143},
  t=2^{-140}.
]
The test mask T is not sacrificed.  Both rates lie strictly between zero and
one and are independent of w.

Let n=|E|.  Draw J, then Kmid JsimBin(n,p_J), as part
of Q before arrivals and independently of sigma; write
P={sigma_1,...,sigma_K}.  For each fixed p⊆ E,

 Prob(P=pmid J)=frac{Prob(K=|p|mid J)}{binom n{|p|}}
 =p_J^{|p|}(1-p_J)^{n-|p|},

so Pmid J has exactly the product law of the source sacrificed mask.  This
averages over K; no product-law claim is made conditional on K.

After the prefix, reconstruct R from its source conditional law given J
and B_0=P.  In the maximum branch set its fair mask equal to P.  In the
main branch set (H_e,D_e,C_e)=(0,0,0) for enotin P, and for each ein P
independently use the original product law of the triple conditioned on being
nonzero, each of the seven probabilities being the original divided by
p_{main}.  Keep the source laws of T, the parity, unused branch
coins, and all other coins.  Multiplying this kernel by
(eq:secretary-prefix-mask) recovers exactly the source joint law of the
branch and complete seed, with B_0(R)=P.

This reconstruction needs no concealed later randomness.  The seed Q
predraws independent uniforms for the finite conditional kernels and the
remaining source coins; after the prefix the kernels are evaluated by fixed
interval partitions from the label set P alone, not its weights.  So the
derived R is a function of (Q,P), known to the adversary; any extra
information in Q may reveal more than R, which the pointwise comparison
below permits.

Initialize the hidden rule with R and w|_P and virtually feed the prefix
in order, forcing every prefix label rejected and replaying any internal
state changes.  Then feed each suffix label and weight as it arrives, with no
unseen suffix weight or future order.  For the concatenated permutation
pi=(sigma_1,...,sigma_K,tau), induction on arrivals gives exactly
A(w,R,pi).  Hence for every realization, including tau depending on all
of Q and the ordered prefix,
[
 sum_{ein A_{S}}w_e
 =sum_{ein A(w,R,pi)}w_e
 gemin_{pi'}sum_{ein A(w,R,pi')}w_e .
]
The marginal law of R is the source law and w was fixed before the
randomness, so averaging and applying Proposition~prop:hidden proves
(eq:secretary-guarantee) with no extra loss.  Feasibility is inherited.
For fixed finite M the mask kernels have finite support and measurable
interval-partition realizations, so composition gives a measurable rule; the
minimum is over finitely many rewards, each capped by the finite
OPT_M(w).  The cases K=0, K=n, empty ground sets, loops, rank zero,
ties and zero weights are covered by the same construction.


For ordinary uniformly random arrivals, recent work gives much larger
constants.  Abdi, Banihashem, Hajiaghayi and Mittal [cite] give a
polynomial-time 1/64-competitive ordinal rule for known matroids;
Singla [cite] and Huang [cite] select each element of a fixed
optimum with probability at least 1/4 and 1/e.  Those results keep the
arrivals random throughout, whereas Corollary~cor:secretary survives an
arbitrary full-seed adversarial rearrangement of the unobserved suffix, with
no additional loss from the fixed-vector guarantee.

{99}

 U.~Krengel and L.~Sucheston. Semiamarts and finite values.
Bulletin of the AMS, 83(4):745--747, 1977.

 R.~Kleinberg and S.~M.~Weinberg. Matroid prophet ineualities.
In STOC '12, pages 123--136, 2012.

 P.~D.~Azar, R.~Kleinberg and S.~M.~Weinberg. Prophet
ineualities with limited information. In SODA '14, pages
1358--1377, 2014.

 H.~Fu, P.~Lu, Z.~G.~Tang, H.~Wu, J.~Wu and Q.~Zhang.
Sample-based matroid prophet ineualities. In EC '24, 2024.

 M.~Feldman, O.~Svensson and R.~Zenklusen. Nearly tight sample
complexity for matroid online contention resolution. In SODA '26,
pages 4692--4711, 2026.

 A.~Rubinstein, J.~Z.~Wang and S.~M.~Weinberg. Optimal
single-choice prophet ineualities from samples. In ITCS 2020,
LIPIcs 151, 60:1--60:10, 2020.

 C.~Caramanis, P.~D"utting, M.~Faw, F.~Fusco, P.~Lazos,
S.~Leonardi, O.~Papadigenopoulos, E.~Pountourakis and R.~Reiffenh"auser.
Single-sample prophet ineualities via greedy-ordered selection. In
SODA '22, pages 1298--1325, 2022.

 M.~Feldman, O.~Svensson and R.~Zenklusen. Online contention
resolution schemes. In SODA '16, pages 1014--1033, 2016.

 M.~Feldman, O.~Svensson and R.~Zenklusen. A simple
O(loglogrank)-competitive algorithm for the matroid secretary
problem. In SODA '15, pages 1189--1201, 2015.

 H.~Abdi, K.~Banihashem, M.~Hajiaghayi and D.~Mittal. On the
strong matroid secretary conjecture and beyond. arXiv:2609.19118v1, 2026.

 M.~Babaioff, N.~Immorlica and R.~Kleinberg. Matroids,
secretary problems, and online mechanisms. In SODA '07, pages
434--443, 2007.

 O.~Lachish. O(loglogrank) competitive ratio
for the matroid secretary problem. In FOCS '14, pages 326--335, 2014.

 S.~Singla. The matroid secretary conjecture is true.
arXiv:2609.14555v2, 2026.

 Z.~Huang. Settling the matroid secretary problem.
arXiv:2609.30421v1, 2026.

 R.~Santiago, I.~Sergeev and R.~Zenklusen.
Constant-competitiveness for random assignment matroid secretary without
knowing the matroid. Mathematical Programming, 210:815--846, 2025.

 J.~A.~Soto. Matroid secretary problem in the random-assignment
model. SIAM Journal on Computing, 42(1):178--211, 2013.

 J.~Edmonds. Minimum partition of a matroid into independent
subsets. J. Res. Nat. Bur. Standards B, 69B:67--72, 1965.

 L.~Schl"afli. Ueber die Zahl der Teile, in welche die
nfache Totalit"at durch eine beliebige Menge (n-1)facher linearer
Kontinua geteilt wird. In Theorie der vielfachen Kontinuit"at,
chapter 16, pages 39--42, Basel, 1901.