Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Approximating Optimum Online for Capacitated Resource Allocation111This work was done in part while the authors were visiting the Simons Institute for the Theory of Computing. Research supported in part in by Deutsche Forschungsgemeinschaft (DFG, German Research Foundation), Project No. 437739576, NSF Awards CCF2209520, CCF2312156, and a gift from CISCO.

Alexander Braun222University of Bonn. alexander.braun@uni-bonn.de  Thomas Kesselheim333University of Bonn. thomas.kesselheim@uni-bonn.de  Tristan Pollner444Stanford University. tpollner@stanford.edu  Amin Saberi555Stanford University. saberi@stanford.edu
Abstract

We study online capacitated resource allocation, a natural generalization of online stochastic max-weight bipartite matching. This problem is motivated by ride-sharing and Internet advertising applications, where online arrivals may have the capacity to serve multiple offline users.

Our main result is a polynomial-time online algorithm which is (1/2+κ)12𝜅(\nicefrac{{1}}{{2}}+\kappa)( / start_ARG 1 end_ARG start_ARG 2 end_ARG + italic_κ )-approximate to the optimal online algorithm for κ=0.0115𝜅0.0115\kappa=0.0115italic_κ = 0.0115. This can be contrasted to the (tight) 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG-competitive algorithms to the optimum offline benchmark from the prophet inequality literature. Optimum online is a recently popular benchmark for online Bayesian problems which can use unbounded computation, but not “prophetic” knowledge of future inputs.

Our algorithm (which also works for the case of stochastic rewards) rounds a generalized LP relaxation from the unit-capacity case via a two-proposal algorithm, as in previous works in the online matching literature. A key technical challenge in deriving our guarantee is bounding the positive correlation among users introduced when rounding our LP relaxation online. Unlike in the case of unit capacities, this positive correlation is unavoidable for guarantees beyond 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG. Conceptually, our results show that the study of optimum online as a benchmark can reveal problem-specific insights that are irrelevant to competitive analysis.

1 Introduction

We study an online capacitated allocation problem, in which users {1,2,,n}12𝑛\{1,2,\ldots,n\}{ 1 , 2 , … , italic_n } should be assigned to resources arriving online. Specifically, at each timestep t{1,2,,T}𝑡12𝑇t\in\{1,2,\ldots,T\}italic_t ∈ { 1 , 2 , … , italic_T }, a new resource t𝑡titalic_t arrives and its capacity ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT and the values vi,t0subscript𝑣𝑖𝑡0v_{i,t}\geq 0italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≥ 0 for every user i[n]𝑖delimited-[]𝑛i\in[n]italic_i ∈ [ italic_n ] are sampled from a known distribution 𝒟tsubscript𝒟𝑡\mathcal{D}_{t}caligraphic_D start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. Upon the arrival of a resource, we observe its realized capacity and values, and must irrevocably decide which users to allocate to it. Our goal is to maximize social welfare, i.e., the sum of the values of assigned user-resource pairs.

This problem naturally arises in a number of settings, for example in the context of ride-sharing: after a spike in demand (e.g. at the arrival of a flight, or at the end of a large concert), waiting passengers need to be assigned to cabs who become available online. Another example is online advertising, which initiated the vast literature on online Bayesian matching [FMMM09], where ads should be assigned to search queries arriving online. Further examples are abundant: the assignment of orders to trucks by a shipping fulfillment center, the procurement of goods for stores with limited inventories, etc. Our formulation goes beyond the intensely-studied setting where each online resource can be matched to at most one offline node (e.g. [BK10, HMZ11, MGS12, JL13, EFGT20, BSSX20, HS21, TWW22, HSY22]). In many cases resources have capacity larger than one; multiple passengers can share a cab and multiple ads can be displayed under a search query.

The literature has studied this problem from the “prophet inequality” perspective, designing algorithms which compare favorably to the optimum offline algorithm which sees all realizations upfront. In particular, for online capacitated allocation, it is possible to obtain 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG of the optimum offline benchmark [FGL15, DFKL20], and that is the best possible  [KS78].

Still, comparing to the optimum offline algorithm as a benchmark might be too pessimistic in Bayesian settings. Its “prophetic” access to future realizations is unattainable for online algorithms (see [PPSW21] for further discussion). Therefore, a recent line of work (also including, e.g., [ANSS19, BDL22, DGR+23]) has shifted attention towards the following question: how well can we approximate the optimal (computationally unbounded) online algorithm in polynomial time?

In other words, how much must we lose when restricting to efficient algorithms instead of solving the optimal dynamic program? On the one hand, even for unit capacities it is PSPACE-hard to approximate the optimum online algorithm within some absolute constant 1ϵ1italic-ϵ1-\epsilon1 - italic_ϵ [PPSW21].

Luckily, approximations strictly better than 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG exist for unit capacities: [PPSW21] gave a 0.510.510.510.51-approximate algorithm, later improved to 0.52 [SW21], 11/e0.63211e0.6321-\nicefrac{{1}}{{\mathrm{e}}}\approx 0.6321 - / start_ARG 1 end_ARG start_ARG roman_e end_ARG ≈ 0.632 [BDL22], and 0.6520.6520.6520.652 [NSW23]. Motivated by this, we ask:

{mdframed}

[hidealllines=false, backgroundcolor=white, leftmargin=0cm,innerleftmargin=0.35cm,innerrightmargin=0.35cm,innertopmargin=0.375cm,innerbottommargin=0.375cm,roundcorner=10pt] Can we obtain a better than 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG-approximate algorithm to the optimal (computationally unbounded) online algorithm beyond unit-capacity allocations?

Our main result is to answer this question in the affirmative. In particular, we show that for online capacitated resource allocation problems, we can beat 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG by a constant.

{mdframed}

[hidealllines=true, backgroundcolor=gray!20, leftmargin=0cm,innerleftmargin=0.35cm,innerrightmargin=0.35cm,innertopmargin=0.375cm,innerbottommargin=0.375cm,roundcorner=10pt]

Theorem 1.1.

For online capacitated allocation, there exists a polynomial time (1/2+κ)12𝜅\left(\nicefrac{{1}}{{2}}+\kappa\right)( / start_ARG 1 end_ARG start_ARG 2 end_ARG + italic_κ )-approximation to the social welfare of the optimal online algorithm, for a constant κ0.0115𝜅0.0115{\kappa\geq 0.0115}italic_κ ≥ 0.0115.

Interestingly, through the lens of prophet inequalities, the unit-capacity and the general capacity variant of the problem behave nearly identically. These variants (and more general ones) can all be handled by the same algorithmic template and techniques for the unit-capacity case directly carry over (for example, applying a 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG-balanced online contention resolution scheme (OCRS) to each offline user). As we will discuss, studying capacitated resource allocation with the optimum online benchmark leads to technical challenges distinct from the unit-capacity case, and reveals differences that do not arise in competitive analysis. Our work hence gives evidence for the richness of studying optimum online as a benchmark.

We also provide an extension to where allocations are probabilistically successful, motivated by our initial example of Internet advertising. As in the literature on online matching with stochastic rewards [MP12, HZ20, GU23], after displaying ads under a search request, typically the advertiser is only charged if the ad is eventually clicked. This is typically modeled as happening with known probability called the click-through-rate. We hence update our setting so that after allocating at most ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT users to the resource t𝑡titalic_t, each user i𝑖iitalic_i is successfully allocated with known probability qi,tsubscript𝑞𝑖𝑡q_{i,t}italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT. If an offline user i𝑖iitalic_i is not successfully allocated, it remains available to be matched in future rounds; however, online arrivals do not get to adaptively pick new allocations.

{mdframed}

[hidealllines=true, backgroundcolor=gray!20, leftmargin=0cm,innerleftmargin=0.35cm,innerrightmargin=0.35cm,innertopmargin=0.375cm,innerbottommargin=0.375cm,roundcorner=10pt]

Theorem 1.2.

For online capacitated allocation with stochastic rewards, there exists a polynomial time (1/2+κ)12𝜅\left(\nicefrac{{1}}{{2}}+\kappa\right)( / start_ARG 1 end_ARG start_ARG 2 end_ARG + italic_κ )-approximation to the social welfare of the optimal online algorithm, for a constant κ0.0115𝜅0.0115{\kappa\geq 0.0115}italic_κ ≥ 0.0115.

Note Theorem 1.1 is the special case of Theorem 1.2 in which all successes are deterministic, i.e. success probabilities qi,t=1subscript𝑞𝑖𝑡1q_{i,t}=1italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = 1 for every i𝑖iitalic_i, t𝑡titalic_t.

1.1 Our Techniques

Our algorithm rounds an LP relaxation online while introducing a controllable amount of positive correlation among offline users. For each online arrival t𝑡titalic_t, we apply two rounds of pivotal sampling to the unallocated offline nodes, to guarantee never “over-allocating” t𝑡titalic_t beyond its remaining capacity. In each round, we only randomly allocate a subset of this sampled group to avoid large positive correlation between users.

Throughout, in the main body of the paper, we focus on the special case where resource arrivals are “Bernoulli” (i.e., in step t𝑡titalic_t, resource t𝑡titalic_t with known capacity ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT and known values vi,t0subscript𝑣𝑖𝑡0v_{i,t}\geq 0italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≥ 0 arrives with probability ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT and does not show up with probability 1pt1subscript𝑝𝑡1-p_{t}1 - italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT.)

LP relaxation.

In order to bound the social welfare achieved by the optimum online algorithm, we will use a linear program (LP) relaxation with variables {xi,t}subscript𝑥𝑖𝑡\{x_{i,t}\}{ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT }. The variables can be interpreted as the probabilities we would like an online algorithm to assign each user i𝑖iitalic_i to resource t𝑡titalic_t (see Section 2). We require that at most ptctsubscript𝑝𝑡subscript𝑐𝑡p_{t}\cdot c_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT users are allocated to resource t𝑡titalic_t in expectation, and also make use of an “online constraint” which does not hold for offline algorithms, as in [PPSW21, TT22]. In particular, for online algorithms, the arrival of resource t𝑡titalic_t and the event that user i𝑖iitalic_i is unallocated at t𝑡titalic_t are independent. We account for stochastically successful allocations in this constraint and the LP’s objective via the independence of success along edges from an online algorithm’s allocation decisions.

A two-proposal algorithmic approach.

Our algorithm rounds an optimal LP solution online such that (i) for every resource t𝑡titalic_t, we do not allocate more users than its capacity, and (ii) every pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is successfully allocated with probability (1/2+κ)xi,tqi,t12𝜅subscript𝑥𝑖𝑡subscript𝑞𝑖𝑡(\nicefrac{{1}}{{2}}+\kappa)\cdot x_{i,t}\cdot q_{i,t}( / start_ARG 1 end_ARG start_ARG 2 end_ARG + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT for a constant κ:=0.0115assign𝜅0.0115\kappa:=0.0115italic_κ := 0.0115. To achieve guarantees (i) and (ii), we use a two-proposal algorithm inspired by the algorithm used for matching by [PPSW21]. For every resource t𝑡titalic_t, we run up to two rounds; in each we propose to a subset of users whose size does not exceed the remaining capacity and a random subset of users accepts.

While our LP relaxation and high-level framework are similar to [PPSW21], new ideas are needed for the specifics of the algorithm and (more importantly) its analysis. For example, when a new resource t𝑡titalic_t arrives, we would like to sample a subset of users such that i𝑖iitalic_i is included with probability proportional to xi,tsubscript𝑥𝑖𝑡x_{i,t}italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT. In the matching case, summing xi,t/ptsubscript𝑥𝑖𝑡subscript𝑝𝑡x_{i,t}/p_{t}italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT / italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT over all users i𝑖iitalic_i never exceeds one, and hence, the vector (xi,t/pt)isubscriptsubscript𝑥𝑖𝑡subscript𝑝𝑡𝑖\left(x_{i,t}/p_{t}\right)_{i}( italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT / italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT naturally forms a probability distribution over users. This is no longer true in our more general capacitated allocation problem. Naïvely sampling users independently with the given marginals has the issue that we might exceed the capacity of resource t𝑡titalic_t. We instead rely on the technique of pivotal sampling (also known as dependent rounding) to ensure that the sampled set of users never exceeds the capacity of resource t𝑡titalic_t and that sampled users are negatively correlated. Via the pivotal sampling subroutine we get a first proposal set of users. We note that in order to obtain this first proposal set, we apply the pivotal sampling in a history-agnostic way. That is, we may include previously successfully allocated users in the proposal set for resource t𝑡titalic_t at first. From the proposal set, we then randomly allocate each available user i𝑖iitalic_i with some probability. This is essentially done according to a (1/2+κ)12𝜅(\nicefrac{{1}}{{2}}+\kappa)( / start_ARG 1 end_ARG start_ARG 2 end_ARG + italic_κ )-balanced online contention resolution scheme (OCRS).

After this allocation process, there might remain a gap between the capacity of resource t𝑡titalic_t and the number of allocated users. We crucially exploit this gap by drawing a second proposal set of users by another call of the pivotal sampling subroutine with reduced marginal probabilities. The reduction is precisely to ensure that the capacity of resource t𝑡titalic_t is not exceeded. Afterwards, we probabilistically assign a subset of these users, with a carefully chosen downsampling function.

Analyzing the algorithm.

For the analysis, we distinguish for each pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) whether it is assigned with probability at least (1/2+κ)xi,tqi,t12𝜅subscript𝑥𝑖𝑡subscript𝑞𝑖𝑡(\nicefrac{{1}}{{2}}+\kappa)\cdot x_{i,t}\cdot q_{i,t}( / start_ARG 1 end_ARG start_ARG 2 end_ARG + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT already from the first proposal, or requires the second proposal to reach this threshold. In the first case, the analysis proceeds in a straightforward way via the calculations originally from the OCRS literature (see e.g. [EFGT20]).

For the remaining pairs (i,t)𝑖𝑡(i,t)( italic_i , italic_t ), bounding their contribution to the social welfare requires analyzing the second proposal, and doing so is our main technical contribution. For the second proposal along (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) to contribute to social welfare, clearly user i𝑖iitalic_i needs to be unallocated just before t𝑡titalic_t arrives. Furthermore, we are required to reduce the marginal probability that i𝑖iitalic_i is sampled in the second proposal depending on the number of allocated users in t𝑡titalic_t’s first proposal. This number in turn depends on the availability of other users ji𝑗𝑖j\neq iitalic_j ≠ italic_i. In particular, if a user j𝑗jitalic_j is already assigned before the arrival of resource t𝑡titalic_t, even when sampled as a first proposal, we cannot allocate the user. This increases the remaining capacity of resource t𝑡titalic_t, which is beneficial for the marginal reduction required in our second proposal.

Conversely, if we condition on other users ji𝑗𝑖j\neq iitalic_j ≠ italic_i being free before the arrival of resource t𝑡titalic_t, it leads to a larger decrease of the marginal probabilities in our second proposal. Still, this implies a decrease of the social welfare contribution of (i,t)𝑖𝑡(i,t)( italic_i , italic_t ). The relevant technical question, then, is if we condition on i𝑖iitalic_i being free before t𝑡titalic_t arrives (necessary for (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) to contribute to social welfare), how much can the conditional probabilities of users ji𝑗𝑖j\neq iitalic_j ≠ italic_i being free increase? Equivalently, how significantly can the availabilities of offline users be correlated?

In the matching case this challenge was readily handled by showing negative correlation. While this is not possible for our problem (Section 1.2), we show that our algorithm obtains a good approximation if it can just avoid introducing “large” amounts of positive correlation. In the most technical part of our paper, we show our two-proposal algorithm achieves this by inductively tracking the availability of users over multiple rounds. In particular, we show the probability of both users being free at time t𝑡titalic_t is at most the product of the users’ individual probabilities of being free, multiplied by f(t<txi,tqi,t)𝑓subscriptsuperscript𝑡𝑡subscript𝑥𝑖superscript𝑡subscript𝑞𝑖superscript𝑡f\left(\sum_{t^{\prime}<t}x_{i,t^{\prime}}\cdot q_{i,t^{\prime}}\right)italic_f ( ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ), for f(z):=1+z((0.5+κ)21z(0.5+κ))assign𝑓𝑧1𝑧superscript0.5𝜅21𝑧0.5𝜅f(z):=1+z\cdot\left(\frac{(0.5+\kappa)^{2}}{1-z\cdot(0.5+\kappa)}\right)italic_f ( italic_z ) := 1 + italic_z ⋅ ( divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 1 - italic_z ⋅ ( 0.5 + italic_κ ) end_ARG ). Interestingly, the point at which we evaluate the function f𝑓fitalic_f does not depend on user j𝑗jitalic_j at all.

1.2 Capacitated Allocation Lacks Negative Correlation

Even in the case where every success probability qi,tsubscript𝑞𝑖𝑡q_{i,t}italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT equals 1111, the potential positive correlation among offline users underlies the challenge for capacities exceeding 1. For example, a tempting naïve approach for general capacities is to directly reduce to the unit-capacity case: upon the arrival of a resource with capacity ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, model this as ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT resources with unit capacities, and simply run the algorithms from prior work. Unfortunately, this fails; a crucial assumption of the relevant literature is that arrivals are independent across different rounds, and introducing positive correlation across arrivals can be extremely problematic for existing algorithms. For example, consider the natural generalization of the algorithm by [BDL22]: in round t𝑡titalic_t, let users propose to the arriving resource and allocate the ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT proposing users with the highest values. Here the positive correlation introduced can create severe problems.

Observation 1.3.

For any ϵ>0italic-ϵ0\epsilon>0italic_ϵ > 0, there exists an online capacitated allocation instance where the (generalized) algorithm of [BDL22] is no more than ϵitalic-ϵ\epsilonitalic_ϵ-approximate with respect to the welfare achieved by the optimal (computationally unbounded) online algorithm.

The formal proof can be found in Appendix A. The approach of [BDL22] is LP-based and one of the crucial steps is an upper bound on the probability that a subset of users is matched simultaneously. Intuitively speaking, their bound can be interpreted as a form of negative correlation among the offline users with respect to the LP variables.666It is possible to extend the algorithm of [BDL22] to one with the same approximation ratio which furthermore has full negative correlation between offline nodes. Unfortunately, simple examples show that in our case positive correlation is required to go beyond an approximation ratio of 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG.

Observation 1.4.

Any algorithm for online capacitated allocation which has an approximation ratio better than 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG with respect to (LPon) must create positive correlation between the events of offline users being available.

A formal version of the argument can be found in Appendix A. We note that the proof even rules out the “negative correlation with respect to the LP” showed by [BDL22], also used by follow-up work [NSW23]. In contrast to the line of work by [BDL22] and [NSW23], Papadimitriou et al. [PPSW21] gave a different algorithm for the unit-capacity case which operates in the mentioned “two-proposals framework” that has been successful for multiple problems in the online matching literature [FMMM09, MGS12]. Critically, their analysis shows that almost all of the matches create negative correlation of offline nodes (in fact, satisfying the very strong property of negative association). While our algorithm is inspired by the two-proposals framework, the example above demonstrates that there is no reasonable way to generalize this statement to the capacitated case while beating a 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG-approximation.

1.3 Interlude on an Equivalent View: Online Combinatorial Auctions

Online capacitated resource allocation problems can also be interpreted in the context of online combinatorial auctions — a commonly studied setting in the prophet inequality literature, as in e.g. [FGL15, DFKL20, CC23] and many others. Here, online arrivals correspond to buyers and offline nodes are items. Our capacities translate to the assumption that each buyer t𝑡titalic_t has a ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT-demand valuation function, interpolating between unit-demand and fully additive valuations.

In online capacitated allocation, we assume valuations are given upfront to the algorithm designer through a centralized planner. This view is (at first glance) less realistic for online combinatorial auctions — here we would expect buyers to report their own valuations, and would need to consider incentives. Luckily, applying recent work of [BHK+24], we can argue that our algorithm can be made dominant strategy incentive-compatibility (DISC) if we bound the demand size of buyers by a constant (a reasonable assumption for motivating applications). In particular, Theorem 1.1 implies the following result which we formally prove in Section B.1.

{mdframed}

[hidealllines=true, backgroundcolor=gray!20, leftmargin=0cm,innerleftmargin=0.35cm,innerrightmargin=0.35cm,innertopmargin=0.375cm,innerbottommargin=0.375cm,roundcorner=10pt]

Theorem 1.5.

Say every buyer t𝑡titalic_t samples a ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT-demand valuation function, where ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT is upper bounded by a constant. Then, for online combinatorial auctions, there exists a polynomial-time DSIC mechanism giving a (1/2+κ)12𝜅\left(\nicefrac{{1}}{{2}}+\kappa\right)( / start_ARG 1 end_ARG start_ARG 2 end_ARG + italic_κ )-approximation to the social welfare of the optimal online algorithm.

Note that our main Theorem 1.1 does not require any upper bounds on the capacities ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. In particular, the capacities ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT can be as large as the number of offline users. The upper bound on ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT in the combinatorial auction interpretation is only required such that the reduction from [BHK+24] runs in polynomial time.

1.4 Additional Related Work

Online resource allocation problems have gained attention in the last decades due to a plethora of applications introduced by large marketplaces (see e.g. [Meh13]).

A particularly well-studied variety of such problems is online matching. As initiated by [KVV90], here we have a set of offline vertices and a set of vertices arriving online. Upon arrival, online nodes reveal a subset of offline nodes they could be matched to, and we can allocate at most one that is still available. [KVV90] give an online algorithm for this problem that achieves a (11/e)11𝑒(1-1/e)( 1 - 1 / italic_e )-approximation to the value of the best possible matching in hindsight. This guarantee was later extended to vertex-weighted instances, where offline vertices might have different values [AGKM11]. The case we consider where edges are only successful with known probability has also been studied in the literature, often going by online matching with stochastic rewards [MP12, MWZ15, HZ20, GU23, HJS+23]. When online nodes can adaptively attempt to “rematch” based on the successful status of edges, the problem is often called stochastic probing, and it has been studied in both online [BGL+12, AGM15, BMR20] and offline settings [CIK+09, Ada11, GKS19].

In the most general edge-weighted case, it is unfortunately impossible to obtain any constant-factor approximation for adversarial arrivals; a recent line of work studies the case where we relax the requirement of decisions being irrevocable [FHTZ20, GHH+21, BC21]. But in settings where allocations cannot be easily reversed, the only other option is to move beyond the pessimistic assumption of fully adversarial arrivals. The most natural way to do so is to consider the intermediate model of stochastic arrivals, a reasonable assumption for settings with large amounts of historical data available. There is a long line of work designing matching algorithms in such settings, including edge-weighted problems (e.g. [HMZ11, AHL12, BSSX16, EFGT20]) and vertex-weighted/unweighted problems (e.g. [FMMM09, MGS12, JL13, HS21, HSY22]). There is also very recent work studying correlated arrivals in online stochastic matching [AM23], showing guarantees of half against the offline benchmark when online nodes are independent across different types rather than arrival rounds.

Most of the literature on Bayesian online resource allocation problems focuses on competitive algorithms against the expected offline optimum, also called prophet inequalities. Originally introduced in the 70s and 80s by [KS78] and [SC84], statements of this form gained renewed attention in the past decades due to connections with mechanism design [HKS07, CHMS10, KW19]. In these mechanisms, a sequence of buyers arrives one-by-one and faces item prices, buying the most desirable feasible bundle. These mechanisms are incentive compatible and individually rational by design and lead to desirable approximation guarantees of the optimum achievable welfare. This explains the rise of literature in this area during the recent years [FGL15, DFKL20, DKL20, GW19, CCF+22, BK23]. For more details, we refer to the survey by Lucier [Luc17].

Typical problems studied in the literature are weighted bipartite matching (a.k.a. unit-demand combinatorial auctions) as well as its generalizations towards more general scenarios, such as XOS or subadditive valuations in combinatorial auctions [FGL15, DFKL20, DKL20, CC23]. In complementing work, also feasibility constraints such as (poly-)matroids [DK15, KW19, CGKM20], knapsacks [DFKL20, JMZ22] and beyond [GHK+14, Rub16, BM19] are considered.

The paradigm of online contention resolution schemes (OCRS) has been an influential technique for proving prophet inequalities. Here, we start with an LP relaxation of the offline allocation problem and run a rounding procedure online while observing realizations one-by-one. Introduced by [FSZ16], this technique has been broadly applied, see e.g. [LS18, EFGT20, PRSW22, FLT+22, ACCB+23, MMG23]. The LP relaxation we use for our algorithm differs from standard OCRS settings as there are additional constraints in our LP which are only valid for online algorithms.

Online allocation has also been studied in the literature where offline nodes have capacities and can be allocated simultaneously in different rounds [Ala14, AHL13]. For example, [AHL12] study such a setting and derive competitive ratios against the offline benchmark which can be improved beyond 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG once there is a lower bound of at least 2 on the offline capacities. The literature has also considered the impact of reusability of offline nodes [FNS19, DSSX21, FNS22].

1.5 Paper Organization

In Section 2, we formally state our problem and review some preliminaries. In Section 3, we introduce our algorithm and argue that it is well-defined. Afterwards, in Section 4, we analyze the algorithm’s approximation ratio, the main technical contribution of our work. We conclude in Section 6 with some future directions suggested by our work. Appendix A contains a discussion of informative examples and observations for our problem. In Appendix B, we give proofs that are deferred from the main body.

In the first part of the main body of our paper, we prove a simpler result for ease of exposition; the remaining sections and appendices include the details required to prove our result in full generality. Our algorithm as stated in Section 3 requires an exponential-time computation; in Section 5 we analyze the natural Monte Carlo variant and hence provide a truly polynomial-time algorithm. Our algorithm in Section 3 also focuses on the special case of Bernoulli arrivals; in Appendix C we show how to extend our techniques to online arrivals with values and capacities drawn from general distributions. Finally, for simpler notation, when analyzing our algorithm we consider the special case where every success probability qi,tsubscript𝑞𝑖𝑡q_{i,t}italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is one; in Appendix D we discuss the necessary changes to prove the result for arbitrary probabilities.

2 Formal Problem Statement and Preliminaries

In the following section, we will give a formal definition of a special case of our problem. For ease of exposition, in the first part of the main body of our paper we describe our algorithm and analysis for this special case, and list the additional details required to solve the general version only afterwards. We also will review some preliminaries including statements about our LP relaxation and the basics of pivotal sampling, an important ingredient for our algorithm.

Problem definition.

Recall that we defined the input to our problem as a set of n𝑛nitalic_n users I𝐼Iitalic_I which are available offline. In addition, there is a set of resources [T]delimited-[]𝑇[T][ italic_T ] which are revealed online in known order. In step t𝑡titalic_t, resource t𝑡titalic_t arrives (also noted as active) independently with known probability ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. In addition, value vi,t0subscript𝑣𝑖𝑡0v_{i,t}\geq 0italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≥ 0 is user i𝑖iitalic_i’s value for being served by resource t𝑡titalic_t. Every user can be served by at most one resource; any resource can serve up to ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT many users. We call ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT the capacity of resource t𝑡titalic_t and emphasize that ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT can be resource-specific, i.e. we allow different resources to have different capacities. Upon the arrival of resource t𝑡titalic_t, we observe the random realization if the resource is active, and can choose which users ItIsubscript𝐼𝑡𝐼I_{t}\subseteq Iitalic_I start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⊆ italic_I (if any) we would like to allocate to it, subject to the constraints that each user can be assigned to at most one resource and |It|ctsubscript𝐼𝑡subscript𝑐𝑡|I_{t}|\leq c_{t}| italic_I start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT | ≤ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. If resource t𝑡titalic_t does not arrive, for convenience, we take It=subscript𝐼𝑡I_{t}=\emptysetitalic_I start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = ∅.

Upon assigning Itsubscript𝐼𝑡I_{t}italic_I start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, each iIt𝑖subscript𝐼𝑡i\in I_{t}italic_i ∈ italic_I start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT is successfully allocated with probability qi,tsubscript𝑞𝑖𝑡q_{i,t}italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT independently. We denote the successful set by S(It)𝑆subscript𝐼𝑡S(I_{t})italic_S ( italic_I start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ). More generally, the set S(J)J𝑆𝐽𝐽S(J)\subseteq Jitalic_S ( italic_J ) ⊆ italic_J denotes the set of successful allocations from some allocated set J𝐽Jitalic_J. Our objective is to maximize the expected social welfare, defined as 𝔼[SW]:=𝔼[tiS(It)vi,t]assign𝔼delimited-[]SW𝔼delimited-[]subscript𝑡subscript𝑖𝑆subscript𝐼𝑡subscript𝑣𝑖𝑡\mathbb{E}\left[\mathrm{SW}\right]:=\mathbb{E}\left[\sum_{t}\sum_{i\in S(I_{t}% )}v_{i,t}\right]blackboard_E [ roman_SW ] := blackboard_E [ ∑ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S ( italic_I start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ].

Our goal is to design a polynomial-time approximation algorithm for this problem. An algorithm is a ζ𝜁\zetaitalic_ζ-approximation if for any instance of the problem, we have 𝔼[SW]ζOPTon𝔼delimited-[]SW𝜁subscriptOPTon\mathbb{E}\left[\mathrm{SW}\right]\geq\zeta\cdot\mathrm{OPT}_{\mathrm{on}}blackboard_E [ roman_SW ] ≥ italic_ζ ⋅ roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT, where OPTonsubscriptOPTon\mathrm{OPT}_{\mathrm{on}}roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT is the expected welfare achieved by the optimal online algorithm. The optimal online algorithm has unlimited computational power and also knows all distributions upfront, but only observes realizations one at a time and needs to make an irrevocable decision before observing the next realization. Formally, we can define OPTonsubscriptOPTon\mathrm{OPT}_{\mathrm{on}}roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT via a Bellman equation. To this end, let OPTon(t,J)subscriptOPTon𝑡𝐽\mathrm{OPT}_{\mathrm{on}}(t,J)roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT ( italic_t , italic_J ) denote the optimum gain achievable from resources {t,t+1,,T}𝑡𝑡1𝑇\{t,t+1,\ldots,T\}{ italic_t , italic_t + 1 , … , italic_T } with users JI𝐽𝐼J\subseteq Iitalic_J ⊆ italic_I available. Then, recursively we have

OPTon(t,J)subscriptOPTon𝑡𝐽\displaystyle\mathrm{OPT}_{\mathrm{on}}(t,J)roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT ( italic_t , italic_J ) :=(1pt)OPTon(t+1,J)assignabsent1subscript𝑝𝑡subscriptOPTon𝑡1𝐽\displaystyle:=(1-p_{t})\cdot\mathrm{OPT}_{\mathrm{on}}(t+1,J):= ( 1 - italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT ( italic_t + 1 , italic_J )
+ptmaxJJ,|J|ct𝔼[iS(J)vi,t+OPTon(t+1,JS(J))].subscript𝑝𝑡subscriptformulae-sequencesuperscript𝐽𝐽superscript𝐽subscript𝑐𝑡𝔼delimited-[]subscript𝑖𝑆superscript𝐽subscript𝑣𝑖𝑡subscriptOPTon𝑡1𝐽𝑆superscript𝐽\displaystyle\quad\quad+p_{t}\cdot\max_{J^{\prime}\subseteq J,|J^{\prime}|\leq c% _{t}}\mathbb{E}\left[\sum_{i\in S(J^{\prime})}v_{i,t}+\mathrm{OPT}_{\mathrm{on% }}(t+1,J\setminus S(J^{\prime}))\right].+ italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ roman_max start_POSTSUBSCRIPT italic_J start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ⊆ italic_J , | italic_J start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT | ≤ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT blackboard_E [ ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S ( italic_J start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT + roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT ( italic_t + 1 , italic_J ∖ italic_S ( italic_J start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ) ] .

We recall that even in the case of unit capacities with deterministically successful assignments, it is PSPACE-hard to approximate OPTonsubscriptOPTon\mathrm{OPT}_{\mathrm{on}}roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT within a (1ϵ)1italic-ϵ(1-\epsilon)( 1 - italic_ϵ ) factor [PPSW21].

LP relaxation.

We will use an LP relaxation of the optimum online algorithm which generalizes that for the unit-capacity and deterministic rewards case [PPSW21, BDL22, TT22]. It has a variable xi,tsubscript𝑥𝑖𝑡x_{i,t}italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT for every pair of a user i𝑖iitalic_i and a resource t𝑡titalic_t.

max\displaystyle\max\ roman_max i,txi,tqi,tvi,tsubscript𝑖𝑡subscript𝑥𝑖𝑡subscript𝑞𝑖𝑡subscript𝑣𝑖𝑡\displaystyle\sum_{i,t}x_{i,t}\cdot q_{i,t}\cdot v_{i,t}∑ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT (LPon)
s.t. ixi,tptctsubscript𝑖subscript𝑥𝑖𝑡subscript𝑝𝑡subscript𝑐𝑡\displaystyle\sum_{i}x_{i,t}\leq p_{t}\cdot c_{t}∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≤ italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT for all t[T]for all 𝑡delimited-[]𝑇\displaystyle\text{for all }t\in[T]for all italic_t ∈ [ italic_T ] (1)
0xi,tpt(1t<txi,tqi,t)0subscript𝑥𝑖𝑡subscript𝑝𝑡1subscriptsuperscript𝑡𝑡subscript𝑥𝑖superscript𝑡subscript𝑞𝑖superscript𝑡\displaystyle\ 0\leq x_{i,t}\leq p_{t}\cdot\left(1-\sum_{t^{\prime}<t}x_{i,t^{% \prime}}\cdot q_{i,t^{\prime}}\right)0 ≤ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≤ italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ ( 1 - ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) for all iI,t[T]formulae-sequencefor all 𝑖𝐼𝑡delimited-[]𝑇\displaystyle\text{for all }i\in I,t\in[T]for all italic_i ∈ italic_I , italic_t ∈ [ italic_T ] (2)

This LP indeed relaxes the optimal online algorithm: set xi,tsubscript𝑥𝑖𝑡x_{i,t}italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT to be the marginal probability that this algorithm attempts to allocate i𝑖iitalic_i to t𝑡titalic_t. Constraint (1) holds as any algorithm can only allocate at most ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT users to resource t𝑡titalic_t if it arrives. Constraint (2) only holds for online algorithms: the event of users being not yet successfully allocated at step t𝑡titalic_t and the event of resource t𝑡titalic_t arriving are independent. We note it implies the natural constraint that txi,tqi,t1subscript𝑡subscript𝑥𝑖𝑡subscript𝑞𝑖𝑡1\sum_{t}x_{i,t}\cdot q_{i,t}\leq 1∑ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≤ 1.777Indeed, we can apply Constraint (2) to (i,T)𝑖𝑇(i,T)( italic_i , italic_T ) and observe txi,tqi,txi,T+t<Txi,tqi,txi,T+1xi,TpT1.subscript𝑡subscript𝑥𝑖𝑡subscript𝑞𝑖𝑡subscript𝑥𝑖𝑇subscriptsuperscript𝑡𝑇subscript𝑥𝑖superscript𝑡subscript𝑞𝑖superscript𝑡subscript𝑥𝑖𝑇1subscript𝑥𝑖𝑇subscript𝑝𝑇1\sum_{t}x_{i,t}\cdot q_{i,t}\leq x_{i,T}+\sum_{t^{\prime}<T}x_{i,t^{\prime}}% \cdot q_{i,t^{\prime}}\leq x_{i,T}+1-\frac{x_{i,T}}{p_{T}}\leq 1.∑ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≤ italic_x start_POSTSUBSCRIPT italic_i , italic_T end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_T end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ≤ italic_x start_POSTSUBSCRIPT italic_i , italic_T end_POSTSUBSCRIPT + 1 - divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_T end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_T end_POSTSUBSCRIPT end_ARG ≤ 1 .

Observation 2.1.

The optimum objective value of (LPon) upper bounds the gain of optimum online, i.e., OPT(LPon)OPTonOPTitalic-(LPonitalic-)subscriptOPTon\mathrm{OPT}\eqref{LP}\geq\mathrm{OPT}_{\mathrm{on}}roman_OPT italic_( italic_) ≥ roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT.

For completeness the short formal proof is included in Section B.2.

Generalized problem definition.

In the above problem definition, we made the simplifying assumption that the resource arriving at time t𝑡titalic_t has a simple “Bernoulli” distribution determining if it is active or not. In the general model, in every round, a resource randomly realizes one of many possible pairs of valuation vectors to the users and capacities. Formally, in our general model, resource t𝑡titalic_t realizes one of m𝑚mitalic_m possible capacities ct,jsubscript𝑐𝑡𝑗c_{t,j}italic_c start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT together with a vector of values (vi,t,j)isubscriptsubscript𝑣𝑖𝑡𝑗𝑖(v_{i,t,j})_{i}( italic_v start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, where each realization j𝑗jitalic_j is sampled with probability pt,jsubscript𝑝𝑡𝑗p_{t,j}italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT. We highlight that capacities and values during a single round t𝑡titalic_t can be arbitrarily correlated, although across different rounds we assume independence. In Appendix C we argue that our LP, algorithm, and analysis extend to such general settings as well.

2.1 Pivotal Sampling

As a part of our online algorithm we invoke the randomized offline rounding framework of pivotal sampling (also called Srinivasan rounding and dependent rounding) [Sri01, GKPS06]. Imagine we are given marginals x1,,xnsubscript𝑥1subscript𝑥𝑛x_{1},\ldots,x_{n}italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT with each xi[0,1]subscript𝑥𝑖01x_{i}\in[0,1]italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∈ [ 0 , 1 ] and ixiksubscript𝑖subscript𝑥𝑖𝑘\sum_{i}x_{i}\leq k∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≤ italic_k for some positive integer k𝑘kitalic_k. We would like to randomly select at most k𝑘kitalic_k indices from {1,2,,n}12𝑛\{1,2,\ldots,n\}{ 1 , 2 , … , italic_n } such that i𝑖iitalic_i is selected with probability xisubscript𝑥𝑖x_{i}italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. Pivotal sampling selects such a subset while also guaranteeing strong negative correlation properties between individual indices. It does so by sequentially choosing a pair of fractional marginals, and applying a randomized “pivot” operation that makes at least one integral. We formally state some of the properties of the algorithm below which suffice for our analysis.

Theorem 2.2 (as in [Sri01]).

The pivotal sampling algorithm with input (xi)i=1nsuperscriptsubscriptsubscript𝑥𝑖𝑖1𝑛(x_{i})_{i=1}^{n}( italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT where ixiksubscript𝑖subscript𝑥𝑖𝑘\sum_{i}x_{i}\leq k∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ≤ italic_k efficiently produces a random subset of [n]delimited-[]𝑛[n][ italic_n ], denoted PS(x1,,xn)PSsubscript𝑥1subscript𝑥𝑛\textup{{PS}}(x_{1},\ldots,x_{n})PS ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ), with the following properties:

  1. (P1)

    For every i[n]𝑖delimited-[]𝑛i\in[n]italic_i ∈ [ italic_n ], we have Pr[iPS(x1,,xn)]=xiPr𝑖PSsubscript𝑥1subscript𝑥𝑛subscript𝑥𝑖\Pr[i\in\textup{{PS}}(x_{1},\ldots,x_{n})]=x_{i}roman_Pr [ italic_i ∈ PS ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) ] = italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT.

  2. (P2)

    The number of elements in PS(x1,,xn)PSsubscript𝑥1subscript𝑥𝑛\textup{{PS}}(x_{1},\ldots,x_{n})PS ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) is always at most k𝑘kitalic_k.

  3. (P3)

    (Negative cylinder dependence) For any I[n]𝐼delimited-[]𝑛I\subseteq[n]italic_I ⊆ [ italic_n ], we have

    Pr[iIiPS(x1,,xn)]iIPr[iPS(x1,,xn)]Prsubscript𝑖𝐼𝑖PSsubscript𝑥1subscript𝑥𝑛subscriptproduct𝑖𝐼Pr𝑖PSsubscript𝑥1subscript𝑥𝑛\Pr\left[\bigwedge_{i\in I}i\in\textup{{PS}}(x_{1},\ldots,x_{n})\right]\leq% \prod_{i\in I}\Pr[i\in\textup{{PS}}(x_{1},\ldots,x_{n})]roman_Pr [ ⋀ start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT italic_i ∈ PS ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) ] ≤ ∏ start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT roman_Pr [ italic_i ∈ PS ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) ]

    and

    Pr[iIiPS(x1,,xn)]iIPr[iPS(x1,,xn)].Prsubscript𝑖𝐼𝑖PSsubscript𝑥1subscript𝑥𝑛subscriptproduct𝑖𝐼Pr𝑖PSsubscript𝑥1subscript𝑥𝑛\Pr\left[\bigwedge_{i\in I}i\notin\textup{{PS}}(x_{1},\ldots,x_{n})\right]\leq% \prod_{i\in I}\Pr[i\notin\textup{{PS}}(x_{1},\ldots,x_{n})]\enspace.roman_Pr [ ⋀ start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT italic_i ∉ PS ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) ] ≤ ∏ start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT roman_Pr [ italic_i ∉ PS ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_x start_POSTSUBSCRIPT italic_n end_POSTSUBSCRIPT ) ] .

3 The Algorithm: A Two-Step Approach

We begin by a short description of our algorithm, before presenting the pseudocode in Algorithm 1. First we fix some useful definitions: we say user i𝑖iitalic_i is “allocated to t𝑡titalic_t” if it is one of the at most ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT users served by the resource, and “successfully allocated to t𝑡titalic_t” if it is allocated to t𝑡titalic_t and (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is successful (recall this is with probability qi,tsubscript𝑞𝑖𝑡q_{i,t}italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT). We say user i𝑖iitalic_i is “free at t𝑡titalic_t” or “available at t𝑡titalic_t” (or “free”/“available”, if the context is clear) if just before the arrival of resource t𝑡titalic_t, user i𝑖iitalic_i has not yet been successfully allocated to any previous resource.

Our algorithm uses an optimal solution {xi,t}subscript𝑥𝑖𝑡\{x_{i,t}\}{ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT } to (LPon) as input. After observing if resource t𝑡titalic_t arrives, if so, we sample a set of at most ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT users 𝖥𝖯tsubscript𝖥𝖯𝑡\mathsf{FP}_{t}sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT (denoting the first proposal for t𝑡titalic_t) using pivotal sampling, such that each user i𝑖iitalic_i is selected with marginal probability xi,t/ptsubscript𝑥𝑖𝑡subscript𝑝𝑡\nicefrac{{x_{i,t}}}{{p_{t}}}/ start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG. For every user i𝖥𝖯t𝑖subscript𝖥𝖯𝑡i\in\mathsf{FP}_{t}italic_i ∈ sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, if i𝑖iitalic_i is still available, we toss a coin independently with probability αi,t:=min(1,0.5+κ1(0.5+κ)t<txi,tqi,t)assignsubscript𝛼𝑖𝑡10.5𝜅10.5𝜅subscriptsuperscript𝑡𝑡subscript𝑥𝑖superscript𝑡subscript𝑞𝑖superscript𝑡\alpha_{i,t}:=\min\left(1,\frac{0.5+\kappa}{1-(0.5+\kappa)\cdot\sum_{t^{\prime% }<t}x_{i,t^{\prime}}\cdot q_{i,t^{\prime}}}\right)italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := roman_min ( 1 , divide start_ARG 0.5 + italic_κ end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ⋅ ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT end_ARG ), and allocate user i𝑖iitalic_i to resource t𝑡titalic_t if this coin toss is successful.

After this procedure, we have a number Atsubscript𝐴𝑡A_{t}italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT of users allocated to resource t𝑡titalic_t, where Atsubscript𝐴𝑡A_{t}italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT is a random variable which can take values in {0,,ct}0subscript𝑐𝑡\{0,\dots,c_{t}\}{ 0 , … , italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT }. In order to make use of the remaining space in the demand size of resource t𝑡titalic_t, we allow t𝑡titalic_t to make a second proposal. Again via the pivotal sampling subroutine, this time with a reduced marginal probability of (1Atct)xi,t/pt1subscript𝐴𝑡subscript𝑐𝑡subscript𝑥𝑖𝑡subscript𝑝𝑡(1-\frac{A_{t}}{c_{t}})\cdot x_{i,t}/p_{t}( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT / italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT for every user i𝑖iitalic_i, we sample a set of users 𝖲𝖯tsubscript𝖲𝖯𝑡\mathsf{SP}_{t}sansserif_SP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, denoting the second proposal with size at most ctAtsubscript𝑐𝑡subscript𝐴𝑡c_{t}-A_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT - italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. Among these users, we consider only those i𝑖iitalic_i for which αi,t=1subscript𝛼𝑖𝑡1\alpha_{i,t}=1italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = 1, i𝑖iitalic_i was free at t𝑡titalic_t, and i𝑖iitalic_i was not yet allocated to t𝑡titalic_t. For each such user i𝑖iitalic_i, we allocate to t𝑡titalic_t with probability βi,tsubscript𝛽𝑖𝑡\beta_{i,t}italic_β start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT. The factor βi,tsubscript𝛽𝑖𝑡\beta_{i,t}italic_β start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is chosen in a way to ensure that Pr[i allocated to t]=(0.5+κ)xi,tPr𝑖 allocated to 𝑡0.5𝜅subscript𝑥𝑖𝑡\Pr[i\text{ allocated to }t]=(0.5+\kappa)\cdot x_{i,t}roman_Pr [ italic_i allocated to italic_t ] = ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT, i.e., such that we don’t overmatch any (i,t)𝑖𝑡(i,t)( italic_i , italic_t ).

Algorithm 1
1:κ0.0115𝜅0.0115\kappa\leftarrow 0.0115italic_κ ← 0.0115
2:Solve (LPon) for {xi,t}subscript𝑥𝑖𝑡\{x_{i,t}\}{ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT }
3:for each time t𝑡titalic_t, if t𝑡titalic_t arrives do \triangleright w.p. ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT
4:     Define users 𝖥𝖯t:=PS((xi,t/pt)iI)assignsubscript𝖥𝖯𝑡PSsubscriptsubscript𝑥𝑖𝑡subscript𝑝𝑡𝑖𝐼\mathsf{FP}_{t}:=\textsf{PS}((x_{i,t}/p_{t})_{i\in I})sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT := PS ( ( italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT / italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT ) \triangleright at most ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT users get first proposal
5:     for each user i𝖥𝖯t𝑖subscript𝖥𝖯𝑡i\in\mathsf{FP}_{t}italic_i ∈ sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT do
6:         if i𝑖iitalic_i is available then
7:              Allocate i𝑖iitalic_i to t𝑡titalic_t with probability αi,t:=min(1,0.5+κ1(0.5+κ)t<txi,tqi,t)assignsubscript𝛼𝑖𝑡10.5𝜅10.5𝜅subscriptsuperscript𝑡𝑡subscript𝑥𝑖superscript𝑡subscript𝑞𝑖superscript𝑡\alpha_{i,t}:=\min\left(1,\frac{0.5+\kappa}{1-(0.5+\kappa)\cdot\sum_{t^{\prime% }<t}x_{i,t^{\prime}}\cdot q_{i,t^{\prime}}}\right)italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := roman_min ( 1 , divide start_ARG 0.5 + italic_κ end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ⋅ ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT end_ARG )               
8:     Let Atnumber of users allocated to t thus farsubscript𝐴𝑡number of users allocated to 𝑡 thus farA_{t}\leftarrow\text{number of users allocated to }t\text{ thus far}italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ← number of users allocated to italic_t thus far
9:     Define users 𝖲𝖯t:=PS(((1Atct)xi,t/pt)iI)assignsubscript𝖲𝖯𝑡PSsubscript1subscript𝐴𝑡subscript𝑐𝑡subscript𝑥𝑖𝑡subscript𝑝𝑡𝑖𝐼\mathsf{SP}_{t}:=\textsf{PS}(((1-\frac{A_{t}}{c_{t}})\cdot x_{i,t}/p_{t})_{i% \in I})sansserif_SP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT := PS ( ( ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT / italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT ) \triangleright ctAtabsentsubscript𝑐𝑡subscript𝐴𝑡\leq c_{t}-A_{t}≤ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT - italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT users get second proposal
10:     for each user i𝖲𝖯t𝑖subscript𝖲𝖯𝑡i\in\mathsf{SP}_{t}italic_i ∈ sansserif_SP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT with αi,t=1subscript𝛼𝑖𝑡1\alpha_{i,t}=1italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = 1 do
11:         if i𝑖iitalic_i is available and currently unallocated then
12:              Compute ρi,t:=𝔼[𝟙[i available and unallocated after 8](1Atct)t arrived]assignsubscript𝜌𝑖𝑡𝔼delimited-[]conditional1delimited-[]𝑖 available and unallocated after 81subscript𝐴𝑡subscript𝑐𝑡𝑡 arrived\rho_{i,t}:=\mathbb{E}[\mathbbm{1}[i\text{ available and unallocated after % \lx@cref{creftypecap~refnum}{line:sample_defAt}}]\cdot(1-\frac{A_{t}}{c_{t}})% \mid t\text{ arrived}]italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := blackboard_E [ blackboard_1 [ italic_i available and unallocated after ] ⋅ ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ∣ italic_t arrived ]
13:              βi,tmin(1,((0.5+κ)t<txi,tqi,t(0.5κ))1ρi,t).subscript𝛽𝑖𝑡10.5𝜅subscriptsuperscript𝑡𝑡subscript𝑥𝑖superscript𝑡subscript𝑞𝑖superscript𝑡0.5𝜅1subscript𝜌𝑖𝑡\beta_{i,t}\leftarrow\min\Big{(}1,\left((0.5+\kappa)\cdot\sum_{t^{\prime}<t}x_% {i,t^{\prime}}\cdot q_{i,t^{\prime}}-(0.5-\kappa)\right)\cdot\frac{1}{\rho_{i,% t}}\Big{)}.italic_β start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ← roman_min ( 1 , ( ( 0.5 + italic_κ ) ⋅ ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) ) ⋅ divide start_ARG 1 end_ARG start_ARG italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG ) .
14:              Allocate i𝑖iitalic_i to t𝑡titalic_t with prob. βi,tsubscript𝛽𝑖𝑡{\beta_{i,t}}italic_β start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT               

Concerning the definition of ρi,tsubscript𝜌𝑖𝑡\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT, we note that the expectation is over the randomness in the arrivals and algorithm up to when it reaches 8 for arrival t𝑡titalic_t in Algorithm 1 (in particular, we consider “re-running” the algorithm as defined thus far on a fresh instance). The indicator 𝟙[i available and unallocated after 8]1delimited-[]𝑖 available and unallocated after 8\mathbbm{1}[i\text{ available and unallocated after \lx@cref{% creftypecap~refnum}{line:sample_defAt}}]blackboard_1 [ italic_i available and unallocated after ] refers to the event that i𝑖iitalic_i was not successfully allocated to some t<tsuperscript𝑡𝑡t^{\prime}<titalic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t and is also not allocated yet to t𝑡titalic_t (it could be the case that i𝑖iitalic_i was allocated to some t<tsuperscript𝑡𝑡t^{\prime}<titalic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t, and this was unsuccessful). This indicator is potentially correlated with the number of allocated users Atsubscript𝐴𝑡A_{t}italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT.

The min(1,)1\min(1,\cdot)roman_min ( 1 , ⋅ ) in the definition of βi,tsubscript𝛽𝑖𝑡\beta_{i,t}italic_β start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is for convenience only; in particular, it is thus easy to see that the algorithm is well-defined. As a crux of our analysis, we will show that using κ=0.0115𝜅0.0115\kappa=0.0115italic_κ = 0.0115 ensures that the min(1,)1\min(1,\cdot)roman_min ( 1 , ⋅ ) in the definition of βi,tsubscript𝛽𝑖𝑡\beta_{i,t}italic_β start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is actually redundant.

In the remainder of this section, we will argue that Algorithm 1 is well-defined and guarantees to respect the capacity constraints of online resources.

Observation 3.1.

Algorithm 1 is well-defined.

Proof.

Note first that in 4, our call to the pivotal sampling algorithm PS()PS\textsf{PS}(\cdot)PS ( ⋅ ) is well-defined as each marginal xi,t/ptsubscript𝑥𝑖𝑡subscript𝑝𝑡\nicefrac{{x_{i,t}}}{{p_{t}}}/ start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG is in [0,1]01[0,1][ 0 , 1 ] by LPon Constraint (2). Each αi,tsubscript𝛼𝑖𝑡\alpha_{i,t}italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT as defined in 7 is clearly a probability by construction. Our second call to PS()PS\textsf{PS}(\cdot)PS ( ⋅ ) is similarly well-defined. Note that βi,tsubscript𝛽𝑖𝑡\beta_{i,t}italic_β start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is always a probability — if αi,t=1subscript𝛼𝑖𝑡1\alpha_{i,t}=1italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = 1, it implies that (0.5+κ)t<txi,tqi,t(0.5κ)0.5𝜅subscriptsuperscript𝑡𝑡subscript𝑥𝑖superscript𝑡subscript𝑞𝑖superscript𝑡0.5𝜅(0.5+\kappa)\cdot\sum_{t^{\prime}<t}x_{i,t^{\prime}}\cdot q_{i,t^{\prime}}\geq% (0.5-\kappa)( 0.5 + italic_κ ) ⋅ ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ≥ ( 0.5 - italic_κ ) by definition. This in turn shows that βi,tsubscript𝛽𝑖𝑡\beta_{i,t}italic_β start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is always in the interval [0,1]01[0,1][ 0 , 1 ].

Finally, note that user i𝑖iitalic_i is allocated only if available, and hence never successfully allocated to two different resources (or to the same resource twice). ∎

We also have that our algorithm respects capacity constraints for each online arrival.

Observation 3.2.

The number of users allocated to resource t𝑡titalic_t by Algorithm 1 is always at most ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT.

Proof.

By Property (P2) of pivotal sampling, the size of FPtsubscriptFP𝑡\textsf{FP}_{t}FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT is never larger than ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT as ixi,tptctsubscript𝑖subscript𝑥𝑖𝑡subscript𝑝𝑡subscript𝑐𝑡\sum_{i}\frac{x_{i,t}}{p_{t}}\leq c_{t}∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ≤ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT by Constraint (1). In addition, as we scale the marginals down for the second proposal set SPtsubscriptSP𝑡\textsf{SP}_{t}SP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, we are guaranteed that resource t𝑡titalic_t is only allocated at most ctAtsubscript𝑐𝑡subscript𝐴𝑡c_{t}-A_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT - italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT many users during the second proposal. ∎

We also note that every line except 12 can be implemented in polynomial time. Indeed, note 2 can be run efficiently as (LPon) has polynomial size, and that our calls to pivotal sampling can be implemented efficiently [Sri01].

12 requires exponential time as written, and for ease of presentation, in the next section we analyze the above exponential time algorithm. In Section 5 we show that we can replace this computation with a sample average and appeal to concentration bounds, while only losing an arbitrarily small ϵitalic-ϵ\epsilonitalic_ϵ in the approximation ratio. The main point of care is to argue that ρi,tsubscript𝜌𝑖𝑡\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is bounded away from 0 so that we can get a close multiplicative approximation.

4 Analysis: Beating a 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG-Approximation

Our main result is as follows.

Theorem 4.1.

For κ=0.0115𝜅0.0115\kappa=0.0115italic_κ = 0.0115, the social welfare achieved by Algorithm 1 satisfies

𝔼[SW](0.5+κ)OPTon.𝔼delimited-[]SW0.5𝜅subscriptOPTon\mathbb{E}\left[\mathrm{SW}\right]\geq(0.5+\kappa)\cdot\mathrm{OPT}_{\mathrm{% on}}\enspace.blackboard_E [ roman_SW ] ≥ ( 0.5 + italic_κ ) ⋅ roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT .

This section is dedicated to the proof of our main result. As mentioned before, we analyze the algorithm which has access to the expectation ρi,tsubscript𝜌𝑖𝑡\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT exactly. Note that this requires exponential time; however, in Section 5 we show that our sampling-based estimation only results in an additional loss of ϵitalic-ϵ\epsilonitalic_ϵ in the approximation. To prove this, we will rely on a consequence of our analysis, namely that the quantity ρi,tsubscript𝜌𝑖𝑡\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is always bounded away from zero by some constant. Using this, we can apply standard Chernoff-Hoeffding concentration bounds to get reasonably close to the exact ρi,tsubscript𝜌𝑖𝑡\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT within small multiplicative error.

To simplify the exposition, we will additionally assume that every allocation is successful, i.e., each success probability qi,tsubscript𝑞𝑖𝑡q_{i,t}italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT equals 1. In Appendix D we outline the necessary steps to generalize our analysis to the case of arbitrary success probabilities {qi,t}i,tsubscriptsubscript𝑞𝑖𝑡𝑖𝑡\{q_{i,t}\}_{i,t}{ italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT.

Outline.

Before diving into details we outline the ingredients in our proof of Theorem 4.1. Firstly we note that by 3.2, the size of Itsubscript𝐼𝑡I_{t}italic_I start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT (the set of users allocated to t𝑡titalic_t) is always at most ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, so

𝔼[SW]=𝔼[tmaxSIt,|S|ct(iSvi,t)]=i,tvi,tPr[i allocated to t].𝔼delimited-[]SW𝔼delimited-[]subscript𝑡subscriptformulae-sequence𝑆subscript𝐼𝑡𝑆subscript𝑐𝑡subscript𝑖𝑆subscript𝑣𝑖𝑡subscript𝑖𝑡subscript𝑣𝑖𝑡Pr𝑖 allocated to 𝑡\mathbb{E}\left[\mathrm{SW}\right]=\mathbb{E}\left[\sum_{t}\max_{S\subseteq I_% {t},|S|\leq c_{t}}\left(\sum_{i\in S}v_{i,t}\right)\right]=\sum_{i,t}v_{i,t}% \cdot\Pr[i\text{ allocated to }t].blackboard_E [ roman_SW ] = blackboard_E [ ∑ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT roman_max start_POSTSUBSCRIPT italic_S ⊆ italic_I start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , | italic_S | ≤ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ( ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ] = ∑ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_i allocated to italic_t ] .

We will note that bounding the term Pr[i allocated to t]Pr𝑖 allocated to 𝑡\Pr[i\text{ allocated to }t]roman_Pr [ italic_i allocated to italic_t ] naturally brings us into one of two cases. If (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is such that αi,t<1subscript𝛼𝑖𝑡1\alpha_{i,t}<1italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT < 1, the allocation of i𝑖iitalic_i to t𝑡titalic_t can only happen in 7 of our algorithm, and consequently it is straightforward to bound the resulting welfare (which we do in 4.4). We then turn our perspective towards pairs (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) with a subsampling probability αi,t=1subscript𝛼𝑖𝑡1\alpha_{i,t}=1italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = 1; for these, the analysis requires much more care. Again, we start by considering the contribution of allocating via a first proposal in Lemma 4.5 (i). Here the first proposal alone is not sufficient, and we are required to compensate for this via a suitable bound on the allocation probability via a second proposal. We do so by proving Lemma 4.5 (ii) which gives a sufficient lower bound of the contribution via a second proposal. This is the main technical contribution and will use lemmas analyzing the evolution of the correlation between offline users in Section 4.3.

Notation.

For convenience, we let yi,t:=t<txi,t.assignsubscript𝑦𝑖𝑡subscriptsuperscript𝑡𝑡subscript𝑥𝑖superscript𝑡y_{i,t}:=\sum_{t^{\prime}<t}x_{i,t^{\prime}}.italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT . Note that αi,t<1subscript𝛼𝑖𝑡1\alpha_{i,t}<1italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT < 1 exactly when yi,t<(0.5κ)(0.5+κ)1subscript𝑦𝑖𝑡0.5𝜅superscript0.5𝜅1y_{i,t}<(0.5-\kappa)\cdot(0.5+\kappa)^{-1}italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT < ( 0.5 - italic_κ ) ⋅ ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT. We hence define τ:=(0.5κ)(0.5+κ)1assign𝜏0.5𝜅superscript0.5𝜅1\tau:=(0.5-\kappa)\cdot(0.5+\kappa)^{-1}italic_τ := ( 0.5 - italic_κ ) ⋅ ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT as this threshold for yi,tsubscript𝑦𝑖𝑡y_{i,t}italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT after which the subsampling probability αi,tsubscript𝛼𝑖𝑡\alpha_{i,t}italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT becomes one. If for resource t𝑡titalic_t and user i𝑖iitalic_i we have yi,tτsubscript𝑦𝑖𝑡𝜏y_{i,t}\leq\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≤ italic_τ, then we call the pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) early. Otherwise, we call the pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) late. In addition, we define 𝒜1subscript𝒜1\mathcal{A}_{1}caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT as the set of all pairs (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) such that user i𝑖iitalic_i was allocated to resource t𝑡titalic_t in 7, and 𝒜2subscript𝒜2\mathcal{A}_{2}caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT as the set of all pairs (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) such that i𝑖iitalic_i was allocated to t𝑡titalic_t in 14.

As i𝑖iitalic_i is not allocated more than once in our algorithm, we quickly observe the following claim.

Observation 4.2.

For any resource t𝑡titalic_t, we have

𝔼[maxSIt,|S|ct(iSvi,t)]=iIvi,t(Pr[(i,t)𝒜1]+Pr[(i,t)𝒜2]).𝔼delimited-[]subscriptformulae-sequence𝑆subscript𝐼𝑡𝑆subscript𝑐𝑡subscript𝑖𝑆subscript𝑣𝑖𝑡subscript𝑖𝐼subscript𝑣𝑖𝑡Pr𝑖𝑡subscript𝒜1Pr𝑖𝑡subscript𝒜2\mathbb{E}\left[\max_{S\subseteq I_{t},|S|\leq c_{t}}\left(\sum_{i\in S}v_{i,t% }\right)\right]=\sum_{i\in I}v_{i,t}\cdot(\Pr[(i,t)\in\mathcal{A}_{1}]+\Pr[(i,% t)\in\mathcal{A}_{2}]).blackboard_E [ roman_max start_POSTSUBSCRIPT italic_S ⊆ italic_I start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT , | italic_S | ≤ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ( ∑ start_POSTSUBSCRIPT italic_i ∈ italic_S end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ] = ∑ start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] + roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] ) .

To analyze the probabilities Pr[(i,t)𝒜1]Pr𝑖𝑡subscript𝒜1\Pr[(i,t)\in\mathcal{A}_{1}]roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] and Pr[(i,t)𝒜2]Pr𝑖𝑡subscript𝒜2\Pr[(i,t)\in\mathcal{A}_{2}]roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ], we consider two separate cases based on whether (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is early (Section 4.1) or late (Section 4.2).

4.1 Analysis for Early Pairs

It will be crucial to bound the probability of a user i𝑖iitalic_i being free at time t𝑡titalic_t. We denote the event that user i𝑖iitalic_i is free or available (i.e., not allocated) at the arrival of resource t𝑡titalic_t by Fi,tsubscript𝐹𝑖𝑡F_{i,t}italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT. The following observation gives an expression of the probability with respect to the LP variables. It is crucial to note that if a pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is early, so is every pair (i,t)𝑖superscript𝑡(i,t^{\prime})( italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) with t<tsuperscript𝑡𝑡t^{\prime}<titalic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t.

Observation 4.3.

For early pairs (i,t)𝑖𝑡(i,t)( italic_i , italic_t ), we have Pr[Fi,t]=1(0.5+κ)yi,tPrsubscript𝐹𝑖𝑡10.5𝜅subscript𝑦𝑖𝑡\Pr[F_{i,t}]=1-(0.5+\kappa)\cdot y_{i,t}roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] = 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT.

