The setting
In a one-sample matroid prophet inequality, a finite labeled matroid is known in advance, where is the family of independent subsets of the ground set . Write for the matroid rank of a subset , for its closure, and for the set of loops. For a real-valued element weight vector , the offline optimum is (1)✦ Before elements arrive, an online algorithm observes a single independent sample vector drawn from the same product distribution as the online weight vector , and uses an independent random bit seed . An almighty ordering adversary observes , the element distributions, , , and , and chooses the arrival order . At each step, the algorithm sees only the arriving element and its weight together with prior arrivals, and irrevocably accepts or rejects the element while maintaining independence in .
When the ground set is the indexed set for , an arrival order is a permutation of .✦ For an arrival step , the arrival history space at step consists of all sequences of length in ✦, and the current arriving element of a history at step is the label recorded at its final position .✦ Given weights and an arrival order , the observed history through step maps each prefix index to .✦ A random bit seed of length is a Boolean sequence .✦ An online decision rule on with random bits is a family of Boolean decision maps for , each mapping a seed , a sample weight vector , and an arrival history at step to an accept or reject decision, such that each is jointly measurable in its three arguments.✦ The decision at step evaluates on , , and the observed history of along through step .✦ For , the set of elements accepted through step , written , is the subset of elements accepted during the first arrivals✦; the set of accepted elements is ✦, and the online algorithm reward is (2)✦ For random weight vectors on a sample space , the paired sample and value family is indexed by , returning when the flag is true and when it is false.
The same model is formulated on an arbitrary finite measurable ground set in three equivalent ways. First, on a finite measurable space with measurable singletons, a labeled arrival order is a bijection ✦, the labeled observed history at step maps to ✦, a labeled online rule with random bits assigns a jointly measurable Boolean decision at each step from a seed, sample weights on , and the observed prefix✦, is the set of labeled accepted elements through step ✦, and the labeled offline optimum is given by (1).✦ Second, on a finite measurable label set with horizon , a physical arrival order is a bijection ✦, a physical arrival history at step is a sequence of length in ✦, and the physical observed history, physical-label online rule, physical decision at step , physical prefix accepted set , physical-label algorithm reward , physical-label offline optimum, and physical paired coordinates are defined in the same way over . Third, given a bijection , a labeled arrival order of length on is a bijection ✦ with labeled arrival histories and labeled stream histories on , and labeled paired coordinates on . The reindexed weight vector of is on ✦, and the reindexed arrival history of a labeled history replaces each label by while keeping weights unchanged.✦ For an indexed online decision rule on , the transported online decision applies to the reindexed sample weights and reindexed history✦, producing the transported accepted prefix and the transported algorithm reward .✦
Hidden-mask rules and the seed law
A hidden-vector rule on with random bits consists of a mask map assigning a subset to each seed together with a core online decision rule .✦ Given a seed and a weight vector , the observed weight vector agrees with on and equals outside it.✦ Given a sample vector and an arrival history at step , the simulated arrival history replaces the weight of every element in by its weight in .✦ The one-sample simulation rule is the online decision rule that rejects whenever the current arriving element belongs to , and otherwise applies to , the observed sample weight vector, and the simulated arrival history.✦ Given a Boolean branch selector and two online decision rules , the branched online rule follows when is true and otherwise; for two hidden-vector rules, the branched hidden-mask rule selects both the mask and the core rule according to .✦
The concrete rule on elements uses main seed bit length .✦ Seed bit blocks consist of four seeds of length and one seed of length .✦ The interleaved seed encoding maps a tuple of seed bit blocks to a seed by placing the four length- blocks at positions for and , and appending the two remaining bits at positions and .✦ Conversely, for a seed , the seed-decoded element mask at slot is the set of elements where bit of is true.✦ Random partition masks consist of four subsets (the filter, density, guard, and test masks) and a Boolean parity bit . The decoded partition masks of take to be the seed-decoded element masks at slots and to be bit ✦, while the main algorithm branch bit is bit of .✦
For probabilities on a finite set and a subset , the Bernoulli subset probability is (3)✦ The true-bit index set of a seed is the set of positions where is true.✦ For bit probabilities , the Bernoulli seed probability mass function (PMF) assigns weight from (3) to each seed ✦, inducing the Bernoulli product seed law on .✦ When is constant and equal to , this measure is the i.i.d. Bernoulli mask law of length .✦ For , 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 ✦; its pushforward under the interleaved seed encoding is the main seed distribution.✦ Setting the thinning rate to , the mask coin probabilities are (4) The concrete main seed law on is the main seed distribution with parameters (4).✦
Density flats and the concrete rule
For a real base , the logarithmic weight level returns when and the absent level when , viewed as an optional integer level embedded into . The concrete rule uses the weight rounding base .✦ Given a countable measurable key space with measurable singletons, a measurable key map , and a Boolean choice rule on seeds, sample keys, and key-valued histories, the discretized online rule applies to all sample and history weights before evaluating the choice rule.✦
For a linearly ordered key type , the lexicographic key order on orders above 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 independent in , is active, and strictly beats in the lexicographic key order for every such that and is active.✦ The first-allowed online rule for a measurable key map and an acceptance predicate accepts the first arriving element satisfying the predicate and rejects all subsequent arrivals.✦ Pairing this with the sample-maximum threshold predicate gives the maximum-element threshold rule✦, and pairing that rule with the mask gives the maximum-element hidden rule.✦ Specializing to , the base- logarithmic weight level map, the activity predicate , and the filter mask yields the rounded maximum-element hidden rule .✦
For a matroid , a density threshold , and subsets , the density objective function is (5)✦ Given , a flat of containing is a density-maximizing flat if for every flat of containing .✦ The Lean library establishes that a unique largest density-maximizing flat containing every other density-maximizing flat exists.✦ For integers and , the activated density expansion equals when and equals when .✦ For a group index , the group activation time is .✦ Given sequences of density masks and guard masks of subsets of , the guarded flat path and nominal flat path for and are defined recursively by (6)✦ where is the activated density expansion of with mask and activation time : (7)✦ Every element enters for some ✦, and its nominal birth time at step is (8)✦
On with random partition masks and observed optional integer levels , the level priority order places before when is present and is absent, or when both are present with , or with and .✦ 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 produces the list of sorted active weight groups of length .✦ For a mask and , the masked candidates in group are the elements that are non-spanned candidates at their observed level equal to the -th entry of the sorted active weight groups.✦ Taking and applying (6) to (8) with the group-masked sets and for and , the final guarded flat path is ✦, and the element birth time of at level is the nominal birth time at the group index of in the sorted active weight groups.✦ An element is eligible at integer level if , , is a non-spanned candidate at level with in the sorted active weight groups, , the parity of matches , and .✦ The main layer assignment maps an element and an optional level to its assigned optional birth layer.✦ Given base flats indexed by and an optional level assignment, a layered key decision returns a Boolean decision at step from the key-valued arrival history✦; wrapping it in a discretized online rule gives a layered online rule.✦ The main layered online rule uses base- rounded levels, the shifted final guarded flat path for layer , and the main layer assignment✦; pairing it with the mask yields the main hidden-mask rule .✦
The combined main and maximum rule is the branched hidden-mask rule selected by the main algorithm branch bit between and .✦
The claim
Theorem 1. The following one-sample matroid prophet inequalities hold. In item 4 below, for every probability space , all measurable random weight vectors that are almost surely nonnegative on every element, have mutually independent paired coordinates, satisfy that and have the same distribution for every , and have integrable offline optimum , and every measurable random bit seed independent of , the concrete bound holds as follows.
For every finite measurable space with measurable singletons and every matroid , there exist , a probability measure on , and a labeled online rule on with random bits, depending only on , such that for every seed , nonnegative , labeled arrival order , and . Moreover, for every probability space , all measurable random weight vectors that are almost surely nonnegative on every element, have mutually independent paired coordinates, satisfy that and have the same distribution for every , and have integrable offline optimum , every measurable random bit seed independent of with distribution , and every measurable random labeled arrival order , the accepted weight through step is integrable and satisfies (9)✦
For every finite measurable label set with measurable singletons and every matroid , there exist , a probability measure on , and a physical-label online rule on of horizon with random bits, depending only on , such that for every seed , nonnegative , physical arrival order , and . Moreover, for every probability space , all measurable random weight vectors that are almost surely nonnegative on every element, have mutually independent paired coordinates, satisfy that and have the same distribution for every , and have integrable offline optimum , every measurable random bit seed independent of with distribution , and every measurable random physical arrival order , is integrable and satisfies (10)✦
For every finite measurable label set with measurable singletons, every matroid , and every bijection , where the space of labeled arrival orders of length on is equipped with a measurable space structure with measurable singletons, there exist , a probability measure on , and an online decision rule on with random bits, depending only on , such that each transported online decision is jointly measurable in the seed, sample weights on , and labeled arrival history at step , and for every seed , nonnegative , labeled arrival order of length , and . Moreover, for every probability space , all measurable random weight vectors that are almost surely nonnegative on every element, have mutually independent paired coordinates, satisfy that and have the same distribution for every , and have integrable offline optimum , every measurable random bit seed independent of with distribution , and every measurable random labeled arrival order , is integrable and satisfies (11)✦
For every and every matroid , when has length with distribution and is any measurable random arrival order, the reward of the one-sample simulation is integrable and satisfies (12)✦
What is checked
Theorem 1 is stated over arbitrary finite matroids (both on and on general finite measurable label sets via labeled, physical-label, and transported online rules), random bit seeds with Bernoulli product laws, measurable sample and online weight vectors with mutually independent paired coordinates and matching marginals, integrable offline optima, arbitrary measurable arrival orders, and the concrete one-sample simulation of the combined main and maximum hidden-mask rule built from geometric rounding and guarded density flat paths. For these constructions, the Lean library also establishes that a largest density-maximizing flat exists for every matroid, threshold, density mask, and base subset✦, that every element enters the nominal flat path at some nonnegative offset from the group activation time✦, that the logarithmic weight level map is measurable for every real base✦, and that every mask coin probability lies in .