WorksComputer Science
Optimal Matroid Prophets against Almighty Adversaries and Delegation
Abstract
We prove an optimal one-half matroid prophet inequality against an almighty ordering adversary: the adversary observes every realized value before choosing the arrival order, whereas the algorithm sees values only as they arrive and must accept irrevocably. The algorithm is deterministic, and its guarantee holds against the stronger ex-ante relaxation. Before any values are revealed, it partitions the ground set, replaces the matroid by a stricter direct sum of minors, and fixes one threshold for each part. It then accepts greedily subject to these fixed tests. The main lemma bounds the expected value of the least valuable basis of the eligible elements. An element contributes either through the rank spanned by eligible elements or through excess value that every eligible basis must retain. This bound holds simultaneously for all bases and therefore permits the arrival order to depend on the entire realization. The same construction gives a deterministic, agent-oblivious mechanism for (possibly correlated) matroid delegation, improving the guarantee to the optimal factor. The principal values are independent, while the strictly positive agent utilities may have arbitrary dependence on the principal values and on one another. The guarantee holds for every best response, including ties resolved against the principal. Both factors are tight already in rank one. For rational finite-support distributions, preprocessing takes polynomial time; each eligible online arrival requires at most one query to the original matroid's independence oracle.
Introduction
Prophet inequalities ask how much is lost when random values must be selected before all of them are known. In the matroid version, each element has an independent nonnegative value drawn from a known distribution. Values are revealed one at a time, and the algorithm must maintain an independent set through irrevocable decisions. Its benchmark is the expected maximum-weight independent set after all values have been revealed. The classical one-half guarantee extends from selecting one element to arbitrary matroids [11, 16].
The order of revelation matters as much as the feasibility constraint. An adversary that chooses the next element using only previously revealed values leaves unseen values independent of the history. An almighty adversary has no such restriction: it sees the full value vector and then chooses the worst arrival order. An element’s position can therefore reveal information about its own value. and the values of elements that have not yet arrived. In particular, one cannot assume that an element’s value is independent of its availability when it is presented.
This stronger model also arises naturally in delegation. A principal commits to a menu of acceptable solutions, and an informed agent chooses a solution according to its own utilities. If principal and agent utilities are correlated, presenting elements in decreasing agent utility produces an order that depends on the principal’s realized values. Greedy prophet rules against an almighty adversary therefore give delegation mechanisms [3, 4]. For a general matroid, the greedy contention-resolution approach gives a one-quarter guarantee [3, 4, 7], whereas the two-element rank-one obstruction gives an upper bound of one half [4 Proposition 5.3].
We obtain the sharp one-half guarantee in both settings. The proof does not analyze the order chosen by an adversary or the preferences used by an agent. Instead, preprocessing constructs a family of acceptable sets for which every inclusion-wise maximal eligible set has sufficient expected value, even when the least valuable such set is chosen separately in every realization. This common statement is the reason the two applications admit the same sharp constant.
Our results
Let be a finite matroid. Each item has an independent value with known law . For a set , write , and let . We assume . Let denote the standard ex-ante relaxation, defined in § 3; it upper-bounds .
Theorem 1.1 (Optimal almighty matroid prophet inequality). There is a deterministic online algorithm, depending only on and the marginal laws , such that
The algorithm fixes a direct sum of matroid minors and one threshold per summand. Every independent set of is independent in . It accepts an arriving nonloop item if it meets its threshold and preserves independence in ; it rejects original loops.
The minimum in (1) is inside the expectation. Thus the adversary may choose a different permutation for every realization. The algorithm has no private random seed. The theorem allows atoms, unequal distributions, and unbounded supports; finite expected optimum is the only integrability assumption.
In delegation, the principal and the agent have additive utilities and . The informed agent proposes a set after observing all utilities. The principal commits to a menu in advance, verifies only submitted identities and principal values, and implements accepted proposals in full. Rejection or no agreement yields the empty set. A menu is agent-oblivious if it uses neither distributions nor realizations of agent utilities. Write for the set of implemented best-response outcomes.
Theorem 1.2 (Optimal deterministic correlated delegation). Suppose the principal values are mutually independent, nonnegative, and almost surely finite, with known marginal laws and . The agent utilities satisfy almost surely and may depend arbitrarily on the principal values and on one another.
There is a deterministic, agent-oblivious, proposal-only menu satisfying
The menu accepts a proposal exactly when its items meet their thresholds and its set is independent in . The vector may depend arbitrarily on and across coordinates. In particular, the result includes independent item pairs with arbitrary within-item correlation. The stronger formulation in Theorem 1.2 costs nothing: the proof uses independence only among principal values. Strict positivity of the agent utilities ensures that every best response is maximal, even with adversarial tie breaking. No assumption on their expectations is needed.
Optimality and computation. The factor one half is tight already for single-choice delegation [10 Appendix B, Proposition 1]; see also [4 Proposition 5.3] for a two-item rank-one construction. The factor in Theorem 1.2 matches the rank-one lower bound of Bechtel and Dughmi [4 Proposition 5.3] for deterministic proposal-only menus, even when the principal knows and can verify agent utilities.5 Both bounds compare with the expected offline optimum and hence also apply to the ex-ante benchmark. Thus correlated matroid delegation attains the rank-one bound, closing the 1/4 versus 1/2 gap for this deterministic model.
For explicitly listed rational finite-support distributions and an independence oracle for , preprocessing takes polynomial time. If is the number of nonloop items and is the input description length, it makes submodular minimizations. Each eligible arrival subsequently uses at most one original independence query. The delegation verifier uses at most one such query for each nonempty submitted block. § 7 gives exact pseudocode, including threshold recovery and deterministic treatment of all ties.
Related work and the role of the model
Prophets and contention resolution. Kleinberg and Weinberg [11] obtain the sharp one-half matroid prophet inequality with thresholds that depend on the accepted set. Lee and Singla [12] establish the corresponding ex-ante guarantee for arrival orders fixed before the values are realized, and optimal online contention resolution when that fixed order is known. Feldman, Svensson, and Zenklusen [7] develop greedy online contention resolution, which tolerates an almighty adversary and yields the one-quarter matroid prophet guarantee. The distinction between weighted prophet guarantees and per-element contention resolution is essential here. Our theorem controls expected total value; it does not promise a uniform conditional selection probability for every element. In particular, it does not give a one-half greedy online contention resolution scheme: Livanos [13] proves a upper bound for that stronger per-element requirement already in rank one. Dinev and Weinberg [6] further study the role of the adversary for uniform-matroid contention resolution.
Fixed thresholds and feasibility. Our thresholds are fixed, but feasibility is tested in a predetermined matroid whose independent sets form a subfamily of those of . This distinction separates the algorithm from rules that use fixed item thresholds and always accept when feasible in the original matroid. The latter restriction is studied by Chawla, Goldner, Karlin, and Miller [5] and Jiang [8]. Restricting the acceptable family is part of the greedy contention-resolution framework [7]. Almost non-adaptive matroid prophet algorithms are also studied by Kalantari et al. and Pashkovich [9]. The guarantee proved here is explicitly for the realization-dependent worst order in (1); the fixed-threshold form alone does not establish a guarantee against this adversary. Figure 2 gives a concrete example of why the additional constraints matter for our result. The comparator always remains the optimum in .