Proof.

We proceed via induction on t𝑡titalic_t. Before the arrival of the first resource, the claim is trivially true, as all users are available with probability one. Afterwards, note that

Pr[(i,t)𝒜1]Pr𝑖𝑡subscript𝒜1\displaystyle\Pr[(i,t)\in\mathcal{A}_{1}]roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] =ptPr[i𝖥𝖯t]Pr[Fi,t]αi,tabsentsubscript𝑝𝑡Pr𝑖subscript𝖥𝖯𝑡Prsubscript𝐹𝑖𝑡subscript𝛼𝑖𝑡\displaystyle=p_{t}\cdot\Pr[i\in\mathsf{FP}_{t}]\cdot\Pr[F_{i,t}]\cdot\alpha_{% i,t}= italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_i ∈ sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT (3)

as t𝑡titalic_t’s arrival, i𝑖iitalic_i being included in 𝖥𝖯tsubscript𝖥𝖯𝑡\mathsf{FP}_{t}sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, Fi,tsubscript𝐹𝑖𝑡F_{i,t}italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT and the algorithm’s Ber(αi,t)Bersubscript𝛼𝑖𝑡\text{Ber}(\alpha_{i,t})Ber ( italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) coin flip are mutually independent events. If (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is early, then αi,t=0.5+κ1(0.5+κ)yi,tsubscript𝛼𝑖𝑡0.5𝜅10.5𝜅subscript𝑦𝑖𝑡\alpha_{i,t}=\frac{0.5+\kappa}{1-(0.5+\kappa)\cdot y_{i,t}}italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = divide start_ARG 0.5 + italic_κ end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG, so we have

Pr[(i,t)𝒜1]=ptxi,tpt(1(0.5+κ)yi,t)0.5+κ1(0.5+κ)yi,t=(0.5+κ)xi,t,Pr𝑖𝑡subscript𝒜1subscript𝑝𝑡subscript𝑥𝑖𝑡subscript𝑝𝑡10.5𝜅subscript𝑦𝑖𝑡0.5𝜅10.5𝜅subscript𝑦𝑖𝑡0.5𝜅subscript𝑥𝑖𝑡\Pr[(i,t)\in\mathcal{A}_{1}]=p_{t}\cdot\frac{x_{i,t}}{p_{t}}\cdot(1-(0.5+% \kappa)\cdot y_{i,t})\cdot\frac{0.5+\kappa}{1-(0.5+\kappa)\cdot y_{i,t}}=(0.5+% \kappa)\cdot x_{i,t},roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] = italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ⋅ ( 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ divide start_ARG 0.5 + italic_κ end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG = ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ,

where we also use the induction hypothesis for the probability of the user being free at the arrival of resource t𝑡titalic_t. For early (i,t)𝑖𝑡(i,t)( italic_i , italic_t ), we also clearly have Pr[(i,t)𝒜2]=0Pr𝑖𝑡subscript𝒜20\Pr[(i,t)\in\mathcal{A}_{2}]=0roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] = 0, so

Pr[Fi,t+1]Prsubscript𝐹𝑖𝑡1\displaystyle\Pr[F_{i,t+1}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] =Pr[Fi,t]Pr[(i,t)𝒜1]=1(0.5+κ)yi,t+1.absentPrsubscript𝐹𝑖𝑡Pr𝑖𝑡subscript𝒜110.5𝜅subscript𝑦𝑖𝑡1\displaystyle=\Pr[F_{i,t}]-\Pr[(i,t)\in\mathcal{A}_{1}]=1-(0.5+\kappa)\cdot y_% {i,t+1}.\qed= roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] - roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] = 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT . italic_∎

As a consequence we can bound the contribution of an early pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) to 𝒜1subscript𝒜1\mathcal{A}_{1}caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT and 𝒜2subscript𝒜2\mathcal{A}_{2}caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT, as follows.

Observation 4.4.

For early pairs (i,t)𝑖𝑡(i,t)( italic_i , italic_t ), Pr[(i,t)𝒜1]=(0.5+κ)xi,tPr𝑖𝑡subscript𝒜10.5𝜅subscript𝑥𝑖𝑡\Pr[(i,t)\in\mathcal{A}_{1}]=(0.5+\kappa)\cdot x_{i,t}roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] = ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT and Pr[(i,t)𝒜2]=0Pr𝑖𝑡subscript𝒜20{\Pr[(i,t)\in\mathcal{A}_{2}]=0}roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] = 0.

Thus for early pairs (i,t)𝑖𝑡(i,t)( italic_i , italic_t ), our algorithm achieves the desired allocation probability.

4.2 Analysis for Late Pairs implies Theorem 4.1

For late pairs, we show the following lemma which will be sufficient to prove our main Theorem 4.1.

Lemma 4.5.

For late pairs (i,t)𝑖𝑡(i,t)( italic_i , italic_t ), the following two statements hold:

  • (i)

    Pr[(i,t)𝒜1]=(1(0.5+κ)yi,t)xi,tPr𝑖𝑡subscript𝒜110.5𝜅subscript𝑦𝑖𝑡subscript𝑥𝑖𝑡\Pr[(i,t)\in\mathcal{A}_{1}]=(1-(0.5+\kappa)\cdot y_{i,t})\cdot x_{i,t}roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] = ( 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT, and

  • (ii)

    Pr[(i,t)𝒜2]=((0.5+κ)yi,t0.5+κ)xi,tPr𝑖𝑡subscript𝒜20.5𝜅subscript𝑦𝑖𝑡0.5𝜅subscript𝑥𝑖𝑡\Pr[(i,t)\in\mathcal{A}_{2}]=((0.5+\kappa)\cdot y_{i,t}-0.5+\kappa)\cdot x_{i,t}roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] = ( ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT.

We note that this immediately implies our main result.

Proof of Theorem 4.1..

We have Pr[(i,t)𝒜1]+Pr[(i,t)𝒜2]=(0.5+κ)xi,tPr𝑖𝑡subscript𝒜1Pr𝑖𝑡subscript𝒜20.5𝜅subscript𝑥𝑖𝑡\Pr[(i,t)\in\mathcal{A}_{1}]+\Pr[(i,t)\in\mathcal{A}_{2}]=(0.5+\kappa)\cdot x_% {i,t}roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] + roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] = ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT for any pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) by 4.4 and Lemma 4.5. Hence, using the decomposition in 4.2, we have

𝔼[tvt(It)]𝔼delimited-[]subscript𝑡subscript𝑣𝑡subscript𝐼𝑡\displaystyle\mathbb{E}\left[\sum_{t}v_{t}(I_{t})\right]blackboard_E [ ∑ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( italic_I start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ] =tiIvi,t(Pr[(i,t)𝒜1]+Pr[(i,t)𝒜2])absentsubscript𝑡subscript𝑖𝐼subscript𝑣𝑖𝑡Pr𝑖𝑡subscript𝒜1Pr𝑖𝑡subscript𝒜2\displaystyle=\sum_{t}\sum_{i\in I}v_{i,t}\cdot(\Pr[(i,t)\in\mathcal{A}_{1}]+% \Pr[(i,t)\in\mathcal{A}_{2}])= ∑ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] + roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] )
=tiIvi,t(0.5+κ)xi,tabsentsubscript𝑡subscript𝑖𝐼subscript𝑣𝑖𝑡0.5𝜅subscript𝑥𝑖𝑡\displaystyle=\sum_{t}\sum_{i\in I}v_{i,t}\cdot(0.5+\kappa)\cdot x_{i,t}= ∑ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT
=(0.5+κ)OPT(LPon)(0.5+κ)OPTon.absent0.5𝜅OPTitalic-(LPonitalic-)0.5𝜅subscriptOPTon\displaystyle=(0.5+\kappa)\cdot\mathrm{OPT}\eqref{LP}\geq(0.5+\kappa)\cdot% \mathrm{OPT}_{\mathrm{on}}.\qed= ( 0.5 + italic_κ ) ⋅ roman_OPT italic_( italic_) ≥ ( 0.5 + italic_κ ) ⋅ roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT . italic_∎

Thus, it remains to prove Lemma 4.5. Our analysis here requires significantly more care as it must bound the gain from the second proposal. As the second proposal’s marginal probabilities are dependent on which offline users were allocated in the first proposal, a complete analysis must consider the correlation introduced.

4.2.1 Proof of Lemma 4.5 (i)

As for early pairs, the remainder of our proof will proceed by induction on t𝑡titalic_t. Thus, for every late pair (i,t)𝑖superscript𝑡(i,t^{\prime})( italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) with t<tsuperscript𝑡𝑡t^{\prime}<titalic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t, by the inductive hypothesis we have Pr[(i,t)𝒜1]+Pr[(i,t)𝒜2]=(0.5+κ)xi,tPr𝑖superscript𝑡subscript𝒜1Pr𝑖superscript𝑡subscript𝒜20.5𝜅subscript𝑥𝑖superscript𝑡\Pr[(i,t^{\prime})\in\mathcal{A}_{1}]+\Pr[(i,t^{\prime})\in\mathcal{A}_{2}]=(0% .5+\kappa)\cdot x_{i,t^{\prime}}roman_Pr [ ( italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] + roman_Pr [ ( italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] = ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT. Recall also that for every early pair (i,t)𝑖superscript𝑡(i,t^{\prime})( italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) we know from 4.4 that Pr[(i,t)𝒜1]+Pr[(i,t)𝒜2]=(0.5+κ)xi,tPr𝑖superscript𝑡subscript𝒜1Pr𝑖superscript𝑡subscript𝒜20.5𝜅subscript𝑥𝑖superscript𝑡\Pr[(i,t^{\prime})\in\mathcal{A}_{1}]+\Pr[(i,t^{\prime})\in\mathcal{A}_{2}]=(0% .5+\kappa)\cdot x_{i,t^{\prime}}roman_Pr [ ( italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] + roman_Pr [ ( italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] = ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT. Thus, we may assume that for the late pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) being considered we have

Pr[Fi,t]=1(0.5+κ)yi,t.Prsubscript𝐹𝑖𝑡10.5𝜅subscript𝑦𝑖𝑡\displaystyle\Pr[F_{i,t}]=1-(0.5+\kappa)\cdot y_{i,t}.roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] = 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT . (4)

With this, bounding the probability of allocation along a first proposal is very straightforward.

Proof of Lemma 4.5 (i)..

Note that

Pr[(i,t)𝒜1]Pr𝑖𝑡subscript𝒜1\displaystyle\Pr[(i,t)\in\mathcal{A}_{1}]roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] =ptPr[Fi,t]Pr[iFPt]αi,tabsentsubscript𝑝𝑡Prsubscript𝐹𝑖𝑡Pr𝑖subscriptFP𝑡subscript𝛼𝑖𝑡\displaystyle=p_{t}\cdot\Pr[F_{i,t}]\cdot\Pr[i\in\textsf{FP}_{t}]\cdot\alpha_{% i,t}= italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_i ∈ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT (Equation (3))
=pt(1(0.5+κ)yi,t)xi,tpt1absentsubscript𝑝𝑡10.5𝜅subscript𝑦𝑖𝑡subscript𝑥𝑖𝑡subscript𝑝𝑡1\displaystyle=p_{t}\cdot\left(1-(0.5+\kappa)\cdot y_{i,t}\right)\cdot\frac{x_{% i,t}}{p_{t}}\cdot 1= italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ ( 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ⋅ 1 (Equation 4)
=(1(0.5+κ)yi,t)xi,t.absent10.5𝜅subscript𝑦𝑖𝑡subscript𝑥𝑖𝑡\displaystyle=(1-(0.5+\kappa)\cdot y_{i,t})\cdot x_{i,t}.= ( 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT .

This completes the proof of Lemma 4.5 (i), and the remainder of this section is dedicated to the proof of Lemma 4.5 (ii).

4.2.2 Proof of Lemma 4.5 (ii)

We begin by bounding Pr[(i,t)𝒜2]Pr𝑖𝑡subscript𝒜2\Pr[(i,t)\in\mathcal{A}_{2}]roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] for late pairs (i,t)𝑖𝑡(i,t)( italic_i , italic_t ), in the natural way which depends on the number of allocated users during the first proposal in 7. (Recall that this is because for second proposals, we reduce the marginal probabilities for pivotal sampling algorithm by a factor of 1At/ct1subscript𝐴𝑡subscript𝑐𝑡1-\nicefrac{{A_{t}}}{{c_{t}}}1 - / start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG). Note that for (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) to be matched as a second proposal we need all of the following to happen: (i) t𝑡titalic_t should arrive, (ii) i𝑖iitalic_i must be available and unallocated after 8, and included as a second proposal, and (iii) the potential match (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) should survive the final downsampling by βi,tsubscript𝛽𝑖𝑡\beta_{i,t}italic_β start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT. This lets us observe

Pr[(i,t)\displaystyle\Pr[(i,t)roman_Pr [ ( italic_i , italic_t ) 𝒜2]\displaystyle\in\mathcal{A}_{2}]∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ]
=ptPr[i available and unallocated after 8iSPtt arrived]βi,tabsentsubscript𝑝𝑡Pr𝑖 available and unallocated after 8𝑖conditionalsubscriptSP𝑡𝑡 arrivedsubscript𝛽𝑖𝑡\displaystyle=p_{t}\cdot\Pr[i\text{ available and unallocated after \lx@cref{% creftypecap~refnum}{line:sample_defAt}}\wedge i\in\textsf{SP}_{t}\mid t\text{ % arrived}]\cdot\beta_{i,t}= italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_i available and unallocated after ∧ italic_i ∈ SP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived ] ⋅ italic_β start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT
=pt𝔼[𝟙[i available and unallocated after 8](1Atct)xi,tpt|t arrived]βi,t\displaystyle=p_{t}\cdot\mathbb{E}\left[\mathbbm{1}[i\text{ available and % unallocated after \lx@cref{creftypecap~refnum}{line:sample_defAt}}]\cdot\left(% 1-\frac{A_{t}}{c_{t}}\right)\cdot\frac{x_{i,t}}{p_{t}}\bigm{|}t\text{ arrived}% \right]\cdot\beta_{i,t}= italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ blackboard_E [ blackboard_1 [ italic_i available and unallocated after ] ⋅ ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ⋅ divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG | italic_t arrived ] ⋅ italic_β start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT
=xi,tρi,tβi,t.absentsubscript𝑥𝑖𝑡subscript𝜌𝑖𝑡subscript𝛽𝑖𝑡\displaystyle=x_{i,t}\cdot\rho_{i,t}\cdot\beta_{i,t}.= italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_β start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT . (5)

For the second equality, we relied on Property (P1) of pivotal sampling, which guarantees that individual elements are sampled with exactly their marginal probability. Note that this marginal probability is random, and potentially correlated with 𝟙[i available and unallocated after 8]1delimited-[]𝑖 available and unallocated after 8\mathbbm{1}[i\text{ available and unallocated after \lx@cref{% creftypecap~refnum}{line:sample_defAt}}]blackboard_1 [ italic_i available and unallocated after ].

Recall that βi,t:=min(1,((0.5+κ)yi,t(0.5κ))1ρi,t)assignsubscript𝛽𝑖𝑡10.5𝜅subscript𝑦𝑖𝑡0.5𝜅1subscript𝜌𝑖𝑡\beta_{i,t}:=\min\Big{(}1,\left((0.5+\kappa)\cdot y_{i,t}-(0.5-\kappa)\right)% \cdot\frac{1}{\rho_{i,t}}\Big{)}italic_β start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := roman_min ( 1 , ( ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) ) ⋅ divide start_ARG 1 end_ARG start_ARG italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG ). If the min(1,)1\min(1,\cdot)roman_min ( 1 , ⋅ ) here is redundant, we are immediately done; this is concretized in the following observation.

