The setting
In the order-oblivious matroid secretary problem, a finite labeled matroid with rank function , closure , loops , and offline optimum (1) is known in advance, while a nonnegative weight vector is fixed before any randomness. An online algorithm draws a random seed, chooses a prefix length , observes the first elements of a uniformly random permutation of together with their weights, and rejects all of them. An adversary who observes the entire weight vector, the ordered prefix, and the algorithm’s complete seed then chooses an arbitrary order for the remaining elements. The algorithm must accept or reject each suffix element irrevocably while maintaining an independent set in , aiming for expected total weight at least a constant fraction of .
The result is obtained by coupling a random prefix of a uniform permutation with the sacrificed observation mask of a fixed-vector rule on , then transporting the resulting secretary rule back to an arbitrary finite label set .
The combined hidden-mask rule
Fix a natural number . An element weight vector is a map ✦, and an arrival order is a permutation of .✦ The uniform arrival law is the uniform probability measure on .✦ For , the arrival order prefix of of length is (2)✦ At step , the arrival history space consists of sequences of length in .✦ The observed history through step under and is the sequence with -th entry for .✦
For a natural number , a random bit seed of length is a map ✦, and its true-bit index set is .✦ Given coin probabilities on a finite set and a subset , the Bernoulli subset probability is (3)✦ When for every , assigning to each seed the Bernoulli subset probability of over defines the Bernoulli seed probability mass function (PMF) and its induced Bernoulli product seed law on . For a constant probability , the i.i.d. Bernoulli mask law on is the Bernoulli product seed law with for all .✦
An online decision rule on elements with random bits consists of a decision map taking each step , seed , sample weight vector , and history to an accept-or-reject decision in , such that this map is jointly measurable in .✦ A hidden-vector rule pairs a mask map with a core online decision rule.✦ Given a Boolean branch selector on seeds and two hidden-vector rules and , the branched hidden-mask rule selects the mask and core online decision rule of when the branch bit is and those of otherwise, forming a branched online rule for the core.✦ Given a countable measurable space with measurable singletons, a measurable key map , and a Boolean choice function on steps, seeds, sample keys, and key-valued histories, the discretized online rule applies to the sample weights and history before evaluating the choice function.✦
The combined rule uses the main seed bit length .✦ Seed bit blocks consist of four seeds of length and one seed of length .✦ The interleaved seed encoding places the four length- blocks at bit positions () for each and appends the two remaining bits at positions and .✦ Conversely, for a seed , the seed-decoded element mask at slot is .✦ Random partition masks consist of four subsets (the filter, density, guard, and test masks) together with a Boolean parity bit .✦ The decoded partition masks of take slots as and bit as ✦, while the main algorithm branch bit is .✦
Given five probabilities , the seed block product law is the product of four i.i.d. Bernoulli mask laws of length with parameters and one of length with parameter ✦, and its pushforward under the interleaved seed encoding is the main seed distribution on .✦ With the thinning rate , the mask coin probabilities are (4)✦ and the concrete main seed law is the main seed distribution with the probabilities in (4).✦
Both branches round positive weights using the weight rounding base .✦ For a real base , the logarithmic weight level equals for and is absent for .✦ Viewing an absent level as gives the optional level in .✦
For a linearly ordered key space , the lexicographic key order on declares higher than when , or when and .✦ Given a matroid on , an activity predicate on , a mask map, a seed , and sample keys , a pair satisfies the sample-maximum threshold predicate if , , is active, and is higher than for every with and active .✦ The first-allowed online rule accepts the first arriving element satisfying a given predicate and rejects all subsequent arrivals.✦ Applying it to the sample-maximum threshold predicate gives the maximum-element threshold rule✦, and pairing that with the mask gives the maximum-element hidden rule.✦ The rounded maximum-element hidden rule instantiates this construction with , key map , activity condition , and mask .✦
For the main branch, fix a matroid on a ground set , a density threshold , and subsets . The density objective function is (5)✦ A flat of containing is a density-maximizing flat if it maximizes over all flats .✦ The largest density-maximizing flat containing , denoted , is the unique maximum such flat under inclusion.✦ For integers and , the activated density expansion equals when and equals when .✦
For each group index , the group activation time is .✦ Given sequences of subsets , the guarded flat path and nominal flat path for and are defined recursively by for , for , and (6) The nominal birth time of at group is , where is least such that .✦
Now take , random partition masks , and observed optional integer levels on . In the level priority order, precedes if both levels are present with or with and , or if is present and is absent.✦ An element with optional level is a non-spanned candidate element if is present, , and .✦ The active candidate weight levels form the finite set of integer levels realized by active candidate elements✦, and sorting them in nondecreasing order yields the list of sorted active weight groups .✦ For a subset and group index , the masked candidates in group are the non-spanned candidate elements with .✦ Using and the masked candidates for and as and , the final guarded flat path is ✦, and the element birth time of at level is its nominal birth time at the group index of .✦ An element is an eligible element at level if , , is a non-spanned candidate element at level with among the sorted active weight groups, , has parity matching , and .✦ The main layer assignment maps an absent level for to , and maps a present level to the birth layer if is eligible at level and to otherwise.✦
Given a key space , base subsets indexed by , and a layer assignment, the layered key decision produces a Boolean accept-or-reject decision at step from a key-valued history through step ✦, and wrapping it in a discretized online rule yields a layered online rule.✦ Instantiating this with , base flats , and the main layer assignment gives the main layered online rule.✦
The main hidden-mask rule uses its random masks to build nested flats from revealed weights and route eligible arrivals to disjoint layers whose greedy selections combine into an independent set.
The main hidden-mask rule pairs the mask with the main layered online rule.✦ Finally, for a matroid on with ground set , the combined main and maximum rule is the branched hidden-mask rule selected by between the main hidden-mask rule and the rounded maximum-element hidden rule with mask .✦ Write for its mask on seed .
Coupling and secretary rules
On a finite set , any nonnegative function summing to defines a finite weight PMF and its induced finite weight measure. Given a map , the fiber mass at is .✦ Fixing a fallback element , the fiber conditional kernel at assigns weight to each with when (and otherwise), and assigns point mass to when .✦ Applying the finite weight measure to this kernel for the point masses of a measure yields the conditional source law.✦
A source observation is a pair .✦ For a matroid on with ground set , the coupling observation of a seed is (7)✦ The coupling kernel is the conditional source law of given at observation , using the all-false seed as fallback.✦
The coupling seed stores both an initial seed that fixes the prefix length and a table of conditional seeds so that, once the random prefix set is observed, the remaining mask bits can be reconstructed from their conditional law.
A coupling seed is a pair , where and maps each source observation to a seed in .✦ The coupling seed law is the product measure (8)✦ Its coupling prefix length is ✦, and for a prefix subset its decoded coupling seed is .✦ Define the two observation-and-seed maps (9) For any measurable map and measure , write for the pushforward measure.
A secretary rule on with a measurable seed space consists of a measurable prefix length map and, at each step , a measurable decision function .✦ On seed , weight vector , and arrival order , the secretary decision at step is (reject) when and otherwise evaluates ’s decision function at .✦ Write for the set of elements accepted through step , meaning the elements accepted at arrival steps under the secretary decisions at each step.✦
Now let be a finite label set equipped with a bijection . A labeled arrival order of length on is a bijection ; write for the set of such orders.✦ A labeled arrival history at step is a sequence in .✦ For and , the labeled stream history at step has -th entry for .✦ The reindexed arrival history replaces each label in by while keeping its weight unchanged.✦ The labeled uniform arrival law on induced by is the pushforward of under composition with .✦ Given a secretary rule on with seed space , the transported secretary decision is if and otherwise equals ’s decision at step on .✦ Write for the transported accepted set through step consisting of the labels accepted at arrival steps under the transported secretary decisions✦, and define the transported secretary reward by (10)✦
The claim
Corollary 18. Let be a finite measurable space with measurable singletons, let , equip with a measurable space structure with measurable singletons, let be a matroid with ground set , and let be a bijection. Then there exist , a probability measure on , and a secretary rule on with seed space such that:
For every , the transported secretary decision map is measurable on .
For every , every nonnegative weight vector , every , and every , the set is independent in .
For every nonnegative weight vector , every probability space , and all measurable maps and such that has law , has law , and are independent under , and -almost surely for every with , the reward is -integrable and satisfies (11)✦
Moreover, for every and every matroid on with ground set , the coupling law reproduces the joint law of the source observation and seed: (12)✦
Finally, for every , every measurable seed space , every secretary rule on with seed space , every , every , every , and every with , no element is accepted during the prefix: (13)✦
What is checked
Corollary 18 is stated over finite labeled matroids with measurable singletons and bijective indexing, secretary rules with measurable prefix lengths and decisions, the combined main and maximum hidden-mask rule on , the concrete main seed law, and the coupling seed law. For these constructions, the Lean library also shows that the logarithmic weight level map is measurable for every real base✦, that every subset admits a largest density-maximizing flat✦, that every element enters the nominal flat path at a finite offset past the group activation time✦, and that the mask coin probabilities lie in .