Figure 2. Why the additional block constraints matter. The original matroid is . With only the original rank-two constraint, the agent chooses both safe items and the principal receives 2. The displayed menu permits at most one safe item, so every best response also takes whenever . The expected principal value becomes 4, compared with an offline optimum of .
Delegation. Armstrong and Vickers [2] study delegated project choice, and Kleinberg and Kleinberg [10] relate approximate delegation to threshold stopping rules. Bechtel and Dughmi [4] extend the connection to delegated stochastic probing and show how greedy almighty prophet algorithms give deterministic delegation policies. With a matroid selection constraint and no probing constraint, their guarantee is . Banihashem, Hajiaghayi, Krysta, and Shin [3] study delegated choice under combinatorial constraints, including the correlated-utility model and its matroid connection. We use this established connection; the direct proof in § 6 makes clear why all best responses and arbitrary utility correlations are covered. The contribution is the sharp matroid guarantee, rather than a new general reduction between the two problems. We impose no outer probing constraint, sampling cost, or transfer.
Other information and feasibility models. MacRury, Nuti, and Vondrák [14] study ex-ante prophet inequalities and contention resolution for matchoids under fixed adversarial and uniformly random arrival orders. In the single-sample model, Abdi et al. [1] obtain an optimal one-half matroid prophet guarantee for orders fixed independently of samples, values, and the algorithm’s randomness. An OpenAI preprint [15] gives a constant one-sample guarantee when an almighty adversary sees samples, values, and the full random seed. Our result assumes known distributions and achieves the exact one-half factor in polynomial time for explicit finite supports. The proof is specific to matroid structure: it uses equal cardinality of maximal independent sets, closure, and contraction. It does not assert the same guarantee for arbitrary downward-closed constraints or a new secretary guarantee.
Organization. § 2 explains the proof and the delegation mechanism. § 3 fixes notation and the benchmark. § 4 and § 5 prove the prophet theorem, and § 6 proves the delegation guarantee. § 7 supplies the polynomial-time implementation.
Our approach and techniques
Protecting every eligible basis
Decompose first, then run blockwise greedy. Different parts of the matroid may have different value scales. After discarding loops, we partition into disjoint blocks . Write and for their prefixes. On each block we use the matroid : contract the earlier blocks, then restrict to . This preserves rank for earlier blocks. We choose these blocks and thresholds using only the value distributions, as sketched below.
The algorithm runs greedy separately in each : an arriving item is eligible if , and is accepted if adding it preserves independence in . Equivalently, it maintains independence in the direct sum , whose independent sets are exactly those with independent in for every . Every such set is also independent in .
Protect every possible blockwise outcome. Blockwise greedy ends with a basis of the eligible set in each . An almighty adversary can use the realized values to influence which bases are selected, allowing low-valued eligible items to displace more valuable ones. We therefore bound the expected value of the least valuable eligible basis in each block. This local bound applies to every arrival order; the decomposition will ensure that the bounds across blocks add up to half the original benchmark.
Balance threshold value and expected excess. For item , define its expected excess above by
Think of an accepted value as a threshold payment plus excess. In a rank-one instance, the natural balance is : the threshold and the total expected excess have the same size. The elementary inequality then bounds the expected maximum by . To achieve one half, it remains to prove that even the least valuable maximal eligible set has expected value at least , taking its value to be zero when no item is eligible.
To analyze a single block, write , , and . The corresponding balance conditions are
where . The subset inequalities say that no part of the block carries more expected excess than its rank can pay for. Tightness on the entire block gives the desired balance. We will show that these conditions guarantee expected value at least even for the least valuable basis of eligible items.
What every basis must retain. Let be the eligible set and let be its closure. Every basis of has elements, each worth at least . This gives a common contribution , regardless of which basis is selected.
Some eligible elements also contribute excess that cannot be lost. For each , consider the event
If and occurs, the other eligible elements do not span . Every basis must then contain , including a basis selected after seeing all values. Thus, simultaneously for every basis of ,
In a graphic matroid, these forced elements are bridges in the graph formed by the eligible edges; see Figure 1.