Observation 4.6.

If ρi,t(0.5+κ)yi,t(0.5κ)subscript𝜌𝑖𝑡0.5𝜅subscript𝑦𝑖𝑡0.5𝜅\rho_{i,t}\geq(0.5+\kappa)y_{i,t}-(0.5-\kappa)italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≥ ( 0.5 + italic_κ ) italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ), then

Pr[(i,t)𝒜2]=xi,t((0.5+κ)yi,t(0.5κ)).Pr𝑖𝑡subscript𝒜2subscript𝑥𝑖𝑡0.5𝜅subscript𝑦𝑖𝑡0.5𝜅\Pr[(i,t)\in\mathcal{A}_{2}]=x_{i,t}\cdot\left((0.5+\kappa)\cdot y_{i,t}-(0.5-% \kappa)\right).roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] = italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) ) .

Thus it suffices to show that the hypothesis of this observation holds. In other words, for the remainder of the proof, the only thing we need to show is the following proposition.

Proposition 4.7.

For any late pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ), we have ρi,t(0.5+κ)yi,t(0.5κ)subscript𝜌𝑖𝑡0.5𝜅subscript𝑦𝑖𝑡0.5𝜅\rho_{i,t}\geq(0.5+\kappa)y_{i,t}-(0.5-\kappa)italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≥ ( 0.5 + italic_κ ) italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ).

As a first step, we start with the following lower bound on ρi,tsubscript𝜌𝑖𝑡\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT.

Lemma 4.8.

For late pairs (i,t)𝑖𝑡(i,t)( italic_i , italic_t ),

ρi,t(1(0.5+κ)yi,t)(τ𝔼[Att arrived,Fi,t]ct).subscript𝜌𝑖𝑡10.5𝜅subscript𝑦𝑖𝑡𝜏𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡subscript𝑐𝑡\rho_{i,t}\geq(1-(0.5+\kappa)\cdot y_{i,t})\cdot\left(\tau-\frac{\mathbb{E}[A_% {t}\mid t\textup{ arrived},F_{i,t}]}{c_{t}}\right).italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≥ ( 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ ( italic_τ - divide start_ARG blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) .
Proof of Lemma 4.8..

Note first that we can expand

ρi,tsubscript𝜌𝑖𝑡\displaystyle\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT =𝔼[𝟙[i available and unallocated after 8](1Atct)t arrived]absent𝔼delimited-[]conditional1delimited-[]𝑖 available and unallocated after 81subscript𝐴𝑡subscript𝑐𝑡𝑡 arrived\displaystyle=\mathbb{E}\left[\mathbbm{1}[i\text{ available and unallocated % after \lx@cref{creftypecap~refnum}{line:sample_defAt}}]\cdot\left(1-\frac{A_{t% }}{c_{t}}\right)\mid t\text{ arrived}\right]= blackboard_E [ blackboard_1 [ italic_i available and unallocated after ] ⋅ ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ∣ italic_t arrived ]
=Pr[Fi,tt arrived]𝔼[𝟙[i not allocated in 7](1Atct)t arrived,Fi,t]absentPrconditionalsubscript𝐹𝑖𝑡𝑡 arrived𝔼delimited-[]conditional1delimited-[]𝑖 not allocated in 71subscript𝐴𝑡subscript𝑐𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\displaystyle=\Pr[F_{i,t}\mid t\text{ arrived}]\cdot\mathbb{E}\left[\mathbbm{1% }[i\text{ not allocated in \lx@cref{creftypecap~refnum}{line:firstmatch}}]% \cdot\left(1-\frac{A_{t}}{c_{t}}\right)\mid t\text{ arrived},F_{i,t}\right]= roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∣ italic_t arrived ] ⋅ blackboard_E [ blackboard_1 [ italic_i not allocated in ] ⋅ ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ]
=Pr[Fi,t]𝔼[𝟙[i not allocated in 7](1Atct)t arrived,Fi,t].absentPrsubscript𝐹𝑖𝑡𝔼delimited-[]conditional1delimited-[]𝑖 not allocated in 71subscript𝐴𝑡subscript𝑐𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\displaystyle=\Pr[F_{i,t}]\cdot\mathbb{E}\left[\mathbbm{1}[i\text{ not % allocated in \lx@cref{creftypecap~refnum}{line:firstmatch}}]\cdot\left(1-\frac% {A_{t}}{c_{t}}\right)\mid t\text{ arrived},F_{i,t}\right].= roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ blackboard_E [ blackboard_1 [ italic_i not allocated in ] ⋅ ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] .

Note that as the pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is late, we have αi,t=1subscript𝛼𝑖𝑡1\alpha_{i,t}=1italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = 1. Hence, conditioned on being free and the arrival of resource t𝑡titalic_t, user i𝑖iitalic_i is not allocated in 7 if and only if it is not contained in the set 𝖥𝖯tsubscript𝖥𝖯𝑡\mathsf{FP}_{t}sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. This allows us to bound

𝔼[𝟙[i not allocated in 7]\displaystyle\mathbb{E}\Bigg{[}\mathbbm{1}[i\text{ not allocated in \lx@cref{% creftypecap~refnum}{line:firstmatch}}]blackboard_E [ blackboard_1 [ italic_i not allocated in ] (1Atct)t arrived,Fi,t]\displaystyle\cdot\left(1-\frac{A_{t}}{c_{t}}\right)\mid t\text{ arrived},F_{i% ,t}\Bigg{]}⋅ ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ]
=𝔼[𝟙[iFPt](1Atct)t arrived,Fi,t]absent𝔼delimited-[]conditional1delimited-[]𝑖subscriptFP𝑡1subscript𝐴𝑡subscript𝑐𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\displaystyle=\mathbb{E}\left[\mathbbm{1}[i\notin\textsf{FP}_{t}]\cdot\left(1-% \frac{A_{t}}{c_{t}}\right)\mid t\text{ arrived},F_{i,t}\right]= blackboard_E [ blackboard_1 [ italic_i ∉ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] ⋅ ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ]
=(1xi,tpt)𝔼[(1Atct)t arrived,Fi,t,iFPt]absent1subscript𝑥𝑖𝑡subscript𝑝𝑡𝔼delimited-[]conditional1subscript𝐴𝑡subscript𝑐𝑡𝑡 arrivedsubscript𝐹𝑖𝑡𝑖subscriptFP𝑡\displaystyle=\left(1-\frac{x_{i,t}}{p_{t}}\right)\cdot\mathbb{E}\left[\left(1% -\frac{A_{t}}{c_{t}}\right)\mid t\text{ arrived},F_{i,t},i\notin\textsf{FP}_{t% }\right]= ( 1 - divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ⋅ blackboard_E [ ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT , italic_i ∉ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ]
τ𝔼[(1Atct)t arrived,Fi,t,iFPt].absent𝜏𝔼delimited-[]conditional1subscript𝐴𝑡subscript𝑐𝑡𝑡 arrivedsubscript𝐹𝑖𝑡𝑖subscriptFP𝑡\displaystyle\geq\tau\cdot\mathbb{E}\left[\left(1-\frac{A_{t}}{c_{t}}\right)% \mid t\text{ arrived},F_{i,t},i\notin\textsf{FP}_{t}\right].≥ italic_τ ⋅ blackboard_E [ ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT , italic_i ∉ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] .

To reason about the resulting expectation, we first apply the following bounding to remove the conditioning on iFPt𝑖subscriptFP𝑡i\notin\textsf{FP}_{t}italic_i ∉ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT:

𝔼[Att arrived,Fi,t,i𝖥𝖯t]𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡𝑖subscript𝖥𝖯𝑡\displaystyle\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t},i\notin\mathsf{FP}_% {t}]blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT , italic_i ∉ sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] =𝔼[At𝟙i𝖥𝖯tt arrived,Fi,t]Pr[i𝖥𝖯tt arrived,Fi,t]absent𝔼delimited-[]conditionalsubscript𝐴𝑡subscript1𝑖subscript𝖥𝖯𝑡𝑡 arrivedsubscript𝐹𝑖𝑡Pr𝑖conditionalsubscript𝖥𝖯𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\displaystyle=\frac{\mathbb{E}[A_{t}\cdot\mathds{1}_{i\notin\mathsf{FP}_{t}}% \mid t\text{ arrived},F_{i,t}]}{\Pr[i\notin\mathsf{FP}_{t}\mid t\text{ arrived% },F_{i,t}]}= divide start_ARG blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ blackboard_1 start_POSTSUBSCRIPT italic_i ∉ sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] end_ARG start_ARG roman_Pr [ italic_i ∉ sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] end_ARG
𝔼[Att arrived,Fi,t]Pr[i𝖥𝖯tt arrived,Fi,t].absent𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡Pr𝑖conditionalsubscript𝖥𝖯𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\displaystyle\leq\frac{\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}]}{\Pr[i% \notin\mathsf{FP}_{t}\mid t\text{ arrived},F_{i,t}]}\enspace.≤ divide start_ARG blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] end_ARG start_ARG roman_Pr [ italic_i ∉ sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] end_ARG .

In addition, note that Pr[i𝖥𝖯tt arrived,Fi,t]=1xi,tptyi,tτPr𝑖conditionalsubscript𝖥𝖯𝑡𝑡 arrivedsubscript𝐹𝑖𝑡1subscript𝑥𝑖𝑡subscript𝑝𝑡subscript𝑦𝑖𝑡𝜏\Pr[i\notin\mathsf{FP}_{t}\mid t\text{ arrived},F_{i,t}]=1-\frac{x_{i,t}}{p_{t% }}\geq y_{i,t}\geq\tauroman_Pr [ italic_i ∉ sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] = 1 - divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ≥ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≥ italic_τ as pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is late. Thus we get

𝔼[Att arrived,Fi,t,iFPt]1τ𝔼[Att arrived,Fi,t].𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡𝑖subscriptFP𝑡1𝜏𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\displaystyle\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t},i\notin\textsf{FP}_% {t}]\leq\frac{1}{\tau}\cdot\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}].blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT , italic_i ∉ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] ≤ divide start_ARG 1 end_ARG start_ARG italic_τ end_ARG ⋅ blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] .

By substitution and using Equation 4, we directly conclude

ρi,tsubscript𝜌𝑖𝑡\displaystyle\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT Pr[Fi,t]τ(1𝔼[Att arrived,Fi,t]ctτ1)absentPrsubscript𝐹𝑖𝑡𝜏1𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡subscript𝑐𝑡superscript𝜏1\displaystyle\geq\Pr[F_{i,t}]\cdot\tau\cdot\left(1-\frac{\mathbb{E}[A_{t}\mid t% \text{ arrived},F_{i,t}]}{c_{t}}\cdot\tau^{-1}\right)≥ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ italic_τ ⋅ ( 1 - divide start_ARG blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ⋅ italic_τ start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ) (6)
=(1(0.5+κ)yi,t)(τ𝔼[Att arrived,Fi,t]ct).absent10.5𝜅subscript𝑦𝑖𝑡𝜏𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡subscript𝑐𝑡\displaystyle=(1-(0.5+\kappa)\cdot y_{i,t})\cdot\left(\tau-\frac{\mathbb{E}[A_% {t}\mid t\text{ arrived},F_{i,t}]}{c_{t}}\right).= ( 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ ( italic_τ - divide start_ARG blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) . (via Equation 4)

as claimed. ∎

In order to exploit the bound obtained in Lemma 4.8, we need to control 𝔼[Att arrived,Fi,t]𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}]blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ]. In particular, our goal is to show that 𝔼[Att arrived,Fi,t]𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}]blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] is bounded away from ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT by a multiplicative constant smaller than 1111. If there was no conditioning on Fi,tsubscript𝐹𝑖𝑡F_{i,t}italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT, it is easy to check that

𝔼[Att arrived]=jPr[Fj,t]Pr[jFPt]αj,t(0.5+κ)ct.𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝑗Prsubscript𝐹𝑗𝑡Pr𝑗subscriptFP𝑡subscript𝛼𝑗𝑡0.5𝜅subscript𝑐𝑡\mathbb{E}[A_{t}\mid t\text{ arrived}]=\sum_{j}\Pr[F_{j,t}]\cdot\Pr[j\in% \textsf{FP}_{t}]\cdot\alpha_{j,t}\leq(0.5+\kappa)\cdot c_{t}.blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived ] = ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_j ∈ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ≤ ( 0.5 + italic_κ ) ⋅ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT .

The conditioning could however lead us into trouble in the following way: When facing the conditioning, we end up with the expression

𝔼[Att arrived,Fi,t]=jPr[Fj,tFi,t]Pr[jFPt]αj,t.𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡subscript𝑗Prconditionalsubscript𝐹𝑗𝑡subscript𝐹𝑖𝑡Pr𝑗subscriptFP𝑡subscript𝛼𝑗𝑡\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}]=\sum_{j}\Pr[F_{j,t}\mid F_{i,t}% ]\cdot\Pr[j\in\textsf{FP}_{t}]\cdot\alpha_{j,t}.blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] = ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_j ∈ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT .

If Fi,tsubscript𝐹𝑖𝑡F_{i,t}italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT implies Fj,tsubscript𝐹𝑗𝑡F_{j,t}italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT for every ji𝑗𝑖j\neq iitalic_j ≠ italic_i, and αj,t1subscript𝛼𝑗𝑡1\alpha_{j,t}\approx 1italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ≈ 1 for every ji𝑗𝑖j\neq iitalic_j ≠ italic_i, then

𝔼[Att arrived,Fi,t]i1xi,tpt1𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡subscript𝑖1subscript𝑥𝑖𝑡subscript𝑝𝑡1{\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}]}\approx\sum_{i}1\cdot\frac{x_{% i,t}}{p_{t}}\cdot 1blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ≈ ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT 1 ⋅ divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ⋅ 1

where the right-hand side could equal ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. This, in particular, would make the second proposal in our algorithm completely useless as we would reduce the marginal probabilities for the pivotal sampling in 9 to (almost) zero. The most crucial part of our analysis is to demonstrate that this cannot happen, by bounding the possible positive correlation introduced between offline users.

Lemma 4.9.

For any distinct users i𝑖iitalic_i and j𝑗jitalic_j, and Δκ:=(1+(0.5+κ)20.5κ)(0.5+κ0.5κ)2assignsubscriptΔ𝜅1superscript0.5𝜅20.5𝜅superscript0.5𝜅0.5𝜅2\Delta_{\kappa}:=\left(1+\frac{(0.5+\kappa)^{2}}{0.5-\kappa}\right)\cdot\left(% \frac{0.5+\kappa}{0.5-\kappa}\right)^{2}roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT := ( 1 + divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 0.5 - italic_κ end_ARG ) ⋅ ( divide start_ARG 0.5 + italic_κ end_ARG start_ARG 0.5 - italic_κ end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT, for any t𝑡titalic_t we have

Pr[Fi,tFj,t]ΔκPr[Fi,t]Pr[Fj,t].Prsubscript𝐹𝑖𝑡subscript𝐹𝑗𝑡subscriptΔ𝜅Prsubscript𝐹𝑖𝑡Prsubscript𝐹𝑗𝑡\Pr[F_{i,t}\wedge F_{j,t}]\leq\Delta_{\kappa}\cdot\Pr[F_{i,t}]\cdot\Pr[F_{j,t}].roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ≤ roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] .

The proof of Lemma 4.9 is deferred to Section 4.3; in the remainder of this section we demonstrate why it implies our bound on the approximation ratio. We note that for κ=0.0115𝜅0.0115\kappa=0.0115italic_κ = 0.0115 (the value we choose in Algorithm 1), we have Δκ1.68subscriptΔ𝜅1.68\Delta_{\kappa}\approx 1.68roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ≈ 1.68. As a concrete example, note that if (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) and (j,t)𝑗𝑡(j,t)( italic_j , italic_t ) are both late with Pr[Fi,t]Pr[Fj,t]1/2Prsubscript𝐹𝑖𝑡Prsubscript𝐹𝑗𝑡12\Pr[F_{i,t}]\approx\Pr[F_{j,t}]\approx\nicefrac{{1}}{{2}}roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ≈ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ≈ / start_ARG 1 end_ARG start_ARG 2 end_ARG, this bound quantifies that we avoid perfect positive correlation between Fi,tsubscript𝐹𝑖𝑡F_{i,t}italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT and Fj,tsubscript𝐹𝑗𝑡F_{j,t}italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT.

Having Lemma 4.9, we can prove the bound on 𝔼[Att arrived,Fi,t]𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}]blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] which we state formally in 4.10 via

𝔼[Att arrived,Fi,t]𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\displaystyle\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}]blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] =jPr[Fj,tFi,t]Pr[jFPt]αj,tabsentsubscript𝑗Prconditionalsubscript𝐹𝑗𝑡subscript𝐹𝑖𝑡Pr𝑗subscriptFP𝑡subscript𝛼𝑗𝑡\displaystyle=\sum_{j}\Pr[F_{j,t}\mid F_{i,t}]\cdot\Pr[j\in\textsf{FP}_{t}]% \cdot\alpha_{j,t}= ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_j ∈ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT
=xi,tpt+jiPr[Fi,tFj,t]Pr[Fi,t]xj,tptαj,tabsentsubscript𝑥𝑖𝑡subscript𝑝𝑡subscript𝑗𝑖Prsubscript𝐹𝑖𝑡subscript𝐹𝑗𝑡Prsubscript𝐹𝑖𝑡subscript𝑥𝑗𝑡subscript𝑝𝑡subscript𝛼𝑗𝑡\displaystyle=\frac{x_{i,t}}{p_{t}}+\sum_{j\neq i}\frac{\Pr[F_{i,t}\wedge F_{j% ,t}]}{\Pr[F_{i,t}]}\cdot\frac{x_{j,t}}{p_{t}}\cdot\alpha_{j,t}= divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG + ∑ start_POSTSUBSCRIPT italic_j ≠ italic_i end_POSTSUBSCRIPT divide start_ARG roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] end_ARG start_ARG roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] end_ARG ⋅ divide start_ARG italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT (7)
xi,tpt+jiΔκPr[Fj,t]xj,tptαj,tabsentsubscript𝑥𝑖𝑡subscript𝑝𝑡subscript𝑗𝑖subscriptΔ𝜅Prsubscript𝐹𝑗𝑡subscript𝑥𝑗𝑡subscript𝑝𝑡subscript𝛼𝑗𝑡\displaystyle\leq\frac{x_{i,t}}{p_{t}}+\sum_{j\neq i}\Delta_{\kappa}\cdot\Pr[F% _{j,t}]\cdot\frac{x_{j,t}}{p_{t}}\cdot\alpha_{j,t}≤ divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG + ∑ start_POSTSUBSCRIPT italic_j ≠ italic_i end_POSTSUBSCRIPT roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ divide start_ARG italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT
xi,tpt+Δκ(0.5+κ)ct.absentsubscript𝑥𝑖𝑡subscript𝑝𝑡subscriptΔ𝜅0.5𝜅subscript𝑐𝑡\displaystyle\leq\frac{x_{i,t}}{p_{t}}+\Delta_{\kappa}\cdot(0.5+\kappa)\cdot c% _{t}.≤ divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG + roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ ) ⋅ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT .

The last inequality uses the fact that Pr[Fj,t]αj,t0.5+κPrsubscript𝐹𝑗𝑡subscript𝛼𝑗𝑡0.5𝜅\Pr[F_{j,t}]\cdot\alpha_{j,t}\leq 0.5+\kapparoman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ≤ 0.5 + italic_κ and upper bounds jixj,tptsubscript𝑗𝑖subscript𝑥𝑗𝑡subscript𝑝𝑡\sum_{j\neq i}\frac{x_{j,t}}{p_{t}}∑ start_POSTSUBSCRIPT italic_j ≠ italic_i end_POSTSUBSCRIPT divide start_ARG italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG by ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. By the online constraint (2) and the property that yi,t>τsubscript𝑦𝑖𝑡𝜏y_{i,t}>\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT > italic_τ for late pairs (i,t)𝑖𝑡(i,t)( italic_i , italic_t ), we have that xi,tpt1τsubscript𝑥𝑖𝑡subscript𝑝𝑡1𝜏\frac{x_{i,t}}{p_{t}}\leq 1-\taudivide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ≤ 1 - italic_τ. Hence, we can conclude that

𝔼[Att arrived,Fi,t]𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\displaystyle\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}]blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] 1τ+Δκ(0.5+κ)ctabsent1𝜏subscriptΔ𝜅0.5𝜅subscript𝑐𝑡\displaystyle\leq 1-\tau+\Delta_{\kappa}\cdot(0.5+\kappa)\cdot c_{t}≤ 1 - italic_τ + roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ ) ⋅ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT (8)
(1τ+Δκ(0.5+κ))ct.absent1𝜏subscriptΔ𝜅0.5𝜅subscript𝑐𝑡\displaystyle\leq\left(1-\tau+\Delta_{\kappa}\cdot(0.5+\kappa)\right)\cdot c_{% t}.≤ ( 1 - italic_τ + roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ ) ) ⋅ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT .

Although this appears quite loose if ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT is larger than 1, in Section A.4 we show that a fine-grained bound in terms of mintctsubscript𝑡subscript𝑐𝑡\min_{t}c_{t}roman_min start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT only results in limited improvements in the analysis. Equation 8 implies the following corollary of our correlation bound.

Corollary 4.10.

Let Δκ:=(1+(0.5+κ)20.5κ)(0.5+κ0.5κ)2assignsubscriptΔ𝜅1superscript0.5𝜅20.5𝜅superscript0.5𝜅0.5𝜅2\Delta_{\kappa}:=\left(1+\frac{(0.5+\kappa)^{2}}{0.5-\kappa}\right)\cdot\left(% \frac{0.5+\kappa}{0.5-\kappa}\right)^{2}roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT := ( 1 + divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 0.5 - italic_κ end_ARG ) ⋅ ( divide start_ARG 0.5 + italic_κ end_ARG start_ARG 0.5 - italic_κ end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT. For any late (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) we have

𝔼[Att arrived,Fi,t](1τ+Δκ(0.5+κ))ct.𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡1𝜏subscriptΔ𝜅0.5𝜅subscript𝑐𝑡\mathbb{E}[A_{t}\mid t\textup{ arrived},F_{i,t}]\leq\left(1-\tau+\Delta_{% \kappa}\cdot(0.5+\kappa)\right)\cdot c_{t}.blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ≤ ( 1 - italic_τ + roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ ) ) ⋅ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT .

We are now able to conclude the proof of Lemma 4.5 (ii), as follows.

Proof of Lemma 4.5 (ii)..

By 4.6, it suffices to show that ρi,t(0.5+κ)yi,t(0.5κ).subscript𝜌𝑖𝑡0.5𝜅subscript𝑦𝑖𝑡0.5𝜅\rho_{i,t}\geq(0.5+\kappa)y_{i,t}-(0.5-\kappa).italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≥ ( 0.5 + italic_κ ) italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) . Combining the bound of Lemma 4.8 with 4.10 implies

ρi,t(1(0.5+κ)yi,t)(τ(1τ+Δκ(0.5+κ))).subscript𝜌𝑖𝑡10.5𝜅subscript𝑦𝑖𝑡𝜏1𝜏subscriptΔ𝜅0.5𝜅\displaystyle\rho_{i,t}\geq(1-(0.5+\kappa)\cdot y_{i,t})\cdot\left(\tau-\left(% 1-\tau+\Delta_{\kappa}\cdot(0.5+\kappa)\right)\right).italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≥ ( 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ ( italic_τ - ( 1 - italic_τ + roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ ) ) ) . (9)

For convenience let g(κ):=2τ1Δκ(0.5+κ)assign𝑔𝜅2𝜏1subscriptΔ𝜅0.5𝜅g(\kappa):=2\tau-1-\Delta_{\kappa}\cdot(0.5+\kappa)italic_g ( italic_κ ) := 2 italic_τ - 1 - roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ ), recalling that τ𝜏\tauitalic_τ is a function of κ𝜅\kappaitalic_κ. Then, it suffices to show (1(0.5+κ)yi,t)g(κ)(0.5+κ)yi,t(0.5κ)10.5𝜅subscript𝑦𝑖𝑡𝑔𝜅0.5𝜅subscript𝑦𝑖𝑡0.5𝜅(1-(0.5+\kappa)\cdot y_{i,t})\cdot g(\kappa)\geq(0.5+\kappa)y_{i,t}-(0.5-\kappa)( 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ italic_g ( italic_κ ) ≥ ( 0.5 + italic_κ ) italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ), or equivalently

g(κ)+0.5κ(0.5+κ+(0.5+κ)g(κ))yi,t.𝑔𝜅0.5𝜅0.5𝜅0.5𝜅𝑔𝜅subscript𝑦𝑖𝑡g(\kappa)+0.5-\kappa\geq(0.5+\kappa+(0.5+\kappa)g(\kappa))\cdot y_{i,t}.italic_g ( italic_κ ) + 0.5 - italic_κ ≥ ( 0.5 + italic_κ + ( 0.5 + italic_κ ) italic_g ( italic_κ ) ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT .

For κ=0.0115𝜅0.0115\kappa=0.0115italic_κ = 0.0115, we can confirm that the coefficient of yi,tsubscript𝑦𝑖𝑡y_{i,t}italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT on the right-hand side is positive, and hence it suffices to show this inequality when yi,t=1subscript𝑦𝑖𝑡1y_{i,t}=1italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = 1. This reduces to

g(κ)2κ0.5κ𝑔𝜅2𝜅0.5𝜅g(\kappa)\geq\frac{2\kappa}{0.5-\kappa}italic_g ( italic_κ ) ≥ divide start_ARG 2 italic_κ end_ARG start_ARG 0.5 - italic_κ end_ARG

which is readily confirmed by direct computation at κ=0.0115𝜅0.0115\kappa=0.0115italic_κ = 0.0115. ∎

As a side remark, using Equation 9, we can observe that for our choice of κ=0.0115𝜅0.0115\kappa=0.0115italic_κ = 0.0115, the expectation ρi,tsubscript𝜌𝑖𝑡\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is bounded away from zero by a constant. In particular, for κ=0.0115𝜅0.0115\kappa=0.0115italic_κ = 0.0115, we have that ρi,t0.02389subscript𝜌𝑖𝑡0.02389\rho_{i,t}\geq 0.02389italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≥ 0.02389. This can be used to estimate ρi,tsubscript𝜌𝑖𝑡\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT via sampling with small multiplicative error, as we formalize in Section 5.

In order to finalize our proof of Lemma 4.5 (ii), it only remains to prove our bound on the correlation introduced between offline users, which we do in the following section.

4.3 Bounding the Correlation — Proof of Lemma 4.9

What remains to conclude the proof of our main Theorem 4.1 is to control the correlation of two users i𝑖iitalic_i and j𝑗jitalic_j to be free simultaneously, i.e., the bound from Lemma 4.9. To this end, we first state and prove Lemma 4.11 which uses the assumption that yi,t1subscript𝑦𝑖𝑡1y_{i,t-1}italic_y start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT and yj,t1subscript𝑦𝑗𝑡1y_{j,t-1}italic_y start_POSTSUBSCRIPT italic_j , italic_t - 1 end_POSTSUBSCRIPT are at most τ𝜏\tauitalic_τ.

Lemma 4.11.

Define γκ:=1+(0.5+κ)20.5κassignsubscript𝛾𝜅1superscript0.5𝜅20.5𝜅\gamma_{\kappa}:=1+\frac{(0.5+\kappa)^{2}}{0.5-\kappa}italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT := 1 + divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 0.5 - italic_κ end_ARG. For any distinct users i𝑖iitalic_i and j𝑗jitalic_j, and any time t𝑡titalic_t such that yi,t1,yj,t1τsubscript𝑦𝑖𝑡1subscript𝑦𝑗𝑡1𝜏y_{i,t-1},y_{j,t-1}\leq\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT , italic_y start_POSTSUBSCRIPT italic_j , italic_t - 1 end_POSTSUBSCRIPT ≤ italic_τ, we have

Pr[Fi,tFj,t]γκPr[Fi,t]Pr[Fj,t].Prsubscript𝐹𝑖𝑡subscript𝐹𝑗𝑡subscript𝛾𝜅Prsubscript𝐹𝑖𝑡Prsubscript𝐹𝑗𝑡\Pr[F_{i,t}\wedge F_{j,t}]\leq\gamma_{\kappa}\cdot\Pr[F_{i,t}]\cdot\Pr[F_{j,t}].roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ≤ italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] .

To prove this lemma we consider the function

f(z):=1+z((0.5+κ)21z(0.5+κ)),assign𝑓𝑧1𝑧superscript0.5𝜅21𝑧0.5𝜅f(z):=1+z\cdot\left(\frac{(0.5+\kappa)^{2}}{1-z\cdot(0.5+\kappa)}\right),italic_f ( italic_z ) := 1 + italic_z ⋅ ( divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 1 - italic_z ⋅ ( 0.5 + italic_κ ) end_ARG ) ,

which depends on our choice of κ𝜅\kappaitalic_κ. Note that γκ=f(1)subscript𝛾𝜅𝑓1\gamma_{\kappa}=f(1)italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT = italic_f ( 1 ). For this function, we can prove the following claim.

Claim 4.12.

For any distinct users i𝑖iitalic_i and j𝑗jitalic_j, and any time t𝑡titalic_t such that yi,t1,yj,t1τsubscript𝑦𝑖𝑡1subscript𝑦𝑗𝑡1𝜏y_{i,t-1},y_{j,t-1}\leq\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t - 1 end_POSTSUBSCRIPT , italic_y start_POSTSUBSCRIPT italic_j , italic_t - 1 end_POSTSUBSCRIPT ≤ italic_τ, we have

Pr[Fi,tFj,t]f(yi,t)Pr[Fi,t]Pr[Fj,t],Prsubscript𝐹𝑖𝑡subscript𝐹𝑗𝑡𝑓subscript𝑦𝑖𝑡Prsubscript𝐹𝑖𝑡Prsubscript𝐹𝑗𝑡\Pr[F_{i,t}\wedge F_{j,t}]\leq f(y_{i,t})\cdot\Pr[F_{i,t}]\cdot\Pr[F_{j,t}],roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ≤ italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ,

where f(z):=1+z((0.5+κ)21z(0.5+κ))assign𝑓𝑧1𝑧superscript0.5𝜅21𝑧0.5𝜅f(z):=1+z\cdot\left(\frac{(0.5+\kappa)^{2}}{1-z\cdot(0.5+\kappa)}\right)italic_f ( italic_z ) := 1 + italic_z ⋅ ( divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 1 - italic_z ⋅ ( 0.5 + italic_κ ) end_ARG ).

In order to prove Lemma 4.11 from Claim 4.12, it suffices to note that f𝑓fitalic_f is a monotone increasing function in [0,1]01[0,1][ 0 , 1 ], and hence, f(z)f(1)=γκ𝑓𝑧𝑓1subscript𝛾𝜅f(z)\leq f(1)=\gamma_{\kappa}italic_f ( italic_z ) ≤ italic_f ( 1 ) = italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT for all z[0,1]𝑧01z\in[0,1]italic_z ∈ [ 0 , 1 ].

Proof of Claim 4.12..

We give a proof by induction. As f(0)=1𝑓01f(0)=1italic_f ( 0 ) = 1 and all users are available initially, the base case is clear. Assuming the claim is true for fixed t𝑡titalic_t, we will prove it for t+1𝑡1t+1italic_t + 1 with the assumption yi,t,yj,tτsubscript𝑦𝑖𝑡subscript𝑦𝑗𝑡𝜏y_{i,t},y_{j,t}\leq\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT , italic_y start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ≤ italic_τ.

Proof outline for the inductive step.

Our proof proceeds with the following steps:

  1. (S1)

    We find an upper bound for the probability that both i𝑖iitalic_i and j𝑗jitalic_j are not assigned to t𝑡titalic_t via a first proposal conditioned on being free.

  2. (S2)

    We compute Pr[Fi,t+1]/Pr[Fi,t]Prsubscript𝐹𝑖𝑡1Prsubscript𝐹𝑖𝑡\Pr[F_{i,t+1}]/\Pr[F_{i,t}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] / roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ], in order to apply the inductive hypothesis.

  3. (S3)

    We apply the induction hypothesis, and use Step (S2) to write our bound in terms of Pr[Fi,t+1]Prsubscript𝐹𝑖𝑡1\Pr[F_{i,t+1}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] and Pr[Fj,t+1]Prsubscript𝐹𝑗𝑡1\Pr[F_{j,t+1}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ].

  4. (S4)

    We argue that we can upper bound the coefficient in front of Pr[Fi,t+1]Pr[Fj,t+1]Prsubscript𝐹𝑖𝑡1Prsubscript𝐹𝑗𝑡1\Pr[F_{i,t+1}]\cdot\Pr[F_{j,t+1}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] with f(yi,t+1)𝑓subscript𝑦𝑖𝑡1f(y_{i,t+1})italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ).

Step (S1): Bounding the probability of not assigning both users via a first proposal.

As yi,t,yj,tτsubscript𝑦𝑖𝑡subscript𝑦𝑗𝑡𝜏y_{i,t},y_{j,t}\leq\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT , italic_y start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ≤ italic_τ, they can only be matched as first proposals; hence the probability both i𝑖iitalic_i and j𝑗jitalic_j are free at time t+1𝑡1t+1italic_t + 1 is

Pr[Fi,t+1Fj,t+1]Prsubscript𝐹𝑖𝑡1subscript𝐹𝑗𝑡1\displaystyle\Pr[F_{i,t+1}\wedge F_{j,t+1}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] =Pr[Fi,tFj,t]Pr[(i,t)𝒜1(j,t)𝒜1Fi,tFj,t]().absentPrsubscript𝐹𝑖𝑡subscript𝐹𝑗𝑡subscriptPr𝑖𝑡subscript𝒜1𝑗𝑡conditionalsubscript𝒜1subscript𝐹𝑖𝑡subscript𝐹𝑗𝑡\displaystyle=\Pr[F_{i,t}\wedge F_{j,t}]\cdot\underbrace{\Pr[(i,t)\notin% \mathcal{A}_{1}\wedge(j,t)\notin\mathcal{A}_{1}\mid F_{i,t}\wedge F_{j,t}]}_{(% \star)}.= roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ under⏟ start_ARG roman_Pr [ ( italic_i , italic_t ) ∉ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∧ ( italic_j , italic_t ) ∉ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] end_ARG start_POSTSUBSCRIPT ( ⋆ ) end_POSTSUBSCRIPT . (10)

The first term on the right-hand side of Equation 10 will later be bounded via the induction hypothesis. The second term ():=Pr[(i,t)𝒜1(j,t)𝒜1Fi,tFj,t]assignPr𝑖𝑡subscript𝒜1𝑗𝑡conditionalsubscript𝒜1subscript𝐹𝑖𝑡subscript𝐹𝑗𝑡(\star):=\Pr[(i,t)\notin\mathcal{A}_{1}\wedge(j,t)\notin\mathcal{A}_{1}\mid F_% {i,t}\wedge F_{j,t}]( ⋆ ) := roman_Pr [ ( italic_i , italic_t ) ∉ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∧ ( italic_j , italic_t ) ∉ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] can be equivalently written as

