The setting
In the fixed-vector formulation of the matroid prophet inequality, a finite matroid on ground set is known in advance, and each element carries a real weight . An online algorithm draws a random bit seed, observes the weights of a seed-determined subset of masked elements, and then inspects the remaining elements as they arrive in an arbitrary permutation of . At each arrival step, the algorithm makes an irrevocable accept-or-reject decision based only on its random seed, the revealed weights on its mask, and the prefix of arriving element-weight pairs seen so far.
To embed the main branch of the fixed-vector construction into the online prophet framework, its decisions must maintain an independent accepted set at every arrival prefix and for every arrival order, remain disjoint from the revealed mask, depend only on the allowed information, and be measurable functions of the seed, weights, and arrival history. Lemma 7 establishes these feasibility, information-invariance, and measurability guarantees for the layered main rule and for the observed weight map of any hidden-vector rule.
Online rules and feasibility
Fix a natural number and write . An element weight vector is a map ✦, an arrival order is a permutation of ✦, and a random bit seed of length is a sequence ✦. For each step , the arrival history space consists of sequences of length of element-weight pairs.✦ Given a weight vector and an arrival order , the observed history through step is (1)✦
An online decision rule on elements with random bits consists of a family of decision functions for such that each is jointly measurable on the product space .✦ Given a seed , sample and realized weight vectors , and an arrival order , the decision at step is (2)✦ For , the set denotes the finite set of elements accepted by during the first arrivals.✦ The online decision rule is feasible for if for every seed , all nonnegative weight vectors , every arrival order , and every .✦
A hidden-vector rule on elements with random bits consists of a mask map and a core online decision rule on elements with random bits.✦ Given a seed and a weight vector , the observed weight vector agrees with on and equals outside .✦ For an arrival order and , the set of hidden accepted elements through step is (3)✦ A hidden-vector rule satisfies main rule feasibility for if six properties hold:
is a feasible online decision rule for ;
for every , the map is measurable on ;
for every , , arrival order , and , the set is independent in ;
for every , , arrival orders , and , if for all and for all with , then ;
for every , , and arrival order , the map is nondecreasing under set inclusion;
for every , , arrival order , and , the set is disjoint from .
Density expansions and guarded flat paths
For a matroid with rank and closure , a natural-number density threshold , and subsets , the density objective function is (4)✦ Given , a flat of containing is a density-maximizing flat if for every flat of containing .✦ Among all density-maximizing flats containing , there is a unique largest one under inclusion, denoted .✦ For integers , the activated density expansion is (5)✦
For each 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 are subsets of defined recursively for and by (6) For every and , there exists with ✦; the nominal birth time of at group is for the least such .✦
The layered main rule
Let be a countable measurable space with measurable singletons, let be a measurable key map, and let be a Boolean choice function taking a step , a seed , sample keys in , and a key-valued prefix in . The discretized online rule for and is the online decision rule that applies coordinatewise to the sample weight vector and to the weights in the arrival history before evaluating .✦ Given a family of base subsets indexed by and a level assignment , the layered key decision returns a Boolean accept-or-reject decision at step from the prefix of element-key pairs through step .✦ Parameterizing the base family and level assignment by and applying the discretized online rule construction yields the layered online rule.✦
For a real base , the logarithmic weight level is defined by (7)✦ The main algorithm uses the weight rounding base and the main seed bit length . Random partition masks consist of four subsets (the filter, density, guard, and test masks) together with a Boolean parity bit .✦ For a seed and slot , the seed-decoded element mask is .✦ The decoded partition masks take the seed-decoded element masks at slots for and bit for the parity bit .✦
Fix random partition masks and observed optional integer levels . On pairs in , the level priority order declares that precedes if and are integers with or with and , or if and .✦ An element with optional level is a non-spanned candidate element if , , and (8)✦ The active candidate weight levels form the finite set of integer levels over all that are non-spanned candidate elements at ✦; sorting this finite set in nondecreasing order produces the list of sorted active weight groups.✦ For any mask and , the set of masked candidates in group consists of all that are non-spanned candidate elements at and satisfy (and is empty for ).✦ Setting and taking the sequences of masked candidates for and in (6) yields the final guarded flat path .✦ For and , the element birth time is the nominal birth time of with , the masked candidate sequences for and , and the group index of in the sorted active weight groups.✦ An element is an eligible element at level if , , is a non-spanned candidate element at level , appears in the sorted active weight groups at some index , , , and .✦
The main layer assignment maps to , and for maps to if is an eligible element at level and to otherwise.✦ The main layered online rule on seed bits is the layered online rule obtained from the measurable key map , the base family constructed with the decoded partition masks of , and the main layer assignment on .✦
The main hidden-mask rule is the hidden-vector rule on seed bits whose mask on each seed is and whose core online rule is .✦
The claim
Lemma 7. Let and let be a matroid on ground set . The main hidden-mask rule satisfies main rule feasibility for : its core rule is feasible for , the map is measurable for every , and for every seed , arrival order , and , the hidden accepted set depends only on and the first arriving element-weight pairs, is nondecreasing in , and is disjoint from for all , while for all nonnegative weight vectors , (9)✦ In addition, satisfies the stepwise feasibility contract: for every , the core decision function is measurable, the hidden accepted set is independent in for every , nondecreasing in , and disjoint from for every , and for all , , arrival orders , and , whenever for all and , (10)✦ Finally, for every , every hidden-vector rule on elements with random bits, and every seed , the observed weight map satisfies (11)✦
What is checked
The feasibility and contract claims (9) and (10) are stated for every and every matroid whose ground set is , while (11) is stated for all , every hidden-vector rule on elements with random bits, and every seed . For the underlying constructions, the Lean library establishes that a largest density-maximizing flat exists for every matroid on , threshold , and subsets ✦, that every element enters the nominal flat path for some ✦, and that the logarithmic weight level is measurable for every real base .✦