Figure 1. Forced elements in a graphic matroid: every basis of the eligible edges must contain each bridge. Solid edges are eligible. The dashed edge is ineligible but belongs to their closure because its endpoints are already connected. The dotted edge joins the isolated rightmost vertex and lies outside that closure. The solid bridge belongs to every basis of the eligible set.
The event was defined after removing . It therefore depends only on other values and is independent of . This is the only independence needed in the local argument. Taking expectations in (4) replaces the excess term by .
Why is this enough? If is outside the full closure , it is certainly outside the closure after deleting itself. Hence . The expected excess credited through the events is therefore at least . The part that may be missing lies inside , where (3) gives . This is exactly what the threshold contribution already pays. The two terms cancel, yielding the promised single-block basis bound:
Neither the chosen basis nor the random closure has been assumed independent of any item value. In particular, the argument survives an adversary’s complete knowledge of the realization.
Find a block at the right value scale. We now sketch how to choose the blocks and thresholds above. At step , the residual matroid is , starting with . For a nonempty set in this loopless matroid, let solve . Choose the largest of these roots, denoted by . At that threshold every set satisfies the subset inequality in (3), and at least one nonempty set is tight, meaning . The function
is nonnegative and submodular. Its zero sets are closed under union, so there is a unique largest tight set . Closing a tight set cannot increase its rank or decrease its excess; the subset inequality therefore forces its closure to be tight too. Thus is a flat.
Set , , and , update , and continue in . Contracting reserves its rank before later, lower-threshold blocks are considered. The contracted matroid remains loopless. Subtracting the equality for from the inequality for shows that the next threshold is no larger. Repetition produces a chain of flats and decreasing thresholds .
The resulting direct sum can reject a set that is independent in the original matroid. This restriction is deliberate: it prevents lower-threshold items from consuming rank reserved for a block with larger expected excess. Conversely, every set allowed by the direct sum is independent in the original matroid. Feasibility follows directly from the definition of contraction, even if an earlier block does not fill its reserved rank in a particular realization.
Two equal budgets give one half. Let be the rank reserved for block and put . Tightness of the blocks says that the total expected excess is also . Summing the single-block basis bound (5) gives expected reward at least , simultaneously over all choices of eligible bases.
To upper-bound the original benchmark, give every item in block price . Any independent set in the original matroid has total price at most . Indeed, its intersection with every prefix flat has size at most ; summation by parts and decreasing prices give the claim. The same calculation holds for every point in the matroid polytope, so it bounds the ex-ante relaxation as well. An ex-ante solution pays at most in prices and at most in expected excess. Thus its value is at most , while even the least valuable eligible set that is maximal in has expected value at least .
From the basis guarantee to delegation
The delegation mechanism uses exactly the same precomputed blocks and thresholds. A proposal is accepted if every submitted value meets its threshold and the submitted set is independent in the direct sum. These tests involve only the proposal. In particular, the principal does not need to know which omitted elements were eligible, what their values were, or how the agent ranks them.
Fix any realization and consider a best response. If the proposal is not maximal among eligible independent sets, matroid augmentation allows an eligible item to be added. The extra item has strictly positive agent utility, so the enlarged proposal is strictly better for the agent. This contradicts optimality. Every best response therefore contains a basis of the eligible set in each block.
The bound applies to every eligible basis, so it also covers the agent’s choices. The agent may select a basis using every principal value, every agent value, and any tie rule. All of these choices were included in the minimum in (5). No independence assumption on agent utilities is used. The principal’s expected utility is at least , while the ex-ante optimum is at most .
Figure 2 illustrates the economic role of contraction. The risky item has large principal upside but smaller agent utility than either safe item. The original rank-two constraint lets the two safe items displace the risky item even when its value is large. Reserving one rank unit for the risky block rules out that choice. The verifier does not force the agent to report every eligible item; strict positivity supplies maximality through the agent’s incentives.
Model and preliminaries
Matroid notation
A matroid is a pair , where is a finite set and satisfies the following axioms: ; every subset of a member of belongs to ; and if with , then for some . Members of are called independent sets. For , define the rank function and closure operation as
It is well-known that the rank function is monotone and submodular. A basis of is an inclusion-wise maximal independent subset of . The augmentation axiom implies that every basis of has size and that every independent subset of extends to a basis of . Write for the family of bases of ; in particular, . A loop is an element with . A flat is a set satisfying .
For , the restriction is the matroid on whose independent sets are the members of contained in . For , the contraction is the matroid on with rank function
Equivalently, if is a basis of , a set is independent in if and only if is independent in . The rank formula gives
In particular, contracting a flat leaves a loopless matroid, and if is a flat of , then is a flat of . For matroids on disjoint sets , their direct sum has ground set and independent sets
where denotes the independent sets of a matroid .
Values and arrival order
Each element has a nonnegative, almost surely finite random value with known law . The variables are mutually independent. Write and, for ,
Assume .
Every element arrives exactly once. At its arrival, the algorithm observes its identity and value and irrevocably accepts or rejects it. The accepted set must be independent after every arrival. Before the first arrival, an almighty ordering adversary observes the entire realization and chooses a permutation of . Let be the set of these permutations, and let be the sum of the values accepted by a specified deterministic algorithm. Its worst-order expected reward is
Delete all loops before preprocessing and reject them if they arrive. This does not change . Each remaining singleton is independent, so for every remaining element. Hereafter and denote this loopless restriction and its ground set. If , use the empty set as the output.
The ex-ante relaxation
For a vector , write . Define
The ex-ante benchmark is
Allowing to take values in includes fractional selection at atoms of . Since the remaining values are integrable, . Deleting loops leaves this benchmark unchanged: the constraint for a loop singleton forces , and hence almost surely.
Lemma 3.1. For any nonnegative random value vector integrable on nonloops,
This inequality does not require independence of the values.
Proof. Fix an ordering of the finite family and let be the first set attaining . For each , choose a measurable function such that
For every ,
These functions are feasible in (6). Conditional expectation gives
For , put . Define
These functions always use the original marginal laws . Each is finite, nonincreasing, and 1-Lipschitz, since .
Decomposition and selection rule
Construction of the blocks
Let be a loopless matroid on a nonempty subset . For every nonempty , define by
This root exists and is unique. Indeed, , and is continuous and strictly decreasing in , is nonnegative at zero, and tends to as . For a specified , call tight in if $e(A,t)=tr_N(A).
Algorithm 1 Decomposition into matroid minors
Input: The loopless matroid and the marginal laws .
Set , , and .
While the ground set of is nonempty: (a) Set and
(b) Set , , and . (c) Replace by and increase by one.
Let be the number of iterations. Return and . Assign each item the threshold .
Lemma 4.1. Algorithm 1 is well defined and partitions into nonempty blocks. Its prefixes are flats of , and
For each block,
The thresholds satisfy
Proof. Consider an iteration with loopless residual matroid on and . The definition of the roots implies
The set function is modular, meaning that . Hence is submodular. If , then
Thus tight sets are closed under union and intersection. A nonempty tight set exists because the maximum defining is attained. Their union is therefore nonempty and tight, and is the unique largest tight set.
If is tight and , nonnegativity of the excesses gives
Thus is tight. Applying this to proves . Consequently is loopless. Starting with the flat in the loopless matroid , the contraction closure formula shows inductively that each is a flat of . Successive contractions give at iteration , so the displayed formulas for and follow. The inequalities on and the equality prove (9) and (10).
For , subtract the equality for from the inequality for to obtain
For nonempty , strict monotonicity of its root-defining function implies . This proves (11). If , the singleton inequalities imply for every , so every set is tight and . In every iteration, is nonempty in a loopless matroid and hence has positive rank. Each contraction reduces the residual rank by at least one. The process therefore terminates in at most iterations. The extracted sets are disjoint and exhaust .
Online selection
Algorithm 2 Online selection
Preprocessing: Run Algorithm 1 and set for every block .
Reject every original loop.
When a nonloop item arrives with value , accept it if and only if and . On acceptance, replace by .
Return .
For a realization , define
Write for the inclusion-wise maximal members of . The empty set belongs to , so this finite family always has a maximal member.
Lemma 4.2. Every independent set of is independent in . A set belongs to if and only if for every . For every realization and every arrival order, Algorithm 2 is feasible after every arrival and returns a member of .
Proof. Let be independent in and let be independent in . Diminishing rank increments and the contraction formula give
Since and , the set is independent. Induction over proves that every independent set of is independent in .
Membership in is equivalent to requiring that, for each , be an independent subset of . Such a set is maximal precisely when each intersection is maximal in its block, which is the stated basis condition.
The online rule maintains independence in each block. If an eligible item is rejected, it lies in the closure of the accepted set in its block at that time. Monotonicity of closure implies that it remains in the closure of the final accepted set. Thus the final set in each block is a basis of . The first assertion gives feasibility after every arrival, and the second gives the claimed maximality.
Expected reward
A bound for the minimum-weight eligible basis
Lemma 5.1. Let be a finite matroid on , let be independent nonnegative integrable random variables, and fix . Put , , and . If
then
More generally, for deterministic weights satisfying
the same expected minimum is at least .
Proof. Let and, for each , define the event
The set depends only on . Thus is independent of . On the event , every basis of contains : otherwise a basis would satisfy , contrary to .
Every basis of has elements, all with value at least . Therefore, for every realization, simultaneously for all these bases,
Here is the indicator of the event . Taking expectations and using independence gives
We prove the general assertion. Since and ,
The subset inequalities in (14) hold for every realization of , so . Substitution proves the bound . Taking proves (13). The argument also covers , values equal to , and .
Comparison with the ex-ante benchmark
For the decomposition in § 4, define
where the equality follows from (10).
Lemma 5.2. For every , .
Proof. The assertion is immediate if . Otherwise put . The nested prefixes and the nonincreasing thresholds give
The inequality uses and for each .
Theorem 5.3. For the independent values and matroid specified in § 3,
Proof. By Lemma 4.2, a maximal eligible set is a union of one basis of in each block. Every choice of these bases is permitted. Hence, pointwise,
Apply Lemma 5.1 to each at threshold . Its hypothesis is (9), so
To prove the second inequality, take any feasible family in (6) and set . For every , the bounds imply
Taking expectations, summing over , and using Lemma 5.2 yields
Taking the supremum over the feasible families gives .
Theorem 5.4 (Prophet inequality against an almighty ordering adversary). Let be a finite matroid, and let its element values be independent, nonnegative, and almost surely finite, with known marginal laws and . Algorithm 2 is deterministic, is feasible after every arrival, and satisfies
Its preprocessing depends only on and the laws .
Proof. Deleting loops preserves both benchmarks, and the algorithm rejects them in every order. It therefore suffices to consider the loopless restriction. Algorithm 1 is deterministic because each threshold and largest tight set is uniquely specified. All its inputs are the matroid and the marginal laws. The online decisions use only these precomputed quantities, the previously accepted sets, and the arriving item’s identity and value.
Lemma 4.2 proves feasibility and shows that, for every realization and permutation, the terminal set belongs to . Consequently,
Taking expectations and applying Theorem 5.3 and Lemma 3.1 proves the result. All minima are over finite families with measurable eligibility and selection conditions. Their values are measurable and bounded by the integrable offline optimum; thus all displayed expectations are well defined.
Correlated delegation
We now turn the eligible-set construction into a delegation mechanism, proving the one-half ex-ante guarantee of Theorem 1.2. The principal commits to a menu before utilities are realized; the agent then chooses a proposal from this menu after observing all utilities.
The menu uses the same blocks and thresholds as the online algorithm. A proposal is accepted precisely when every submitted item meets its threshold and the submitted set is independent in . These conditions depend only on submitted identities and principal values, so the principal can verify them without observing agent utilities or the values of omitted items. The resulting mechanism is specified in Algorithm 3.
Algorithm 3 Proposal-only delegation mechanism
Preprocessing: Run Algorithm 1 using the principal-value laws and announce the resulting blocks, thresholds, and residual matroid constraints.
Given a proposal with verifiable principal values, reject it if it contains an original loop or any item with .
Reject if for any block .
Otherwise, implement every item in . Rejection implements the empty set. The empty proposal is allowed.
Theorem 5.3 gives the required expected-value bound even when the least valuable maximal eligible set is chosen in each realization. To apply it to this menu, we show that strictly positive agent utilities make every best-response outcome maximal, regardless of how the agent breaks ties.
Proof of Theorem 1.2. The proposals accepted by Algorithm 3 in realization are exactly the sets in , each of which is independent in by Lemma 4.2. The mechanism uses only and the marginal principal-value laws, so it is deterministic and agent-oblivious.
Fix a realization and let be the implemented outcome of any best response. Then : an accepted proposal belongs to this family, and rejection or nonparticipation implements the empty set, which also belongs to it. If were not maximal in , some eligible item could be added while preserving independence in . The proposal would therefore be accepted and give the agent utility , contradicting optimality. Thus every best-response outcome belongs to , and hence
Taking expectations and applying Theorem 5.3 proves (2). The maximality argument holds for each realization and uses only , so arbitrary dependence of agent utilities on principal values and on one another is allowed. □
Why strictly positive agent utilities are assumed. With one deterministic item , the empty proposal is a best response to every menu. Under ties resolved against the principal, no positive approximation guarantee is possible. Thus strict positivity in Theorem 1.2 is substantive.
Polynomial-time implementation
We implement the decomposition exactly for explicitly listed rational finite-support distributions, using an independence oracle for . Let be the number of nonloop items and the total binary length of the support lists and item labels, taking for an empty input.
The implementation has three tasks: simulate the residual matroids, find each maximum surplus threshold, and recover its largest tight flat. § 7.1–§ 7.3 address these tasks in order. § 7.4 assembles them and establishes the bit complexity and online query bound. § 7.5 then describes proposal verification and best-response computation.
Theorem 7.1 (Running time). For rational finite-support distributions, Algorithm 1 can be implemented exactly in polynomial bit time with polynomially many independence queries and submodular minimizations. Thereafter, Algorithm 2 uses at most one original independence query per eligible arrival and none otherwise.
Polynomial time here includes exact rational arithmetic and writing oracle queries; it is not merely a bound on the number of real-arithmetic operations. If an original independence query takes time , the preprocessing time is polynomial in , , and . We do not claim a strongly polynomial bound or linear total running time for the online phase. For general integrable distributions, Theorem 1.1 is an existence result unless a representation supporting the required expectation computations is supplied.
Input representation. Items have distinct nonempty binary labels. For each item , the input lists rational values and probabilities such that and . Rationals are written in lowest terms with positive denominators; integer bit lengths count zero as one bit. Discard zero-probability entries and combine repeated support values within each item. These normalizations take polynomial time and preserve the distributions. In all definitions below, the support lists refer to these normalized lists. Remove loops with one independence query per original item. If , the algorithm returns the empty set. Below, assume .
Implementing the residual matroids
Store a basis of every prefix flat , with . If is a basis of and , then
Indeed, and have the same closure, and hence
Thus a residual independence query costs one original query. To compute , start with and greedily insert elements of whenever independence is preserved. The number of insertions is the desired rank, and the scan uses at most original queries. Restrictions are handled by restricting the allowed query elements.
After extracting , greedily extend using the elements of to obtain . These extensions use at most original queries over the entire decomposition. The stored bases are auxiliary sets for simulating contractions. Their elements need not be selected online, and their realized values are never used in preprocessing.
Computing an exact threshold
We first use submodular minimization to decide whether a candidate value lies below the maximum threshold. Rational separation then lets us recover an exact maximizing set from a sufficiently short bisection interval; its threshold is obtained by solving a single piecewise-linear equation.
A decision oracle. Fix a nonempty residual ground set and the loopless residual matroid . For a rational , define
The function is submodular. Its value oracle first computes the excesses from the support lists and then answers each set query using one residual rank computation and a sum. In particular, a value query uses at most original independence queries. We write for a polynomial-time submodular minimization routine that returns with and for a rational-valued submodular function on [17].
Let , where . Strict monotonicity of the root-defining function gives the decision rule
The empty set has value zero, so a negative minimum always supplies a nonempty witness. A zero minimum means , including the case of equality.
Separation of candidate thresholds. Let be the product, with multiplicity, of the reduced denominators of all probabilities and values in the normalized input lists, and put . Then . Let be the largest support value in the normalized lists of all original items. The following separation bound converts the decision procedure into an exact algorithm.
Lemma 7.2 (Separation of candidate thresholds). Every candidate threshold in a loopless minor of is rational with reduced denominator at most . Any two distinct candidate thresholds differ by at least .
Proof. At a root , let
Atoms at contribute zero. Since is loopless and is nonempty, , and the root equation yields
Both numerator and denominator are integers. The denominator is positive and at most , proving the first claim and the separation bound.
Recovering an exact maximizing set. If all residual means vanish, the maximum threshold is zero and the entire residual ground set is tight. Otherwise . With the global just defined, start with and . Bisect at , setting if the minimum in (19) is negative and otherwise. After every step this maintains
After bisections, . Every minimizing set for is nonempty, has negative value, and satisfies
Lemma 7.2 forces . Thus the procedure recovers an exact maximizing witness, rather than merely an approximate threshold.
Solving for the witness’s threshold. To compute the witness’s root, sort the distinct values among , , and the support values of items in into . If , return zero. On each closed interval , set
Then throughout that interval, including its endpoints. The candidate root is . Scan the intervals in increasing order, updating the tail sums, and return the first candidate lying in its closed interval and satisfying . Such a candidate always exists: the unique root lies in , and the affine formulas agree at shared endpoints. There are at most as many intervals as support entries plus one, so the subroutine takes polynomial time. Denote it by ExactRoot.
Recovering the largest tight flat
At , the function is nonnegative and its zero sets are closed under union and intersection. Their union is therefore the unique largest tight set . It is a flat: closing a tight set does not increase its rank, while the nonnegative excess weights cannot decrease; nonnegativity of then forces its closure to remain tight.
There is a direct way to select with one further submodular minimization. Write in lowest terms and let . Minimize
The function is submodular. Since is a nonnegative integer, every nontight set has . Every tight set has . A minimizer of is therefore a tight set of maximum cardinality, which must be . This implements the prescribed tie rule exactly, without a numerical perturbation.
Complete algorithm and running time
Algorithm 4 combines threshold recovery with the selection of the largest tight flat. Applying it successively to the residual matroids implements Algorithm 1.
Algorithm 4 Exact extraction of one block
Input: Loopless residual matroid on ; normalized support lists; the routine SFM specified above; the denominator product defined above, , and the largest normalized support value across all original items.
Output: Maximum surplus threshold and its largest tight flat .
If for every , return .
Set and .
While : (a) Set and compute . (b) If , set ; otherwise, set .
Compute . The minimum is negative and maximizes the root.
Set and write in lowest terms with .
Define for ; compute .
Return .
Bit complexity of the value oracles. The bisection in § 7.2 halves an interval of initial length until its length is less than . It uses at most iterations, and every endpoint is a dyadic multiple of . Its numerator and denominator therefore have digits. If is the denominator of a query , then is an integer. For , we have , so this integer has digits. The same bound holds at the recovered root, whose denominator is at most , and after the additional scaling used to recover the largest tight set: both and are integers with digits. Thus the exact value oracles have polynomial-size outputs.
Proof of Theorem 7.1. Run Algorithm 1, using Algorithm 4 for each extraction and maintaining the stored prefix bases. Every stage contracts a nonempty flat of positive rank, so there are at most stages. A nonzero stage uses bisection minimizations, one witness minimization, and one minimization for the canonical flat. Zero stages require no minimization. This proves the stated number of calls. Each value oracle uses polynomial work and at most original independence queries. The precision lemma and exact submodular minimization imply polynomial total preprocessing time.
Store an item-to-block table and for every block. When an eligible item arrives, query the original oracle on
By (18), this is exactly the independence test required by Algorithm 2. The query set can be constructed in set operations. Each nonloop arrival requires one exact threshold comparison, whose bit cost depends on the encoding length of the arriving value. For draws from the input supports this length is bounded by . The implementation agrees with Algorithm 2 for every nonnegative rational realization and every arrival order. It makes no independence query on loops or ineligible items and at most one per eligible item, hence at most in total. If , it returns the empty set. Since the implementation produces precisely the thresholds, blocks, and online decisions of the mathematical construction, Theorem 1.1 applies without any loss in the guarantee.
Delegation verification and best responses
Verifying a proposal. The same stored bases implement the delegation verifier. First reject any proposal containing an original loop. Check each submitted value against its threshold, and for each nonempty submitted block query in the original matroid. This uses at most one original independence query per nonempty submitted block. The verifier inspects neither omitted realized values nor agent utilities.
Computing a best response. For fixed nonnegative realized agent utilities, delete original loops and items with , sort the remaining items in nonincreasing order of , and apply weighted matroid greedy in . This maximizes over , so it computes a best response to Algorithm 3. Any ordering of equal-weight items works. Using the stored prefix bases, the computation takes comparisons of agent utilities and at most original independence queries. This computational statement also allows zero agent utilities; the approximation guarantee in Theorem 1.2 requires strict positivity and holds for every best response, regardless of how it is computed.
AI Use Statement. This work resulted from extensive interaction between the authors and OpenAI Astra, with the authors providing suggestions and critically checking Astra’s responses through iterative exchanges. OpenAI Astra was also used in writing and revising the manuscript through detailed prompts from the authors, with Gemini Argon assisting in some parts. The authors directed the process and evaluated the proposed ideas and arguments. The results of this paper have also been formalized in the Lean proof assistant.
References
- [1]H. Abdi, K. Banihashem, M. Hajiaghayi, Z. Huang, D. Mittal, and S. Singla. As easy as rank one: Optimal algorithms for matroid secretary and single-sample matroid prophet. arXiv:2611.08869, 2026. URL https://arxiv.org/abs/2611.08869.
- [2]M. Armstrong and J. Vickers. A model of delegated project choice. Econometrica, 78(1):213–244, 2010. doi: 10.3982/ECTA7965.DOI
- [3]K. Banihashem, M. Hajiaghayi, P. Krysta, and S. Shin. Delegated choice with combinatorial constraints. In Proceedings of the 26th ACM Conference on Economics and Computation (EC), pages 275–303, 2025. doi: 10.1145/3762652.3742530. URL https://livrepository.liverpool.ac.uk/3193865/1/Combinatorial_Delegated_Choice-1.pdf.DOI
- [4]C. Bechtel and S. Dughmi. Delegated stochastic probing. In 12th Innovations in Theoretical Computer Science Conference (ITCS), volume 185 of Leibniz International Proceedings in Informatics, pages 37:1–37:19, 2021. doi: 10.4230/LIPIcs.ITCS.2021.37.DOI
- [5]S. Chawla, K. Goldner, A. R. Karlin, and J. B. Miller. Non-adaptive matroid prophet inequalities. In Algorithmic Game Theory (SAGT), volume 15156 of Lecture Notes in Computer Science, pages 389–404, 2024. doi: 10.1007/978-3-031-71033-9_22.DOI
- [6]A. Dinev and S. M. Weinberg. Simple and optimal online contention resolution schemes for k-uniform matroids. In 15th Innovations in Theoretical Computer Science Conference (ITCS), volume 287 of Leibniz International Proceedings in Informatics, pages 39:1–39:23, 2024. doi: 10.4230/LIPIcs.ITCS.2024.39.DOI
- [7]M. Feldman, O. Svensson, and R. Zenklusen. Online contention resolution schemes with applications to Bayesian selection problems. SIAM Journal on Computing, 50(2):255–300, 2021. doi: 10.1137/18M1226130.DOI
- [8]T. Jiang. On the cost of non-adaptivity in matroid prophet inequalities. arXiv:2607.02766, 2026. URL https://arxiv.org/abs/2607.02766. To appear in WINE 2026.
- [9]S. Kalantarzadeh and K. Pashkovich. Simple and almost non-adaptive 1/2-approximation for matroid prophet inequalities. arXiv:2607.20269, 2026. URL https://arxiv.org/abs/2607.20269.
- [10]J. Kleinberg and R. Kleinberg. Delegated search approximates efficient search. In Proceedings of the 19th ACM Conference on Economics and Computation (EC), pages 287–302, 2018. doi: 10.1145/3219166.3219205. URL https://arxiv.org/abs/1806.06933.
- [11]R. Kleinberg and S. M. Weinberg. Matroid prophet inequalities. In Proceedings of the 44th Annual ACM Symposium on Theory of Computing (STOC), 2012. doi: 10.1145/2213977.2213991. URL https://arxiv.org/abs/1201.4764.
- [12]E. Lee and S. Singla. Optimal online contention resolution schemes via ex-ante prophet inequalities. In 26th Annual European Symposium on Algorithms (ESA), volume 112 of Leibniz International Proceedings in Informatics, pages 57:1–57:14, 2018. doi: 10.4230/LIPIcs.ESA.2018.57.DOI
- [13]V. Livanos. Simple and optimal greedy online contention resolution schemes. In Advances in Neural Information Processing Systems, volume 35, 2022. URL https://papers.neurips.cc/paper/2022/file/3f45a1768ed452c1706e0a3a272e3bbc-Paper-Conference.pdf.arxiv.org/abs/2111.13253
- [14]C. MacRury, P. Nuti, and J. Vondrák. Prophet inequalities and online contention resolution for matchoids. arXiv:2609.20939, 2026. URL https://arxiv.org/abs/2609.20939.
- [15]OpenAI. One sample suffices for matroid prophet inequalities against an almighty adversary, Sept. 2026. URL https://github.com/openai/math/blob/main/preprints/One-Sample-Suffices-for-Matroid-Prophet-Inequalities-against-an-Almighty-Adversary-September-23-2026/final.pdf. OpenAI Math Release preprint, September 23.DOI
- [16]E. Samuel-Cahn. Comparison of threshold stop rules and maximum for independent nonnegative random variables. The Annals of Probability, 12(4):1213–1216, 1984. doi: 10.1214/aop/1176993150.
- [17]A. Schrijver. A combinatorial algorithm minimizing submodular functions in strongly polynomial time. Journal of Combinatorial Theory, Series B, 80(2):346–355, 2000. doi: 10.1006/jctb.2000.1989. URL https://homepages.cwi.nl/~lex/files/minsubm6.pdf.DOI