()=1Pr[(i,t)𝒜1Fi,tFj,t]Pr[(j,t)\displaystyle(\star)=1-\Pr[(i,t)\in\mathcal{A}_{1}\mid F_{i,t}\wedge F_{j,t}]-% \Pr[(j,t)( ⋆ ) = 1 - roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] - roman_Pr [ ( italic_j , italic_t ) 𝒜1Fi,tFj,t]\displaystyle\in\mathcal{A}_{1}\mid F_{i,t}\wedge F_{j,t}]∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] (11)
+Pr[(i,t)𝒜1(j,t)𝒜1Fi,tFj,t].Pr𝑖𝑡subscript𝒜1𝑗𝑡conditionalsubscript𝒜1subscript𝐹𝑖𝑡subscript𝐹𝑗𝑡\displaystyle+\Pr[(i,t)\in\mathcal{A}_{1}\wedge(j,t)\in\mathcal{A}_{1}\mid F_{% i,t}\wedge F_{j,t}].+ roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∧ ( italic_j , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] .

Now, observe that Pr[(i,t)𝒜1Fi,tFj,t]=ptPr[iFPt]αi,t=xi,tαi,tPr𝑖𝑡conditionalsubscript𝒜1subscript𝐹𝑖𝑡subscript𝐹𝑗𝑡subscript𝑝𝑡Pr𝑖subscriptFP𝑡subscript𝛼𝑖𝑡subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡\Pr[(i,t)\in\mathcal{A}_{1}\mid F_{i,t}\wedge F_{j,t}]=p_{t}\cdot\Pr[i\in% \textsf{FP}_{t}]\cdot\alpha_{i,t}=x_{i,t}\cdot\alpha_{i,t}roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] = italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_i ∈ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT. The analogous equality holds for j𝑗jitalic_j. Hence, it remains to get a suitable bound on the joint probability that both users i𝑖iitalic_i and j𝑗jitalic_j are assigned via a first proposal given they were both free. To this end, we make use of the negative cylinder dependence in pivotal sampling, observing

Pr[(i,t)𝒜1\displaystyle\Pr[(i,t)\in\mathcal{A}_{1}roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT (j,t)𝒜1Fi,tFj,t]\displaystyle\wedge(j,t)\in\mathcal{A}_{1}\mid F_{i,t}\wedge F_{j,t}]∧ ( italic_j , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ]
=ptPr[iFPtjFPt]αi,tαj,tabsentsubscript𝑝𝑡Pr𝑖subscriptFP𝑡𝑗subscriptFP𝑡subscript𝛼𝑖𝑡subscript𝛼𝑗𝑡\displaystyle=p_{t}\cdot\Pr[i\in\textsf{FP}_{t}\wedge j\in\textsf{FP}_{t}]% \cdot\alpha_{i,t}\cdot\alpha_{j,t}= italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_i ∈ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∧ italic_j ∈ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT
ptPr[iFPt]Pr[jFPt]αi,tαj,tabsentsubscript𝑝𝑡Pr𝑖subscriptFP𝑡Pr𝑗subscriptFP𝑡subscript𝛼𝑖𝑡subscript𝛼𝑗𝑡\displaystyle\leq p_{t}\cdot\Pr[i\in\textsf{FP}_{t}]\cdot\Pr[j\in\textsf{FP}_{% t}]\cdot\alpha_{i,t}\cdot\alpha_{j,t}≤ italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_i ∈ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_j ∈ FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ] ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT (Pivotal Sampling Property (P3))
=ptxi,txj,tpt2αi,tαj,tabsentsubscript𝑝𝑡subscript𝑥𝑖𝑡subscript𝑥𝑗𝑡superscriptsubscript𝑝𝑡2subscript𝛼𝑖𝑡subscript𝛼𝑗𝑡\displaystyle=p_{t}\cdot\frac{x_{i,t}\cdot x_{j,t}}{p_{t}^{2}}\cdot\alpha_{i,t% }\cdot\alpha_{j,t}= italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT
=xi,txj,tptαi,tαj,t.absentsubscript𝑥𝑖𝑡subscript𝑥𝑗𝑡subscript𝑝𝑡subscript𝛼𝑖𝑡subscript𝛼𝑗𝑡\displaystyle=\frac{x_{i,t}\cdot x_{j,t}}{p_{t}}\cdot\alpha_{i,t}\cdot\alpha_{% j,t}.= divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT .

Combining all of the above, we can bound the conditional probability that neither i𝑖iitalic_i nor j𝑗jitalic_j is allocated to t𝑡titalic_t via a first proposal. In other words, the left-hand side of Equation 11 is at most

Pr[(i,t)𝒜1(j,t)𝒜1Fi,tFj,t]Pr𝑖𝑡subscript𝒜1𝑗𝑡conditionalsubscript𝒜1subscript𝐹𝑖𝑡subscript𝐹𝑗𝑡\displaystyle\Pr[(i,t)\notin\mathcal{A}_{1}\wedge(j,t)\notin\mathcal{A}_{1}% \mid F_{i,t}\wedge F_{j,t}]roman_Pr [ ( italic_i , italic_t ) ∉ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∧ ( italic_j , italic_t ) ∉ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] 1xi,tαi,txj,tαj,t+1ptxi,tαi,txj,tαj,tabsent1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡1subscript𝑝𝑡subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡\displaystyle\leq 1-x_{i,t}\alpha_{i,t}-x_{j,t}\alpha_{j,t}+\frac{1}{p_{t}}% \cdot x_{i,t}\alpha_{i,t}x_{j,t}\alpha_{j,t}≤ 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT + divide start_ARG 1 end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT (12)
=(1xi,tαi,t)(1xj,tαj,t)+(1pt1)xi,tαi,txj,tαj,t.absent1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡1subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡1subscript𝑝𝑡1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡\displaystyle=(1-x_{i,t}\alpha_{i,t})(1-x_{j,t}\alpha_{j,t})+\left(\frac{1}{p_% {t}}-1\right)x_{i,t}\alpha_{i,t}x_{j,t}\alpha_{j,t}.= ( 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ( 1 - italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ) + ( divide start_ARG 1 end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG - 1 ) italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT .
Step (S2): Comparing Pr[Fi,t+1]Prsubscript𝐹𝑖𝑡1\Pr[F_{i,t+1}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] to Pr[Fi,t]Prsubscript𝐹𝑖𝑡\Pr[F_{i,t}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ].

To prepare for our use of the inductive hypothesis, we compute Pr[Fi,t+1]/Pr[Fi,t]Prsubscript𝐹𝑖𝑡1Prsubscript𝐹𝑖𝑡\Pr[F_{i,t+1}]/\Pr[F_{i,t}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] / roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] via a straightforward calculation:

Pr[Fi,t+1]Prsubscript𝐹𝑖𝑡1\displaystyle\Pr[F_{i,t+1}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] =1(0.5+κ)yi,t+1=Pr[Fi,t]1(0.5+κ)yi,t+11(0.5+κ)yi,t=Pr[Fi,t](1xi,tαi,t).absent10.5𝜅subscript𝑦𝑖𝑡1Prsubscript𝐹𝑖𝑡10.5𝜅subscript𝑦𝑖𝑡110.5𝜅subscript𝑦𝑖𝑡Prsubscript𝐹𝑖𝑡1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡\displaystyle=1-(0.5+\kappa)\cdot y_{i,t+1}=\Pr[F_{i,t}]\cdot\frac{1-(0.5+% \kappa)\cdot y_{i,t+1}}{1-(0.5+\kappa)\cdot y_{i,t}}=\Pr[F_{i,t}]\cdot\left(1-% x_{i,t}\cdot\alpha_{i,t}\right).= 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT = roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ divide start_ARG 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG = roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ ( 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) . (13)

In the final line we used that (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is early. For j𝑗jitalic_j, we analogously have

Pr[Fj,t+1]=Pr[Fj,t](1xj,tαj,t).Prsubscript𝐹𝑗𝑡1Prsubscript𝐹𝑗𝑡1subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡\Pr[F_{j,t+1}]=\Pr[F_{j,t}]\cdot\left(1-x_{j,t}\cdot\alpha_{j,t}\right).roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] = roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ ( 1 - italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ) .
Step (S3): Applying the induction hypothesis.

Applying the induction hypothesis to Equation 10, plugging in Inequality (12) and using Equation 13, we can bound

Pr[Fi,t+1Fj,t+1]Prsubscript𝐹𝑖𝑡1subscript𝐹𝑗𝑡1\displaystyle\Pr[F_{i,t+1}\wedge F_{j,t+1}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ]
=Pr[Fi,tFj,t]Pr[(i,t)𝒜1(j,t)𝒜1Fi,tFj,t]absentPrsubscript𝐹𝑖𝑡subscript𝐹𝑗𝑡Pr𝑖𝑡subscript𝒜1𝑗𝑡conditionalsubscript𝒜1subscript𝐹𝑖𝑡subscript𝐹𝑗𝑡\displaystyle=\Pr[F_{i,t}\wedge F_{j,t}]\cdot\Pr[(i,t)\notin\mathcal{A}_{1}% \wedge(j,t)\notin\mathcal{A}_{1}\mid F_{i,t}\wedge F_{j,t}]= roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ ( italic_i , italic_t ) ∉ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∧ ( italic_j , italic_t ) ∉ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ]
Pr[Fi,tFj,t]((1xi,tαi,t)(1xj,tαj,t)+(1pt1)xi,tαi,txj,tαj,t)absentPrsubscript𝐹𝑖𝑡subscript𝐹𝑗𝑡1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡1subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡1subscript𝑝𝑡1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡\displaystyle\leq\Pr[F_{i,t}\wedge F_{j,t}]\cdot\Big{(}(1-x_{i,t}\alpha_{i,t})% (1-x_{j,t}\alpha_{j,t})+\left(\frac{1}{p_{t}}-1\right)x_{i,t}\alpha_{i,t}x_{j,% t}\alpha_{j,t}\Big{)}≤ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ ( ( 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ( 1 - italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ) + ( divide start_ARG 1 end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG - 1 ) italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT )
f(yi,t)Pr[Fi,t]Pr[Fj,t]((1xi,tαi,t)(1xj,tαj,t)+(1pt1)xi,tαi,txj,tαj,t)absent𝑓subscript𝑦𝑖𝑡Prsubscript𝐹𝑖𝑡Prsubscript𝐹𝑗𝑡1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡1subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡1subscript𝑝𝑡1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡\displaystyle\leq f(y_{i,t})\cdot\Pr[F_{i,t}]\cdot\Pr[F_{j,t}]\cdot\Big{(}(1-x% _{i,t}\alpha_{i,t})(1-x_{j,t}\alpha_{j,t})+\left(\frac{1}{p_{t}}-1\right)x_{i,% t}\alpha_{i,t}x_{j,t}\alpha_{j,t}\Big{)}≤ italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ ( ( 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ( 1 - italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ) + ( divide start_ARG 1 end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG - 1 ) italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT )
=f(yi,t)Pr[Fi,t+1]Pr[Fj,t+1]+f(yi,t)(1pt1)Pr[Fi,t]Pr[Fj,t]xi,tαi,txj,tαj,t.absent𝑓subscript𝑦𝑖𝑡Prsubscript𝐹𝑖𝑡1Prsubscript𝐹𝑗𝑡1𝑓subscript𝑦𝑖𝑡1subscript𝑝𝑡1Prsubscript𝐹𝑖𝑡Prsubscript𝐹𝑗𝑡subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡\displaystyle=f(y_{i,t})\cdot\Pr[F_{i,t+1}]\cdot\Pr[F_{j,t+1}]+f(y_{i,t})\left% (\frac{1}{p_{t}}-1\right)\cdot\Pr[F_{i,t}]\cdot\Pr[F_{j,t}]\cdot x_{i,t}\alpha% _{i,t}x_{j,t}\alpha_{j,t}.= italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] + italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ( divide start_ARG 1 end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG - 1 ) ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT . (14)

Here, the first inequality uses Inequality (12) from Step (S1), i.e., the upper bound on the probability of both users not being allocated via a first proposal. The second inequality applies the induction hypothesis for Pr[Fi,tFj,t]Prsubscript𝐹𝑖𝑡subscript𝐹𝑗𝑡\Pr[F_{i,t}\wedge F_{j,t}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ], and the last equality uses Equation 13 from Step (S2) for both users i𝑖iitalic_i and j𝑗jitalic_j and rearranges terms.

We now bound the second summand of (14), via the following inequality.

Fact 4.13.

For any (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) we have

xi,tαi,t(1pt1)(0.5+κ)(1xi,tαi,t).subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡1subscript𝑝𝑡10.5𝜅1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡\displaystyle x_{i,t}\cdot\alpha_{i,t}\cdot\left(\frac{1}{p_{t}}-1\right)\leq(% 0.5+\kappa)\cdot\left(1-x_{i,t}\alpha_{i,t}\right).italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( divide start_ARG 1 end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG - 1 ) ≤ ( 0.5 + italic_κ ) ⋅ ( 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) . (15)
Proof.

By Constraint (2) of the LP, we have that 1pt1yi,txi,t.1subscript𝑝𝑡1subscript𝑦𝑖𝑡subscript𝑥𝑖𝑡\frac{1}{p_{t}}\leq\frac{1-y_{i,t}}{x_{i,t}}.divide start_ARG 1 end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ≤ divide start_ARG 1 - italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG . Thus it suffices to show that

αi,t(1yi,t)xi,tαi,t(0.5+κ)(1xi,tαi,t)subscript𝛼𝑖𝑡1subscript𝑦𝑖𝑡subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡0.5𝜅1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡\alpha_{i,t}(1-y_{i,t})-x_{i,t}\alpha_{i,t}\leq(0.5+\kappa)(1-x_{i,t}\alpha_{i% ,t})italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ( 1 - italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≤ ( 0.5 + italic_κ ) ( 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT )

which is equivalent to

αi,t(1yi,t(0.5κ)xi,t)0.5+κ.subscript𝛼𝑖𝑡1subscript𝑦𝑖𝑡0.5𝜅subscript𝑥𝑖𝑡0.5𝜅\alpha_{i,t}(1-y_{i,t}-(0.5-\kappa)x_{i,t})\leq 0.5+\kappa.italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ( 1 - italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ≤ 0.5 + italic_κ .

As αi,t0.5+κ1(0.5+κ)yi,tsubscript𝛼𝑖𝑡0.5𝜅10.5𝜅subscript𝑦𝑖𝑡\alpha_{i,t}\leq\frac{0.5+\kappa}{1-(0.5+\kappa)y_{i,t}}italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≤ divide start_ARG 0.5 + italic_κ end_ARG start_ARG 1 - ( 0.5 + italic_κ ) italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG, the claim follows. ∎

We can apply Fact 4.13 to user j𝑗jitalic_j and combine it with Equation 13 in order to bound the second summand via

f(yi,t)(1pt1)Pr[Fi,t]Pr[Fj,t]xi,tαi,txj,tαj,t𝑓subscript𝑦𝑖𝑡1subscript𝑝𝑡1Prsubscript𝐹𝑖𝑡Prsubscript𝐹𝑗𝑡subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡\displaystyle\hskip 15.6491ptf(y_{i,t})\left(\frac{1}{p_{t}}-1\right)\cdot\Pr[% F_{i,t}]\cdot\Pr[F_{j,t}]\cdot x_{i,t}\alpha_{i,t}x_{j,t}\alpha_{j,t}italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ( divide start_ARG 1 end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG - 1 ) ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT
f(yi,t)Pr[Fi,t]Pr[Fj,t](0.5+κ)(1xj,tαj,t)xi,tαi,tabsent𝑓subscript𝑦𝑖𝑡Prsubscript𝐹𝑖𝑡Prsubscript𝐹𝑗𝑡0.5𝜅1subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡\displaystyle\leq f(y_{i,t})\cdot\Pr[F_{i,t}]\cdot\Pr[F_{j,t}]\cdot(0.5+\kappa% )\cdot(1-x_{j,t}\alpha_{j,t})\cdot x_{i,t}\alpha_{i,t}≤ italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ ( 0.5 + italic_κ ) ⋅ ( 1 - italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT
=(0.5+κ)f(yi,t)Pr[Fj,t+1]xi,tαi,tPr[Fi,t+1](1xi,tαi,t)1.absent0.5𝜅𝑓subscript𝑦𝑖𝑡Prsubscript𝐹𝑗𝑡1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡Prsubscript𝐹𝑖𝑡1superscript1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡1\displaystyle=(0.5+\kappa)\cdot f(y_{i,t})\cdot\Pr[F_{j,t+1}]\cdot x_{i,t}% \alpha_{i,t}\cdot\Pr[F_{i,t+1}]\cdot(1-x_{i,t}\cdot\alpha_{i,t})^{-1}.= ( 0.5 + italic_κ ) ⋅ italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] ⋅ ( 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT .

Overall, we thus have

Pr[Fi,t+1Fj,t+1]Prsubscript𝐹𝑖𝑡1subscript𝐹𝑗𝑡1\displaystyle\Pr[F_{i,t+1}\wedge F_{j,t+1}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] f(yi,t)Pr[Fi,t+1]Pr[Fj,t+1](1+(0.5+κ)xi,tαi,t1xi,tαi,t).absent𝑓subscript𝑦𝑖𝑡Prsubscript𝐹𝑖𝑡1Prsubscript𝐹𝑗𝑡110.5𝜅subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡\displaystyle\leq f(y_{i,t})\cdot\Pr[F_{i,t+1}]\cdot\Pr[F_{j,t+1}]\cdot\left(1% +(0.5+\kappa)\cdot\frac{x_{i,t}\alpha_{i,t}}{1-x_{i,t}\alpha_{i,t}}\right).≤ italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] ⋅ ( 1 + ( 0.5 + italic_κ ) ⋅ divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG ) .
Step (S4): Upper bounding the coefficient by f(yi,t+1)𝑓subscript𝑦𝑖𝑡1f(y_{i,t+1})italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ).

In order to complete the inductive step, we would like to show that

f(yi,t)(1+(0.5+κ)xi,tαi,t1xi,tαi,t)f(yi,t+xi,t).𝑓subscript𝑦𝑖𝑡10.5𝜅subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡𝑓subscript𝑦𝑖𝑡subscript𝑥𝑖𝑡f(y_{i,t})\cdot\left(1+(0.5+\kappa)\cdot\frac{x_{i,t}\alpha_{i,t}}{1-x_{i,t}% \alpha_{i,t}}\right)\leq f(y_{i,t}+x_{i,t}).italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ ( 1 + ( 0.5 + italic_κ ) ⋅ divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG ) ≤ italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) .

First, note that as we only consider early pairs, αi,tsubscript𝛼𝑖𝑡\alpha_{i,t}italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is always equal to 0.5+κ1(0.5+κ)yi,t0.5𝜅10.5𝜅subscript𝑦𝑖𝑡\frac{0.5+\kappa}{1-(0.5+\kappa)\cdot y_{i,t}}divide start_ARG 0.5 + italic_κ end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG, so we know xi,tαi,t1xi,tαi,t=(0.5+κ)xi,t1(0.5+κ)(xi,t+yi,t).subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡0.5𝜅subscript𝑥𝑖𝑡10.5𝜅subscript𝑥𝑖𝑡subscript𝑦𝑖𝑡\frac{x_{i,t}\alpha_{i,t}}{1-x_{i,t}\alpha_{i,t}}=\frac{(0.5+\kappa)\cdot x_{i% ,t}}{1-(0.5+\kappa)\cdot(x_{i,t}+y_{i,t})}.divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG = divide start_ARG ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ⋅ ( italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT + italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) end_ARG . Thus to conclude the proof, it suffices to show that

f(yi,t)(1+(0.5+κ)(0.5+κ)xi,t1(0.5+κ)(xi,t+yi,t))f(yi,t+xi,t).𝑓subscript𝑦𝑖𝑡10.5𝜅0.5𝜅subscript𝑥𝑖𝑡10.5𝜅subscript𝑥𝑖𝑡subscript𝑦𝑖𝑡𝑓subscript𝑦𝑖𝑡subscript𝑥𝑖𝑡f(y_{i,t})\cdot\left(1+(0.5+\kappa)\cdot\frac{(0.5+\kappa)\cdot x_{i,t}}{1-(0.% 5+\kappa)\cdot(x_{i,t}+y_{i,t})}\right)\leq f(y_{i,t}+x_{i,t}).italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ ( 1 + ( 0.5 + italic_κ ) ⋅ divide start_ARG ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ⋅ ( italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT + italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) end_ARG ) ≤ italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT + italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) .

This is a consequence of our definition

f(z):=1+z((0.5+κ)21z(0.5+κ)).assign𝑓𝑧1𝑧superscript0.5𝜅21𝑧0.5𝜅f(z):=1+z\cdot\left(\frac{(0.5+\kappa)^{2}}{1-z\cdot(0.5+\kappa)}\right).italic_f ( italic_z ) := 1 + italic_z ⋅ ( divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 1 - italic_z ⋅ ( 0.5 + italic_κ ) end_ARG ) .

In particular the following claim, whose proof can be found in Section B.3, completes the inductive step.

Claim 4.14.

For any x,y[0,1]𝑥𝑦01x,y\in[0,1]italic_x , italic_y ∈ [ 0 , 1 ] with x+y1𝑥𝑦1x+y\leq 1italic_x + italic_y ≤ 1 and f()𝑓f(\cdot)italic_f ( ⋅ ) as stated above, we have

f(y)(1+(0.5+κ)(0.5+κ)x1(0.5+κ)(x+y))f(y+x).𝑓𝑦10.5𝜅0.5𝜅𝑥10.5𝜅𝑥𝑦𝑓𝑦𝑥f(y)\cdot\left(1+(0.5+\kappa)\cdot\frac{(0.5+\kappa)\cdot x}{1-(0.5+\kappa)% \cdot(x+y)}\right)\leq f(y+x).italic_f ( italic_y ) ⋅ ( 1 + ( 0.5 + italic_κ ) ⋅ divide start_ARG ( 0.5 + italic_κ ) ⋅ italic_x end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ⋅ ( italic_x + italic_y ) end_ARG ) ≤ italic_f ( italic_y + italic_x ) .

This concludes the proof of Claim 4.12. ∎

Now, we can finally prove Lemma 4.9 which concludes the proof of our main Theorem 4.1. Let us restate Lemma 4.9 and prove it afterwards.

See 4.9

Proof of Lemma 4.9..

We assume that both yi,t>τsubscript𝑦𝑖𝑡𝜏y_{i,t}>\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT > italic_τ and yj,t>τsubscript𝑦𝑗𝑡𝜏y_{j,t}>\tauitalic_y start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT > italic_τ; if neither inequality holds the result is clear and follows directly from Lemma 4.11 while if just one holds the proof proceeds nearly identically with a slightly better guarantee.

Let tisuperscript𝑡𝑖t^{i}italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT denote the latest resource in [T]delimited-[]𝑇[T][ italic_T ] such that yi,ti1τsubscript𝑦𝑖superscript𝑡𝑖1𝜏y_{i,t^{i}-1}\leq\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT - 1 end_POSTSUBSCRIPT ≤ italic_τ and yi,ti>τsubscript𝑦𝑖superscript𝑡𝑖𝜏y_{i,t^{i}}>\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT end_POSTSUBSCRIPT > italic_τ and similarly let tjsuperscript𝑡𝑗t^{j}italic_t start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT denote the latest resource in [T]delimited-[]𝑇[T][ italic_T ] such that yj,tj1τsubscript𝑦𝑗superscript𝑡𝑗1𝜏y_{j,t^{j}-1}\leq\tauitalic_y start_POSTSUBSCRIPT italic_j , italic_t start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT - 1 end_POSTSUBSCRIPT ≤ italic_τ and yi,tj>τsubscript𝑦𝑖superscript𝑡𝑗𝜏y_{i,t^{j}}>\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT end_POSTSUBSCRIPT > italic_τ.

Let Aisubscript𝐴𝑖A_{i}italic_A start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT denote the event that i𝑖iitalic_i is allocated to some arrival in [ti,t1]superscript𝑡𝑖𝑡1[t^{i},t-1][ italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT , italic_t - 1 ] and let Ajsubscript𝐴𝑗A_{j}italic_A start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT denote the event that j𝑗jitalic_j is allocated to some arrival in [tj,t1]superscript𝑡𝑗𝑡1[t^{j},t-1][ italic_t start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_t - 1 ]. By the hypothesis that Pr[(i,t)𝒜1]+Pr[(i,t)𝒜2]=(0.5+κ)xi,tPr𝑖superscript𝑡subscript𝒜1Pr𝑖superscript𝑡subscript𝒜20.5𝜅subscript𝑥𝑖superscript𝑡\Pr[(i,t^{\prime})\in\mathcal{A}_{1}]+\Pr[(i,t^{\prime})\in\mathcal{A}_{2}]=(0% .5+\kappa)\cdot x_{i,t^{\prime}}roman_Pr [ ( italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] + roman_Pr [ ( italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] = ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT for all t<tsuperscript𝑡𝑡t^{\prime}<titalic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t, we have

Pr[Ai]=t[ti,t1](0.5+κ)xi,t=(0.5+κ)(yi,tyi,ti)(0.5+κ)(1τ)=2κ.Prsubscript𝐴𝑖subscriptsuperscript𝑡superscript𝑡𝑖𝑡10.5𝜅subscript𝑥𝑖superscript𝑡0.5𝜅subscript𝑦𝑖𝑡subscript𝑦𝑖superscript𝑡𝑖0.5𝜅1𝜏2𝜅\Pr[A_{i}]=\sum_{t^{\prime}\in[t^{i},t-1]}(0.5+\kappa)\cdot x_{i,t^{\prime}}=(% 0.5+\kappa)\cdot(y_{i,t}-y_{i,t^{i}})\leq(0.5+\kappa)\cdot(1-\tau)=2\kappa.roman_Pr [ italic_A start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ] = ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∈ [ italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT , italic_t - 1 ] end_POSTSUBSCRIPT ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT = ( 0.5 + italic_κ ) ⋅ ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - italic_y start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) ≤ ( 0.5 + italic_κ ) ⋅ ( 1 - italic_τ ) = 2 italic_κ .

An analogous upper bound holds for Pr[Aj]Prsubscript𝐴𝑗\Pr[A_{j}]roman_Pr [ italic_A start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ].

To simplify notation, let us assume for a moment that ijijsuperscript𝑖𝑗superscript𝑖superscript𝑗i^{j}\leq i^{j^{\prime}}italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT ≤ italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT (if ij>ijsuperscript𝑖𝑗superscript𝑖superscript𝑗i^{j}>i^{j^{\prime}}italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT > italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT, simply swap the roles of j𝑗jitalic_j and jsuperscript𝑗j^{\prime}italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT in the following line). We apply Lemma 4.11 to get

Pr[Fi,jFi,j]Prsubscript𝐹𝑖𝑗subscript𝐹𝑖superscript𝑗\displaystyle\Pr[F_{i,j}\wedge F_{i,j^{\prime}}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_i , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] Pr[Fij,jFij,j]absentPrsubscript𝐹superscript𝑖𝑗𝑗subscript𝐹superscript𝑖superscript𝑗superscript𝑗\displaystyle\leq\Pr[F_{i^{j},j}\wedge F_{i^{j^{\prime}},j^{\prime}}]≤ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ]
=Pr[Fij,jFij,j]Pr[Fij,jFij,jFij,jFij,j]absentPrsubscript𝐹superscript𝑖𝑗𝑗subscript𝐹superscript𝑖𝑗superscript𝑗Prsubscript𝐹superscript𝑖𝑗𝑗conditionalsubscript𝐹superscript𝑖superscript𝑗superscript𝑗subscript𝐹superscript𝑖𝑗𝑗subscript𝐹superscript𝑖𝑗superscript𝑗\displaystyle=\Pr[F_{i^{j},j}\wedge F_{i^{j},j^{\prime}}]\cdot\Pr[F_{i^{j},j}% \wedge F_{i^{j^{\prime}},j^{\prime}}\mid F_{i^{j},j}\wedge F_{i^{j},j^{\prime}}]= roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ]
γκPr[Fij,j]Pr[Fij,j]Pr[Fij,jFij,jFij,jFij,j]absentsubscript𝛾𝜅Prsubscript𝐹superscript𝑖𝑗𝑗Prsubscript𝐹superscript𝑖𝑗superscript𝑗Prsubscript𝐹superscript𝑖𝑗𝑗conditionalsubscript𝐹superscript𝑖superscript𝑗superscript𝑗subscript𝐹superscript𝑖𝑗𝑗subscript𝐹superscript𝑖𝑗superscript𝑗\displaystyle\leq\gamma_{\kappa}\cdot\Pr[F_{i^{j},j}]\cdot\Pr[F_{i^{j},j^{% \prime}}]\cdot\Pr[F_{i^{j},j}\wedge F_{i^{j^{\prime}},j^{\prime}}\mid F_{i^{j}% ,j}\wedge F_{i^{j},j^{\prime}}]≤ italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] (via Lemma 4.11)
=γκPr[Fij,j]Pr[Fij,j]Pr[Fij,jFij,jFij,j].absentsubscript𝛾𝜅Prsubscript𝐹superscript𝑖𝑗𝑗Prsubscript𝐹superscript𝑖𝑗superscript𝑗Prconditionalsubscript𝐹superscript𝑖superscript𝑗superscript𝑗subscript𝐹superscript𝑖𝑗𝑗subscript𝐹superscript𝑖𝑗superscript𝑗\displaystyle=\gamma_{\kappa}\cdot\Pr[F_{i^{j},j}]\cdot\Pr[F_{i^{j},j^{\prime}% }]\cdot\Pr[F_{i^{j^{\prime}},j^{\prime}}\mid F_{i^{j},j}\wedge F_{i^{j},j^{% \prime}}]\enspace.= italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] .

In this expression, we aim to combine the last two factors concerning the events if item jsuperscript𝑗j^{\prime}italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT is free at some point in time. To this end, observe that

Pr[Fij,j]Pr[Fij,jFij,jFij,j]Prsubscript𝐹superscript𝑖𝑗superscript𝑗Prconditionalsubscript𝐹superscript𝑖superscript𝑗superscript𝑗subscript𝐹superscript𝑖𝑗𝑗subscript𝐹superscript𝑖𝑗superscript𝑗\displaystyle\Pr[F_{i^{j},j^{\prime}}]\cdot\Pr[F_{i^{j^{\prime}},j^{\prime}}% \mid F_{i^{j},j}\wedge F_{i^{j},j^{\prime}}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ∣ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] =Pr[Fij,j]i=ijij1(1qiPr[j𝖥𝖯i]αi,j)absentPrsubscript𝐹superscript𝑖𝑗superscript𝑗superscriptsubscriptproductsuperscript𝑖superscript𝑖𝑗superscript𝑖superscript𝑗11subscript𝑞superscript𝑖Prsuperscript𝑗subscript𝖥𝖯superscript𝑖subscript𝛼superscript𝑖superscript𝑗\displaystyle=\Pr[F_{i^{j},j^{\prime}}]\cdot\prod_{i^{\prime}=i^{j}}^{i^{j^{% \prime}}-1}\left(1-q_{i^{\prime}}\cdot\Pr[j^{\prime}\in\mathsf{FP}_{i^{\prime}% }]\cdot\alpha_{i^{\prime},j^{\prime}}\right)= roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ⋅ ∏ start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT = italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ( 1 - italic_q start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∈ sansserif_FP start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ⋅ italic_α start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT )
=Pr[Fij,j]i=ijij1(1xi,jαi,j)absentPrsubscript𝐹superscript𝑖𝑗superscript𝑗superscriptsubscriptproductsuperscript𝑖superscript𝑖𝑗superscript𝑖superscript𝑗11subscript𝑥superscript𝑖superscript𝑗subscript𝛼superscript𝑖superscript𝑗\displaystyle=\Pr[F_{i^{j},j^{\prime}}]\cdot\prod_{i^{\prime}=i^{j}}^{i^{j^{% \prime}}-1}\left(1-x_{i^{\prime},j^{\prime}}\cdot\alpha_{i^{\prime},j^{\prime}% }\right)= roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ⋅ ∏ start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT = italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ( 1 - italic_x start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT )
=Pr[Fij,j],absentPrsubscript𝐹superscript𝑖superscript𝑗superscript𝑗\displaystyle=\Pr[F_{i^{j^{\prime}},j^{\prime}}]\enspace,= roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ,

where the last equality uses the same ideas as Step (S2) in the proof of 4.12. So, overall, we have

Pr[Fi,jFi,j]Pr[Fij,jFij,j]γκPr[Fij,j]Pr[Fij,j].Prsubscript𝐹𝑖𝑗subscript𝐹𝑖superscript𝑗Prsubscript𝐹superscript𝑖𝑗𝑗subscript𝐹superscript𝑖superscript𝑗superscript𝑗subscript𝛾𝜅Prsubscript𝐹superscript𝑖𝑗𝑗Prsubscript𝐹superscript𝑖superscript𝑗superscript𝑗\displaystyle\Pr[F_{i,j}\wedge F_{i,j^{\prime}}]\leq\Pr[F_{i^{j},j}\wedge F_{i% ^{j^{\prime}},j^{\prime}}]\leq\gamma_{\kappa}\cdot\Pr[F_{i^{j},j}]\cdot\Pr[F_{% i^{j^{\prime}},j^{\prime}}]\enspace.roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_i , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ≤ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ≤ italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] . (16)

With this in mind, we are ready to prove the final statement as

Pr[Fi,jFi,j]Prsubscript𝐹𝑖𝑗subscript𝐹𝑖superscript𝑗\displaystyle\Pr[F_{i,j}\wedge F_{i,j^{\prime}}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_i , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] Pr[Fij,jFij,j]absentPrsubscript𝐹superscript𝑖𝑗𝑗subscript𝐹superscript𝑖superscript𝑗superscript𝑗\displaystyle\leq\Pr[F_{i^{j},j}\wedge F_{i^{j^{\prime}},j^{\prime}}]≤ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ]
γκPr[Fij,j]Pr[Fij,j]absentsubscript𝛾𝜅Prsubscript𝐹superscript𝑖𝑗𝑗Prsubscript𝐹superscript𝑖superscript𝑗superscript𝑗\displaystyle\leq\gamma_{\kappa}\cdot\Pr[F_{i^{j},j}]\cdot\Pr[F_{i^{j^{\prime}% },j^{\prime}}]≤ italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] (via Equation 16)
=γκ(Pr[Fi,j]+Pr[Aj])(Pr[Fi,j]+Pr[Aj])absentsubscript𝛾𝜅Prsubscript𝐹𝑖𝑗Prsubscript𝐴𝑗Prsubscript𝐹𝑖superscript𝑗Prsubscript𝐴superscript𝑗\displaystyle=\gamma_{\kappa}\cdot\left(\Pr[F_{i,j}]+\Pr[A_{j}]\right)\cdot% \left(\Pr[F_{i,j^{\prime}}]+\Pr[A_{j^{\prime}}]\right)= italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ] + roman_Pr [ italic_A start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ] ) ⋅ ( roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] + roman_Pr [ italic_A start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] )
γκ(Pr[Fi,j]+2κ)(Pr[Fi,j]+2κ)absentsubscript𝛾𝜅Prsubscript𝐹𝑖𝑗2𝜅Prsubscript𝐹𝑖superscript𝑗2𝜅\displaystyle\leq\gamma_{\kappa}\cdot\left(\Pr[F_{i,j}]+2\kappa\right)\cdot% \left(\Pr[F_{i,j^{\prime}}]+2\kappa\right)≤ italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ] + 2 italic_κ ) ⋅ ( roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] + 2 italic_κ )
γκ(1+4κ0.5κ+4κ2(0.5κ)2)Pr[Fi,j]Pr[Fi,j]absentsubscript𝛾𝜅14𝜅0.5𝜅4superscript𝜅2superscript0.5𝜅2Prsubscript𝐹𝑖𝑗Prsubscript𝐹𝑖superscript𝑗\displaystyle\leq\gamma_{\kappa}\cdot\left(1+\frac{4\kappa}{0.5-\kappa}+\frac{% 4\kappa^{2}}{(0.5-\kappa)^{2}}\right)\cdot\Pr[F_{i,j}]\cdot\Pr[F_{i,j^{\prime}}]≤ italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 1 + divide start_ARG 4 italic_κ end_ARG start_ARG 0.5 - italic_κ end_ARG + divide start_ARG 4 italic_κ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG ( 0.5 - italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ]
=γκ(0.5+κ0.5κ)2Pr[Fi,j]Pr[Fi,j]absentsubscript𝛾𝜅superscript0.5𝜅0.5𝜅2Prsubscript𝐹𝑖𝑗Prsubscript𝐹𝑖superscript𝑗\displaystyle=\gamma_{\kappa}\cdot\left(\frac{0.5+\kappa}{0.5-\kappa}\right)^{% 2}\cdot\Pr[F_{i,j}]\cdot\Pr[F_{i,j^{\prime}}]= italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( divide start_ARG 0.5 + italic_κ end_ARG start_ARG 0.5 - italic_κ end_ARG ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ]
=ΔκPr[Fi,j]Pr[Fi,j],absentsubscriptΔ𝜅Prsubscript𝐹𝑖𝑗Prsubscript𝐹𝑖superscript𝑗\displaystyle=\Delta_{\kappa}\cdot\Pr[F_{i,j}]\cdot\Pr[F_{i,j^{\prime}}],= roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ,

where in the last inequality we used Pr[Fi,j],Pr[Fi,j]0.5κPrsubscript𝐹𝑖𝑗Prsubscript𝐹𝑖superscript𝑗0.5𝜅\Pr[F_{i,j}],\Pr[F_{i,j^{\prime}}]\geq 0.5-\kapparoman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT ] , roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ≥ 0.5 - italic_κ and the last equality applies γκ:=1+(0.5+κ)2/0.5κassignsubscript𝛾𝜅1superscript0.5𝜅20.5𝜅\gamma_{\kappa}:=1+\nicefrac{{(0.5+\kappa)^{2}}}{{0.5-\kappa}}italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT := 1 + / start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 0.5 - italic_κ end_ARG. ∎

5 Analyzing the Sample-based Algorithm

To update Algorithm 1 to run in polynomial time, instead of computing the exact value of ρi,tsubscript𝜌𝑖𝑡\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT we estimate it with polynomially many samples. For simplicity, we present the algorithm and its analysis for Bernoulli arrivals when every success probability qi,tsubscript𝑞𝑖𝑡q_{i,t}italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT equals 1 (the relevant changes needed for the generalizations are described in Appendix C and Appendix D, respectively). The pseudocode is presented below; observe that we reduce the constant κ𝜅\kappaitalic_κ by an arbitrarily small ϵ>0italic-ϵ0\epsilon>0italic_ϵ > 0 in 1.

Algorithm 2 (parametrized by ϵ>0italic-ϵ0\epsilon>0italic_ϵ > 0)
1:κ0.0115ϵ𝜅0.0115italic-ϵ\kappa\leftarrow 0.0115-\epsilonitalic_κ ← 0.0115 - italic_ϵ
2:Solve (LPon) for {xi,t}subscript𝑥𝑖𝑡\{x_{i,t}\}{ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT }
3:for each time t𝑡titalic_t, if t𝑡titalic_t arrives do \triangleright w.p. ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT
4:     Define users 𝖥𝖯t:=PS((xi,t/pt)iI)assignsubscript𝖥𝖯𝑡PSsubscriptsubscript𝑥𝑖𝑡subscript𝑝𝑡𝑖𝐼\mathsf{FP}_{t}:=\textsf{PS}((x_{i,t}/p_{t})_{i\in I})sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT := PS ( ( italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT / italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT ) \triangleright at most ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT users get first proposals
5:     for each user i𝖥𝖯t𝑖subscript𝖥𝖯𝑡i\in\mathsf{FP}_{t}italic_i ∈ sansserif_FP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT do
6:         if i𝑖iitalic_i is available then
7:              Allocate i𝑖iitalic_i to t𝑡titalic_t with probability αi,t:=min(1,0.5+κ1(0.5+κ)t<txi,t)assignsubscript𝛼𝑖𝑡10.5𝜅10.5𝜅subscriptsuperscript𝑡𝑡subscript𝑥𝑖superscript𝑡\alpha_{i,t}:=\min\left(1,\frac{0.5+\kappa}{1-(0.5+\kappa)\cdot\sum_{t^{\prime% }<t}x_{i,t^{\prime}}}\right)italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := roman_min ( 1 , divide start_ARG 0.5 + italic_κ end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ⋅ ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT end_ARG )               
8:     Let Atnumber of users allocated to t thus farsubscript𝐴𝑡number of users allocated to 𝑡 thus farA_{t}\leftarrow\text{number of users allocated to }t\text{ thus far}italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ← number of users allocated to italic_t thus far
9:     Define users 𝖲𝖯t:=PS(((1Atct)xi,t/pt)iI)assignsubscript𝖲𝖯𝑡PSsubscript1subscript𝐴𝑡subscript𝑐𝑡subscript𝑥𝑖𝑡subscript𝑝𝑡𝑖𝐼\mathsf{SP}_{t}:=\textsf{PS}(((1-\frac{A_{t}}{c_{t}})\cdot x_{i,t}/p_{t})_{i% \in I})sansserif_SP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT := PS ( ( ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT / italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT ) \triangleright ctAtabsentsubscript𝑐𝑡subscript𝐴𝑡\leq c_{t}-A_{t}≤ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT - italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT users get second proposal
10:     for each user i𝖲𝖯t𝑖subscript𝖲𝖯𝑡i\in\mathsf{SP}_{t}italic_i ∈ sansserif_SP start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT with αi,t=1subscript𝛼𝑖𝑡1\alpha_{i,t}=1italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = 1 do
11:         if i𝑖iitalic_i is available then
12:              Do not compute σi,t:=𝔼[𝟙[i available after 8](1Atct)t arrived,(σ^i,t)t<t]assignsubscript𝜎𝑖𝑡𝔼delimited-[]conditional1delimited-[]𝑖 available after 81subscript𝐴𝑡subscript𝑐𝑡𝑡 arrivedsubscriptsubscript^𝜎𝑖superscript𝑡superscript𝑡𝑡\sigma_{i,t}:=\mathbb{E}[\mathbbm{1}[i\text{ available after \lx@cref{% creftypecap~refnum}{line:sample_based:sample_defAt}}]\cdot(1-\frac{A_{t}}{c_{t% }})\mid t\text{ arrived},(\hat{\sigma}_{i,t^{\prime}})_{t^{\prime}<t}]italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := blackboard_E [ blackboard_1 [ italic_i available after ] ⋅ ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) ∣ italic_t arrived , ( over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT ];
13:              Instead compute σ^i,tsubscript^𝜎𝑖𝑡absent\hat{\sigma}_{i,t}\leftarrowover^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ← Empirical average of σi,tsubscript𝜎𝑖𝑡\sigma_{i,t}italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT over N:=50nT(ϵ/400T)2κ2assign𝑁50𝑛𝑇superscriptitalic-ϵ400𝑇2superscript𝜅2N:=50nT\cdot(\epsilon/400T)^{-2}\cdot\kappa^{-2}italic_N := 50 italic_n italic_T ⋅ ( italic_ϵ / 400 italic_T ) start_POSTSUPERSCRIPT - 2 end_POSTSUPERSCRIPT ⋅ italic_κ start_POSTSUPERSCRIPT - 2 end_POSTSUPERSCRIPT independent simulations, using previously computed values (σ^i,t)t<tsubscriptsubscript^𝜎𝑖superscript𝑡superscript𝑡𝑡(\hat{\sigma}_{i,t^{\prime}})_{t^{\prime}<t}( over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT
14:              β^i,tmin(1,((0.5+κ)t<txi,t(0.5κ))1σ^i,t).subscript^𝛽𝑖𝑡10.5𝜅subscriptsuperscript𝑡𝑡subscript𝑥𝑖superscript𝑡0.5𝜅1subscript^𝜎𝑖𝑡\hat{\beta}_{i,t}\leftarrow\min\Big{(}1,\left((0.5+\kappa)\cdot\sum_{t^{\prime% }<t}x_{i,t^{\prime}}-(0.5-\kappa)\right)\cdot\frac{1}{\hat{\sigma}_{i,t}}\Big{% )}.over^ start_ARG italic_β end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ← roman_min ( 1 , ( ( 0.5 + italic_κ ) ⋅ ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) ) ⋅ divide start_ARG 1 end_ARG start_ARG over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG ) .
15:              Allocate i𝑖iitalic_i to t𝑡titalic_t with prob. β^i,tsubscript^𝛽𝑖𝑡\hat{\beta}_{i,t}over^ start_ARG italic_β end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT               

As before, the definition of ρi,tsubscript𝜌𝑖𝑡\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is over the randomness in the arrivals and algorithm up to when it reaches 8 for arrival t𝑡titalic_t in Algorithm 1, with the previously computed values of (σ^i,t)subscript^𝜎𝑖superscript𝑡(\hat{\sigma}_{i,t^{\prime}})( over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) for t<tsuperscript𝑡𝑡t^{\prime}<titalic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t. In particular, we do not recalculate these, but rather inductively use them as defined previously. This is why we use the shorthand of “conditioning on (σ^i,t)t<tsubscriptsubscript^𝜎𝑖superscript𝑡superscript𝑡𝑡(\hat{\sigma}_{i,t^{\prime}})_{t^{\prime}<t}( over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT” when defining ρi,tsubscript𝜌𝑖𝑡\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT.

We start with the observation that our algorithm is unchanged for early pairs (i,t)𝑖𝑡(i,t)( italic_i , italic_t ). In particular, the following lemmas still hold for Algorithm 2.

See 4.4

See 4.12

In the remainder of the analysis, we will need to track the errors incurred by sampling. Note that by the Chernoff-Hoeffding bound, if σi,tsubscript𝜎𝑖𝑡\sigma_{i,t}italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is bounded away from 0 then the empirical average σ^i,tsubscript^𝜎𝑖𝑡\hat{\sigma}_{i,t}over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT will be within a close multiplicative factor.

Observation 5.1.

If σi,tκsubscript𝜎𝑖𝑡𝜅\sigma_{i,t}\geq\kappaitalic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≥ italic_κ then we have that σi,t/σ^i,t[1ϵ200T,1+ϵ200T]subscript𝜎𝑖𝑡subscript^𝜎𝑖𝑡1italic-ϵ200𝑇1italic-ϵ200𝑇\sigma_{i,t}/\hat{\sigma}_{i,t}\in\left[1-\frac{\epsilon}{200T},1+\frac{% \epsilon}{200T}\right]italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT / over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∈ [ 1 - divide start_ARG italic_ϵ end_ARG start_ARG 200 italic_T end_ARG , 1 + divide start_ARG italic_ϵ end_ARG start_ARG 200 italic_T end_ARG ] with probability at least 12exp(100nT).12100𝑛𝑇1-2\cdot\exp(-100nT).1 - 2 ⋅ roman_exp ( - 100 italic_n italic_T ) .

Proof.

We straightforwardly bound

Pr[|σ^i,tσi,t|ϵ400Tσi,t]Prsubscript^𝜎𝑖𝑡subscript𝜎𝑖𝑡italic-ϵ400𝑇subscript𝜎𝑖𝑡\displaystyle\Pr\left[|\hat{\sigma}_{i,t}-\sigma_{i,t}|\geq\frac{\epsilon}{400% T}\cdot\sigma_{i,t}\right]roman_Pr [ | over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT | ≥ divide start_ARG italic_ϵ end_ARG start_ARG 400 italic_T end_ARG ⋅ italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] 2exp(2N((ϵ/400T)σi,t)2)absent22𝑁superscriptitalic-ϵ400𝑇subscript𝜎𝑖𝑡2\displaystyle\leq 2\cdot\exp\left(-2\cdot N\cdot((\epsilon/400T)\cdot\sigma_{i% ,t})^{2}\right)≤ 2 ⋅ roman_exp ( - 2 ⋅ italic_N ⋅ ( ( italic_ϵ / 400 italic_T ) ⋅ italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT )
2exp(2N((ϵ/400T)κ)2)absent22𝑁superscriptitalic-ϵ400𝑇𝜅2\displaystyle\leq 2\cdot\exp\left(-2\cdot N\cdot((\epsilon/400T)\cdot\kappa)^{% 2}\right)≤ 2 ⋅ roman_exp ( - 2 ⋅ italic_N ⋅ ( ( italic_ϵ / 400 italic_T ) ⋅ italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT )
2exp(100nT).absent2100𝑛𝑇\displaystyle\leq 2\cdot\exp\left(-100nT\right).≤ 2 ⋅ roman_exp ( - 100 italic_n italic_T ) .

Thus with probability at least 12exp(100nT)12100𝑛𝑇1-2\cdot\exp(-100nT)1 - 2 ⋅ roman_exp ( - 100 italic_n italic_T ), we have

σi,t/σ^i,t[(1+ϵ/400T)1,(1ϵ/400T)1].subscript𝜎𝑖𝑡subscript^𝜎𝑖𝑡superscript1italic-ϵ400𝑇1superscript1italic-ϵ400𝑇1\sigma_{i,t}/\hat{\sigma}_{i,t}\in[(1+\epsilon/400T)^{-1},(1-\epsilon/400T)^{-% 1}].italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT / over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∈ [ ( 1 + italic_ϵ / 400 italic_T ) start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT , ( 1 - italic_ϵ / 400 italic_T ) start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ] .

The observation follows directly. ∎

We now show inductively that our algorithm allocates each (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) with probability close to the idealized value of (0.5+κ)xi,t0.5𝜅subscript𝑥𝑖𝑡(0.5+\kappa)\cdot x_{i,t}( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT from the exact (exponential-time) calculations. In particular, we show that that we achieve a value of (0.5+κ±ϵt)xi,tplus-or-minus0.5𝜅subscriptitalic-ϵ𝑡subscript𝑥𝑖𝑡(0.5+\kappa\pm\epsilon_{t})\cdot x_{i,t}( 0.5 + italic_κ ± italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT where the error ϵtsubscriptitalic-ϵ𝑡\epsilon_{t}italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT accumulates only linearly in t𝑡titalic_t.

Lemma 5.2.

For any online arrival t𝑡titalic_t, with probability at least 12ntexp(100nT)12𝑛𝑡100𝑛𝑇1-2nt\cdot\exp(-100nT)1 - 2 italic_n italic_t ⋅ roman_exp ( - 100 italic_n italic_T ), we have for every ttsuperscript𝑡𝑡t^{\prime}\leq titalic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ≤ italic_t that

Pr[(i,t)𝒜1]+Pr[(i,t)𝒜2][(0.5+κϵt/T)xi,t,(0.5+κ+ϵt/T)xi,t].Pr𝑖superscript𝑡subscript𝒜1Pr𝑖superscript𝑡subscript𝒜20.5𝜅italic-ϵsuperscript𝑡𝑇subscript𝑥𝑖superscript𝑡0.5𝜅italic-ϵsuperscript𝑡𝑇subscript𝑥𝑖superscript𝑡\displaystyle\Pr[(i,t^{\prime})\in\mathcal{A}_{1}]+\Pr[(i,t^{\prime})\in% \mathcal{A}_{2}]\in[(0.5+\kappa-\epsilon\cdot t^{\prime}/T)\cdot x_{i,t^{% \prime}},(0.5+\kappa+\epsilon\cdot t^{\prime}/T)\cdot x_{i,t^{\prime}}].roman_Pr [ ( italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] + roman_Pr [ ( italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] ∈ [ ( 0.5 + italic_κ - italic_ϵ ⋅ italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT / italic_T ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT , ( 0.5 + italic_κ + italic_ϵ ⋅ italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT / italic_T ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] . (17)

Note that once we have Lemma 5.2, it is immediate to bound the gain of Algorithm 2. In particular, the social welfare achieved by Algorithm 2 is with probability at least 12nTexp(100nT)12𝑛𝑇100𝑛𝑇1-2nT\cdot\exp(-100nT)1 - 2 italic_n italic_T ⋅ roman_exp ( - 100 italic_n italic_T ) lower-bounded by

ti(0.5+κϵt/T)xi,tvi,tsubscript𝑡subscript𝑖0.5𝜅italic-ϵ𝑡𝑇subscript𝑥𝑖𝑡subscript𝑣𝑖𝑡\displaystyle\sum_{t}\sum_{i}(0.5+\kappa-\epsilon\cdot t/T)\cdot x_{i,t}\cdot v% _{i,t}∑ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( 0.5 + italic_κ - italic_ϵ ⋅ italic_t / italic_T ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ti(0.5+κϵ)xi,tvi,tabsentsubscript𝑡subscript𝑖0.5𝜅italic-ϵsubscript𝑥𝑖𝑡subscript𝑣𝑖𝑡\displaystyle\geq\sum_{t}\sum_{i}(0.5+\kappa-\epsilon)\cdot x_{i,t}\cdot v_{i,t}≥ ∑ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ( 0.5 + italic_κ - italic_ϵ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT
=(0.51152ϵ)OPT(LPon)absent0.51152italic-ϵOPTitalic-(LPonitalic-)\displaystyle=(0.5115-2\epsilon)\cdot\text{OPT}\eqref{LP}= ( 0.5115 - 2 italic_ϵ ) ⋅ OPT italic_( italic_)
(0.51152ϵ)OPTon.absent0.51152italic-ϵsubscriptOPTon\displaystyle\geq(0.5115-2\epsilon)\cdot\mathrm{OPT}_{\mathrm{on}}.≥ ( 0.5115 - 2 italic_ϵ ) ⋅ roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT .

Note that for a realization of Algorithm 2, we can estimate its gain within a small multiplicative error factor by simulating it over polynomially-many independently sampled arrival sequences. Thus, this guarantee can be obtained with high probability, and it only remains to prove Lemma 5.2.

Proof of Lemma 5.2..

By induction on t𝑡titalic_t. We consider only the case where the lemma’s statement holds for all {1,2,,t1}12𝑡1\{1,2,\ldots,t-1\}{ 1 , 2 , … , italic_t - 1 }, and note this is with probability at least 12n(t1)exp(100nT)12𝑛𝑡1100𝑛𝑇1-2n(t-1)\cdot\exp(-100nT)1 - 2 italic_n ( italic_t - 1 ) ⋅ roman_exp ( - 100 italic_n italic_T ) by the inductive hypothesis. Note that for any i𝑖iitalic_i such that (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is early, we are done by 4.4.

For convenience of notation, let ϵt:=ϵt/Tassignsubscriptitalic-ϵ𝑡italic-ϵ𝑡𝑇\epsilon_{t}:=\epsilon\cdot t/Titalic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT := italic_ϵ ⋅ italic_t / italic_T denote the error accumulated up to time t𝑡titalic_t. Using this notation, we can apply the inductive hypothesis to bound

Pr[Fi,t][1(0.5+κ+ϵt)yi,t,1(0.5+κϵt)yi,t].Prsubscript𝐹𝑖𝑡10.5𝜅subscriptitalic-ϵ𝑡subscript𝑦𝑖𝑡10.5𝜅subscriptitalic-ϵ𝑡subscript𝑦𝑖𝑡\displaystyle\Pr[F_{i,t}]\in[1-(0.5+\kappa+\epsilon_{t})\cdot y_{i,t},1-(0.5+% \kappa-\epsilon_{t})\cdot y_{i,t}].roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ∈ [ 1 - ( 0.5 + italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT , 1 - ( 0.5 + italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] . (18)

Hence the probability late (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is allocated as a first pick satisfies

Pr[(i,t)𝒜1]=xi,tPr[Fi,t][xi,txi,t(0.5+κ+ϵt)yi,t,xi,txi,t(0.5+κϵt)yi,t]Pr𝑖𝑡subscript𝒜1subscript𝑥𝑖𝑡Prsubscript𝐹𝑖𝑡subscript𝑥𝑖𝑡subscript𝑥𝑖𝑡0.5𝜅subscriptitalic-ϵ𝑡subscript𝑦𝑖𝑡subscript𝑥𝑖𝑡subscript𝑥𝑖𝑡0.5𝜅subscriptitalic-ϵ𝑡subscript𝑦𝑖𝑡\Pr[(i,t)\in\mathcal{A}_{1}]=x_{i,t}\cdot\Pr[F_{i,t}]\in[x_{i,t}-x_{i,t}\cdot(% 0.5+\kappa+\epsilon_{t})\cdot y_{i,t},x_{i,t}-x_{i,t}\cdot(0.5+\kappa-\epsilon% _{t})\cdot y_{i,t}]roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] = italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ∈ [ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT , italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ]

where we used the induction hypothesis for bounding Pr[Fi,t]Prsubscript𝐹𝑖𝑡\Pr[F_{i,t}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ].

By Equation (5) the probability (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is allocated as a second pick is given by

Pr[(i,t)𝒜2]=xi,tσi,tβ^i,t.Pr𝑖𝑡subscript𝒜2subscript𝑥𝑖𝑡subscript𝜎𝑖𝑡subscript^𝛽𝑖𝑡\displaystyle\Pr[(i,t)\in\mathcal{A}_{2}]=x_{i,t}\cdot\sigma_{i,t}\cdot\hat{% \beta}_{i,t}.roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] = italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ over^ start_ARG italic_β end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT . (19)

As before, we aim to show that σi,tsubscript𝜎𝑖𝑡\sigma_{i,t}italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is bounded away from 00. Note that analogously to Equation 6, we have

σi,tsubscript𝜎𝑖𝑡\displaystyle\sigma_{i,t}italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT Pr[Fi,t](τ𝔼[Att arrived,Fi,t]ct)absentPrsubscript𝐹𝑖𝑡𝜏𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡subscript𝑐𝑡\displaystyle\geq\Pr[F_{i,t}]\cdot\left(\tau-\frac{\mathbb{E}[A_{t}\mid t\text% { arrived},F_{i,t}]}{c_{t}}\right)≥ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ ( italic_τ - divide start_ARG blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG )
(1((0.5+κ+ϵt)yi,t))(τ𝔼[Att arrived,Fi,t]ct).absent10.5𝜅subscriptitalic-ϵ𝑡subscript𝑦𝑖𝑡𝜏𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡subscript𝑐𝑡\displaystyle\geq\left(1-((0.5+\kappa+\epsilon_{t})\cdot y_{i,t})\right)\cdot% \left(\tau-\frac{\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}]}{c_{t}}\right).≥ ( 1 - ( ( 0.5 + italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ) ⋅ ( italic_τ - divide start_ARG blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) . (20)

To bound the conditional expectation 𝔼[Att arrived,Fi,t]𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}]blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ], we will (as before) upper bound the joint probability Pr[Fi,tFj,t]Prsubscript𝐹𝑖𝑡subscript𝐹𝑗𝑡\Pr[F_{i,t}\wedge F_{j,t}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ], analogously to Lemma 4.9. Here, the main contribution is from 4.12; the probability mass from late edges does not greatly affect it for small κ𝜅\kappaitalic_κ, even when taking into account the possible error introduced by sampling. As our algorithm is unchanged along early edges, the proof from the body of the paper goes through in a very similar fashion, which we formalize below.

We assume that both yi,t>τsubscript𝑦𝑖𝑡𝜏y_{i,t}>\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT > italic_τ and yj,t>τsubscript𝑦𝑗𝑡𝜏y_{j,t}>\tauitalic_y start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT > italic_τ (if neither, or just one of these inequalities holds, the proof proceeds nearly identically with better bounds). Let tisuperscript𝑡𝑖t^{i}italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT denote the latest resource in [T]delimited-[]𝑇[T][ italic_T ] such that yi,ti1τsubscript𝑦𝑖superscript𝑡𝑖1𝜏y_{i,t^{i}-1}\leq\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT - 1 end_POSTSUBSCRIPT ≤ italic_τ and yi,ti>τsubscript𝑦𝑖superscript𝑡𝑖𝜏y_{i,t^{i}}>\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT end_POSTSUBSCRIPT > italic_τ and similarly let tjsuperscript𝑡𝑗t^{j}italic_t start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT denote the latest resource in [T]delimited-[]𝑇[T][ italic_T ] such that yj,tj1τsubscript𝑦𝑗superscript𝑡𝑗1𝜏y_{j,t^{j}-1}\leq\tauitalic_y start_POSTSUBSCRIPT italic_j , italic_t start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT - 1 end_POSTSUBSCRIPT ≤ italic_τ and yi,tj>τsubscript𝑦𝑖superscript𝑡𝑗𝜏y_{i,t^{j}}>\tauitalic_y start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT end_POSTSUBSCRIPT > italic_τ. Let Aisubscript𝐴𝑖A_{i}italic_A start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT denote the event that i𝑖iitalic_i is allocated to some arrival in [ti,t1]superscript𝑡𝑖𝑡1[t^{i},t-1][ italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT , italic_t - 1 ] and let Ajsubscript𝐴𝑗A_{j}italic_A start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT denote the event that j𝑗jitalic_j is allocated to some arrival in [tj,t1]superscript𝑡𝑗𝑡1[t^{j},t-1][ italic_t start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT , italic_t - 1 ]. Using the hypothesis that Pr[(i,t)𝒜1]+Pr[(i,t)𝒜2](0.5+κ+ϵt)xi,tPr𝑖superscript𝑡subscript𝒜1Pr𝑖superscript𝑡subscript𝒜20.5𝜅subscriptitalic-ϵsuperscript𝑡subscript𝑥𝑖superscript𝑡\Pr[(i,t^{\prime})\in\mathcal{A}_{1}]+\Pr[(i,t^{\prime})\in\mathcal{A}_{2}]% \leq(0.5+\kappa+\epsilon_{t^{\prime}})\cdot x_{i,t^{\prime}}roman_Pr [ ( italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] + roman_Pr [ ( italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] ≤ ( 0.5 + italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT for all t<tsuperscript𝑡𝑡t^{\prime}<titalic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t, we have

Pr[Ai]Prsubscript𝐴𝑖\displaystyle\Pr[A_{i}]roman_Pr [ italic_A start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ] t[ti,t1](0.5+κ+ϵt)xi,tabsentsubscriptsuperscript𝑡superscript𝑡𝑖𝑡10.5𝜅subscriptitalic-ϵsuperscript𝑡subscript𝑥𝑖superscript𝑡\displaystyle\leq\sum_{t^{\prime}\in[t^{i},t-1]}(0.5+\kappa+\epsilon_{t^{% \prime}})\cdot x_{i,t^{\prime}}≤ ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∈ [ italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT , italic_t - 1 ] end_POSTSUBSCRIPT ( 0.5 + italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT
(0.5+κ+ϵt)(yi,tyi,ti)absent0.5𝜅subscriptitalic-ϵ𝑡subscript𝑦𝑖𝑡subscript𝑦𝑖superscript𝑡𝑖\displaystyle\leq(0.5+\kappa+\epsilon_{t})\cdot(y_{i,t}-y_{i,t^{i}})≤ ( 0.5 + italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - italic_y start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT end_POSTSUBSCRIPT )
(0.5+κ+ϵt)(1τ)absent0.5𝜅subscriptitalic-ϵ𝑡1𝜏\displaystyle\leq(0.5+\kappa+\epsilon_{t})\cdot(1-\tau)≤ ( 0.5 + italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ ( 1 - italic_τ )
=(0.5+κ+ϵt)2κ0.5+κabsent0.5𝜅subscriptitalic-ϵ𝑡2𝜅0.5𝜅\displaystyle=(0.5+\kappa+\epsilon_{t})\cdot\frac{2\kappa}{0.5+\kappa}= ( 0.5 + italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ divide start_ARG 2 italic_κ end_ARG start_ARG 0.5 + italic_κ end_ARG
=2κ+ϵt2κ0.5+κabsent2𝜅subscriptitalic-ϵ𝑡2𝜅0.5𝜅\displaystyle=2\kappa+\epsilon_{t}\cdot\frac{2\kappa}{0.5+\kappa}= 2 italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ divide start_ARG 2 italic_κ end_ARG start_ARG 0.5 + italic_κ end_ARG

An analogous upper bound holds for Pr[Aj]Prsubscript𝐴𝑗\Pr[A_{j}]roman_Pr [ italic_A start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ]. For convenience, let us define ηκ:=2κ/0.5+κassignsubscript𝜂𝜅2𝜅0.5𝜅\eta_{\kappa}:=\nicefrac{{2\kappa}}{{0.5+\kappa}}italic_η start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT := / start_ARG 2 italic_κ end_ARG start_ARG 0.5 + italic_κ end_ARG. With this, we can bound

Pr[Fi,tFj,t]Prsubscript𝐹𝑖𝑡subscript𝐹𝑗𝑡\displaystyle\Pr[F_{i,t}\wedge F_{j,t}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] Pr[Fi,tiFj,tj]absentPrsubscript𝐹𝑖superscript𝑡𝑖subscript𝐹𝑗superscript𝑡𝑗\displaystyle\leq\Pr[F_{i,t^{i}}\wedge F_{j,t^{j}}]≤ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ]
γκPr[Fi,ti]Pr[Fj,tj](Lemma 4.11)absentsubscript𝛾𝜅Prsubscript𝐹𝑖superscript𝑡𝑖Prsubscript𝐹𝑗superscript𝑡𝑗(Lemma 4.11)\displaystyle\leq\gamma_{\kappa}\cdot\Pr[F_{i,t^{i}}]\cdot\Pr[F_{j,t^{j}}]% \hskip 156.49014pt\text{(\lx@cref{creftypecap~refnum}{lem:corrbound})}≤ italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] ( )
=γκ(Pr[Fi,t]+Pr[Ai])(Pr[Fj,t]+Pr[Aj])absentsubscript𝛾𝜅Prsubscript𝐹𝑖𝑡Prsubscript𝐴𝑖Prsubscript𝐹𝑗𝑡Prsubscript𝐴𝑗\displaystyle=\gamma_{\kappa}\cdot\left(\Pr[F_{i,t}]+\Pr[A_{i}]\right)\cdot% \left(\Pr[F_{j,t}]+\Pr[A_{j}]\right)= italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] + roman_Pr [ italic_A start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ] ) ⋅ ( roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] + roman_Pr [ italic_A start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT ] )
γκ(Pr[Fi,t]+2κ+ϵtηκ)(Pr[Fj,t]+2κ+ϵtηκ)absentsubscript𝛾𝜅Prsubscript𝐹𝑖𝑡2𝜅subscriptitalic-ϵ𝑡subscript𝜂𝜅Prsubscript𝐹𝑗𝑡2𝜅subscriptitalic-ϵ𝑡subscript𝜂𝜅\displaystyle\leq\gamma_{\kappa}\cdot\left(\Pr[F_{i,t}]+2\kappa+\epsilon_{t}% \eta_{\kappa}\right)\cdot\left(\Pr[F_{j,t}]+2\kappa+\epsilon_{t}\eta_{\kappa}\right)≤ italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] + 2 italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_η start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ) ⋅ ( roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] + 2 italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_η start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT )
ζκ,ϵtPr[Fi,t]Pr[Fj,t]absentsubscript𝜁𝜅subscriptitalic-ϵ𝑡Prsubscript𝐹𝑖𝑡Prsubscript𝐹𝑗𝑡\displaystyle\leq\zeta_{\kappa,\epsilon_{t}}\cdot\Pr[F_{i,t}]\cdot\Pr[F_{j,t}]≤ italic_ζ start_POSTSUBSCRIPT italic_κ , italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ]

where in the last inequality, we first use a lower bound on Pr[Fi,t]Prsubscript𝐹𝑖𝑡\Pr[F_{i,t}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] and Pr[Fj,t]Prsubscript𝐹𝑗𝑡\Pr[F_{j,t}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] of 0.5κϵt0.5𝜅subscriptitalic-ϵ𝑡0.5-\kappa-\epsilon_{t}0.5 - italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT and defined

ζκ,ϵt:=γκ(1+2(2κ+ϵtηκ)0.5κϵt+(2κ+ϵtηκ)2(0.5κϵt)2).assignsubscript𝜁𝜅subscriptitalic-ϵ𝑡subscript𝛾𝜅122𝜅subscriptitalic-ϵ𝑡subscript𝜂𝜅0.5𝜅subscriptitalic-ϵ𝑡superscript2𝜅subscriptitalic-ϵ𝑡subscript𝜂𝜅2superscript0.5𝜅subscriptitalic-ϵ𝑡2\zeta_{\kappa,\epsilon_{t}}:=\gamma_{\kappa}\cdot\left(1+\frac{2(2\kappa+% \epsilon_{t}\eta_{\kappa})}{0.5-\kappa-\epsilon_{t}}+\frac{(2\kappa+\epsilon_{% t}\eta_{\kappa})^{2}}{(0.5-\kappa-\epsilon_{t})^{2}}\right).italic_ζ start_POSTSUBSCRIPT italic_κ , italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT := italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 1 + divide start_ARG 2 ( 2 italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_η start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ) end_ARG start_ARG 0.5 - italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG + divide start_ARG ( 2 italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_η start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG ( 0.5 - italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) .

Now, following the calculation of Equation 7, we have

𝔼[Att arrived,Fi,t]𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\displaystyle\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}]blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] =xi,tpt+jiPr[Fi,tFj,t]Pr[Fi,t]xj,tptαj,tabsentsubscript𝑥𝑖𝑡subscript𝑝𝑡subscript𝑗𝑖Prsubscript𝐹𝑖𝑡subscript𝐹𝑗𝑡Prsubscript𝐹𝑖𝑡subscript𝑥𝑗𝑡subscript𝑝𝑡subscript𝛼𝑗𝑡\displaystyle=\frac{x_{i,t}}{p_{t}}+\sum_{j\neq i}\frac{\Pr[F_{i,t}\wedge F_{j% ,t}]}{\Pr[F_{i,t}]}\cdot\frac{x_{j,t}}{p_{t}}\cdot\alpha_{j,t}= divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG + ∑ start_POSTSUBSCRIPT italic_j ≠ italic_i end_POSTSUBSCRIPT divide start_ARG roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] end_ARG start_ARG roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] end_ARG ⋅ divide start_ARG italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT
xi,tpt+jiζκ,ϵtPr[Fj,t]xj,tptαj,tabsentsubscript𝑥𝑖𝑡subscript𝑝𝑡subscript𝑗𝑖subscript𝜁𝜅subscriptitalic-ϵ𝑡Prsubscript𝐹𝑗𝑡subscript𝑥𝑗𝑡subscript𝑝𝑡subscript𝛼𝑗𝑡\displaystyle\leq\frac{x_{i,t}}{p_{t}}+\sum_{j\neq i}\zeta_{\kappa,\epsilon_{t% }}\cdot\Pr[F_{j,t}]\cdot\frac{x_{j,t}}{p_{t}}\cdot\alpha_{j,t}≤ divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG + ∑ start_POSTSUBSCRIPT italic_j ≠ italic_i end_POSTSUBSCRIPT italic_ζ start_POSTSUBSCRIPT italic_κ , italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ divide start_ARG italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT
xi,tpt+ζκ,ϵt(0.5+κ+2ϵt)ct.absentsubscript𝑥𝑖𝑡subscript𝑝𝑡subscript𝜁𝜅subscriptitalic-ϵ𝑡0.5𝜅2subscriptitalic-ϵ𝑡subscript𝑐𝑡\displaystyle\leq\frac{x_{i,t}}{p_{t}}+\zeta_{\kappa,\epsilon_{t}}\cdot(0.5+% \kappa+2\epsilon_{t})\cdot c_{t}.≤ divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG + italic_ζ start_POSTSUBSCRIPT italic_κ , italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ + 2 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT .

For the final inequality, we are using Pr[Fj,t]1(0.5+κϵt)yi,tPrsubscript𝐹𝑗𝑡10.5𝜅subscriptitalic-ϵ𝑡subscript𝑦𝑖𝑡\Pr[F_{j,t}]\leq 1-(0.5+\kappa-\epsilon_{t})\cdot y_{i,t}roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ≤ 1 - ( 0.5 + italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT by our hypothesis and substituting αj,t0.5+κ1(0.5+κ)yi,t.subscript𝛼𝑗𝑡0.5𝜅10.5𝜅subscript𝑦𝑖𝑡{\alpha_{j,t}\leq\frac{0.5+\kappa}{1-(0.5+\kappa)y_{i,t}}}.italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ≤ divide start_ARG 0.5 + italic_κ end_ARG start_ARG 1 - ( 0.5 + italic_κ ) italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG . Using that xi,t/pt1τsubscript𝑥𝑖𝑡subscript𝑝𝑡1𝜏\nicefrac{{x_{i,t}}}{{p_{t}}}\leq 1-\tau/ start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ≤ 1 - italic_τ as (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is late, we have

𝔼[Att arrived,Fi,t](1τ+ζκ,ϵt(0.5+κ+2ϵt))ct𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡1𝜏subscript𝜁𝜅subscriptitalic-ϵ𝑡0.5𝜅2subscriptitalic-ϵ𝑡subscript𝑐𝑡\displaystyle\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}]\leq\left(1-\tau+% \zeta_{\kappa,\epsilon_{t}}\cdot(0.5+\kappa+2\epsilon_{t})\right)\cdot c_{t}blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ≤ ( 1 - italic_τ + italic_ζ start_POSTSUBSCRIPT italic_κ , italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ + 2 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ) ⋅ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT (21)

as in 4.10.

Now, starting from Equation 20 and using Equation 21, we note

σi,tsubscript𝜎𝑖𝑡\displaystyle\sigma_{i,t}italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT (1((0.5+κ+ϵt)yi,t))(2τ1ζκ,ϵt(0.5+κ+2ϵt)))\displaystyle\geq\left(1-((0.5+\kappa+\epsilon_{t})\cdot y_{i,t})\right)\cdot% \left(2\tau-1-\zeta_{\kappa,\epsilon_{t}}\cdot(0.5+\kappa+2\epsilon_{t}))\right)≥ ( 1 - ( ( 0.5 + italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ) ⋅ ( 2 italic_τ - 1 - italic_ζ start_POSTSUBSCRIPT italic_κ , italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ + 2 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ) )
(0.5κϵt)(2τ1ζκ,ϵt(0.5+κ+2ϵt)))\displaystyle\geq\left(0.5-\kappa-\epsilon_{t}\right)\cdot\left(2\tau-1-\zeta_% {\kappa,\epsilon_{t}}\cdot(0.5+\kappa+2\epsilon_{t}))\right)≥ ( 0.5 - italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ ( 2 italic_τ - 1 - italic_ζ start_POSTSUBSCRIPT italic_κ , italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ + 2 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ) )
(0.5κϵt)(2κ0.5κ+ϵt)absent0.5𝜅subscriptitalic-ϵ𝑡2𝜅0.5𝜅subscriptitalic-ϵ𝑡\displaystyle\geq(0.5-\kappa-\epsilon_{t})\cdot\left(\frac{2\kappa}{0.5-\kappa% }+\epsilon_{t}\right)≥ ( 0.5 - italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ ( divide start_ARG 2 italic_κ end_ARG start_ARG 0.5 - italic_κ end_ARG + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) for ϵt0.0001for subscriptitalic-ϵ𝑡0.0001\displaystyle\text{for }\epsilon_{t}\leq 0.0001for italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ≤ 0.0001
2κ+0.1ϵt,absent2𝜅0.1subscriptitalic-ϵ𝑡\displaystyle\geq 2\kappa+0.1\epsilon_{t},≥ 2 italic_κ + 0.1 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ,

where the second inequality uses yi,t1subscript𝑦𝑖𝑡1y_{i,t}\leq 1italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≤ 1 and the last inequality is a straightforward calculation for sufficiently small ϵitalic-ϵ\epsilonitalic_ϵ. The third inequality is calculation-heavy and holds only for small ϵitalic-ϵ\epsilonitalic_ϵ and κ0.0115ϵ𝜅0.0115italic-ϵ\kappa\leq 0.0115-\epsilonitalic_κ ≤ 0.0115 - italic_ϵ, and requires some slightly tedious calculations. For example, we can upper bound ζκ,ϵtsubscript𝜁𝜅subscriptitalic-ϵ𝑡\zeta_{\kappa,\epsilon_{t}}italic_ζ start_POSTSUBSCRIPT italic_κ , italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT by noting that for ϵtsubscriptitalic-ϵ𝑡\epsilon_{t}italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT sufficiently small 2(2κ+ϵtηk)0.5κϵt2(2κ)0.5κ+0.5ϵt22𝜅subscriptitalic-ϵ𝑡subscript𝜂𝑘0.5𝜅subscriptitalic-ϵ𝑡22𝜅0.5𝜅0.5subscriptitalic-ϵ𝑡\frac{2(2\kappa+\epsilon_{t}\eta_{k})}{0.5-\kappa-\epsilon_{t}}\leq\frac{2(2% \kappa)}{0.5-\kappa}+0.5\epsilon_{t}divide start_ARG 2 ( 2 italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_η start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT ) end_ARG start_ARG 0.5 - italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ≤ divide start_ARG 2 ( 2 italic_κ ) end_ARG start_ARG 0.5 - italic_κ end_ARG + 0.5 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT and (2κ+ϵtηκ)2(0.5κϵt)2(2κ)2(0.5κ)2+0.1ϵtsuperscript2𝜅subscriptitalic-ϵ𝑡subscript𝜂𝜅2superscript0.5𝜅subscriptitalic-ϵ𝑡2superscript2𝜅2superscript0.5𝜅20.1subscriptitalic-ϵ𝑡\frac{(2\kappa+\epsilon_{t}\eta_{\kappa})^{2}}{(0.5-\kappa-\epsilon_{t})^{2}}% \leq\frac{(2\kappa)^{2}}{(0.5-\kappa)^{2}}+0.1\epsilon_{t}divide start_ARG ( 2 italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_η start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG ( 0.5 - italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ≤ divide start_ARG ( 2 italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG ( 0.5 - italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG + 0.1 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT.

Thus

ζκ,ϵt(0.5+κ+2ϵt)subscript𝜁𝜅subscriptitalic-ϵ𝑡0.5𝜅2subscriptitalic-ϵ𝑡\displaystyle\zeta_{\kappa,\epsilon_{t}}\cdot(0.5+\kappa+2\epsilon_{t})italic_ζ start_POSTSUBSCRIPT italic_κ , italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ + 2 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) γκ(1+2(2κ)0.5κ+(2κ)2(0.5κ)2+0.6ϵt)(0.5+κ+2ϵt)absentsubscript𝛾𝜅122𝜅0.5𝜅superscript2𝜅2superscript0.5𝜅20.6subscriptitalic-ϵ𝑡0.5𝜅2subscriptitalic-ϵ𝑡\displaystyle\leq\gamma_{\kappa}\cdot\left(1+\frac{2(2\kappa)}{0.5-\kappa}+% \frac{(2\kappa)^{2}}{(0.5-\kappa)^{2}}+0.6\epsilon_{t}\right)\cdot(0.5+\kappa+% 2\epsilon_{t})≤ italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 1 + divide start_ARG 2 ( 2 italic_κ ) end_ARG start_ARG 0.5 - italic_κ end_ARG + divide start_ARG ( 2 italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG ( 0.5 - italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG + 0.6 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ ( 0.5 + italic_κ + 2 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT )
γκ(1+2(2κ)0.5κ+(2κ)2(0.5κ)2)(0.5+κ)+ϵt()+1.2γκϵt2absentsubscript𝛾𝜅122𝜅0.5𝜅superscript2𝜅2superscript0.5𝜅20.5𝜅subscriptitalic-ϵ𝑡1.2subscript𝛾𝜅superscriptsubscriptitalic-ϵ𝑡2\displaystyle\leq\gamma_{\kappa}\cdot\left(1+\frac{2(2\kappa)}{0.5-\kappa}+% \frac{(2\kappa)^{2}}{(0.5-\kappa)^{2}}\right)\cdot(0.5+\kappa)+\epsilon_{t}% \cdot(\dagger)+1.2\cdot\gamma_{\kappa}\cdot\epsilon_{t}^{2}≤ italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 1 + divide start_ARG 2 ( 2 italic_κ ) end_ARG start_ARG 0.5 - italic_κ end_ARG + divide start_ARG ( 2 italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG ( 0.5 - italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) ⋅ ( 0.5 + italic_κ ) + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ ( † ) + 1.2 ⋅ italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT

for ():=γκ(0.6(0.5+κ)+2(1+2(2κ)0.5κ+(2κ)2(0.5κ)2))<4.assignsubscript𝛾𝜅0.60.5𝜅2122𝜅0.5𝜅superscript2𝜅2superscript0.5𝜅24(\dagger):=\gamma_{\kappa}\cdot\left(0.6(0.5+\kappa)+2\left(1+\frac{2(2\kappa)% }{0.5-\kappa}+\frac{(2\kappa)^{2}}{(0.5-\kappa)^{2}}\right)\right)<4.( † ) := italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 0.6 ( 0.5 + italic_κ ) + 2 ( 1 + divide start_ARG 2 ( 2 italic_κ ) end_ARG start_ARG 0.5 - italic_κ end_ARG + divide start_ARG ( 2 italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG ( 0.5 - italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) ) < 4 . We loosely bound 4ϵt+4ϵt25ϵt4subscriptitalic-ϵ𝑡4superscriptsubscriptitalic-ϵ𝑡25subscriptitalic-ϵ𝑡4\epsilon_{t}+4\epsilon_{t}^{2}\leq 5\epsilon_{t}4 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT + 4 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ≤ 5 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT for ϵitalic-ϵ\epsilonitalic_ϵ sufficiently small. So we just need to show 2τ1γκ(1+2(2κ)0.5κ+(2κ)2(0.5κ)2)(0.5+κ)5ϵt2κ0.5κ+ϵt.2𝜏1subscript𝛾𝜅122𝜅0.5𝜅superscript2𝜅2superscript0.5𝜅20.5𝜅5subscriptitalic-ϵ𝑡2𝜅0.5𝜅subscriptitalic-ϵ𝑡2\tau-1-\gamma_{\kappa}\cdot\left(1+\frac{2(2\kappa)}{0.5-\kappa}+\frac{(2% \kappa)^{2}}{(0.5-\kappa)^{2}}\right)\cdot(0.5+\kappa)-5\epsilon_{t}\geq\frac{% 2\kappa}{0.5-\kappa}+\epsilon_{t}.2 italic_τ - 1 - italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 1 + divide start_ARG 2 ( 2 italic_κ ) end_ARG start_ARG 0.5 - italic_κ end_ARG + divide start_ARG ( 2 italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG ( 0.5 - italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) ⋅ ( 0.5 + italic_κ ) - 5 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ≥ divide start_ARG 2 italic_κ end_ARG start_ARG 0.5 - italic_κ end_ARG + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT . Using that ϵtϵsubscriptitalic-ϵ𝑡italic-ϵ\epsilon_{t}\leq\epsilonitalic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ≤ italic_ϵ it suffices to show 6ϵ2τ1γκ(1+2(2κ)0.5κ+(2κ)2(0.5κ)2)(0.5+κ)2κ0.5κ.6italic-ϵ2𝜏1subscript𝛾𝜅122𝜅0.5𝜅superscript2𝜅2superscript0.5𝜅20.5𝜅2𝜅0.5𝜅6\epsilon\leq 2\tau-1-\gamma_{\kappa}\cdot\left(1+\frac{2(2\kappa)}{0.5-\kappa% }+\frac{(2\kappa)^{2}}{(0.5-\kappa)^{2}}\right)\cdot(0.5+\kappa)-\frac{2\kappa% }{0.5-\kappa}.6 italic_ϵ ≤ 2 italic_τ - 1 - italic_γ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 1 + divide start_ARG 2 ( 2 italic_κ ) end_ARG start_ARG 0.5 - italic_κ end_ARG + divide start_ARG ( 2 italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG ( 0.5 - italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG ) ⋅ ( 0.5 + italic_κ ) - divide start_ARG 2 italic_κ end_ARG start_ARG 0.5 - italic_κ end_ARG . Recalling that κ:=0.0115ϵassign𝜅0.0115italic-ϵ\kappa:=0.0115-\epsilonitalic_κ := 0.0115 - italic_ϵ, we note this reduces to a single-variable inequality in only ϵitalic-ϵ\epsilonitalic_ϵ. This is not easy to show directly, as it crucially is true for the magic constant 0.01150.01150.01150.0115, but can readily be shown by computer verification. Indeed, the RHS and LHS are easily seen to be 100-Lipschitz as functions of ϵ[0,0.1]italic-ϵ00.1\epsilon\in[0,0.1]italic_ϵ ∈ [ 0 , 0.1 ], say, so we confirm the RHS is at least 105superscript10510^{-5}10 start_POSTSUPERSCRIPT - 5 end_POSTSUPERSCRIPT larger than the LHS on a grid of 106superscript10610^{6}10 start_POSTSUPERSCRIPT 6 end_POSTSUPERSCRIPT points on [0,0.1]00.1[0,0.1][ 0 , 0.1 ].

Hence, we get σi,tsubscript𝜎𝑖𝑡\sigma_{i,t}italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is bounded away from 00 and can apply 5.1: for any fixed i𝑖iitalic_i such that (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is late, we have with probability at least 12exp(100nT)12100𝑛𝑇1-2\cdot\exp(-100nT)1 - 2 ⋅ roman_exp ( - 100 italic_n italic_T ) that σi,t/σ^i,t[1ϵ/200T,1+ϵ/200T].subscript𝜎𝑖𝑡subscript^𝜎𝑖𝑡1italic-ϵ200𝑇1italic-ϵ200𝑇\sigma_{i,t}/\hat{\sigma}_{i,t}\in[1-\epsilon/200T,1+\epsilon/200T].italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT / over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∈ [ 1 - italic_ϵ / 200 italic_T , 1 + italic_ϵ / 200 italic_T ] . Note that in this case we have

1σ^i,t1subscript^𝜎𝑖𝑡\displaystyle\frac{1}{\hat{\sigma}_{i,t}}divide start_ARG 1 end_ARG start_ARG over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG 1+ϵ/200Tσi,tabsent1italic-ϵ200𝑇subscript𝜎𝑖𝑡\displaystyle\leq\frac{1+\epsilon/200T}{\sigma_{i,t}}≤ divide start_ARG 1 + italic_ϵ / 200 italic_T end_ARG start_ARG italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG
1+ϵ/200T2κ+0.1ϵt.absent1italic-ϵ200𝑇2𝜅0.1subscriptitalic-ϵ𝑡\displaystyle\leq\frac{1+\epsilon/200T}{2\kappa+0.1\epsilon_{t}}.≤ divide start_ARG 1 + italic_ϵ / 200 italic_T end_ARG start_ARG 2 italic_κ + 0.1 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG .

Recall β^i,t:=min(1,((0.5+κ)yi,t(0.5κ))1σ^i,t).assignsubscript^𝛽𝑖𝑡10.5𝜅subscript𝑦𝑖𝑡0.5𝜅1subscript^𝜎𝑖𝑡\hat{\beta}_{i,t}:=\min\Big{(}1,\left((0.5+\kappa)\cdot y_{i,t}-(0.5-\kappa)% \right)\cdot\frac{1}{\hat{\sigma}_{i,t}}\Big{)}.over^ start_ARG italic_β end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := roman_min ( 1 , ( ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) ) ⋅ divide start_ARG 1 end_ARG start_ARG over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG ) . Note

((0.5+κ)yi,t(0.5κ))1σ^i,t2κ(2κ+0.1ϵt)1(1+ϵ/200T)10.5𝜅subscript𝑦𝑖𝑡0.5𝜅1subscript^𝜎𝑖𝑡2𝜅superscript2𝜅0.1subscriptitalic-ϵ𝑡11italic-ϵ200𝑇1\displaystyle\left((0.5+\kappa)\cdot y_{i,t}-(0.5-\kappa)\right)\cdot\frac{1}{% \hat{\sigma}_{i,t}}\leq 2\kappa\cdot(2\kappa+0.1\epsilon_{t})^{-1}\cdot(1+% \epsilon/200T)\leq 1( ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) ) ⋅ divide start_ARG 1 end_ARG start_ARG over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG ≤ 2 italic_κ ⋅ ( 2 italic_κ + 0.1 italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT - 1 end_POSTSUPERSCRIPT ⋅ ( 1 + italic_ϵ / 200 italic_T ) ≤ 1

where the final (loose) inequality follows as T1𝑇1T\geq 1italic_T ≥ 1 and κ0.4𝜅0.4\kappa\leq 0.4italic_κ ≤ 0.4. This implies

Pr[(i,t)𝒜2]Pr𝑖𝑡subscript𝒜2\displaystyle\Pr[(i,t)\in\mathcal{A}_{2}]roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] =xi,tσi,tβ^i,tabsentsubscript𝑥𝑖𝑡subscript𝜎𝑖𝑡subscript^𝛽𝑖𝑡\displaystyle=x_{i,t}\cdot\sigma_{i,t}\cdot\hat{\beta}_{i,t}= italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ over^ start_ARG italic_β end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT (Equation 19)
=xi,tσi,t((0.5+κ)yi,t(0.5κ))1σ^i,tabsentsubscript𝑥𝑖𝑡subscript𝜎𝑖𝑡0.5𝜅subscript𝑦𝑖𝑡0.5𝜅1subscript^𝜎𝑖𝑡\displaystyle=x_{i,t}\cdot\sigma_{i,t}\cdot\left((0.5+\kappa)\cdot y_{i,t}-(0.% 5-\kappa)\right)\cdot\frac{1}{\hat{\sigma}_{i,t}}= italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_σ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) ) ⋅ divide start_ARG 1 end_ARG start_ARG over^ start_ARG italic_σ end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG
xi,t(1ϵ/200T)((0.5+κ)yi,t(0.5κ))absentsubscript𝑥𝑖𝑡1italic-ϵ200𝑇0.5𝜅subscript𝑦𝑖𝑡0.5𝜅\displaystyle\geq x_{i,t}\cdot(1-\epsilon/200T)\cdot\left((0.5+\kappa)\cdot y_% {i,t}-(0.5-\kappa)\right)≥ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( 1 - italic_ϵ / 200 italic_T ) ⋅ ( ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) )

and similarly

Pr[(i,t)𝒜2]xi,t(1+ϵ/200T)((0.5+κ)yi,t(0.5κ)).Pr𝑖𝑡subscript𝒜2subscript𝑥𝑖𝑡1italic-ϵ200𝑇0.5𝜅subscript𝑦𝑖𝑡0.5𝜅\Pr[(i,t)\in\mathcal{A}_{2}]\leq x_{i,t}\cdot(1+\epsilon/200T)\cdot\left((0.5+% \kappa)\cdot y_{i,t}-(0.5-\kappa)\right).roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] ≤ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( 1 + italic_ϵ / 200 italic_T ) ⋅ ( ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) ) .

Then, we have

Pr[(i,t)𝒜1]Pr𝑖𝑡subscript𝒜1\displaystyle\Pr[(i,t)\in\mathcal{A}_{1}]roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] +Pr[(i,t)𝒜2]Pr𝑖𝑡subscript𝒜2\displaystyle+\Pr[(i,t)\in\mathcal{A}_{2}]+ roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ]
xi,t(1(0.5+κ+ϵt)yi,t+(1ϵ/200T)((0.5+κ)yi,t(0.5κ))\displaystyle\geq x_{i,t}\cdot(1-(0.5+\kappa+\epsilon_{t})\cdot y_{i,t}+(1-% \nicefrac{{\epsilon}}{{200T}})\cdot((0.5+\kappa)y_{i,t}-(0.5-\kappa))≥ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( 1 - ( 0.5 + italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT + ( 1 - / start_ARG italic_ϵ end_ARG start_ARG 200 italic_T end_ARG ) ⋅ ( ( 0.5 + italic_κ ) italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) )
=xi,t(1+yi,t(0.5κϵt+(1ϵ/200T)(0.5+κ))(1ϵ/200T)(0.5κ))absentsubscript𝑥𝑖𝑡1subscript𝑦𝑖𝑡0.5𝜅subscriptitalic-ϵ𝑡1italic-ϵ200𝑇0.5𝜅1italic-ϵ200𝑇0.5𝜅\displaystyle=x_{i,t}\cdot\left(1+y_{i,t}\left(-0.5-\kappa-\epsilon_{t}+(1-% \nicefrac{{\epsilon}}{{200T}})\cdot(0.5+\kappa)\right)-(1-\nicefrac{{\epsilon}% }{{200T}})\cdot(0.5-\kappa)\right)= italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( 1 + italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ( - 0.5 - italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT + ( 1 - / start_ARG italic_ϵ end_ARG start_ARG 200 italic_T end_ARG ) ⋅ ( 0.5 + italic_κ ) ) - ( 1 - / start_ARG italic_ϵ end_ARG start_ARG 200 italic_T end_ARG ) ⋅ ( 0.5 - italic_κ ) )
xi,t(1+(0.5κϵt+(1ϵ/200T)(0.5+κ))(1ϵ/200T)(0.5κ)),absentsubscript𝑥𝑖𝑡10.5𝜅subscriptitalic-ϵ𝑡1italic-ϵ200𝑇0.5𝜅1italic-ϵ200𝑇0.5𝜅\displaystyle\geq x_{i,t}\cdot\left(1+\left(-0.5-\kappa-\epsilon_{t}+(1-% \nicefrac{{\epsilon}}{{200T}})\cdot(0.5+\kappa)\right)-(1-\nicefrac{{\epsilon}% }{{200T}})\cdot(0.5-\kappa)\right),≥ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( 1 + ( - 0.5 - italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT + ( 1 - / start_ARG italic_ϵ end_ARG start_ARG 200 italic_T end_ARG ) ⋅ ( 0.5 + italic_κ ) ) - ( 1 - / start_ARG italic_ϵ end_ARG start_ARG 200 italic_T end_ARG ) ⋅ ( 0.5 - italic_κ ) ) ,

where the last inequality uses that the coefficient of yi,tsubscript𝑦𝑖𝑡y_{i,t}italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT above is 0.5κϵt+(1ϵ/200T)(0.5+κ)0.5𝜅subscriptitalic-ϵ𝑡1italic-ϵ200𝑇0.5𝜅-0.5-\kappa-\epsilon_{t}+(1-\nicefrac{{\epsilon}}{{200T}})(0.5+\kappa)- 0.5 - italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT + ( 1 - / start_ARG italic_ϵ end_ARG start_ARG 200 italic_T end_ARG ) ( 0.5 + italic_κ ), which is non-positive. Hence we can bound

Pr[(i,t)𝒜1]+Pr[(i,t)𝒜2]Pr𝑖𝑡subscript𝒜1Pr𝑖𝑡subscript𝒜2\displaystyle\Pr[(i,t)\in\mathcal{A}_{1}]+\Pr[(i,t)\in\mathcal{A}_{2}]roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] + roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] xi,t(1(0.5+κ+ϵt)+(1ϵ/200T)2κ)absentsubscript𝑥𝑖𝑡10.5𝜅subscriptitalic-ϵ𝑡1italic-ϵ200𝑇2𝜅\displaystyle\geq x_{i,t}\cdot(1-(0.5+\kappa+\epsilon_{t})+(1-\epsilon/200T)% \cdot 2\kappa)≥ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( 1 - ( 0.5 + italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ) + ( 1 - italic_ϵ / 200 italic_T ) ⋅ 2 italic_κ )
=xi,t(0.5+κϵtϵ100Tκ).absentsubscript𝑥𝑖𝑡0.5𝜅subscriptitalic-ϵ𝑡italic-ϵ100𝑇𝜅\displaystyle=x_{i,t}\cdot\left(0.5+\kappa-\epsilon_{t}-\frac{\epsilon}{100T}% \cdot\kappa\right).= italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT - divide start_ARG italic_ϵ end_ARG start_ARG 100 italic_T end_ARG ⋅ italic_κ ) .
xi,t(0.5+κϵt+1).absentsubscript𝑥𝑖𝑡0.5𝜅subscriptitalic-ϵ𝑡1\displaystyle\geq x_{i,t}\cdot\left(0.5+\kappa-\epsilon_{t+1}\right).≥ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ - italic_ϵ start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) .

We also have the analogous upper bound

Pr[(i,t)𝒜1]+Pr[(i,t)𝒜2]xi,t(0.5+κ+ϵt+1).Pr𝑖𝑡subscript𝒜1Pr𝑖𝑡subscript𝒜2subscript𝑥𝑖𝑡0.5𝜅subscriptitalic-ϵ𝑡1\displaystyle\Pr[(i,t)\in\mathcal{A}_{1}]+\Pr[(i,t)\in\mathcal{A}_{2}]\leq x_{% i,t}\cdot\left(0.5+\kappa+\epsilon_{t+1}\right).roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] + roman_Pr [ ( italic_i , italic_t ) ∈ caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] ≤ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ + italic_ϵ start_POSTSUBSCRIPT italic_t + 1 end_POSTSUBSCRIPT ) .

By the union bound, with probability at least 12nexp(100nT)12𝑛100𝑛𝑇1-2n\cdot\exp(-100nT)1 - 2 italic_n ⋅ roman_exp ( - 100 italic_n italic_T ) these two bounds hold for all i𝑖iitalic_i with (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) late. Via the inductive hypothesis, our starting assumption occurred with probability at least 12n(t1)exp(100nT)12𝑛𝑡1100𝑛𝑇1-2n(t-1)\cdot\exp(-100nT)1 - 2 italic_n ( italic_t - 1 ) ⋅ roman_exp ( - 100 italic_n italic_T ). Hence, by a final application of the union bound, we have that our desired property for arrivals {1,2,,t}12𝑡\{1,2,\ldots,t\}{ 1 , 2 , … , italic_t } holds with probability at least 12ntexp(100nT).12𝑛𝑡100𝑛𝑇1-2nt\cdot\exp(-100nT).1 - 2 italic_n italic_t ⋅ roman_exp ( - 100 italic_n italic_T ) .

6 Conclusion and Future Directions

We gave the first algorithm achieving an approximation ratio strictly better than 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG for capacitated online resource allocation, when comparing to the (computationally inefficient) optimum online algorithm. Our algorithm crucially limited the (necessary) positive correlation between offline users, and analyzed this via an inductive bound depending on the total LP flow sent to an individual user. This challenge does not arise in competitive analysis, and lends credence to the value of the optimum online as a complementary benchmark to the prophet.

Numerous directions for future research are suggested by our work. Can our guarantee of 0.5+κ0.5𝜅0.5+\kappa0.5 + italic_κ for κ=0.0115𝜅0.0115\kappa=0.0115italic_κ = 0.0115 be improved, perhaps by rounding stronger LPs? Is there a better tradeoff possible between the amount of positive correlation we introduce for early arrivals and the approximation ratio possible on late ones?

Finally, we believe the techniques developed for handling positive correlation may prove useful for future generalizations. The prophet inequalities literature has studied more general settings than capacitated allocation where the tight 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG-guarantee is known [FGL15, DFKL20], and our work gives some evidence that it is possible to get an improved approximation ratio against the online benchmark for these problems as well.

References

  • [ACCB+23] Vashist Avadhanula, Andrea Celli, Riccardo Colini-Baldeschi, Stefano Leonardi, and Matteo Russo. Fully dynamic online selection through online contention resolution schemes. In Proceedings of the Thirty-Seventh AAAI Conference on Artificial Intelligence and Thirty-Fifth Conference on Innovative Applications of Artificial Intelligence and Thirteenth Symposium on Educational Advances in Artificial Intelligence, AAAI’23/IAAI’23/EAAI’23. AAAI Press, 2023.
  • [Ada11] Marek Adamczyk. Improved analysis of the greedy algorithm for stochastic matching. Information Processing Letters (IPL), 111(15):731–737, 2011.
  • [AGKM11] Gagan Aggarwal, Gagan Goel, Chinmay Karande, and Aranyak Mehta. Online vertex-weighted bipartite matching and single-bid budgeted allocations. In Proceedings of the 22nd Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1253–1264, 2011.
  • [AGM15] Marek Adamczyk, Fabrizio Grandoni, and Joydeep Mukherjee. Improved approximation algorithms for stochastic matching. In Nikhil Bansal and Irene Finocchi, editors, Algorithms - ESA 2015 - 23rd Annual European Symposium, Patras, Greece, September 14-16, 2015, Proceedings, volume 9294 of Lecture Notes in Computer Science, pages 1–12. Springer, 2015.
  • [AHL12] Saeed Alaei, MohammadTaghi Hajiaghayi, and Vahid Liaghat. Online prophet-inequality matching with applications to ad allocation. In Proceedings of the 13th ACM Conference on Electronic Commerce (EC), pages 18–35, 2012.
  • [AHL13] Saeed Alaei, MohammadTaghi Hajiaghayi, and Vahid Liaghat. The online stochastic generalized assignment problem. In Prasad Raghavendra, Sofya Raskhodnikova, Klaus Jansen, and José D. P. Rolim, editors, Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques - 16th International Workshop, APPROX 2013, and 17th International Workshop, RANDOM 2013, Berkeley, CA, USA, August 21-23, 2013. Proceedings, volume 8096 of Lecture Notes in Computer Science, pages 11–25. Springer, 2013.
  • [Ala14] Saeed Alaei. Bayesian combinatorial auctions: Expanding single buyer mechanisms to many buyers. SIAM Journal on Computing (SICOMP), 43(2):930–972, 2014.
  • [AM23] Ali Aouad and Will Ma. A nonparametric framework for online stochastic matching with correlated arrivals. In Kevin Leyton-Brown, Jason D. Hartline, and Larry Samuelson, editors, Proceedings of the 24th ACM Conference on Economics and Computation, EC 2023, London, United Kingdom, July 9-12, 2023, page 114. ACM, 2023.
  • [ANSS19] Nima Anari, Rad Niazadeh, Amin Saberi, and Ali Shameli. Nearly optimal pricing algorithms for production constrained and laminar bayesian selection. In Proceedings of the 20th ACM Conference on Economics and Computation (EC), pages 91–92, 2019.
  • [BC21] Guy Blanc and Moses Charikar. Multiway online correlated selection. In Proceedings of the 62nd Symposium on Foundations of Computer Science (FOCS), pages 1277–1284, 2021.
  • [BDL22] Mark Braverman, Mahsa Derakhshan, and Antonio Molina Lovett. Max-weight online stochastic matching: Improved approximations against the online benchmark. In David M. Pennock, Ilya Segal, and Sven Seuken, editors, EC ’22: The 23rd ACM Conference on Economics and Computation, Boulder, CO, USA, July 11 - 15, 2022, pages 967–985. ACM, 2022.
  • [BGL+12] Nikhil Bansal, Anupam Gupta, Jian Li, Julián Mestre, Viswanath Nagarajan, and Atri Rudra. When lp is the cure for your matching woes: Improved bounds for stochastic matchings. Algorithmica, 63(4):733–762, 2012.
  • [BHK+24] Kiarash Banihashem, MohammadTaghi Hajiaghayi, Dariusz R Kowalski, Piotr Krysta, and Jan Olkowski. Power of posted-price mechanisms for prophet inequalities. In Proceedings of the 2024 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 4580–4604. SIAM, 2024.
  • [BK10] Bahman Bahmani and Michael Kapralov. Improved bounds for online stochastic matching. In Mark de Berg and Ulrich Meyer, editors, Algorithms - ESA 2010, 18th Annual European Symposium, Liverpool, UK, September 6-8, 2010. Proceedings, Part I, volume 6346 of Lecture Notes in Computer Science, pages 170–181. Springer, 2010.
  • [BK23] Alexander Braun and Thomas Kesselheim. Simplified prophet inequalities for combinatorial auctions. In 2023 Symposium on Simplicity in Algorithms (SOSA), pages 381–389, 2023.
  • [BM19] Jackie Baek and Will Ma. Prophet inequalities on the intersection of a matroid and a graph. CoRR, abs/1906.04899, 2019.
  • [BMR20] Allan Borodin, Calum MacRury, and Akash Rakheja. Bipartite stochastic matching: Online, random order, and iid models. arXiv preprint arXiv:2004.14304, 2020.
  • [BSSX16] Brian Brubach, Karthik Abinav Sankararaman, Aravind Srinivasan, and Pan Xu. New algorithms, better bounds, and a novel model for online stochastic matching. In Proceedings of the 24th Annual European Symposium on Algorithms (ESA), pages 24:1–24:16, 2016.
  • [BSSX20] Brian Brubach, Karthik Abinav Sankararaman, Aravind Srinivasan, and Pan Xu. Online stochastic matching: New algorithms and bounds. Algorithmica, 82(10):2737–2783, 2020.
  • [CC23] José Correa and Andrés Cristi. A constant factor prophet inequality for online combinatorial auctions. In Proceedings of the 55th Annual ACM Symposium on Theory of Computing, STOC 2023, page 686–697, New York, NY, USA, 2023. Association for Computing Machinery.
  • [CCF+22] José Correa, Andrés Cristi, Andrés Fielbaum, Tristan Pollner, and S. Matthew Weinberg. Optimal item pricing in online combinatorial auctions. In Karen Aardal and Laura Sanità, editors, Integer Programming and Combinatorial Optimization, pages 126–139, Cham, 2022. Springer International Publishing.
  • [CGKM20] Shuchi Chawla, Kira Goldner, Anna R. Karlin, and J. Benjamin Miller. Non-adaptive matroid prophet inequalities. CoRR, abs/2011.09406, 2020.
  • [CHMS10] Shuchi Chawla, Jason D Hartline, David L Malec, and Balasubramanian Sivan. Multi-parameter mechanism design and sequential posted pricing. In Proceedings of the 42nd Annual ACM Symposium on Theory of Computing (STOC), pages 311–320, 2010.
  • [CIK+09] Ning Chen, Nicole Immorlica, Anna R Karlin, Mohammad Mahdian, and Atri Rudra. Approximating matches made in heaven. In Proceedings of the 36th International Colloquium on Automata, Languages and Programming (ICALP), pages 266–278, 2009.
  • [DFKL20] Paul Dütting, Michal Feldman, Thomas Kesselheim, and Brendan Lucier. Prophet inequalities made easy: Stochastic optimization by pricing nonstochastic inputs. SIAM Journal on Computing (SICOMP), 49(3), 2020.
  • [DGR+23] Paul Dütting, Evangelia Gergatsouli, Rojin Rezvan, Yifeng Teng, and Alexandros Tsigonias-Dimitriadis. Prophet secretary against the online optimal. In Kevin Leyton-Brown, Jason D. Hartline, and Larry Samuelson, editors, Proceedings of the 24th ACM Conference on Economics and Computation, EC 2023, London, United Kingdom, July 9-12, 2023, pages 561–581. ACM, 2023.
  • [DK15] Paul Dütting and Robert Kleinberg. Polymatroid prophet inequalities. In Nikhil Bansal and Irene Finocchi, editors, Algorithms - ESA 2015 - 23rd Annual European Symposium, Patras, Greece, September 14-16, 2015, Proceedings, volume 9294 of Lecture Notes in Computer Science, pages 437–449. Springer, 2015.
  • [DKL20] Paul Dütting, Thomas Kesselheim, and Brendan Lucier. An O(loglogm)𝑂𝑚{O}(\log\log m)italic_O ( roman_log roman_log italic_m ) prophet inequality for subadditive combinatorial auctions. In 2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS), pages 306–317. IEEE, 2020.
  • [DSSX21] John P. Dickerson, Karthik A. Sankararaman, Aravind Srinivasan, and Pan Xu. Allocation problems in ride-sharing platforms: Online matching with offline reusable resources. ACM Trans. Econ. Comput., 9(3), June 2021.
  • [EFGT20] Tomer Ezra, Michal Feldman, Nick Gravin, and Zhihao Gavin Tang. Online stochastic max-weight matching: prophet inequality for vertex and edge arrival models. In Proceedings of the 21st ACM Conference on Economics and Computation (EC), pages 769–787, 2020.
  • [FGL15] Michal Feldman, Nick Gravin, and Brendan Lucier. Combinatorial auctions via posted prices. In Proceedings of the 26th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 123–135, 2015.
  • [FHTZ20] Matthew Fahrbach, Zhiyi Huang, Runzhou Tao, and Morteza Zadimoghaddam. Edge-weighted online bipartite matching. In Proceedings of the 61st Symposium on Foundations of Computer Science (FOCS), 2020. To Appear.
  • [FLT+22] Hu Fu, Pinyan Lu, Zhihao Gavin Tang, Abner Turkieltaub, Hongxun Wu, Jinzhao Wu, and Qianfan Zhang. Oblivious online contention resolution schemes. In Symposium on Simplicity in Algorithms (SOSA), pages 268–278, 2022.
  • [FMMM09] Jon Feldman, Aranyak Mehta, Vahab Mirrokni, and S Muthukrishnan. Online stochastic matching: Beating 1-1/e. In Proceedings of the 50th Symposium on Foundations of Computer Science (FOCS), pages 117–126, 2009.
  • [FNS19] Yiding Feng, Rad Niazadeh, and Amin Saberi. Linear programming based online policies for real-time assortment of reusable resources. SSRN Electronic Journal, 01 2019.
  • [FNS22] Yiding Feng, Rad Niazadeh, and Amin Saberi. Near-optimal bayesian online assortment of reusable resources. In Proceedings of the 23rd ACM Conference on Economics and Computation, EC ’22, page 964–965, New York, NY, USA, 2022. Association for Computing Machinery.
  • [FSZ16] Moran Feldman, Ola Svensson, and Rico Zenklusen. Online contention resolution schemes. In Proceedings of the 27th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1014–1033, 2016.
  • [GHH+21] Ruiquan Gao, Zhongtian He, Zhiyi Huang, Zipei Nie, Bijun Yuan, and Yan Zhong. Improved online correlated selection. In Proceedings of the 62nd Symposium on Foundations of Computer Science (FOCS), 2021. To Appear.
  • [GHK+14] Oliver Göbel, Martin Hoefer, Thomas Kesselheim, Thomas Schleiden, and Berthold Vöcking. Online independent set beyond the worst-case: Secretaries, prophets, and periods. In Javier Esparza, Pierre Fraigniaud, Thore Husfeldt, and Elias Koutsoupias, editors, Automata, Languages, and Programming - 41st International Colloquium, ICALP 2014, Copenhagen, Denmark, July 8-11, 2014, Proceedings, Part II, volume 8573 of Lecture Notes in Computer Science, pages 508–519. Springer, 2014.
  • [GKPS06] Rajiv Gandhi, Samir Khuller, Srinivasan Parthasarathy, and Aravind Srinivasan. Dependent rounding and its applications to approximation algorithms. Journal of the ACM (JACM), 53(3):324–360, 2006.
  • [GKS19] Buddhima Gamlath, Sagar Kale, and Ola Svensson. Beating greedy for stochastic bipartite matching. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 2841–2854. SIAM, 2019.
  • [GU23] Vineet Goyal and Rajan Udwani. Online matching with stochastic rewards: Optimal competitive ratio via path-based formulation. Oper. Res., 71(2):563–580, 2023.
  • [GW19] Nikolai Gravin and Hongao Wang. Prophet inequality for bipartite matching: Merits of being simple and non adaptive. In Proceedings of the 20th ACM Conference on Economics and Computation (EC), pages 93–109, 2019.
  • [HJS+23] Zhiyi Huang, Hanrui Jiang, Aocheng Shen, Junkai Song, Zhiang Wu, and Qiankun Zhang. Online matching with stochastic rewards: Advanced analyses using configuration linear programs. In Jugal Garg, Max Klimm, and Yuqing Kong, editors, Web and Internet Economics - 19th International Conference, WINE 2023, Shanghai, China, December 4-8, 2023, Proceedings, volume 14413 of Lecture Notes in Computer Science, pages 384–401. Springer, 2023.
  • [HKS07] Mohammad Taghi Hajiaghayi, Robert Kleinberg, and Tuomas Sandholm. Automated online mechanism design and prophet inequalities. In Proceedings of the 22nd AAAI Conference on Artificial Intelligence (AAAI), pages 58–65, 2007.
  • [HMZ11] Bernhard Haeupler, Vahab S. Mirrokni, and Morteza Zadimoghaddam. Online stochastic weighted matching: Improved approximation algorithms. In Ning Chen, Edith Elkind, and Elias Koutsoupias, editors, Internet and Network Economics - 7th International Workshop, WINE 2011, Singapore, December 11-14, 2011. Proceedings, volume 7090 of Lecture Notes in Computer Science, pages 170–181. Springer, 2011.
  • [HS21] Zhiyi Huang and Xinkai Shu. Online stochastic matching, poisson arrivals, and the natural linear program. In Samir Khuller and Virginia Vassilevska Williams, editors, STOC ’21: 53rd Annual ACM SIGACT Symposium on Theory of Computing, Virtual Event, Italy, June 21-25, 2021, pages 682–693. ACM, 2021.
  • [HSY22] Zhiyi Huang, Xinkai Shu, and Shuyi Yan. The power of multiple choices in online stochastic matching. In Stefano Leonardi and Anupam Gupta, editors, STOC ’22: 54th Annual ACM SIGACT Symposium on Theory of Computing, Rome, Italy, June 20 - 24, 2022, pages 91–103. ACM, 2022.
  • [HZ20] Zhiyi Huang and Qiankun Zhang. Online primal dual meets online matching with stochastic rewards: configuration lp to the rescue. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, STOC 2020, page 1153–1164, New York, NY, USA, 2020. Association for Computing Machinery.
  • [JL13] Patrick Jaillet and Xin Lu. Online stochastic matching: New algorithms with better bounds. Mathematics of Operations Research, 2013.
  • [JMZ22] Jiashuo Jiang, Will Ma, and Jiawei Zhang. Tight guarantees for multi-unit prophet inequalities and online stochastic knapsack. In Proceedings of the 2022 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1221–1246, 2022.
  • [KS78] Ulrich Krengel and Louis Sucheston. On semiamarts, amarts, and processes with finite value. Probability on Banach spaces, 4:197–266, 1978.
  • [KVV90] Richard M Karp, Umesh V Vazirani, and Vijay V Vazirani. An optimal algorithm for on-line bipartite matching. In Proceedings of the 22nd Annual ACM Symposium on Theory of Computing (STOC), pages 352–358, 1990.
  • [KW19] Robert Kleinberg and S Matthew Weinberg. Matroid prophet inequalities and applications to multi-dimensional mechanism design. Games and Economic Behavior, 113:97–115, 2019.
  • [LS18] Euiwoong Lee and Sahil Singla. Optimal online contention resolution schemes via ex-ante prophet inequalities. In Proceedings of the 26th Annual European Symposium on Algorithms (ESA), pages 57:1–57:14, 2018.
  • [Luc17] Brendan Lucier. An economic view of prophet inequalities. ACM SIGecom Exchanges, 16(1):24–47, 2017.
  • [Meh13] Aranyak Mehta. Online matching and ad allocation. Foundations and Trends® in Theoretical Computer Science, 8(4):265–368, 2013.
  • [MGS12] Vahideh H Manshadi, Shayan Oveis Gharan, and Amin Saberi. Online stochastic matching: Online actions based on offline statistics. Mathematics of Operations Research, 37(4):559–573, 2012.
  • [MMG23] Calum MacRury, Will Ma, and Nathaniel Grammel. On (random-order) online contention resolution schemes for the matching polytope of (bipartite) graphs. In Proceedings of the 2023 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1995–2014, 2023.
  • [MP12] Aranyak Mehta and Debmalya Panigrahi. Online matching with stochastic rewards. In Symposium on Foundations of Computer Science (FOCS), 2012.
  • [MWZ15] Aranyak Mehta, Bo Waggoner, and Morteza Zadimoghaddam. Online stochastic matching with unequal probabilities. In Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA-15), pages 1388–1404, 2015.
  • [NSW23] Joseph Naor, Aravind Srinivasan, and David Wajc. Online dependent rounding schemes. CoRR, abs/2301.08680, 2023.
  • [PPSW21] Christos Papadimitriou, Tristan Pollner, Amin Saberi, and David Wajc. Online stochastic max-weight bipartite matching: Beyond prophet inequalities. In Proceedings of the 22nd ACM Conference on Economics and Computation (EC), pages 763–764, 2021.
  • [PRSW22] Tristan Pollner, Mohammad Roghani, Amin Saberi, and David Wajc. Improved online contention resolution for matchings and applications to the gig economy. In Proceedings of the 23rd ACM Conference on Economics and Computation, EC ’22, page 321–322, New York, NY, USA, 2022. Association for Computing Machinery.
  • [Rub16] Aviad Rubinstein. Beyond matroids: secretary problem and prophet inequality with general constraints. In Proceedings of the Forty-Eighth Annual ACM Symposium on Theory of Computing, STOC ’16, page 324–332, New York, NY, USA, 2016. Association for Computing Machinery.
  • [SC84] Ester Samuel-Cahn. Comparison of threshold stop rules and maximum for independent nonnegative random variables. the Annals of Probability, 12(4):1213–1216, 1984.
  • [Sri01] Aravind Srinivasan. Distributions on level-sets with applications to approximation algorithms. In Proceedings of the 42nd Symposium on Foundations of Computer Science (FOCS), pages 588–597, 2001.
  • [SW21] Amin Saberi and David Wajc. The greedy algorithm is not optimal for on-line edge coloring. In Proceedings of the 48th International Colloquium on Automata, Languages and Programming (ICALP), pages 109:1–109:18, 2021.
  • [TT22] Alfredo Torrico and Alejandro Toriello. Dynamic relaxations for online bipartite matching. INFORMS Journal on Computing, 2022.
  • [TWW22] Zhihao Gavin Tang, Jinzhao Wu, and Hongxun Wu. (Fractional) online stochastic matching via fine-grained offline statistics. In Proceedings of the 54th Annual ACM Symposium on Theory of Computing (STOC), pages 77–90, 2022.

Appendix A Informative Examples and Observations

In this section, we give some examples and observations which might help to gain a deeper understanding of the problem.

A.1 The Generalization of [BDL22] Fails

Given the attention previously dedicated to the unit-capacity case, we first ask how these algorithms perform for the capacitated problem. Previous works for matching have all used the LP relaxation (LPon) with ct=1subscript𝑐𝑡1c_{t}=1italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT = 1, in the special case where each success probability qi,tsubscript𝑞𝑖𝑡q_{i,t}italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT equals 1. In the simplest case where every resource t𝑡titalic_t either (i) arrives with a fixed capacity and values, with probability ptsubscript𝑝𝑡p_{t}italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT or (ii) does not arrive, with probability 1pt1subscript𝑝𝑡1-p_{t}1 - italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT, the algorithm works in the following way: in the case that resource t𝑡titalic_t arrives, every available user i𝑖iitalic_i sends a proposal to t𝑡titalic_t with probability

xi,tpt(1t<txi,t),subscript𝑥𝑖𝑡subscript𝑝𝑡1subscriptsuperscript𝑡𝑡subscript𝑥𝑖superscript𝑡\frac{x_{i,t}}{p_{t}\cdot\left(1-\sum_{t^{\prime}<t}x_{i,t^{\prime}}\right)},divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ ( 1 - ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) end_ARG ,

an expression that is at most 1 by (LPon) Constraint (2). The resource is matched to the proposing user with highest value vi,tsubscript𝑣𝑖𝑡v_{i,t}italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT. [BDL22] show that this algorithm gives a (11/e)11𝑒(1-1/e)( 1 - 1 / italic_e )-approximation against (LPon), and hence also the optimum online benchmark.

To account for capacities, we might naturally generalize this algorithm to match an arriving resource t𝑡titalic_t to the top ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT proposing users. Surprisingly, this small modification drastically changes the algorithm’s performance.

See 1.3

Proof.

Take some n𝑛nitalic_n such that n>2ϵ𝑛2italic-ϵn>\frac{2}{\epsilon}italic_n > divide start_ARG 2 end_ARG start_ARG italic_ϵ end_ARG, and consider an instance with n𝑛nitalic_n users and two resources. The first resource has a capacity of n𝑛nitalic_n (i.e., values are additive over all users), arrives with probability 11/n11𝑛1-1/n1 - 1 / italic_n and values are 1111 for each user individually. The second resource is unit-capacity, arrives with probability 1, and values are n2superscript𝑛2n^{2}italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT for each user individually. All allocations are successful with probability 1.

The unique optimal solution to (LPon) sets xi,1=11/nsubscript𝑥𝑖111𝑛x_{i,1}=1-1/nitalic_x start_POSTSUBSCRIPT italic_i , 1 end_POSTSUBSCRIPT = 1 - 1 / italic_n for every pair (i,1)𝑖1(i,1)( italic_i , 1 ) incident to the first resource, and sets xi,2=1/nsubscript𝑥𝑖21𝑛x_{i,2}=1/nitalic_x start_POSTSUBSCRIPT italic_i , 2 end_POSTSUBSCRIPT = 1 / italic_n for every pair (i,2)𝑖2(i,2)( italic_i , 2 ) incident to the second resource. Thus, when running (the natural generalization of) [BDL22], every user proposes to the first resource if it arrives, and hence with probability 11/n11𝑛1-1/n1 - 1 / italic_n all users are assigned in the first timestep. If the first resource does not arrive, exactly one user is allocated to the second unit-capacity resource. Hence the expected gain of the algorithm is (11n)n+1nn2=2n111𝑛𝑛1𝑛superscript𝑛22𝑛1\left(1-\frac{1}{n}\right)\cdot n+\frac{1}{n}\cdot n^{2}=2n-1( 1 - divide start_ARG 1 end_ARG start_ARG italic_n end_ARG ) ⋅ italic_n + divide start_ARG 1 end_ARG start_ARG italic_n end_ARG ⋅ italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = 2 italic_n - 1. However clearly for this instance OPTonn2subscriptOPTonsuperscript𝑛2\mathrm{OPT}_{\mathrm{on}}\geq n^{2}roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT ≥ italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT. ∎

A.2 Positive Correlation is Required

Next, we argue that we need to have positive correlation for general capacitated resource allocation.

See 1.4

Proof.

Let Fi,tsubscript𝐹𝑖𝑡F_{i,t}italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT denote an indicator for user i𝑖iitalic_i being free just before the arrival of resource t𝑡titalic_t. Consider resource t𝑡titalic_t with capacity two arriving with probability ϵitalic-ϵ\epsilonitalic_ϵ which is adjacent to two users {i,j}𝑖𝑗\{i,j\}{ italic_i , italic_j } with unit values. Imagine the LP sets a value of ϵitalic-ϵ\epsilonitalic_ϵ on each edge. To achieve an approximation factor of (0.5+κ)0.5𝜅(0.5+\kappa)( 0.5 + italic_κ ) against LP, we are required to have that that the expected number of users assigned to t𝑡titalic_t is at least (0.5+κ)2ϵ0.5𝜅2italic-ϵ(0.5+\kappa)\cdot 2\epsilon( 0.5 + italic_κ ) ⋅ 2 italic_ϵ. Equivalently, we must have

Pr[Fi,t+1]+Pr[Fj,t+1]<2(0.5+κ)2ϵPrsubscript𝐹𝑖𝑡1Prsubscript𝐹𝑗𝑡120.5𝜅2italic-ϵ\Pr[F_{i,t+1}]+\Pr[F_{j,t+1}]<2-(0.5+\kappa)\cdot 2\epsilonroman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] + roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] < 2 - ( 0.5 + italic_κ ) ⋅ 2 italic_ϵ

implying

Pr[Fi,t+1]Pr[Fj,t+1]<(1(0.5+κ)ϵ)2=1(1+2κ)ϵ+O(ϵ2).Prsubscript𝐹𝑖𝑡1Prsubscript𝐹𝑗𝑡1superscript10.5𝜅italic-ϵ2112𝜅italic-ϵ𝑂superscriptitalic-ϵ2\Pr[F_{i,t+1}]\cdot\Pr[F_{j,t+1}]<(1-(0.5+\kappa)\cdot\epsilon)^{2}=1-(1+2% \kappa)\epsilon+O(\epsilon^{2}).roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] < ( 1 - ( 0.5 + italic_κ ) ⋅ italic_ϵ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT = 1 - ( 1 + 2 italic_κ ) italic_ϵ + italic_O ( italic_ϵ start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) .

However, because i𝑖iitalic_i and j𝑗jitalic_j can only be matched if t𝑡titalic_t arrives, we have

Pr[Fi,t+1Fj,t+1]Prsubscript𝐹𝑖𝑡1subscript𝐹𝑗𝑡1\displaystyle\Pr[F_{i,t+1}\wedge F_{j,t+1}]roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] 1ϵ>Pr[Fi,t+1]Pr[Fj,t+1],absent1italic-ϵPrsubscript𝐹𝑖𝑡1Prsubscript𝐹𝑗𝑡1\displaystyle\geq 1-\epsilon>\Pr[F_{i,t+1}]\cdot\Pr[F_{j,t+1}],≥ 1 - italic_ϵ > roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] ,

where the final inequality holds for sufficiently small ϵitalic-ϵ\epsilonitalic_ϵ. ∎

A.3 On the Gap of (LPon)

Example A.1.

There exists an instance of online capacitated allocation where

OPTonOPT(LPon)0.75.subscriptOPTonOPTitalic-(LPonitalic-)0.75\frac{\mathrm{OPT}_{\mathrm{on}}}{\textup{OPT}\eqref{LP}}\leq 0.75.divide start_ARG roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT end_ARG start_ARG OPT italic_( italic_) end_ARG ≤ 0.75 .
Proof.

Consider an instance with two offline users, and two stochastic arrivals. The first resource has capacity 2, and arrives with probability 1/212\nicefrac{{1}}{{2}}/ start_ARG 1 end_ARG start_ARG 2 end_ARG; the second resource has capacity 1 and arrives with probability 1. Both resources have a value of 1 for each user; every edge is successful with probability 1.

The optimum online algorithm achieves a value of 2 if the first user arrives, and a value of 1 otherwise, hence achieving 1.51.51.51.5 in expectation. However, a feasible solution to (LPon) sets xi,t=1/2subscript𝑥𝑖𝑡12x_{i,t}=\nicefrac{{1}}{{2}}italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = / start_ARG 1 end_ARG start_ARG 2 end_ARG for every edge (i,t)𝑖𝑡(i,t)( italic_i , italic_t ), hence achieving a value of 2. ∎

A.4 A Bound Depending on mintctsubscript𝑡subscript𝑐𝑡\min_{t}c_{t}roman_min start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT.

As mentioned in Section 4.2.2, the bound following Equation 8 in the proof of 4.10 is not tight if all ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT are strictly greater than one. Still, even though this step looks quite lossy at first glance, we are not losing much in our analysis by replacing mintctsubscript𝑡subscript𝑐𝑡\min_{t}c_{t}roman_min start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT with one. To see this, consider replacing the last inequality in the proof of 4.10 with a bound depending on mintctsubscript𝑡subscript𝑐𝑡\min_{t}c_{t}roman_min start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. Doing so, we get

𝔼[Att arrived,Fi,t]𝔼delimited-[]conditionalsubscript𝐴𝑡𝑡 arrivedsubscript𝐹𝑖𝑡\displaystyle\mathbb{E}[A_{t}\mid t\text{ arrived},F_{i,t}]blackboard_E [ italic_A start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∣ italic_t arrived , italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] 1τ+Δκ(0.5+κ)ctabsent1𝜏subscriptΔ𝜅0.5𝜅subscript𝑐𝑡\displaystyle\leq 1-\tau+\Delta_{\kappa}\cdot(0.5+\kappa)\cdot c_{t}≤ 1 - italic_τ + roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ ) ⋅ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT
=(1τct+Δκ(0.5+κ))ctabsent1𝜏subscript𝑐𝑡subscriptΔ𝜅0.5𝜅subscript𝑐𝑡\displaystyle=\left(\frac{1-\tau}{c_{t}}+\Delta_{\kappa}\cdot(0.5+\kappa)% \right)\cdot c_{t}= ( divide start_ARG 1 - italic_τ end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG + roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ ) ) ⋅ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT
(1τmintct+Δκ(0.5+κ))ct.absent1𝜏subscriptsuperscript𝑡subscript𝑐superscript𝑡subscriptΔ𝜅0.5𝜅subscript𝑐𝑡\displaystyle\leq\left(\frac{1-\tau}{\min_{t^{\prime}}c_{t^{\prime}}}+\Delta_{% \kappa}\cdot(0.5+\kappa)\right)\cdot c_{t}.≤ ( divide start_ARG 1 - italic_τ end_ARG start_ARG roman_min start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT end_ARG + roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ ) ) ⋅ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT . (22)

As a consequence, in order to show the desired lower bound on ρi,tsubscript𝜌𝑖𝑡\rho_{i,t}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT, we first can use the same reasoning as we used in order to derive Equation 9, but use Inequality (A.4) instead:

ρi,t(1(0.5+κ)yi,t)(τ(1τmintct+Δκ(0.5+κ))).subscript𝜌𝑖𝑡10.5𝜅subscript𝑦𝑖𝑡𝜏1𝜏subscriptsuperscript𝑡subscript𝑐superscript𝑡subscriptΔ𝜅0.5𝜅\displaystyle\rho_{i,t}\geq(1-(0.5+\kappa)\cdot y_{i,t})\cdot\left(\tau-\left(% \frac{1-\tau}{\min_{t^{\prime}}c_{t^{\prime}}}+\Delta_{\kappa}\cdot(0.5+\kappa% )\right)\right).italic_ρ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≥ ( 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ ( italic_τ - ( divide start_ARG 1 - italic_τ end_ARG start_ARG roman_min start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT end_ARG + roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ ) ) ) .

Thus, the right-hand side needs to be at least as large as (0.5+κ)yi,t(0.5κ)0.5𝜅subscript𝑦𝑖𝑡0.5𝜅(0.5+\kappa)y_{i,t}-(0.5-\kappa)( 0.5 + italic_κ ) italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ). In other words, we are required to show that

(1(0.5+κ)yi,t)(τ(1τmintct+Δκ(0.5+κ)))(0.5+κ)yi,t(0.5κ).10.5𝜅subscript𝑦𝑖𝑡𝜏1𝜏subscriptsuperscript𝑡subscript𝑐superscript𝑡subscriptΔ𝜅0.5𝜅0.5𝜅subscript𝑦𝑖𝑡0.5𝜅\displaystyle(1-(0.5+\kappa)\cdot y_{i,t})\cdot\left(\tau-\left(\frac{1-\tau}{% \min_{t^{\prime}}c_{t^{\prime}}}+\Delta_{\kappa}\cdot(0.5+\kappa)\right)\right% )\geq(0.5+\kappa)y_{i,t}-(0.5-\kappa).( 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) ⋅ ( italic_τ - ( divide start_ARG 1 - italic_τ end_ARG start_ARG roman_min start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT end_ARG + roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ ) ) ) ≥ ( 0.5 + italic_κ ) italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) .

Hence we can take any κ𝜅\kappaitalic_κ such that

τ(1τmintct+Δκ(0.5+κ))2κ0.5κ.𝜏1𝜏subscriptsuperscript𝑡subscript𝑐superscript𝑡subscriptΔ𝜅0.5𝜅2𝜅0.5𝜅\displaystyle\tau-\left(\frac{1-\tau}{\min_{t^{\prime}}c_{t^{\prime}}}+\Delta_% {\kappa}\cdot(0.5+\kappa)\right)\geq\frac{2\kappa}{0.5-\kappa}.italic_τ - ( divide start_ARG 1 - italic_τ end_ARG start_ARG roman_min start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT end_ARG + roman_Δ start_POSTSUBSCRIPT italic_κ end_POSTSUBSCRIPT ⋅ ( 0.5 + italic_κ ) ) ≥ divide start_ARG 2 italic_κ end_ARG start_ARG 0.5 - italic_κ end_ARG . (23)

As a consequence, we can now solve Equation 23 for κ𝜅\kappaitalic_κ in order to improve upon the constant of 0.01150.01150.01150.0115 which we used initially, as a function of mintctsubscript𝑡subscript𝑐𝑡\min_{t}c_{t}roman_min start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT. In Table 1, we state these constants for mintct{2,,9}subscript𝑡subscript𝑐𝑡29\min_{t}c_{t}\in\{2,\dots,9\}roman_min start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∈ { 2 , … , 9 }, demonstrating that there is little loss in our analysis of Algorithm 1 when replacing mintctsubscript𝑡subscript𝑐𝑡\min_{t}c_{t}roman_min start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT with 1111.

mintctsubscript𝑡subscript𝑐𝑡\min_{t}c_{t}roman_min start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT 1 2 3 4 5 6 7 8 9
κ𝜅\kappaitalic_κ 0.0115 0.0126 0.0131 0.0133 0.0134 0.0135 0.01362 0.01367 0.01371
Table 1: Values of κ𝜅\kappaitalic_κ depending on mintctsubscript𝑡subscript𝑐𝑡\min_{t}c_{t}roman_min start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT

Appendix B Deferred Proofs

In this section, we provide proofs which were deferred from the main body.

B.1 Proof of Theorem 1.5

See 1.5

Proof.

We apply Theorem 19 of [BHK+24], as our problem of capacitated resource allocation can be viewed exactly as what they call a prophet inequalities problem. Using their notation, we take 𝒜inpsuperscript𝒜inp\mathcal{A}^{\text{inp}}caligraphic_A start_POSTSUPERSCRIPT inp end_POSTSUPERSCRIPT to be Algorithm 3, with expected social welfare 𝔼[v(𝒜inp)]𝔼delimited-[]𝑣superscript𝒜inp\mathbb{E}[v(\mathcal{A}^{\text{inp}})]blackboard_E [ italic_v ( caligraphic_A start_POSTSUPERSCRIPT inp end_POSTSUPERSCRIPT ) ]. Note that Algorithm 3 is what [BHK+24] call “past-valuation-independent,” as its allocation decision for buyer t𝑡titalic_t depends only on the set of available items, the arriving valuation/capacity vt()subscript𝑣𝑡v_{t}(\cdot)italic_v start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( ⋅ ), and the LP solution calculated from knowledge of the input distributions. Note also that for each buyer t𝑡titalic_t, the outcome space (what [BHK+24] refer to as “Xtsubscript𝑋𝑡X_{t}italic_X start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT”) is of size at most (nct)=poly(n)binomial𝑛subscript𝑐𝑡poly𝑛\binom{n}{c_{t}}=\text{poly}(n)( FRACOP start_ARG italic_n end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) = poly ( italic_n ) because ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT is upper bounded by a constant. Finally, although our distribution over vt()subscript𝑣𝑡v_{t}(\cdot)italic_v start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ( ⋅ ) is not continuous, it is not hard to satisfy this assumption by adding a small amount of noise or a tiebreaking coordinate (as mentioned in [BHK+24]).

Hence, there is a pricing based algorithm 𝒜outsuperscript𝒜out\mathcal{A}^{\text{out}}caligraphic_A start_POSTSUPERSCRIPT out end_POSTSUPERSCRIPT which uses poly(T,(nmaxtct),1/ϵ)poly𝑇binomial𝑛subscript𝑡subscript𝑐𝑡1italic-ϵ\text{poly}(T,\binom{n}{\max_{t}c_{t}},\nicefrac{{1}}{{\epsilon}})poly ( italic_T , ( FRACOP start_ARG italic_n end_ARG start_ARG roman_max start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) , / start_ARG 1 end_ARG start_ARG italic_ϵ end_ARG ) many samples, runs in time poly(T,(nmaxtct),1/ϵ)poly𝑇binomial𝑛subscript𝑡subscript𝑐𝑡1italic-ϵ\text{poly}(T,\binom{n}{\max_{t}c_{t}},\nicefrac{{1}}{{\epsilon}})poly ( italic_T , ( FRACOP start_ARG italic_n end_ARG start_ARG roman_max start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ) , / start_ARG 1 end_ARG start_ARG italic_ϵ end_ARG ) and whose expected social welfare satisfies

𝔼[𝒜out](1ϵ)𝔼[𝒜in].𝔼delimited-[]superscript𝒜out1italic-ϵ𝔼delimited-[]superscript𝒜in\mathbb{E}[\mathcal{A}^{\text{out}}]\geq(1-\epsilon)\cdot\mathbb{E}[\mathcal{A% }^{\text{in}}].blackboard_E [ caligraphic_A start_POSTSUPERSCRIPT out end_POSTSUPERSCRIPT ] ≥ ( 1 - italic_ϵ ) ⋅ blackboard_E [ caligraphic_A start_POSTSUPERSCRIPT in end_POSTSUPERSCRIPT ] .

B.2 Proof of 2.1

See 2.1

Proof.

Define an indicator random variable Xi,tsubscript𝑋𝑖𝑡X_{i,t}italic_X start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT for every pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ), which is one if and only if the optimum online algorithm allocates user i𝑖iitalic_i to resource t𝑡titalic_t. In addition, let Qi,tsubscript𝑄𝑖𝑡Q_{i,t}italic_Q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT be the indicator which is one if the assignment of the pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) was successful; i.e. the independent Bernoulli coin flip with probability qi,tsubscript𝑞𝑖𝑡q_{i,t}italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT comes up heads.

Denote by xi,t=𝔼[Xi,t]subscriptsuperscript𝑥𝑖𝑡𝔼delimited-[]subscript𝑋𝑖𝑡x^{\ast}_{i,t}=\mathbb{E}[X_{i,t}]italic_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = blackboard_E [ italic_X start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ]. First, note that the welfare achieved by the optimum online algorithm is

OPTon=𝔼[i,tvi,tXi,tQi,t]=i,tvi,txi,tqi,t,subscriptOPTon𝔼delimited-[]subscript𝑖𝑡subscript𝑣𝑖𝑡subscript𝑋𝑖𝑡subscript𝑄𝑖𝑡subscript𝑖𝑡subscript𝑣𝑖𝑡subscriptsuperscript𝑥𝑖𝑡subscript𝑞𝑖𝑡\mathrm{OPT}_{\mathrm{on}}=\mathbb{E}\left[\sum_{i,t}v_{i,t}X_{i,t}Q_{i,t}% \right]=\sum_{i,t}v_{i,t}\cdot x^{\ast}_{i,t}\cdot q_{i,t},roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT = blackboard_E [ ∑ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_X start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_Q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] = ∑ start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_v start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ,

coinciding with the objective of (LPon). Here the expectation is over the randomness in Xi,tsubscript𝑋𝑖𝑡X_{i,t}italic_X start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT as well as the success probabilities for (i,t)𝑖𝑡(i,t)( italic_i , italic_t ), and we crucially use that the successful realization of (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is independent of our decision to allocate along (i,t)𝑖𝑡(i,t)( italic_i , italic_t ).

Also, observe that for any resource t𝑡titalic_t, we have iXi,t=0subscript𝑖subscript𝑋𝑖𝑡0\sum_{i}X_{i,t}=0∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_X start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = 0 if the resource does not arrive, and iXi,tctsubscript𝑖subscript𝑋𝑖𝑡subscript𝑐𝑡\sum_{i}X_{i,t}\leq c_{t}∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_X start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ≤ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT if the resource arrives, as any algorithm is allowed to allocate at most ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT users to resource t𝑡titalic_t if the resource arrives. Hence

ixi,t=𝔼[iXi,t]=Pr[t arrives]𝔼[iXi,t|t arrives]ptct.\sum_{i}x^{\ast}_{i,t}=\mathbb{E}\left[\sum_{i}X_{i,t}\right]=\Pr\left[t\text{% arrives}\right]\cdot\mathbb{E}\left[\sum_{i}X_{i,t}\mathrel{}\middle|\mathrel% {}t\text{ arrives}\right]\leq p_{t}\cdot c_{t}.∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = blackboard_E [ ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_X start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] = roman_Pr [ italic_t arrives ] ⋅ blackboard_E [ ∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_X start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT | italic_t arrives ] ≤ italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT .

Finally, note that if resource t𝑡titalic_t arrives, the optimum online algorithm can only allocate user i𝑖iitalic_i if it is available. For user i𝑖iitalic_i being available, it had not to be allocated to some previous resource t<tsuperscript𝑡𝑡t^{\prime}<titalic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t whose independent coin flip Qi,tsubscript𝑄𝑖superscript𝑡Q_{i,t^{\prime}}italic_Q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT was successful as well. Crucially, for any online algorithm, the event that user i𝑖iitalic_i is available at time t𝑡titalic_t is independent of the arrival of resource t𝑡titalic_t (this does not hold for an offline algorithm). Hence, we observe

xi,tsubscriptsuperscript𝑥𝑖𝑡\displaystyle x^{\ast}_{i,t}italic_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT =𝔼[Xi,t]=Pr[t arrives]𝔼[Xi,t|t arrives]\displaystyle=\mathbb{E}[X_{i,t}]=\Pr\left[t\text{ arrives}\right]\cdot\mathbb% {E}\left[X_{i,t}\mathrel{}\middle|\mathrel{}t\text{ arrives}\right]= blackboard_E [ italic_X start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] = roman_Pr [ italic_t arrives ] ⋅ blackboard_E [ italic_X start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT | italic_t arrives ]
pt𝔼[1t<tXi,tQi,t|t arrives]\displaystyle\leq p_{t}\cdot\mathbb{E}\left[1-\sum_{t^{\prime}<t}X_{i,t^{% \prime}}Q_{i,t^{\prime}}\mathrel{}\middle|\mathrel{}t\text{ arrives}\right]≤ italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ blackboard_E [ 1 - ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_X start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_Q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT | italic_t arrives ]
=pt𝔼[1t<tXi,tQi,t]=pt(1t<txi,tqi,t).absentsubscript𝑝𝑡𝔼delimited-[]1subscriptsuperscript𝑡𝑡subscript𝑋𝑖superscript𝑡subscript𝑄𝑖superscript𝑡subscript𝑝𝑡1subscriptsuperscript𝑡𝑡subscriptsuperscript𝑥𝑖superscript𝑡subscript𝑞𝑖superscript𝑡\displaystyle=p_{t}\cdot\mathbb{E}\left[1-\sum_{t^{\prime}<t}X_{i,t^{\prime}}Q% _{i,t^{\prime}}\right]=p_{t}\cdot\left(1-\sum_{t^{\prime}<t}x^{\ast}_{i,t^{% \prime}}\cdot q_{i,t^{\prime}}\right).= italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ blackboard_E [ 1 - ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_X start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_Q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ] = italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ ( 1 - ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) .

As a consequence, {xi,t}i,tsubscriptsuperscriptsubscript𝑥𝑖𝑡𝑖𝑡\{x_{i,t}^{\ast}\}_{i,t}{ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT } start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT is a feasible solution to (LPon) and hence, OPT(LPon)OPTonOPTitalic-(LPonitalic-)subscriptOPTon\text{OPT}\eqref{LP}\geq\mathrm{OPT}_{\mathrm{on}}OPT italic_( italic_) ≥ roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT. ∎

B.3 Proof of 4.14

See 4.14

Proof.

Plugging in the definition of f(z)=1+z((0.5+κ)21z(0.5+κ))𝑓𝑧1𝑧superscript0.5𝜅21𝑧0.5𝜅f(z)=1+z\cdot\left(\frac{(0.5+\kappa)^{2}}{1-z\cdot(0.5+\kappa)}\right)italic_f ( italic_z ) = 1 + italic_z ⋅ ( divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG start_ARG 1 - italic_z ⋅ ( 0.5 + italic_κ ) end_ARG ), the claim is equivalent to

(1+(0.5+κ)2y1(0.5+κ)y)(1+(0.5+κ)2x1(0.5+κ)(x+y))1+(0.5+κ)2(x+y)1(0.5+κ)(x+y).1superscript0.5𝜅2𝑦10.5𝜅𝑦1superscript0.5𝜅2𝑥10.5𝜅𝑥𝑦1superscript0.5𝜅2𝑥𝑦10.5𝜅𝑥𝑦\displaystyle\left(1+\frac{(0.5+\kappa)^{2}y}{1-(0.5+\kappa)y}\right)\left(1+% \frac{(0.5+\kappa)^{2}x}{1-(0.5+\kappa)(x+y)}\right)\leq 1+\frac{(0.5+\kappa)^% {2}(x+y)}{1-(0.5+\kappa)(x+y)}.( 1 + divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_y end_ARG start_ARG 1 - ( 0.5 + italic_κ ) italic_y end_ARG ) ( 1 + divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_x end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ( italic_x + italic_y ) end_ARG ) ≤ 1 + divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ( italic_x + italic_y ) end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ( italic_x + italic_y ) end_ARG .

Multiplying out the left-hand side and subtracting 1+(0.5+κ)2x1(0.5+κ)(x+y)1superscript0.5𝜅2𝑥10.5𝜅𝑥𝑦1+\frac{(0.5+\kappa)^{2}x}{1-(0.5+\kappa)(x+y)}1 + divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_x end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ( italic_x + italic_y ) end_ARG on both sides, this is equivalent to

(0.5+κ)2y1(0.5+κ)y+(0.5+κ)2y1(0.5+κ)y(0.5+κ)2x1(0.5+κ)(x+y)(0.5+κ)2y1(0.5+κ)(x+y).superscript0.5𝜅2𝑦10.5𝜅𝑦superscript0.5𝜅2𝑦10.5𝜅𝑦superscript0.5𝜅2𝑥10.5𝜅𝑥𝑦superscript0.5𝜅2𝑦10.5𝜅𝑥𝑦\displaystyle\frac{(0.5+\kappa)^{2}y}{1-(0.5+\kappa)y}+\frac{(0.5+\kappa)^{2}y% }{1-(0.5+\kappa)y}\cdot\frac{(0.5+\kappa)^{2}x}{1-(0.5+\kappa)(x+y)}\leq\frac{% (0.5+\kappa)^{2}y}{1-(0.5+\kappa)(x+y)}.divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_y end_ARG start_ARG 1 - ( 0.5 + italic_κ ) italic_y end_ARG + divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_y end_ARG start_ARG 1 - ( 0.5 + italic_κ ) italic_y end_ARG ⋅ divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_x end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ( italic_x + italic_y ) end_ARG ≤ divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_y end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ( italic_x + italic_y ) end_ARG .

If y=0𝑦0y=0italic_y = 0, the claim is trivially true. If y>0𝑦0y>0italic_y > 0, we can divide both sides by (0.5+κ)2ysuperscript0.5𝜅2𝑦(0.5+\kappa)^{2}y( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_y to get

11(0.5+κ)y+11(0.5+κ)y(0.5+κ)2x1(0.5+κ)(x+y)11(0.5+κ)(x+y).110.5𝜅𝑦110.5𝜅𝑦superscript0.5𝜅2𝑥10.5𝜅𝑥𝑦110.5𝜅𝑥𝑦\displaystyle\frac{1}{1-(0.5+\kappa)y}+\frac{1}{1-(0.5+\kappa)y}\cdot\frac{(0.% 5+\kappa)^{2}x}{1-(0.5+\kappa)(x+y)}\leq\frac{1}{1-(0.5+\kappa)(x+y)}.divide start_ARG 1 end_ARG start_ARG 1 - ( 0.5 + italic_κ ) italic_y end_ARG + divide start_ARG 1 end_ARG start_ARG 1 - ( 0.5 + italic_κ ) italic_y end_ARG ⋅ divide start_ARG ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_x end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ( italic_x + italic_y ) end_ARG ≤ divide start_ARG 1 end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ( italic_x + italic_y ) end_ARG .

Multiplying both sides by (1(0.5+κ)y)(1(0.5+κ)(x+y))10.5𝜅𝑦10.5𝜅𝑥𝑦(1-(0.5+\kappa)y)\cdot(1-(0.5+\kappa)(x+y))( 1 - ( 0.5 + italic_κ ) italic_y ) ⋅ ( 1 - ( 0.5 + italic_κ ) ( italic_x + italic_y ) ), we get

1(0.5+κ)(x+y)+(0.5+κ)2x1(0.5+κ)y.10.5𝜅𝑥𝑦superscript0.5𝜅2𝑥10.5𝜅𝑦\displaystyle 1-(0.5+\kappa)(x+y)+(0.5+\kappa)^{2}x\leq 1-(0.5+\kappa)y.1 - ( 0.5 + italic_κ ) ( italic_x + italic_y ) + ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_x ≤ 1 - ( 0.5 + italic_κ ) italic_y .

Subtracting 1(0.5+κ)y10.5𝜅𝑦1-(0.5+\kappa)y1 - ( 0.5 + italic_κ ) italic_y on both sides, we finally end up with

(0.5+κ)x+(0.5+κ)2x00.5𝜅𝑥superscript0.5𝜅2𝑥0\displaystyle-(0.5+\kappa)x+(0.5+\kappa)^{2}x\leq 0- ( 0.5 + italic_κ ) italic_x + ( 0.5 + italic_κ ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_x ≤ 0

which is clear. ∎

Appendix C Beyond Bernoulli Distributions

When not restricting the model to Bernoulli arrivals, for every round t𝑡titalic_t, there is a known distribution {pt,j}jsubscriptsubscript𝑝𝑡𝑗𝑗\{p_{t,j}\}_{j}{ italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT over valuation vectors {vi,t,j}isubscriptsubscript𝑣𝑖𝑡𝑗𝑖\{v_{i,t,j}\}_{i}{ italic_v start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT and a capacity ct,jsubscript𝑐𝑡𝑗c_{t,j}italic_c start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT. Upon the arrival of resource t𝑡titalic_t, it samples one index j{1,,m}𝑗1𝑚j\in\{1,\dots,m\}italic_j ∈ { 1 , … , italic_m } with probability pt,jsubscript𝑝𝑡𝑗p_{t,j}italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT888We assume without loss of generality that all resource share the same space of valuation vectors and capacities, and we can set pt,j=0subscript𝑝𝑡𝑗0p_{t,j}=0italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT = 0 if realization j𝑗jitalic_j is not feasible for resource t𝑡titalic_t. Also, we assume that resources always arrive by adding a valuation vector containing only zeros with the probability of resource t𝑡titalic_t not arriving., and realizes capacity ct,jsubscript𝑐𝑡𝑗c_{t,j}italic_c start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT and values {vi,t,j}isubscriptsubscript𝑣𝑖𝑡𝑗𝑖\{v_{i,t,j}\}_{i}{ italic_v start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT } start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT over users. For the ease of exposition, we discuss general arrivals in the case that each success probability qi,t,j=1subscript𝑞𝑖𝑡𝑗1q_{i,t,j}=1italic_q start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT = 1, and describe the changes needed to handle arbitrary success probabilities qi,t,j[0,1]subscript𝑞𝑖𝑡𝑗01q_{i,t,j}\in[0,1]italic_q start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ∈ [ 0 , 1 ] in Appendix D.

Generalized LP

We generalize LPon as follows.

max\displaystyle\max\ roman_max i,t,jxi,t,jvi,t,jsubscript𝑖𝑡𝑗subscript𝑥𝑖𝑡𝑗subscript𝑣𝑖𝑡𝑗\displaystyle\sum_{i,t,j}x_{i,t,j}\cdot v_{i,t,j}∑ start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ⋅ italic_v start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT (General-LPon)
s.t. tjxi,t,j1subscript𝑡subscript𝑗subscript𝑥𝑖𝑡𝑗1\displaystyle\sum_{t}\sum_{j}x_{i,t,j}\leq 1∑ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ≤ 1 for all iIfor all 𝑖𝐼\displaystyle\text{for all }i\in Ifor all italic_i ∈ italic_I (24)
ixi,t,jpt,jct,jsubscript𝑖subscript𝑥𝑖𝑡𝑗subscript𝑝𝑡𝑗subscript𝑐𝑡𝑗\displaystyle\sum_{i}x_{i,t,j}\leq p_{t,j}\cdot c_{t,j}∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ≤ italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT ⋅ italic_c start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT for all t[T],j[m]formulae-sequencefor all 𝑡delimited-[]𝑇𝑗delimited-[]𝑚\displaystyle\text{for all }t\in[T],j\in[m]for all italic_t ∈ [ italic_T ] , italic_j ∈ [ italic_m ] (25)
0xi,t,jpt,j(1t<tjxi,t,j)0subscript𝑥𝑖𝑡𝑗subscript𝑝𝑡𝑗1subscriptsuperscript𝑡𝑡subscriptsuperscript𝑗subscript𝑥𝑖superscript𝑡superscript𝑗\displaystyle 0\leq x_{i,t,j}\leq p_{t,j}\cdot\left(1-\sum_{t^{\prime}<t}\sum_% {j^{\prime}}x_{i,t^{\prime},j^{\prime}}\right)0 ≤ italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ≤ italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT ⋅ ( 1 - ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) for all iI,t[T],j[m]formulae-sequencefor all 𝑖𝐼formulae-sequence𝑡delimited-[]𝑇𝑗delimited-[]𝑚\displaystyle\text{for all }i\in I,t\in[T],j\in[m]for all italic_i ∈ italic_I , italic_t ∈ [ italic_T ] , italic_j ∈ [ italic_m ] (26)

In an equivalent manner to 2.1, we can argue that also for general distributions, OPT(General-LPon)OPTonOPTitalic-(General-LPonitalic-)subscriptOPTon\mathrm{OPT}\eqref{generalLP}\geq\mathrm{OPT}_{\mathrm{on}}roman_OPT italic_( italic_) ≥ roman_OPT start_POSTSUBSCRIPT roman_on end_POSTSUBSCRIPT, i.e. General-LPon is a relaxation of the optimum online algorithm.

Generalized Algorithm.

In order to round any fractional LP solution to an integral one in an online fashion, we extend our Algorithm 1 as follows: In round t𝑡titalic_t, we see the realization of index j𝑗jitalic_j. We replace all previous LP variables with the ones from the generalized LP for index j𝑗jitalic_j and run the slightly modified Algorithm 3.

Algorithm 3
1:κ0.0115𝜅0.0115\kappa\leftarrow 0.0115italic_κ ← 0.0115
2:Solve (General-LPon) for {xi,t,j}subscript𝑥𝑖𝑡𝑗\{x_{i,t,j}\}{ italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT }
3:for each time t𝑡titalic_t do
4:     Observe index j𝑗jitalic_j sampled from (pt,j)jsubscriptsubscript𝑝𝑡𝑗𝑗(p_{t,j})_{j}( italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT
5:     Define users 𝖥𝖯t,j:=PS((xi,t,j/pt,j)iI)assignsubscript𝖥𝖯𝑡𝑗PSsubscriptsubscript𝑥𝑖𝑡𝑗subscript𝑝𝑡𝑗𝑖𝐼\mathsf{FP}_{t,j}:=\textsf{PS}((x_{i,t,j}/p_{t,j})_{i\in I})sansserif_FP start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT := PS ( ( italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT / italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT )
6:     for each user i𝖥𝖯t,j𝑖subscript𝖥𝖯𝑡𝑗i\in\mathsf{FP}_{t,j}italic_i ∈ sansserif_FP start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT do
7:         if i𝑖iitalic_i is available then
8:              Allocate i𝑖iitalic_i to t𝑡titalic_t with probability αi,t:=min(1,0.5+κ1(0.5+κ)t<tjxi,t,j)assignsubscript𝛼𝑖𝑡10.5𝜅10.5𝜅subscriptsuperscript𝑡𝑡subscriptsuperscript𝑗subscript𝑥𝑖superscript𝑡superscript𝑗\alpha_{i,t}:=\min\left(1,\frac{0.5+\kappa}{1-(0.5+\kappa)\cdot\sum_{t^{\prime% }<t}\sum_{j^{\prime}}x_{i,t^{\prime},j^{\prime}}}\right)italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := roman_min ( 1 , divide start_ARG 0.5 + italic_κ end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ⋅ ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT end_ARG )               
9:     Let At,jnumber of users allocated to t with sampled index j thus farsubscript𝐴𝑡𝑗number of users allocated to 𝑡 with sampled index 𝑗 thus farA_{t,j}\leftarrow\text{number of users allocated to }t\text{ with sampled % index }j\text{ thus far}italic_A start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT ← number of users allocated to italic_t with sampled index italic_j thus far
10:     Define users 𝖲𝖯t,j:=PS(((1At,jct,j)xi,t,j/pt,j)iI)assignsubscript𝖲𝖯𝑡𝑗PSsubscript1subscript𝐴𝑡𝑗subscript𝑐𝑡𝑗subscript𝑥𝑖𝑡𝑗subscript𝑝𝑡𝑗𝑖𝐼\mathsf{SP}_{t,j}:=\textsf{PS}\left(\left(\left(1-\frac{A_{t,j}}{c_{t,j}}% \right)\cdot x_{i,t,j}/p_{t,j}\right)_{i\in I}\right)sansserif_SP start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT := PS ( ( ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT end_ARG ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT / italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT )
11:     for each user i𝖲𝖯t,j𝑖subscript𝖲𝖯𝑡𝑗i\in\mathsf{SP}_{t,j}italic_i ∈ sansserif_SP start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT with αi,t=1subscript𝛼𝑖𝑡1\alpha_{i,t}=1italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = 1 do
12:         if i𝑖iitalic_i is available then
13:              Compute ρi,t,j:=𝔼[𝟙[i available after 9](1At,jct,j)t sampled index j]assignsubscript𝜌𝑖𝑡𝑗𝔼delimited-[]conditional1delimited-[]𝑖 available after 91subscript𝐴𝑡𝑗subscript𝑐𝑡𝑗𝑡 sampled index 𝑗\rho_{i,t,j}:=\mathbb{E}\left[\mathbbm{1}[i\text{ available after \lx@cref{% creftypecap~refnum}{line:sample_defAtj_general}}]\cdot\left(1-\frac{A_{t,j}}{c% _{t,j}}\right)\mid t\text{ sampled index }j\right]italic_ρ start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT := blackboard_E [ blackboard_1 [ italic_i available after ] ⋅ ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT end_ARG ) ∣ italic_t sampled index italic_j ]
14:              βi,t,jmin(1,((0.5+κ)t<tjxi,t,j(0.5κ))1ρi,t,j).subscript𝛽𝑖𝑡𝑗10.5𝜅subscriptsuperscript𝑡𝑡subscript𝑗subscript𝑥𝑖superscript𝑡𝑗0.5𝜅1subscript𝜌𝑖𝑡𝑗\beta_{i,t,j}\leftarrow\min\Big{(}1,\left((0.5+\kappa)\cdot\sum_{t^{\prime}<t}% \sum_{j}x_{i,t^{\prime},j}-(0.5-\kappa)\right)\cdot\frac{1}{\rho_{i,t,j}}\Big{% )}.italic_β start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ← roman_min ( 1 , ( ( 0.5 + italic_κ ) ⋅ ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) ) ⋅ divide start_ARG 1 end_ARG start_ARG italic_ρ start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT end_ARG ) .
15:              Allocate i𝑖iitalic_i to t𝑡titalic_t with prob. βi,t,jsubscript𝛽𝑖𝑡𝑗{\beta_{i,t,j}}italic_β start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT               

As in our Bernoulli case, observe that we choose βi,t,jsubscript𝛽𝑖𝑡𝑗{\beta_{i,t,j}}italic_β start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT in a way so that the following holds: Pr[(i,t) assigned for sampled index j]=(0.5+κ)xi,t,jPr𝑖𝑡 assigned for sampled index 𝑗0.5𝜅subscript𝑥𝑖𝑡𝑗\Pr[(i,t)\text{ assigned for sampled index }j]=(0.5+\kappa)\cdot x_{i,t,j}roman_Pr [ ( italic_i , italic_t ) assigned for sampled index italic_j ] = ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT. Also, note that this algorithm can be implemented in polynomial time in the number of resources and users and the size of the support of the distributions. Concerning the computation of ρi,t,jsubscript𝜌𝑖𝑡𝑗\rho_{i,t,j}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT, we can observe that for our choice of κ=0.0115𝜅0.0115\kappa=0.0115italic_κ = 0.0115, the generalized analysis also shows that any ρi,t,jsubscript𝜌𝑖𝑡𝑗\rho_{i,t,j}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT is lower bounded by a constant; equivalently to the Bernoullli case. This can be used to estimate ρi,t,jsubscript𝜌𝑖𝑡𝑗\rho_{i,t,j}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT via samples with a multiplicative error as small as desired, implying a (0.5+κϵ)0.5𝜅italic-ϵ(0.5+\kappa-\epsilon)( 0.5 + italic_κ - italic_ϵ )-approximate algorithm, following the logic of Section 5.

Generalized Analysis.

In order to prove the generalization of Theorem 4.1, the major work is to change the syntax of the lemmas on the way. We do not give details for all lemmas but rather provide the key steps on what to change and how to overcome obstacles on the way.

First, we extend and change several definitions such as yi,t:=t<tjxi,t,jassignsubscript𝑦𝑖𝑡subscriptsuperscript𝑡𝑡subscript𝑗subscript𝑥𝑖superscript𝑡𝑗y_{i,t}:=\sum_{t^{\prime}<t}\sum_{j}x_{i,t^{\prime},j}italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT or 𝒜1jsuperscriptsubscript𝒜1𝑗\mathcal{A}_{1}^{j}caligraphic_A start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT, 𝒜2jsuperscriptsubscript𝒜2𝑗\mathcal{A}_{2}^{j}caligraphic_A start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_j end_POSTSUPERSCRIPT as the set of assignments (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) if the realized index is j𝑗jitalic_j via a first or second proposal. The lemmas, observations and statements which referred to “t𝑡titalic_t arriving” are now with respect to the event “t𝑡titalic_t realizes index j𝑗jitalic_j”. For example, when talking about assigning i𝑖iitalic_i to t𝑡titalic_t via a first proposal, we replace this by saying that we assign i𝑖iitalic_i to t𝑡titalic_t via a first proposal when t𝑡titalic_t realized the valuation vector with index j𝑗jitalic_j.

The proofs for the analysis of early pairs directly carry over after adapting the syntax. For late pairs, the generalization of the proof of Lemma 4.5 (i) is also straightforward, as is the combination of both analyses at the end.

We need to take some care in generalizing the proof of Lemma 4.5 (ii). The majority of the steps can be extended straightforwardly via syntactic generalization from Section 4 (or Section 5 with an estimate of the expectation in 13). In contrast, the proof of generalized versions of the correlation bound from Section 4.3, and in particular 4.12 need some short updates. Note however that as 4.12 only concerns early pairs, it is not affected by the updates for a sample-based algorithm as in Section 5.

To see why 4.12 also holds in the more general variant, we go through its proof steps one-by-one. Concerning the generalization of Step (S1) we note that the probability of both users being free after time t+1𝑡1t+1italic_t + 1 can still be decomposed as the product of the probability of both being free before times the conditional probability of assigning neither via a first proposal (as in Equation 10). Still, we are required to sum the latter conditional probabilities for all possible realizations of j𝑗jitalic_j. Doing so, we first follow Steps (S1) and (S2) from the Bernoulli case. During Step (S3), we need to show that for two distinct users i,i𝑖superscript𝑖i,i^{\prime}italic_i , italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT and resource t𝑡titalic_t, the following inequality holds:

αi,tαi,tPr[Fi,t]Pr[Fi,t](jxi,t,jxi,t,jpt,j(jxi,t,j)(jxi,t,j))subscript𝛼𝑖𝑡subscript𝛼superscript𝑖𝑡Prsubscript𝐹𝑖𝑡Prsubscript𝐹superscript𝑖𝑡subscript𝑗subscript𝑥𝑖𝑡𝑗subscript𝑥superscript𝑖𝑡𝑗subscript𝑝𝑡𝑗subscript𝑗subscript𝑥𝑖𝑡𝑗subscript𝑗subscript𝑥superscript𝑖𝑡𝑗\displaystyle\alpha_{i,t}\alpha_{i^{\prime},t}\Pr[F_{i,t}]\Pr[F_{i^{\prime},t}% ]\left(\sum_{j}\frac{x_{i,t,j}x_{i^{\prime},t,j}}{p_{t,j}}-\left(\sum_{j}x_{i,% t,j}\right)\left(\sum_{j}x_{i^{\prime},t,j}\right)\right)italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_t end_POSTSUBSCRIPT roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_t end_POSTSUBSCRIPT ] ( ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_t , italic_j end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT end_ARG - ( ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ) ( ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_t , italic_j end_POSTSUBSCRIPT ) ) (27)
Pr[Fi,t]Pr[Fi,t](0.5+κ)(1αi,tjxi,t,j)αi,t(jxi,t,j).absentPrsubscript𝐹𝑖𝑡Prsubscript𝐹superscript𝑖𝑡0.5𝜅1subscript𝛼superscript𝑖𝑡subscript𝑗subscript𝑥superscript𝑖𝑡𝑗subscript𝛼𝑖𝑡subscript𝑗subscript𝑥𝑖𝑡𝑗\displaystyle\hskip 14.22636pt\leq\Pr[F_{i,t}]\Pr[F_{i^{\prime},t}](0.5+\kappa% )\left(1-\alpha_{i^{\prime},t}\sum_{j}x_{i^{\prime},t,j}\right)\alpha_{i,t}% \left(\sum_{j}x_{i,t,j}\right).≤ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_t end_POSTSUBSCRIPT ] ( 0.5 + italic_κ ) ( 1 - italic_α start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_t , italic_j end_POSTSUBSCRIPT ) italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ( ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ) .

In order to argue that this inequality is indeed true, we depart from the proof of the Bernoulli case by controlling the term jxi,t,jxi,t,jpt,jsubscript𝑗subscript𝑥𝑖𝑡𝑗subscript𝑥superscript𝑖𝑡𝑗subscript𝑝𝑡𝑗\sum_{j}\frac{x_{i,t,j}x_{i^{\prime},t,j}}{p_{t,j}}∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_t , italic_j end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT end_ARG via the online constraint for the user isuperscript𝑖i^{\prime}italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT. By Constraint (26), we know that

xi,t,jpt,j1yi,t.subscript𝑥superscript𝑖𝑡𝑗subscript𝑝𝑡𝑗1subscript𝑦superscript𝑖𝑡\frac{x_{i^{\prime},t,j}}{p_{t,j}}\leq 1-y_{i^{\prime},t}.divide start_ARG italic_x start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_t , italic_j end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT end_ARG ≤ 1 - italic_y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_t end_POSTSUBSCRIPT .

Using this, we can bound

jxi,t,jxi,t,jpt,j(1yi,t)jxi,t,j.subscript𝑗subscript𝑥𝑖𝑡𝑗subscript𝑥superscript𝑖𝑡𝑗subscript𝑝𝑡𝑗1subscript𝑦superscript𝑖𝑡subscript𝑗subscript𝑥𝑖𝑡𝑗\sum_{j}\frac{x_{i,t,j}x_{i^{\prime},t,j}}{p_{t,j}}\leq\left(1-y_{i^{\prime},t% }\right)\sum_{j}x_{i,t,j}.∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_t , italic_j end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT end_ARG ≤ ( 1 - italic_y start_POSTSUBSCRIPT italic_i start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_t end_POSTSUBSCRIPT ) ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT .

Plugging this into the left-hand side of Equation 27 and rearranging terms, we can conclude in a similar way as we did using Fact 4.13 in the Bernoulli case. Afterwards, Step (S4) of the correlation bound can again proceed via syntactic generalization which concludes the proof for general distributions.

Appendix D Stochastic Rewards

In Section 4 we assumed for convenience that every pair (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) had a success probability qi,t=1subscript𝑞𝑖𝑡1q_{i,t}=1italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = 1. This was mainly for convenience of notation, as the guarantees for our algorithm carry over to the case of arbitrary success probabilities qi,t[0,1]subscript𝑞𝑖𝑡01q_{i,t}\in[0,1]italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∈ [ 0 , 1 ]. The changes can furthermore be adapted to our sample-based algorithm (as in Section 5) and algorithm for non-Bernoulli arrivals (as in Appendix C), although for simplicity we start by extending the algorithm for Bernoulli arrivals without samples.

We recall that we say i𝑖iitalic_i is allocated to t𝑡titalic_t if it is one of the at most ctsubscript𝑐𝑡c_{t}italic_c start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT items which we attempt to assign to t𝑡titalic_t, and we say it is successfully allocated to t𝑡titalic_t if and only if it is allocated and the independent success indicator Ber(qi,t)Bersubscript𝑞𝑖𝑡\text{Ber}(q_{i,t})Ber ( italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) comes up heads. Note that if for every (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) we have that i𝑖iitalic_i is allocated to t𝑡titalic_t with probability (0.5+κ)xi,t0.5𝜅subscript𝑥𝑖𝑡(0.5+\kappa)\cdot x_{i,t}( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT, then because of the independence of the success indicators we have that the expected welfare contribution of (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is (0.5+κ)xi,tqi,t0.5𝜅subscript𝑥𝑖𝑡subscript𝑞𝑖𝑡(0.5+\kappa)\cdot x_{i,t}\cdot q_{i,t}( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT and hence we achieve a (0.5+κ)0.5𝜅(0.5+\kappa)( 0.5 + italic_κ )-approximation to (LPon).

If we naturally update our definition of yi,t:=t<txi,tqi,tassignsubscript𝑦𝑖𝑡subscriptsuperscript𝑡𝑡subscript𝑥𝑖superscript𝑡subscript𝑞𝑖superscript𝑡y_{i,t}:=\sum_{t^{\prime}<t}x_{i,t^{\prime}}\cdot q_{i,t^{\prime}}italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT (instead of t<txi,tsubscriptsuperscript𝑡𝑡subscript𝑥𝑖superscript𝑡\sum_{t^{\prime}<t}x_{i,t^{\prime}}∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT), many of the changes required to the analysis are syntactic. We inductively show that the probability (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is allocated is (0.5+κ)xi,t0.5𝜅subscript𝑥𝑖𝑡(0.5+\kappa)\cdot x_{i,t}( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT, and hence have as part of the inductive hypothesis that Pr[Fi,t]=1(0.5+κ)yi,tPrsubscript𝐹𝑖𝑡10.5𝜅subscript𝑦𝑖𝑡\Pr[F_{i,t}]=1-(0.5+\kappa)\cdot y_{i,t}roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] = 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT. Thus, the probability an early (i,t)𝑖𝑡(i,t)( italic_i , italic_t ) is allocated is precisely

ptPr[Fi,t]0.5+κ1(0.5+κ)yi,t=(0.5+κ)xi,t.subscript𝑝𝑡Prsubscript𝐹𝑖𝑡0.5𝜅10.5𝜅subscript𝑦𝑖𝑡0.5𝜅subscript𝑥𝑖𝑡p_{t}\cdot\Pr[F_{i,t}]\cdot\frac{0.5+\kappa}{1-(0.5+\kappa)y_{i,t}}=(0.5+% \kappa)\cdot x_{i,t}.italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] ⋅ divide start_ARG 0.5 + italic_κ end_ARG start_ARG 1 - ( 0.5 + italic_κ ) italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG = ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT .

The analysis for late pairs also generalizes syntactically, with the caveat that we must take care to consider how the independent Ber(qi,t)Bersubscript𝑞𝑖𝑡\text{Ber}(q_{i,t})Ber ( italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) affect the correlation bound of Lemma 4.9. Intuitively, as these Bernoullis are independent of our proposals and history, they should not contribute to worse positive correlation. This is formalized below.

We first consider the proof of 4.12. Our original proof (the grey line below) used the bound

Pr[Fi,t+1Fj,t+1]Pr[Fi,tFj,t](1xi,tαi,txj,tαj,t+xi,txj,tptαi,tαj,t).Prsubscript𝐹𝑖𝑡1subscript𝐹𝑗𝑡1Prsubscript𝐹𝑖𝑡subscript𝐹𝑗𝑡1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡subscript𝑥𝑖𝑡subscript𝑥𝑗𝑡subscript𝑝𝑡subscript𝛼𝑖𝑡subscript𝛼𝑗𝑡\Pr[F_{i,t+1}\wedge F_{j,t+1}]\leq\Pr[F_{i,t}\wedge F_{j,t}]\cdot\left(1-x_{i,% t}\cdot\alpha_{i,t}-x_{j,t}\cdot\alpha_{j,t}+\frac{x_{i,t}\cdot x_{j,t}}{p_{t}% }\cdot\alpha_{i,t}\cdot\alpha_{j,t}\right).roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] ≤ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ ( 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT + divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ) .

In the new setting, with the independence of successful matches, we have instead

Pr[Fi,t+1Fj,t+1]Pr[Fi,tFj,t](1xi,tαi,tqi,txj,tαj,tqj,t+xi,tqi,txj,tqj,tptαi,tαj,t).Prsubscript𝐹𝑖𝑡1subscript𝐹𝑗𝑡1Prsubscript𝐹𝑖𝑡subscript𝐹𝑗𝑡1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡subscript𝑞𝑖𝑡subscript𝑥𝑗𝑡subscript𝛼𝑗𝑡subscript𝑞𝑗𝑡subscript𝑥𝑖𝑡subscript𝑞𝑖𝑡subscript𝑥𝑗𝑡subscript𝑞𝑗𝑡subscript𝑝𝑡subscript𝛼𝑖𝑡subscript𝛼𝑗𝑡\Pr[F_{i,t+1}\wedge F_{j,t+1}]\leq\Pr[F_{i,t}\wedge F_{j,t}]\cdot\left(1-x_{i,% t}\alpha_{i,t}q_{i,t}-x_{j,t}\alpha_{j,t}q_{j,t}+\frac{x_{i,t}q_{i,t}\cdot x_{% j,t}q_{j,t}}{p_{t}}\cdot\alpha_{i,t}\cdot\alpha_{j,t}\right).roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] ≤ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ] ⋅ ( 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_q start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT + divide start_ARG italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT italic_q start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT end_ARG start_ARG italic_p start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT end_ARG ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ) .

Hence, we will define x~i,t:=xi,tqi,tassignsubscript~𝑥𝑖𝑡subscript𝑥𝑖𝑡subscript𝑞𝑖𝑡\tilde{x}_{i,t}:=x_{i,t}\cdot q_{i,t}over~ start_ARG italic_x end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT and x~j,t:=xj,tqj,tassignsubscript~𝑥𝑗𝑡subscript𝑥𝑗𝑡subscript𝑞𝑗𝑡\tilde{x}_{j,t}:=x_{j,t}\cdot q_{j,t}over~ start_ARG italic_x end_ARG start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT := italic_x start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_j , italic_t end_POSTSUBSCRIPT. As Pr[Fi,t+1]/Pr[Fi,t]=1xi,tαi,tqi,t=1x~i,tαi,tPrsubscript𝐹𝑖𝑡1Prsubscript𝐹𝑖𝑡1subscript𝑥𝑖𝑡subscript𝛼𝑖𝑡subscript𝑞𝑖𝑡1subscript~𝑥𝑖𝑡subscript𝛼𝑖𝑡\Pr[F_{i,t+1}]/\Pr[F_{i,t}]=1-x_{i,t}\alpha_{i,t}q_{i,t}=1-\tilde{x}_{i,t}% \cdot\alpha_{i,t}roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] / roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ] = 1 - italic_x start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT italic_q start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = 1 - over~ start_ARG italic_x end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ⋅ italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT the proof proceeds identically with this syntactic change, and implies

Pr[Fi,t+1Fj,t+1]Pr[Fi,t+1]Pr[Fj,t+1]f(yi,t+x~i,t)=Pr[Fi,t+1]Pr[Fj,t+1]f(yi,t+1).Prsubscript𝐹𝑖𝑡1subscript𝐹𝑗𝑡1Prsubscript𝐹𝑖𝑡1Prsubscript𝐹𝑗𝑡1𝑓subscript𝑦𝑖𝑡subscript~𝑥𝑖𝑡Prsubscript𝐹𝑖𝑡1Prsubscript𝐹𝑗𝑡1𝑓subscript𝑦𝑖𝑡1\Pr[F_{i,t+1}\wedge F_{j,t+1}]\leq\Pr[F_{i,t+1}]\cdot\Pr[F_{j,t+1}]\cdot f(y_{% i,t}+\tilde{x}_{i,t})=\Pr[F_{i,t+1}]\cdot\Pr[F_{j,t+1}]\cdot f(y_{i,t+1}).roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ∧ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] ≤ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] ⋅ italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT + over~ start_ARG italic_x end_ARG start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT ) = roman_Pr [ italic_F start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ] ⋅ roman_Pr [ italic_F start_POSTSUBSCRIPT italic_j , italic_t + 1 end_POSTSUBSCRIPT ] ⋅ italic_f ( italic_y start_POSTSUBSCRIPT italic_i , italic_t + 1 end_POSTSUBSCRIPT ) .

With this change in place the proof of Lemma 4.9 can be modified syntatically with the new definition of yi,tsubscript𝑦𝑖𝑡y_{i,t}italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT. Indeed, the only property we need is that is that Aisubscript𝐴𝑖A_{i}italic_A start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT should now denote the event that i𝑖iitalic_i is successfully allocated to an arrival in [ti,t1]superscript𝑡𝑖𝑡1[t^{i},t-1][ italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT , italic_t - 1 ] (and similarly for j𝑗jitalic_j). Then,we compute

Pr[Ai]=t[ti,t1](0.5+κ)xi,tqi,t2κPrsubscript𝐴𝑖subscriptsuperscript𝑡superscript𝑡𝑖𝑡10.5𝜅subscript𝑥𝑖superscript𝑡subscript𝑞𝑖superscript𝑡2𝜅\Pr[A_{i}]=\sum_{t^{\prime}\in[t^{i},t-1]}(0.5+\kappa)\cdot x_{i,t^{\prime}}% \cdot q_{i,t^{\prime}}\leq 2\kapparoman_Pr [ italic_A start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ] = ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT ∈ [ italic_t start_POSTSUPERSCRIPT italic_i end_POSTSUPERSCRIPT , italic_t - 1 ] end_POSTSUBSCRIPT ( 0.5 + italic_κ ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ≤ 2 italic_κ

where we use the updated definition of yi,tsubscript𝑦𝑖𝑡y_{i,t}italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT.

We also can readily integrate these changes in our (sampling-based) algorithm for arrivals from general distributions. In particular, we have the following LP relaxation and algorithm.

max\displaystyle\max\ roman_max i,t,jxi,t,jqi,t,jvi,t,jsubscript𝑖𝑡𝑗subscript𝑥𝑖𝑡𝑗subscript𝑞𝑖𝑡𝑗subscript𝑣𝑖𝑡𝑗\displaystyle\sum_{i,t,j}x_{i,t,j}\cdot q_{i,t,j}\cdot v_{i,t,j}∑ start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ⋅ italic_v start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT (General-LPon-Stochastic)
s.t. tjxi,t,jqi,t,j1subscript𝑡subscript𝑗subscript𝑥𝑖𝑡𝑗subscript𝑞𝑖𝑡𝑗1\displaystyle\sum_{t}\sum_{j}x_{i,t,j}\cdot q_{i,t,j}\leq 1∑ start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ≤ 1 for all iIfor all 𝑖𝐼\displaystyle\text{for all }i\in Ifor all italic_i ∈ italic_I (28)
ixi,t,jpt,jct,jsubscript𝑖subscript𝑥𝑖𝑡𝑗subscript𝑝𝑡𝑗subscript𝑐𝑡𝑗\displaystyle\sum_{i}x_{i,t,j}\leq p_{t,j}\cdot c_{t,j}∑ start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ≤ italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT ⋅ italic_c start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT for all t[T],j[m]formulae-sequencefor all 𝑡delimited-[]𝑇𝑗delimited-[]𝑚\displaystyle\text{for all }t\in[T],j\in[m]for all italic_t ∈ [ italic_T ] , italic_j ∈ [ italic_m ] (29)
0xi,t,jpt,j(1t<tjxi,t,jqi,t,j)0subscript𝑥𝑖𝑡𝑗subscript𝑝𝑡𝑗1subscriptsuperscript𝑡𝑡subscriptsuperscript𝑗subscript𝑥𝑖superscript𝑡superscript𝑗subscript𝑞𝑖superscript𝑡superscript𝑗\displaystyle 0\leq x_{i,t,j}\leq p_{t,j}\cdot\left(1-\sum_{t^{\prime}<t}\sum_% {j^{\prime}}x_{i,t^{\prime},j^{\prime}}\cdot q_{i,t^{\prime},j^{\prime}}\right)0 ≤ italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ≤ italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT ⋅ ( 1 - ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ) for all iI,t[T],j[m]formulae-sequencefor all 𝑖𝐼formulae-sequence𝑡delimited-[]𝑇𝑗delimited-[]𝑚\displaystyle\text{for all }i\in I,t\in[T],j\in[m]for all italic_i ∈ italic_I , italic_t ∈ [ italic_T ] , italic_j ∈ [ italic_m ] (30)
Algorithm 4
1:κ0.0115𝜅0.0115\kappa\leftarrow 0.0115italic_κ ← 0.0115
2:Solve (General-LPon-Stochastic) for {xi,t,j}subscript𝑥𝑖𝑡𝑗\{x_{i,t,j}\}{ italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT }
3:for each time t𝑡titalic_t do
4:     Observe index j𝑗jitalic_j sampled from (pt,j)jsubscriptsubscript𝑝𝑡𝑗𝑗(p_{t,j})_{j}( italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT
5:     Define users 𝖥𝖯t,j:=PS((xi,t,j/pt,j)iI)assignsubscript𝖥𝖯𝑡𝑗PSsubscriptsubscript𝑥𝑖𝑡𝑗subscript𝑝𝑡𝑗𝑖𝐼\mathsf{FP}_{t,j}:=\textsf{PS}((x_{i,t,j}/p_{t,j})_{i\in I})sansserif_FP start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT := PS ( ( italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT / italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT )
6:     for each user i𝖥𝖯t,j𝑖subscript𝖥𝖯𝑡𝑗i\in\mathsf{FP}_{t,j}italic_i ∈ sansserif_FP start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT do
7:         if i𝑖iitalic_i is available then
8:              Allocate i𝑖iitalic_i to t𝑡titalic_t with probability αi,t:=min(1,0.5+κ1(0.5+κ)t<tjxi,t,jqi,t,j)assignsubscript𝛼𝑖𝑡10.5𝜅10.5𝜅subscriptsuperscript𝑡𝑡subscriptsuperscript𝑗subscript𝑥𝑖superscript𝑡superscript𝑗subscript𝑞𝑖superscript𝑡superscript𝑗\alpha_{i,t}:=\min\left(1,\frac{0.5+\kappa}{1-(0.5+\kappa)\cdot\sum_{t^{\prime% }<t}\sum_{j^{\prime}}x_{i,t^{\prime},j^{\prime}}\cdot q_{i,t^{\prime},j^{% \prime}}}\right)italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := roman_min ( 1 , divide start_ARG 0.5 + italic_κ end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ⋅ ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT end_ARG )               
9:     Let At,jnumber of users allocated to t with sampled index j thus farsubscript𝐴𝑡𝑗number of users allocated to 𝑡 with sampled index 𝑗 thus farA_{t,j}\leftarrow\text{number of users allocated to }t\text{ with sampled % index }j\text{ thus far}italic_A start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT ← number of users allocated to italic_t with sampled index italic_j thus far
10:     Define users 𝖲𝖯t,j:=PS(((1At,jct,j)xi,t,j/pt,j)iI)assignsubscript𝖲𝖯𝑡𝑗PSsubscript1subscript𝐴𝑡𝑗subscript𝑐𝑡𝑗subscript𝑥𝑖𝑡𝑗subscript𝑝𝑡𝑗𝑖𝐼\mathsf{SP}_{t,j}:=\textsf{PS}\left(\left(\left(1-\frac{A_{t,j}}{c_{t,j}}% \right)\cdot x_{i,t,j}/p_{t,j}\right)_{i\in I}\right)sansserif_SP start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT := PS ( ( ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT end_ARG ) ⋅ italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT / italic_p start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT ) start_POSTSUBSCRIPT italic_i ∈ italic_I end_POSTSUBSCRIPT )
11:     for each user i𝖲𝖯t,j𝑖subscript𝖲𝖯𝑡𝑗i\in\mathsf{SP}_{t,j}italic_i ∈ sansserif_SP start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT with αi,t=1subscript𝛼𝑖𝑡1\alpha_{i,t}=1italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = 1 do
12:         if i𝑖iitalic_i is available then
13:              Compute ρi,t,j:=𝔼[𝟙[i available after 9](1At,jct,j)t sampled index j]assignsubscript𝜌𝑖𝑡𝑗𝔼delimited-[]conditional1delimited-[]𝑖 available after 91subscript𝐴𝑡𝑗subscript𝑐𝑡𝑗𝑡 sampled index 𝑗\rho_{i,t,j}:=\mathbb{E}\left[\mathbbm{1}[i\text{ available after \lx@cref{% creftypecap~refnum}{line:sample_defAtj_stochastic}}]\cdot\left(1-\frac{A_{t,j}% }{c_{t,j}}\right)\mid t\text{ sampled index }j\right]italic_ρ start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT := blackboard_E [ blackboard_1 [ italic_i available after ] ⋅ ( 1 - divide start_ARG italic_A start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT end_ARG start_ARG italic_c start_POSTSUBSCRIPT italic_t , italic_j end_POSTSUBSCRIPT end_ARG ) ∣ italic_t sampled index italic_j ]
14:              βi,t,jmin(1,((0.5+κ)t<tjxi,t,jqi,t,j(0.5κ))1ρi,t,j).subscript𝛽𝑖𝑡𝑗10.5𝜅subscriptsuperscript𝑡𝑡subscript𝑗subscript𝑥𝑖superscript𝑡𝑗subscript𝑞𝑖superscript𝑡𝑗0.5𝜅1subscript𝜌𝑖𝑡𝑗\beta_{i,t,j}\leftarrow\min\Big{(}1,\left((0.5+\kappa)\cdot\sum_{t^{\prime}<t}% \sum_{j}x_{i,t^{\prime},j}\cdot q_{i,t^{\prime},j}-(0.5-\kappa)\right)\cdot% \frac{1}{\rho_{i,t,j}}\Big{)}.italic_β start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ← roman_min ( 1 , ( ( 0.5 + italic_κ ) ⋅ ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) ) ⋅ divide start_ARG 1 end_ARG start_ARG italic_ρ start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT end_ARG ) .
15:              Allocate i𝑖iitalic_i to t𝑡titalic_t with prob. βi,t,jsubscript𝛽𝑖𝑡𝑗{\beta_{i,t,j}}italic_β start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT               

To analyze the algorithm, we can now generalize yi,t:=t<tjxi,t,jqi,t,jassignsubscript𝑦𝑖𝑡subscriptsuperscript𝑡𝑡subscriptsuperscript𝑗subscript𝑥𝑖superscript𝑡superscript𝑗subscript𝑞𝑖superscript𝑡superscript𝑗y_{i,t}:=\sum_{t^{\prime}<t}\sum_{j^{\prime}}x_{i,t^{\prime},j^{\prime}}\cdot q% _{i,t^{\prime},j^{\prime}}italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT := ∑ start_POSTSUBSCRIPT italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT < italic_t end_POSTSUBSCRIPT ∑ start_POSTSUBSCRIPT italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT , italic_j start_POSTSUPERSCRIPT ′ end_POSTSUPERSCRIPT end_POSTSUBSCRIPT, so that αi,t=min(1,0.5+κ1(0.5+κ)yi,t)subscript𝛼𝑖𝑡10.5𝜅10.5𝜅subscript𝑦𝑖𝑡\alpha_{i,t}=\min\left(1,\frac{0.5+\kappa}{1-(0.5+\kappa)\cdot y_{i,t}}\right)italic_α start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT = roman_min ( 1 , divide start_ARG 0.5 + italic_κ end_ARG start_ARG 1 - ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT end_ARG ) and βi,t,j=min(1,((0.5+κ)yi,t(0.5κ))1ρi,t,j)subscript𝛽𝑖𝑡𝑗10.5𝜅subscript𝑦𝑖𝑡0.5𝜅1subscript𝜌𝑖𝑡𝑗\beta_{i,t,j}=\min\Big{(}1,\left((0.5+\kappa)\cdot y_{i,t}-(0.5-\kappa)\right)% \cdot\frac{1}{\rho_{i,t,j}}\Big{)}italic_β start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT = roman_min ( 1 , ( ( 0.5 + italic_κ ) ⋅ italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT - ( 0.5 - italic_κ ) ) ⋅ divide start_ARG 1 end_ARG start_ARG italic_ρ start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT end_ARG ). Similarly, we can define x~i,t,j:=xi,t,jqi,t,jassignsubscript~𝑥𝑖𝑡𝑗subscript𝑥𝑖𝑡𝑗subscript𝑞𝑖𝑡𝑗\tilde{x}_{i,t,j}:=x_{i,t,j}\cdot q_{i,t,j}over~ start_ARG italic_x end_ARG start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT := italic_x start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT ⋅ italic_q start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT. Using yi,tsubscript𝑦𝑖𝑡y_{i,t}italic_y start_POSTSUBSCRIPT italic_i , italic_t end_POSTSUBSCRIPT and x~i,t,jsubscript~𝑥𝑖𝑡𝑗\tilde{x}_{i,t,j}over~ start_ARG italic_x end_ARG start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT, the arguments of Appendix C now generalize syntatically, as described above for the Bernoulli case. The stochastic rewards do not change the argument from Appendix C that ρi,t,jsubscript𝜌𝑖𝑡𝑗\rho_{i,t,j}italic_ρ start_POSTSUBSCRIPT italic_i , italic_t , italic_j end_POSTSUBSCRIPT is bounded away from 00 by a constant, and hence can be computed efficiently within a multiplicative error factor when running the polynomial-time sample-based algorithm.