betaFeedback

WorksComputer Science

Two-Sided Screening in Quality-Differentiated Markets

Abstract

Motivated by digital marketplaces such as Uber and Airbnb, we study how a two-sided platform designs a menu of qualities, consumer prices, and provider wages. Consumers and providers self-select according to their private values and costs, so the platform must design its menu to attract consumers while inducing enough supply to meet their demand. We study this coordination problem over a continuous quality space, requiring supply to cover demand at every quality threshold. We formulate menu design as an optimization over trading distributions, which specify how much trade occurs at or above each quality. Through convexification of the technological cost function, we characterize the profit- and welfare-optimal trading distributions. This characterization shows how production technology alone can reduce menu size without sacrificing optimal profit or welfare, regardless of the type distributions, and determines when optimal menus can be finite. We then show that profit maximization can be highly efficient: under monotone hazard rate conditions on both sides, a profit-optimal menu achieves at least 1/(e−1)1/(e-1) of optimal social welfare. We next consider the practical setting in which the menu size is restricted to a prescribed number of offers. We establish how the restricted menu approximates the unrestricted optimum in profit. We develop an algorithm that computes a menu within this size limit in polynomial time. The computed menu simultaneously approximates the unrestricted optimal profit and social welfare with additive error.

Introduction

Platforms in quality-differentiated markets coordinate trade in goods or services offered at different quality levels. For example, Uber offers service tiers such as UberX and Uber Comfort. Offering a higher-quality option requires both consumers willing to pay for it and providers willing to supply it at the offered compensation. This creates a joint design problem: consumer prices shape demand across qualities, while provider compensations shape the corresponding supply. We study how a platform can coordinate two-sided menus when supply must cover demand at every quality, and how its choices affect platform profit and social welfare.

This problem combines screening with a feasibility constraint that links the two sides. In classical one-sided screening, a seller offers a price–quality menu to consumers with privately known valuations (Mussa and Rosen, 1978). There, the seller produces whatever quality a consumer selects, so every consumer’s choice is fulfilled automatically. Here, the platform also faces privately informed providers and must design a compensation menu to induce their participation and quality choices. Adjusting either menu changes the distribution of demand or supply across qualities, so the two menus cannot be optimized separately. Moreover, a continuous quality space may require an infinite optimal menu, while practical considerations favor finite menus that are easier to communicate and manage. These considerations raise three related questions:

  1. What structure do optimal two-sided menus have?

  2. How much welfare does profit maximization preserve?

  3. How much profit can a platform retain with a limited menu, and how can such a menu be computed?

To address these questions, we study a platform intermediating trade between a continuum of consumers and a continuum of providers over a compact quality interval. Consumers have private values for quality, and providers have private cost types that scale a common technological cost function. The platform posts a set of qualities with consumer prices and provider compensations. Traders on both sides independently select their preferred quality or choose not to participate. We require supply to cover demand at every quality, with excess supply downgraded or discarded at no cost, and show that optimal menus match the two exactly (Proposition 2.1). Our goal is to characterize optimal menus in quality-differentiated markets, quantify the welfare consequences of profit maximization, and develop profit and welfare guarantees for menus with a limited number of qualities.

Our contribution and techniques

Within our model, we address the structure of optimal menus, the welfare consequences of profit maximization, and the design of limited menus. Below we present our main contributions with a running example (Example 1.1) for illustrating.

Example 1.1. Suppose the platform chooses qualities from the interval [0,1][0,1]. Both consumer and provider types are uniformly distributed on [0,1][0,1], and the technological cost function is

c(q)={32q−q2,0≤q≤12,92q−q2−32,12<q≤1.c(q) = \begin{cases} \frac{3}{2}q-q^2, & 0 \le q \le\frac{1}{2}, \\ \frac{9}{2}q-q^2-\frac{3}{2}, & \frac{1}{2}<q \le1. \end{cases}

Structure of optimal menus. We formulate menu design as an optimization over a common trading distribution, which specify how much trade occurs at or above each quality and express platform profit and social welfare as integrals of scalar contributions (Theorem 3.2). Our key reduction replaces technological cost function cc by its greatest convex minorant c‾\underline{c}, the largest convex function below it (Theorem 3.3). As illustrated in Figure 1, the solid and dashed curves represent cc and c‾\underline{c}. They coincide at isolated contact qualities and along contact intervals, while c‾\underline{c} is linear between contacts whenever the curves differ. This replacement preserves both optimal values, and each objective admits an optimal menu using only contact qualities. Thus, technology alone identifies qualities that can be omitted, while type distributions determine the optimal trading masses. We also give a necessary and sufficient condition for finite optimal menus (Proposition 3.4). Example 1.1 below illustrates the trading-distribution representation, cost convexification, and the resulting finite optimal menu.

Convexification of technological cost

Figure 1. Convexification of technological cost.

Example 1.1 (cont.). Write z(q)z(q) for the mass trading at quality at least qq. The strictly matched menu we construct to implement z(q)z(q) has profit ∫01[z(q)−(1+c′(q))z(q)]2 dq\int_0^1 [z(q) - (1+c'(q))z(q)]^2\,dq and welfare ∫01[z(q)−12(1+c′(q))z(q)] dq\int_0^1 [z(q) - \frac{1}{2}(1+c'(q))z(q)]\,dq. The greatest convex minorant joins the contact points (0,0)(0,0), (1/2,1/2)(1/2,1/2), and (1,2)(1,2):

c‾(q)={q,0≤q≤12,3q−1,12<q≤1.\underline{c}(q)= \begin{cases} q, & 0\leq q\leq\frac{1}{2},\\ 3q-1, & \frac{1}{2}<q\leq1. \end{cases}

The profit-maximizing menu is finite: it offers quality 1/21/2 at price 3/83/8 and compensation 1/81/8, and quality 11 at price 13/1613/16 and compensation 5/165/16, plus the outside option with optimal profit 3/323/32.

The welfare optimum is also attained by a finite menu offering the same two qualities with optimal welfare 3/163/16.

Efficiency of profit maximization. We characterize the efficiency loss caused by profit maximization. The welfare optimum can be implemented without a platform subsidy (Proposition 4.1), yet profit maximization can preserve arbitrarily little welfare even when both type distributions are regular (Proposition 4.2). Under MHR condition, we establish a tight welfare ratio 1/(e−1)1/(\mathrm{e}-1) (Theorem 4.3). Example 1.1 below illustrates the welfare comparison between profit and welfare maximization under MHR.

Example 1.1 (cont.). Both uniform type distributions satisfy MHR conditions. The profit-maximizing menu yields welfare 9/649/64 and therefore preserves 3/43/4 of optimal welfare 3/163/16. This ratio exceeds 1/(e−1)1/(\mathrm{e}-1), consistent with our welfare guarantee.

Limited menus and computation. When the smallest unrestricted optimal menu uses nn qualities, restricting menus to at most m≤nm\leq n qualities preserves at least a m/nm/n fraction of optimal profit, and this bound is tight (Theorem 5.1). For general instances, including those requiring infinite optimal menus, we develop a dynamic program under a scalar profit oracle (Theorem 5.2). The algorithm combines quality discretization, cost convexification, and optimization over consecutive groups of quality increments. It returns a menu with at most mm qualities and additive profit loss at most qˉ⋅E[θ]/m+ε\bar{q} \cdot\mathbb{E}[\theta]/m + \varepsilon, where qˉ\bar{q} is the quality bound, E[θ]\mathbb{E}[\theta] is the mean consumer value, and ε>0\varepsilon> 0 is an accuracy parameter. Under MHR, the same output achieves at least 1/e1/e of optimal welfare minus the same additive error. Example 1.1 below illustrates the computed restricted menu and compares its profit and welfare with our approximation guarantees.

Example 1.1 (cont.). Set m=1m = 1 and ε=1/4\varepsilon= 1/4. The algorithm returns a menu offering only quality 1 at price 5/65/6 and compensation 1/31/3, in addition to the outside option. Its profit is 1/121/12, retaining 8/98/9 of the unrestricted optimal profit and losing only 1/961/96. Its welfare is 1/81/8, retaining 2/32/3 of optimal welfare.

The retained profit exceeds our 1/21/2 relative guarantee, while the profit and welfare also satisfy the general additive bounds.

Related work

Our model builds on monopolistic price-quality screening (Mussa and Rosen, 1978) and its multidimensional extensions [2] (Rochet and Choné 1998). We study private information on both sides of a platform, with provider choices required to cover consumer choices at every quality. Similar supply–demand matching conditions are common in models of quality-differentiated markets and platforms (e.g., Ekeland, 2010; Light et al., 2024).

Matching intermediation. A broad literature studies pricing, screening, and matching by intermediaries [12, 20, 1, 19, 21, 6] (Johnson 2013). Algorithmic work studies intermediary fees (Niazadeh et al., 2014), revenue-maximizing double auctions [14], and match recommendations [4]. Related work examines matching and assignment under distributional constraints [3] (Kamada and Kojima 2015). We focus on consumer and provider menus over common production qualities, requiring the induced supply to cover the induced demand at every quality.

Menu structure and pooling. Prior work studies optimal nested bundles [7], pooling under cross-side externalities (Jeon et al., 2022), and information design concerning buyer values [9]. Algorithmic studies also examine optimal information disclosure [16] and its limits under communication constraints [17]. Light et al. (2024) also require supply to meet demand on a platform whose buyers value quality linearly, but seller quality is exogenous and the platform chooses which sellers to admit and what quality information to disclose. They show that, under a demand-elasticity condition, admitting only high-quality sellers and pooling them maximizes revenue. In our model, providers produce quality at privately known costs and the platform sets transfers on both sides. Our structural reduction instead convexifies technological cost independently of type distributions, preserving both optimal profit and optimal welfare.

Profit and gains from trade. Existing work examines matching distortions under profit maximization [20, 1] and designs mechanisms approximating second-best [10] or first-best [15] gains from trade. Other work bounds revenue relative to welfare in single-parameter environments (Kleinberg and Yuan, 2013) and approximates gains from trade in multidimensional markets [11]. We establish a tight welfare guarantee for profit-maximizing quality menus under MHR.

Limited menus and computation. Bergemann et al. (2021b) quantify finite-menu losses in nonlinear pricing. Babaioff et al. (2017) bound the menu size needed to approximate revenue for an additive buyer with independent item values. Further work studies menu complexity with private values and deadlines (Saxena et al., 2018) and computational hardness in multi-item mechanism design [13]. We study a common quality limit on both sides, obtaining a dynamic program and approximation guarantees.

Preliminaries

We consider a market that consists of two sides, consumers and providers, and a monopolistic trading platform. On one side is a unit mass of providers, each of whom can produce one unit of a service or commodity at different quality levels. Denote by Q≜[0,qˉ]Q \triangleq[0,\bar{q}] the quality set that can be produced by providers. The other side is a unit mass of consumers, each with unit demand for the service or commodity from the providers. Consumers and providers cannot trade with each other directly and every transaction takes place through the platform.

Provider and consumer types. On the provider side, the production of quality qq requires an intrinsic effort c(q)c(q), where the technological cost function c:Q→[0,∞)c: Q \to[0,\infty) is absolutely continuous and strictly increasing with c(0)=0c(0)=0. A provider’s type μ\mu is her cost per unit of effort, so her cost of producing quality qq is μ⋅c(q)\mu\cdot c(q). Suppose the compensation for producing quality qq is w(q)w(q). Then the utility of a provider of type μ\mu who produces quality qq is w(q)−μ⋅c(q)w(q)-\mu\cdot c(q). The unit mass of providers is distributed over types according to the cumulative distribution G\mathcal{G} with density G′\mathcal{G}', supported on the interval [μ‾,μˉ][\underline{\mu},\bar{\mu}] with 0≤μ‾<μˉ<∞0 \le\underline{\mu}<\bar{\mu}<\infty. That is, the mass of providers with types at most μ\mu is G(μ)\mathcal{G}(\mu) for every μ∈[μ‾,μˉ]\mu\in[\underline{\mu},\bar{\mu}].

The consumer’s type θ\theta is the consumer’s marginal value of quality. Suppose the price for buying quality qq is p(q)p(q). Then the utility of a consumer of type θ\theta who buys quality qq is θ⋅q−p(q)\theta\cdot q-p(q). The consumer’s value type θ\theta has cumulative distribution F\mathcal{F} and density F′\mathcal{F}', supported on the interval [θ‾,θˉ][\underline{\theta},\bar{\theta}] with 0≤θ‾<θˉ<∞0 \le\underline{\theta}<\bar{\theta}<\infty. Both type distributions are strictly increasing on their supports. For the type distributions F\mathcal{F} and G\mathcal{G}, let the corresponding quantile functions be F−1:[0,1]→[θ‾,θˉ]\mathcal{F}^{-1}: [0,1] \to[\underline{\theta},\bar{\theta}] and G−1:[0,1]→[μ‾,μˉ]\mathcal{G}^{-1}: [0,1] \to[\underline{\mu},\bar{\mu}], mapping each mass of traders to the type below which that mass lies.

Two-sided screening. The platform knows the instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}), consisting of the quality set, the technological cost function, and the two type distributions, but types are traders’ private information. Hence, the platform cannot tailor prices or wages to individual traders; instead, it commits to a two-sided menu of take-it-or-leave-it offers, from which each trader selects one. The menu thereby screens traders by self-selection, sorting each side along the quality spectrum according to type.

Definition 2.1 (Two-sided menu). A two-sided menu is a tuple M=(T,p,w)M=(T,p,w) consisting of a posted quality set T⊆QT \subseteq Q, a consumer price schedule p:T→R≥0p:T \to\mathbb{R}_{\geq0}, and a provider wage schedule w:T→R≥0w:T \to\mathbb{R}_{\geq0}. Moreover, the menu posts the outside option at zero transfers: 0∈T0 \in T and p(0)=w(0)=0p(0)=w(0)=0. An offer (q,p(q),w(q))(q,p(q),w(q)) of the menu MM is a posted quality q∈Tq \in T together with its price and wage.

Note that the posted quality set TT need not be the whole quality set QQ. Given a menu M=(T,p,w)M=(T,p,w), a consumer of type θ\theta selects a posted quality qC(θ)q_{\mathrm{C}}(\theta) that maximizes her utility,1 and a provider of type μ\mu selects a posted quality qP(μ)q_{\mathrm{P}}(\mu) that maximizes hers:

qC(θ)∈arg⁡max⁡q∈T{θ⋅q−p(q)},qP(μ)∈arg⁡max⁡q∈T{w(q)−μ⋅c(q)}.q_{\mathrm{C}}(\theta) \in\underset{q \in T}{\arg\max}\{\theta\cdot q-p(q)\}, \qquad q_{\mathrm{P}}(\mu) \in\underset{q \in T}{\arg\max}\{w(q)-\mu\cdot c(q)\}.

We call qC:[θ‾,θ‾]→Tq_C : [\underline{\theta}, \overline{\theta}] \to T and qP:[μ‾,μ‾]→Tq_P : [\underline{\mu}, \overline{\mu}] \to T the consumer and provider choice maps, with ties broken by a fixed rule when there is more than one maximizer. Thus, the type-θ\theta consumer’s and type-μ\mu provider’s indirect utilities are defined by

UC(θ)≜sup⁡q∈T{θ⋅q−p(q)},UP(μ)≜sup⁡q∈T{w(q)−μ⋅c(q)}.U_C(\theta) \mathrel{\triangleq} \sup_{q \in T}\{\theta\cdot q - p(q)\}, \qquad U_P(\mu) \mathrel{\triangleq} \sup_{q \in T}\{w(q) - \mu\cdot c(q)\}.

Demand, supply and market clearing. Given an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}) and a menu MM, the choice maps determine the distribution of selected qualities on each side of the market, which we call the demand and supply distributions, defined as follows:

Definition 2.2 (Demand and supply distributions). For an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}) and a menu M=(T,p,w)M=(T,p,w), the induced demand distribution DD and supply distribution SS give, for each quality qq, the masses of consumers and providers who select a quality of at least qq:

D(q)≜Pr⁡θ[qC(θ)≥q],S(q)≜Pr⁡μ[qP(μ)≥q].D(q) \mathrel{\triangleq} \Pr_{\theta}[q_C(\theta) \ge q], \qquad S(q) \mathrel{\triangleq} \Pr_{\mu}[q_P(\mu) \ge q].

Ideally, we should have D=SD=S so that every provider’s output is consumed by a consumer who selects exactly that quality. We call this condition strict matching. More generally, service can be downgraded or discarded at no cost, so a consumer of type θ\theta can be served with any quality equal to or higher than qC(θ)q_C(\theta) while still paying p(qC(θ))p(q_C(\theta)). A provider of type μ\mu still produces quality qP(μ)q_P(\mu) for the wage w(qP(μ))w(q_P(\mu)), even though her output may be downgraded or discarded. All consumers can be served exactly when D(q)≤S(q)D(q) \le S(q) at every quality qq, that is, when the providers who produce quality qq or higher are enough to serve the consumers who select quality qq or higher, a condition we call feasibility. Market clearing can then be achieved by pairing both sides from the highest quality down. Formally, we have the following definition.

Definition 2.3 (Feasible and strict matching). For an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}), a menu MM is feasible if the induced demand distribution DD and supply distribution SS satisfy D(q)≤S(q)D(q) \le S(q) for every positive quality qq. A menu MM satisfies strict matching if D=SD=S, and we call the common distribution the trading distribution, denoted by TT.

For a strictly matched menu MM, the trading distribution T:[0,q‾]→[0,1]T : [0,\overline{q}] \to[0,1] is nonincreasing and left-continuous. We call T(q)T(q) the trading mass at qq, which is the common mass of consumers and providers who trade at a quality at least qq.

Objectives. The platform’s primary objective is profit. The profit of a feasible menu MM is the expected consumer payment minus the expected provider compensation,

Π≜Eθ[p(qC(θ))]−Eμ[w(qP(μ))].(1)\Pi\mathrel{\triangleq} \mathbb{E}_{\theta}[p(q_C(\theta))] - \mathbb{E}_{\mu}[w(q_P(\mu))]. \tag*{(1)}

We also consider social welfare as an efficiency benchmark. The social welfare of a feasible menu MM is the expected consumer gross value minus the expected provider production cost,

W≜Eθ[θ⋅qC(θ)]−Eμ[μ⋅c(qP(μ))].(2)W \mathrel{\triangleq} \mathbb{E}_{\theta}[\theta\cdot q_C(\theta)] - \mathbb{E}_{\mu}[\mu\cdot c(q_P(\mu))]. \tag*{(2)}

Both objectives are maximized over feasible menus. We conclude this section by showing that focusing on strictly matched menus is without loss of generality.

Proposition 2.1. For an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}), every feasible menu that is not strictly matched has lower profit and lower welfare than some strictly matched menu. In particular, every feasible menu that maximizes profit or welfare satisfies strict matching.

The proof of Proposition 2.1 uses the menu construction developed in § 3 and appears in Section A.3. Intuitively, by adjusting only the wages, the platform can preserve consumer choices while reducing supply to match demand at every quality. Whenever supply exceeds demand, this strictly lowers production costs and provider compensation without reducing consumer payments, improving both welfare and profit. From now on, we restrict attention to strictly matched menus.

Characterization of Optimal Menus

This section characterizes optimal menus. We first show that every trading distribution can be implemented by a strictly matched menu that is optimal for both profit and social welfare among the menus implementing it (Theorem 3.1), and we express the resulting profit and social welfare as integrals over quality (Theorem 3.2). Menu design thus becomes an optimization over trading distributions. We then show that replacing the technological cost function by its greatest convex minorant, which is determined by the technology alone, preserves both optimal profit and optimal social welfare, and that each objective admits an optimal menu that posts only qualities at which the two costs coincide (Theorem 3.3). Finally, we give a necessary and sufficient condition for finite optimal menus (Proposition 3.4) and show that some instances require infinitely many qualities (Example 3.3).

Optimal menus implementing a trading distribution

Every strictly matched menu induces a trading distribution, so menu design can proceed in two steps: choose a trading distribution, and then find the most profitable menu that induces it. This subsection solves the second step for an arbitrary trading distribution, and the next subsection solves the first.

Definition 3.1 (Implementation). Let z:(0,qˉ]→[0,1]z:(0,\bar{q}] \to[0,1] be nonincreasing and left-continuous. A menu MM implements zz if MM satisfies strict matching and the induced trading distribution T=zT=z.

A menu implementing a given trading distribution zz can be constructed as follows. Assign higher qualities to consumers with higher values and to providers with lower costs. Thus the top mass z(q)z(q) of consumers trades at quality at least qq, and the consumer who chooses quality qq has value type F−1(1−z(q))\mathcal{F}^{-1}(1-z(q)). A consumer of type θ\theta maximizes θ⋅q−p(q)\theta\cdot q-p(q), so the first-order condition p′(q)=θp'(q)=\theta holds at her chosen quality; substituting θ=F−1(1−z(q))\theta=\mathcal{F}^{-1}(1-z(q)) and integrating from p(0)=0p(0)=0 gives the price schedule

p(q)≜∫0qF−1(1−z(s)) ds.(3)p(q) \triangleq\int_{0}^{q} \mathcal{F}^{-1}(1-z(s))\,\mathrm{d}s. \tag*{(3)}

Similarly, the providers’ first-order condition w′(q)=μ⋅c′(q)w'(q)=\mu\cdot c'(q) gives the wage schedule

w(q)≜∫0qc′(s)⋅G−1(z(s)) ds.(4)w(q) \triangleq\int_{0}^{q} c'(s)\cdot\mathcal{G}^{-1}(z(s))\,\mathrm{d}s. \tag*{(4)}

Together, eqs. (3) and (4) define the menu (Q,p,w)(Q,p,w), which posts every quality q∈Qq\in Q. Theorem 3.1 below verifies that this menu indeed implements zz, and moreover, shows that this menu is optimal with respect to social welfare and profit among all menus implementing zz. Intuitively, every menu implementing zz assigns the same quality to almost every type, so all such menus yield the same social welfare and differ only in their transfers. The menu in eqs. (3) and (4) leaves each trader the least utility needed to keep her choice. Thus the platform profit, which equals the social welfare minus the traders’ utilities, is the largest. The proof of Theorem 3.1 appears in Section A.1.

Theorem 3.1. For an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}) and any nonincreasing left-continuous function z:(0,qˉ]→[0,1]z:(0,\bar{q}]\to[0,1], the menu (Q,p,w)(Q,p,w) with the transfers in eqs. (3) and (4) is strictly matched and implements zz. Any other menu implementing zz has the same social welfare as (Q,p,w)(Q,p,w), and (Q,p,w)(Q,p,w) maximizes platform profit among all menus implementing zz.

Thus, by Theorem 3.1, the platform can shape the market into any trading distribution zz by designing a strictly matched menu defined by eqs. (3) and (4), and this implementation is optimal for both profit and social welfare among all menus implementing zz. Next, we express the resulting platform profit and social welfare directly in terms of the trading distribution.

Theorem 3.2. For an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}) and every nonincreasing left-continuous function z:(0,qˉ]→[0,1]z:(0,\bar{q}]\to[0,1], the optimal platform profit Π(z)\Pi(z) and the optimal social welfare W(z)W(z) among menus implementing zz are

Π(z)=∫0qˉz(q)⋅[F−1(1−z(q))−c′(q)⋅G−1(z(q))] dq,(5)\Pi(z)=\int_{0}^{\bar{q}}z(q)\cdot\left[\mathcal{F}^{-1}(1-z(q))-c'(q)\cdot\mathcal{G}^{-1}(z(q))\right]\,dq, \tag*{(5)}
W(z)=∫0qˉ∫0z(q)[F−1(1−u)−c′(q)⋅G−1(u)] du dq.(6)W(z)=\int_{0}^{\bar{q}}\int_{0}^{z(q)}\left[\mathcal{F}^{-1}(1-u)-c'(q)\cdot\mathcal{G}^{-1}(u)\right]\,du\,dq. \tag*{(6)}

Theorem 3.2 converts optimal menu design into an optimization over trading distributions. Its proof in Section A.2 decomposes consumer payments, provider compensations, and production costs into quality increments and swaps the integration order.

Optimal trading distributions via cost convexification

By Theorems 3.1 and 3.2, maximizing platform profit or social welfare over strictly matched menus is equivalent to an optimization over functions:

max⁡z:(0,qˉ]→[0,1]Π(z)ormax⁡z:(0,qˉ]→[0,1]W(z)(7)\max_{z:(0,\bar{q}]\to[0,1]}\Pi(z)\quad\text{or}\quad\max_{z:(0,\bar{q}]\to[0,1]}W(z) \tag*{(7)}

s.t. zz is nonincreasing and left-continuous.

To solve this functional optimization problem, observe that at each quality qq, the integrands of eqs. (5) and (6) depend on qq only through two numbers: the trading mass z(q)z(q) and the marginal technological cost c′(q)c'(q). For a trading mass y∈[0,1]y\in[0,1] and a marginal technological cost κ≥0\kappa\ge0, define the profit and welfare contributions as the integrands with z(q)z(q) and c′(q)c'(q) replaced by yy and κ\kappa:

π(y;κ)≜y⋅[F−1(1−y)−κ⋅G−1(y)],\pi(y;\kappa)\triangleq y\cdot\left[\mathcal{F}^{-1}(1-y)-\kappa\cdot\mathcal{G}^{-1}(y)\right],
ω(y;κ)≜∫0y[F−1(1−u)−κ⋅G−1(u)] du.\omega(y;\kappa)\triangleq\int_{0}^{y}\left[\mathcal{F}^{-1}(1-u)-\kappa\cdot\mathcal{G}^{-1}(u)\right]\,du.

Hence, the two objectives in Theorem 3.2 take the compact forms

Π(z)=∫0qˉπ(z(q);c′(q)) dq,W(z)=∫0qˉω(z(q);c′(q)) dq.\Pi(z)=\int_{0}^{\bar{q}}\pi(z(q);c'(q))\,dq,\qquad W(z)=\int_{0}^{\bar{q}}\omega(z(q);c'(q))\,dq.

The next theorem shows that the functional optimization in eq. (7) decouples across qualities once the technological cost is convexified: maximizing each contribution over the trading mass separately at every quality yields an optimal trading distribution for profit or welfare, respectively.

Definition 3.2 (Convexified technological cost). The convexified technological cost function cc is the greatest convex minorant of the technological cost function cc, that is, the greatest convex function on QQ that lies below cc. A quality q∈Qq \in Q is a contact quality if c‾(q)=c(q)\underline{c}(q) = c(q).

On every open interval where the two costs differ, the convexified cost is affine and the interval endpoints are contact qualities, as illustrated in Figure 1. The derivative c‾′(q)\underline{c}'(q) exists at all but countably many qualities qq and is positive and nondecreasing.

Theorem 3.3. For an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}), optimal trading distributions zΠz^{\Pi} for profit and zWz^{W} for social welfare are obtained as:

zΠ(q)=max⁡arg⁡max⁡y∈[0,1] π(y;c‾′(q)),z^{\Pi}(q) = \max\underset{y \in[0,1]}{\arg\max}\ \pi(y;\underline{c}'(q)),
zW(q)=max⁡arg⁡max⁡y∈[0,1] ω(y;c‾′(q)),z^{W}(q) = \max\underset{y \in[0,1]}{\arg\max}\ \omega(y;\underline{c}'(q)),

for almost every q∈(0,qˉ)q \in(0,\bar{q}). Moreover, for each objective, there exists an optimal menu with posted quality set T⊆{q∈Q:c(q)=c‾(q)}T \subseteq\{q \in Q : c(q) = \underline{c}(q)\}.

Economically, Theorem 3.3 shows that optimal menus skip every interval of qualities on which c‾\underline{c} exceeds cc: there, c‾′\underline{c}' is constant, so both optimal trading distributions are constant and no trade occurs. Thus, when the technological cost is strictly concave on an interval, that is, when the marginal technological cost decreases over this interval, the platform need not post any quality in it other than its endpoints, whatever the objective and type distributions.

The proof of Theorem 3.3 replaces technological cost by its greatest convex minorant and optimizes the scalar contributions along the resulting nondecreasing marginal technological costs. Higher marginal technological costs favor smaller trading masses, so these independently optimal masses satisfy the required ordering. The main issue is to return to the original technology without changing either objective: constancy of the trading mass on noncontact intervals supplies this equality, and Theorem 3.1 supplies bounded transfers. This argument parallels the ironing technique of Myerson (1981), applied along qualities instead of types: the marginal technological cost c′c' plays the role of the virtual value, and convexifying cc corresponds to convexifying the integral of the virtual value. Unlike that ironing, which depends on the value distribution, cost convexification depends only on the technology. The complete proof appears in Section A.4.

Finite optimal menus

In a continuous quality space, Theorem 3.3 does not by itself imply that an unrestricted optimum uses finitely many qualities. A trading distribution is finitely supported if trade occurs at only finitely many positive qualities, which we call its active qualities. It is then constant between consecutive active qualities, its jumps are the masses trading at those qualities, and it is zero above the highest one. Unused offers can be deleted, so existence of a finite optimal posted menu is equivalent to existence of a finitely supported optimal trading distribution.

Proposition 3.4. For an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}), a finite menu attains unrestricted optimal profit if and only if there exists a finitely supported trading distribution whose active qualities are contacts and mass maximizes the scalar profit contribution at almost every quality:

z(q)∈arg⁡max⁡y∈[0,1]π(y;c′(q))for almost every q∈(0,qˉ).(8)z(q) \in\arg\max_{y\in[0,1]} \pi(y;c'(q)) \quad\text{for almost every } q \in(0,\bar{q}). \tag*{(8)}

The corresponding criterion for unrestricted welfare replaces the profit contribution in eq. (8) by the welfare contribution.

The proof in Section A.5 derives this criterion directly from the two equality conditions in the proof of Theorem 3.3. The criterion concerns existence of a finite optimal selection. Finiteness of the contact set is sufficient but not necessary: infinitely many qualities can be technologically undominated while only finitely many are used optimally. What matters is whether scalar maximizing masses can be chosen to form a finitely supported trading distribution.

For example, suppose the convexified cost is piecewise linear with LL pieces, as it is whenever the original cost is piecewise linear with finitely many pieces. Then the marginal technological cost is constant on each piece, so both objectives admit optimal menus with at most LL positive qualities, located at the right endpoints of the pieces. The following example shows that continuous strictly convex cost can instead require an optimal trading distribution with infinite support.

Example 3.3 (Quadratic technological cost). Let qˉ=1\bar{q}=1 and c(q)=Kq2c(q)=Kq^{2} for K>0K>0, with marginal technological cost c′(q)=2Kqc'(q)=2Kq, and let both types be uniform on [0,1][0,1]. The profit contribution π(y;κ)=y−(1+κ)⋅y2\pi(y;\kappa)=y-(1+\kappa)\cdot y^{2} has the unique maximizer y=1/(2⋅(1+κ))y=1/(2\cdot(1+\kappa)); at κ=c′(q)=2Kq\kappa=c'(q)=2Kq, the optimal trading distribution is zΠ(q)=1/(2(1+2Kq))z^{\Pi}(q)=1/(2(1+2Kq)). It is strictly decreasing, so trade occurs at infinitely many qualities and no finite menu is optimal; welfare behaves the same way, with zW(q)=1/(1+2Kq)z^{W}(q)=1/(1+2Kq).

Strict convexity of technological cost alone is not a general criterion for infinite optimal support: the scalar maximizing masses may be constant, including zero trade. Proposition 3.4 states the exact condition, while piecewise linearity of the convexified cost is a sufficient condition that depends only on the cost geometry. The following example shows that the exact condition can hold even when the sufficient condition fails.

Example 3.4 (Infinitely many contacts and a finite optimum). Keep the cost and the provider distribution of Example 3.3 and set K=1K=1, so every quality is still a contact, but let consumer values be uniform on [6,7][6,7]. Now π(y;κ)=7⋅y−(1+κ)⋅y2\pi(y;\kappa)=7\cdot y-(1+\kappa)\cdot y^{2} is increasing on [0,1][0,1] for every marginal technological cost κ≤2\kappa\leq2, so its maximizer is y=1y=1, and the same holds for welfare. Hence all traders trade at quality one through the single offer p(1)=6p(1)=6, w(1)=1w(1)=1: a strictly convex cost can still have a finite optimal menu.

Efficiency of Profit Maximization

In this section we study the efficiency loss caused by profit maximization. Let zΠz^{\Pi} and zWz^{W} be the selected profit- and welfare-optimal trading distributions in Theorem 3.3. When W(zW)>0W(z^{W})>0, define the welfare ratio Γ≜W(zΠ)W(zW)\Gamma\triangleq\frac{W(z^{\Pi})}{W(z^{W})}.

We first show that the welfare benchmark requires no platform subsidy. We then prove that regularity alone provides no positive uniform lower bound on Γ\Gamma, whereas MHR guarantees a tight bound Γ≥1/(e−1)\Gamma\geq1/(e-1), where ee is the base of the natural logarithm.

Proposition 4.1. For an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}), the selected welfare-optimal trading distribution zWz^{W} can be implemented under the original technological cost with nonnegative platform profit: Π(zW)≥0\Pi(z^{W}) \ge0.

The efficiency loss measured by Γ\Gamma therefore arises from maximizing profit, rather than the requirement of nonnegative profit. The proof appears in Section B.1.

Definition 4.1 (Regularity). A consumer’s value distribution F\mathcal{F} is regular if the consumer revenue curve y⋅F−1(1−y)y \cdot\mathcal{F}^{-1}(1-y) is concave. A provider’s cost distribution G\mathcal{G} is regular if the provider expenditure curve y⋅G−1(y)y \cdot\mathcal{G}^{-1}(y) is convex.

Proposition 4.2. For any ε>0\varepsilon> 0, there exists an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}) with both F\mathcal{F} and G\mathcal{G} regular and W(zW)>0W(z^{W}) > 0, such that the welfare ratio Γ<ε\Gamma< \varepsilon.

Regularity controls the shape of the profit objective but does not bound the surplus forgone by the platform. The following example illustrates how the welfare ratio can approach zero. The proof appears in Section B.2.

Example 4.2. Let qˉ=1\bar{q} = 1 and c(q)=qc(q) = q at every feasible quality q∈[0,1]q \in[0,1]. Thus the marginal technological cost is κ=1\kappa= 1. Fix a parameter 0<ξ<1/20 < \xi< 1/2. Define the consumer and provider distributions through quantile functions as G−1(y)=y\mathcal{G}^{-1}(y) = y for y∈[0,1]y \in[0,1] and

F−1(1−y)≜{1ξ−y,0≤y≤ξ,(1+ξ)⋅1−yy,ξ<y≤1.\mathcal{F}^{-1}(1-y) \triangleq\begin{cases} \frac{1}{\xi} - y, & 0 \le y \le\xi, \\ (1+\xi) \cdot\frac{1-y}{y}, & \xi< y \le1. \end{cases}

The support of F\mathcal{F} is [0,1/ξ][0,1/\xi] and the support of G\mathcal{G} is [0,1][0,1]. Both distributions are absolutely continuous and strictly increasing.

A constant guarantee under MHR

The negative result under regularity motivates the stronger MHR conditions. Our results show that under MHR assumptions, profit maximization preserves a constant fraction of the optimal social welfare and the guarantee is tight.

Definition 4.3 (Monotone hazard rate). A consumer’s value distribution F\mathcal{F} satisfies monotone hazard rate (MHR) if its hazard rate hF(θ)≜F′(θ)/(1−F(θ))h_{\mathcal{F}}(\theta) \triangleq\mathcal{F}'(\theta)/(1-\mathcal{F}(\theta)) is nondecreasing. A provider’s cost distribution G\mathcal{G} satisfies MHR if its reverse hazard rate rG(μ)≜G′(μ)/G(μ)r_{\mathcal{G}}(\mu) \triangleq\mathcal{G}'(\mu)/\mathcal{G}(\mu) is nonincreasing.

Theorem 4.3. For an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}), if both F\mathcal{F} and G\mathcal{G} satisfy MHR and W(zW)>0W(z^{W}) > 0, the welfare ratio Γ≥1/(e−1)\Gamma\ge1/(e-1).

The ratio is tight: there exist a sequence of instances whose ratios converge to 1/(e−1)1/(e-1).

Intuitively, the MHR condition limits how slowly the gap between the marginal consumer’s value and the marginal provider’s cost can decline as trade expands, preventing the excluded trades from accounting for an arbitrarily large share of the gains from trade. The formal proof uses the following technical lemma and can be found in Section B.4.

Lemma 4.4. For an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}), the selected optimal trading distributions satisfy

zΠ(q)≤zW(q),0<q≤qˉ.z^{\Pi}(q) \le z^{W}(q), \qquad0 < q \le\bar{q}.

This comparison holds under the baseline assumptions, without regularity or MHR. The proof appears in Section B.3.

Limited Menus and Computation

The characterization in § 3 does not directly provide a finite computational procedure, particularly when an optimal menu requires infinitely many qualities. In practice, platforms typically offer finite menus that participants can readily compare and choose from. We therefore study profit maximization over menus offering at most m∈N+m \in\mathbb{N}_{+} positive qualities excluding the outside option.

Let OPT\mathrm{OPT} be the unrestricted optimal profit and OPTm\mathrm{OPT}_{m} the supremum under this restriction. Because the proof of Proposition 2.1 weakly improves every feasible menu with finitely many qualities by a strictly matched menu that posts the same qualities, OPTm\mathrm{OPT}_{m} is the same over feasible and strictly matched menus. We establish a tight m/nm/n profit guarantee when the smallest unrestricted optimal menu has n∈N+n \in\mathbb{N}_{+} positive qualities, and give a dynamic program with an additive profit guarantee for general instances.

A tight guarantee for finite optimal menus

We first quantify the profit loss from menu size restriction when the unrestricted optimal menu is finite.

Theorem 5.1. For an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}), if the smallest unrestricted optimal menu has n∈N+n \in\mathbb{N}_{+} positive qualities, for every integer 1≤m≤n1 \le m \le n, OPTm≥m/n⋅OPT\mathrm{OPT}_{m} \ge m/n \cdot\mathrm{OPT}.

The ratio is tight: for any 1≤m≤n1 \le m \le n, there exist a sequence of instances whose ratios converge to m/nm/n.

The proof constructs a feasible mm-quality menu by successively removing qualities with small incremental profit contributions from a finite unrestricted optimum. Economically, the result quantifies the worst-case cost of limiting menu size, even when the platform optimally chooses which qualities to offer. The proof and tightness construction appear in Section C.1.

Additive approximation and computation

The multiplicative guarantee in Theorem 5.1 relies on the existence of a finite unrestricted optimal menu. Without this assumption, Example 3.3 shows that no positive multiplicative guarantee depending only on mm holds uniformly across instances.2 We therefore develop a dynamic program that offers at most mm qualities with a bounded additive profit loss relative to the unrestricted optimum.

Write E[θ]\mathbb{E}[\theta] for the mean consumer value. For an accuracy parameter ε>0\varepsilon> 0, let Mm,ε=(Tm,ε,pm,ε,wm,ε)M_{m,\varepsilon} = (T_{m,\varepsilon},p_{m,\varepsilon},w_{m,\varepsilon}) denote the output menu and Π(Mm,ε)\Pi(M_{m,\varepsilon}) its profit.

We assume exact real arithmetic and access to technological cost and quantile evaluations, plus the scalar profit oracle defined below. Given any marginal technological cost κ\kappa, the oracle returns

R(κ)≜max⁡y∈[0,1]π(y;κ),Z(κ)≜max⁡arg⁡max⁡y∈[0,1]π(y;κ).R(\kappa) \triangleq\max_{y \in[0,1]} \pi(y;\kappa), \qquad Z(\kappa) \triangleq\max\mathop{\arg\max}_{y \in[0,1]} \pi(y;\kappa).

Theorem 5.2. For an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}), any integer m≥1m \ge1 and accuracy parameter ε>0\varepsilon> 0, under the scalar profit oracle model, there is an algorithm that computes a strictly matched menu Mm,εM_{m,\varepsilon} with at most mm positive qualities such that

Π(Mm,ε)≥OPT−qˉ⋅E[θ]m−ε.\Pi(M_{m,\varepsilon}) \ge\mathrm{OPT} - \frac{\bar{q}\cdot\mathbb{E}[\theta]}{m} - \varepsilon.

If the consumer distribution F\mathcal{F} and the provider distribution G\mathcal{G} additionally satisfy MHR, the same output menu has social welfare

W(Mm,ε)≥W(zW)e−qˉ⋅E[θ]m−ε.W(M_{m,\varepsilon}) \ge\frac{W(z^{W})}{\mathrm{e}} - \frac{\bar{q}\cdot\mathbb{E}[\theta]}{m} - \varepsilon.

The algorithm uses O(N2)O(N^{2}) oracle calls and O(min⁡{m,N}N2)O\left(\min\{m,N\}N^{2}\right) arithmetic operations, where N≜max⁡{1,⌈qˉ⋅θˉε⌉}N \triangleq\max\left\{1,\left\lceil\frac{\bar{q}\cdot\bar{\theta}}{\varepsilon}\right\rceil\right\}.

Overall, the algorithm first discretizes the quality space, then convexifies the grid cost and retains its contact qualities. Finally, a dynamic program groups consecutive quality increments to select at most mm positive qualities and recover their prices and wages.

Below we show the full algorithm and a useful technical lemma used for welfare approximation in MHR condition while the proof of Theorem 5.2 appears in Section C.3.

Algorithm. Given mm and ε\varepsilon, the algorithm proceeds in three steps.

Step 1: Quality discretization. Set δ=qˉ/N\delta= \bar{q}/N and discretize the quality interval into the uniform grid QN={0,δ,2δ,…,Nδ}Q_N = \{0,\delta,2\delta,\ldots,N\delta\}. We restrict candidate qualities to QNQ_N while retaining the menu-size limit mm. On this grid, replace cc by the piecewise-linear interpolation of (q,c(q))(q,c(q)), q∈QNq \in Q_N.

Step 2: Convexification. Compute the greatest convex minorant of this interpolated cost and retain its contact grid qualities. Let the retained qualities be 0=q(0)<⋯<q(L)=qˉ0 = q^{(0)} < \cdots< q^{(L)} = \bar{q}. By convexity, slopes between consecutive retained qualities are nondecreasing.

Step 3: Dynamic programming and menu recovery. For every $0 \le i < j \le L$, define

κi,j≜c(q(j))−c(q(i))q(j)−q(i),Π(i,j)≜(q(j)−q(i))R(κi,j).\kappa_{i,j} \triangleq\frac{c(q^{(j)})-c(q^{(i)})}{q^{(j)}-q^{(i)}}, \qquad\Pi(i,j) \triangleq(q^{(j)}-q^{(i)})R(\kappa_{i,j}).

Π(i,j)\Pi(i,j) is the maximum profit contribution when trading mass is constant on (q(i),q(j)](q^{(i)},q^{(j)}]. Let D[j,k]D[j,k] be the maximum total contribution from partitioning the first jj intervals into exactly kk nonempty consecutive groups. Setting D[j,1]=Π(0,j)D[j,1] = \Pi(0,j), we compute

D[j,k]=max⁡k−1≤i<j{D[i,k−1]+Π(i,j)},D[j,k] = \max_{k-1 \le i < j}\{D[i,k-1] + \Pi(i,j)\},

for 2≤k≤min⁡{m,j}2 \le k \le\min\{m,j\}. The optimal restricted grid profit is

max⁡1≤j≤L1≤k≤min⁡{m,j}{0,D[j,k]}.\max_{\substack{1 \le j \le L\\1 \le k \le\min\{m,j\}}}\{0,D[j,k]\}.

Backtracking the dynamic program yields at most mm qualities, with trading masses determined by Z(κi,j)Z(\kappa_{i,j}). The original menu is then recovered using eqs. (3) and (4) with quantile evaluations.

Lemma 5.3. For an instance (Q,c,F,G)(Q,c,\mathcal{F},\mathcal{G}), if F\mathcal{F} and G\mathcal{G} satisfy MHR, the unrestricted optimal profit OPT satisfies

OPT≥W(zW)e.\mathrm{OPT} \ge\frac{\mathrm{W}(z^{\mathrm{W}})}{\mathrm{e}}.

The above comparison converts a profit guarantee into a welfare guarantee under MHR. The proof appears in Section C.2.

Conclusion and Discussion

In this work, we study the two-sided screening problem in quality-differentiated markets. We characterize optimal two-sided quality menus through trading distributions and a convexification of technological cost. The characterization identifies when finite optimal menus exist and supports tight guarantees for welfare under profit maximization and profit under menu-size restrictions. For general continuous-quality instances, our dynamic program provides an additive profit guarantee and, under MHR, a welfare guarantee for the same output menu.

Future work could study menu design when type distributions must be learned from transaction data, including how estimation errors affect profit, welfare, and market clearing. Another direction is to allow waiting, rationing, or quality upgrades and examine whether the cost convexification and approximation guarantees extend to these settings.

Omitted Proofs in Section 2 and 3.

Implementation

Proof of Theorem 3.1

Proof of Theorem 3.1. We first show that menus sort types, so that a trading distribution determines, up to null sets, which types trade at each quality threshold. We then verify that the menu in eqs. (3) and (4) implements the given function. Finally, we show that every other menu implementing the function has the same welfare and a profit reduced by its endpoint utilities.

Sorting. Fix a menu and consider consumer types θ1<θ2\theta_1 < \theta_2 with maximized choices q1q_1 and q2q_2. Optimality gives θ1⋅q1−p(q1)≥θ1⋅q2−p(q2)\theta_1 \cdot q_1 - p(q_1) \ge\theta_1 \cdot q_2 - p(q_2) and θ2⋅q2−p(q2)≥θ2⋅q1−p(q1)\theta_2 \cdot q_2 - p(q_2) \ge\theta_2 \cdot q_1 - p(q_1). Adding yields (θ2−θ1)⋅(q2−q1)≥0(\theta_2 - \theta_1) \cdot(q_2 - q_1) \ge0, so q2≥q1q_2 \ge q_1. For provider types μ1<μ2\mu_1 < \mu_2 with maximizing choices q1q_1 and q2q_2, adding the optimality inequalities w(q1)−μ1⋅c(q1)≥w(q2)−μ1⋅c(q2)w(q_1) - \mu_1 \cdot c(q_1) \ge w(q_2) - \mu_1 \cdot c(q_2) and w(q2)−μ2⋅c(q2)≥w(q1)−μ2⋅c(q1)w(q_2) - \mu_2 \cdot c(q_2) \ge w(q_1) - \mu_2 \cdot c(q_1) yields (μ2−μ1)⋅[c(q2)−c(q1)]≤0(\mu_2 - \mu_1) \cdot[c(q_2) - c(q_1)] \le0, so q2≤q1q_2 \le q_1 because cc is strictly increasing. Hence, on the full-measure set of types with maximizing choices, the consumer choice map is nondecreasing and the provider choice map is nonincreasing. Now let the menu be strictly matched with trading distribution zz, and fix a positive quality qq. Up to a null set, the consumers choosing quality at least qq form an upper interval of types with probability z(q)z(q); because F\mathcal{F} is continuous and strictly increasing, they are, up to a null set, the types with 1−F(θ)≤z(q)1-\mathcal{F}(\theta)\leq z(q). Up to a null set, the providers choosing quality at least qq form a lower interval of types with probability z(q)z(q); because G\mathcal{G} is continuous and strictly increasing, they are, up to a null set, the types with G(μ)≤z(q)\mathcal{G}(\mu)\leq z(q).

Implementation. Fix a nonincreasing left-continuous function z:(0,q‾]→[0,1]z:(0,\overline{q}]\to[0,1], and post every quality in QQ with the transfers in eqs. (3) and (4). These transfers are continuous in quality and satisfy 0≤p(q)≤θ‾⋅q‾0\leq p(q)\leq\overline{\theta}\cdot\overline{q} and 0≤w(q)≤μ‾⋅c(q‾)0\leq w(q)\leq\overline{\mu}\cdot c(\overline{q}), because both quantile functions take values in bounded nonnegative supports. Define the choice maps

qC(θ)≔sup⁡({0}∪{s∈(0,q‾]:z(s)≥1−F(θ)}),q_{\mathrm{C}}(\theta)\coloneqq\sup\left(\{0\}\cup\left\{s\in(0,\overline{q}]:z(s)\geq1-\mathcal{F}(\theta)\right\}\right),
qP(μ)≔sup⁡({0}∪{s∈(0,q‾]:z(s)≥G(μ)}).q_{\mathrm{P}}(\mu)\coloneqq\sup\left(\{0\}\cup\left\{s\in(0,\overline{q}]:z(s)\geq\mathcal{G}(\mu)\right\}\right).

The consumer map is nondecreasing and the provider map is nonincreasing, so both are measurable. Because zz is nonincreasing, each set in these definitions contains every positive quality below any of its elements; because zz is also left-continuous, each nonempty set contains its supremum. Hence, for every positive quality qq,

qC(θ)≥q⟺z(q)≥1−F(θ),(9)q_{\mathrm{C}}(\theta)\geq q\Longleftrightarrow z(q)\geq1-\mathcal{F}(\theta), \tag*{(9)}
qP(μ)≥q⟺z(q)≥G(μ).(10)q_{\mathrm{P}}(\mu)\geq q\Longleftrightarrow z(q)\geq\mathcal{G}(\mu). \tag*{(10)}

For every consumer type θ\theta, provider type μ\mu, and quality qq, these transfers give

θ⋅q−p(q)=∫0q[θ−F−1(1−z(s))] ds,\theta\cdot q-p(q)=\int_{0}^{q}\left[\theta-\mathcal{F}^{-1}(1-z(s))\right]\,\mathrm{d}s,
w(q)−μ⋅c(q)=∫0q[G−1(z(s))−μ] dc(s).w(q)-\mu\cdot c(q)=\int_{0}^{q}\left[\mathcal{G}^{-1}(z(s))-\mu\right]\,\mathrm{d}c(s).

By eq. (9), the first integrand is nonnegative at qualities s≤qC(θ)s\leq q_{\mathrm{C}}(\theta), because there F−1(1−z(s))≤θ\mathcal{F}^{-1}(1-z(s))\leq\theta, and negative at qualities s>qC(θ)s>q_{\mathrm{C}}(\theta). The consumer’s utility is therefore nondecreasing in quality up to qC(θ)q_{\mathrm{C}}(\theta) and nonincreasing beyond it, so qC(θ)q_{\mathrm{C}}(\theta) maximizes it. By eq. (10), the second integrand is nonnegative at qualities s≤qP(μ)s\leq q_{\mathrm{P}}(\mu), because there G−1(z(s))≥μ\mathcal{G}^{-1}(z(s))\geq\mu, and negative at qualities s>qP(μ)s>q_{\mathrm{P}}(\mu). Since cc is strictly increasing, the provider’s utility is therefore nondecreasing in quality up to qP(μ)q_{\mathrm{P}}(\mu) and nonincreasing beyond it, so qP(μ)q_{\mathrm{P}}(\mu) maximizes it. Thus every type has a maximizing choice under the menu (Q,p,w)(Q,p,w), the maps above are measurable maximizing selections, and expected transfers are finite. Since F\mathcal{F} and G\mathcal{G} are continuous, both 1−F(θ)1-\mathcal{F}(\theta) and G(μ)\mathcal{G}(\mu) are uniformly distributed on [0,1][0,1]. By eqs. (9) and (10), a consumer and a provider each choose quality at least qq with probability exactly z(q)z(q), for every positive quality qq. The demand and supply distributions therefore both equal zz, which establishes strict matching and implementation.

Comparison with other menus. Consider any menu M′M' implementing zz, with consumer and provider indirect utilities UCU_{\mathrm{C}} and UPU_{\mathrm{P}}. Applying the sorting step at every rational quality threshold and comparing with eqs. (9) and (10) shows that its choice maps agree with the maps qCq_{\mathrm{C}} and qPq_{\mathrm{P}} of the implementation step at almost every type. Consequently, its social welfare equals that of (Q,p,w)(Q,p,w), since by eq. (2) welfare depends only on the qualities assigned to types. The indirect utility UCU_{\mathrm{C}} is a supremum of affine functions of the consumer type with slopes in [0,q‾][0,\overline{q}], and it is finite because almost every type has a maximizing choice. Hence UCU_C is convex and Lipschitz, and at almost every type its derivative equals the menu’s maximizing choice, which is qC(θ)q_C(\theta), because a maximizing choice is a subgradient. Likewise, UPU_P is a finite supremum of affine functions of the provider type with slopes in [−c(q‾),0][-c(\overline{q}),0], so it is convex and Lipschitz with derivative −c(qP(μ))-c(q_P(\mu)) at almost every type. Writing ν\nu for a type integration variable, absolute continuity yields the envelope identities

UC(θ)=UC(θ‾)+∫θ‾θqC(ν) dν,UP(μ)=UP(μ‾)+∫μμ‾c(qP(ν)) dν.\begin{aligned} U_C(\theta) &= U_C(\underline{\theta})+\int_{\underline{\theta}}^{\theta}q_C(\nu)\,\mathrm{d}\nu,\\ U_P(\mu) &= U_P(\overline{\mu})+\int_{\mu}^{\overline{\mu}}c(q_P(\nu))\,\mathrm{d}\nu. \end{aligned}

Taking θ=θ‾\theta=\underline{\theta} and μ=μ‾\mu=\overline{\mu} in the consumer and provider utility formulas of the implementation step, both integrands are nonpositive because F−1≥θ\mathcal{F}^{-1}\geq\theta and G−1≤μ‾\mathcal{G}^{-1}\leq\overline{\mu}. Since the outside option yields zero, the menu (Q,p,w)(Q,p,w) gives zero utility to the lowest consumer type and to the highest provider type. The envelope identities, which hold for both menus with the same choice maps, therefore show that the alternative menu’s consumer indirect utility exceeds that under (Q,p,w)(Q,p,w) by exactly UC(θ‾)U_C(\underline{\theta}) at almost every consumer type, and its provider indirect utility exceeds that under (Q,p,w)(Q,p,w) by exactly UP(μ‾)U_P(\overline{\mu}) at almost every provider type. Because both menus assign the same qualities at almost every type, the alternative menu collects UC(θ‾)U_C(\underline{\theta}) less from almost every consumer and pays UP(μ‾)U_P(\overline{\mu}) more to almost every provider. With unit masses, its profit equals the profit of (Q,p,w)(Q,p,w) minus UC(θ‾)+UP(μ‾)U_C(\underline{\theta})+U_P(\overline{\mu}). The outside option gives UC(θ‾)≥0U_C(\underline{\theta})\geq0 and UP(μ‾)≥0U_P(\overline{\mu})\geq0, so no menu implementing zz earns more profit than (Q,p,w)(Q,p,w).

Characterization

Proof of Theorem 3.2

Proof of Theorem 3.2. Fix zz and consider the menu (Q,p,w)(Q,p,w) in eqs. (3) and (4). By Theorem 3.1, this menu implements zz, maximizes platform profit among all menus implementing zz, and has the same social welfare as every other such menu. It therefore suffices to show that its profit and welfare equal the right-hand sides of eqs. (5) and (6). We use the choice maps qCq_C and qPq_P constructed in the proof of Theorem 3.1 in Section A.1. By eqs. (9) and (10), a consumer and a provider each choose quality at least qq with probability z(q)z(q), for every quality qq.

Profit. By eq. (1), the profit of this menu is its expected consumer payment minus its expected provider compensation. The expected consumer payment is

Eθ[p(qC(θ))]=(a)Eθ[∫0qC(θ)F−1(1−z(q)) dq]=(b)Eθ[∫0q‾F−1(1−z(q))⋅1{qC(θ)≥q} dq]=(c)∫0q‾Eθ[F−1(1−z(q))⋅1{qC(θ)≥q}] dq=(d)∫0q‾F−1(1−z(q))⋅Pr⁡θ[qC(θ)≥q] dq=(e)∫0q‾z(q)⋅F−1(1−z(q)) dq.\begin{aligned} \mathbb{E}_{\theta}[p(q_C(\theta))] &\mathrel{\overset{(a)}{=}}\mathbb{E}_{\theta}\left[\int_{0}^{q_C(\theta)}\mathcal{F}^{-1}(1-z(q))\,\mathrm{d}q\right]\\ &\mathrel{\overset{(b)}{=}}\mathbb{E}_{\theta}\left[\int_{0}^{\overline{q}}\mathcal{F}^{-1}(1-z(q))\cdot\mathbf{1}\{q_C(\theta)\geq q\}\,\mathrm{d}q\right]\\ &\mathrel{\overset{(c)}{=}}\int_{0}^{\overline{q}}\mathbb{E}_{\theta}\left[\mathcal{F}^{-1}(1-z(q))\cdot\mathbf{1}\{q_C(\theta)\geq q\}\right]\,\mathrm{d}q\\ &\mathrel{\overset{(d)}{=}}\int_{0}^{\overline{q}}\mathcal{F}^{-1}(1-z(q))\cdot\Pr_{\theta}[q_C(\theta)\geq q]\,\mathrm{d}q\\ &\mathrel{\overset{(e)}{=}}\int_{0}^{\overline{q}}z(q)\cdot\mathcal{F}^{-1}(1-z(q))\,\mathrm{d}q. \end{aligned}

Equality (a) substitutes the price in eq. (3). Equality (b) extends the integral to the full quality interval, with the indicator removing all increments above the consumer’s chosen quality. Equality (c) exchanges the order of expectation and integration. Equality (d) factors out the quantile value, which does not depend on the consumer type, and uses that the expected indicator equals the probability of its event. By Definitions 2.2 and 2.3, Pr⁡θ[qC(θ)≥q]=D(q)=z(q)\Pr_{\theta}[q_C(\theta) \ge q] = D(q) = z(q), proving equality (e). By a similar argument, using the compensation in eq. (4), the expected provider compensation is

Eμ[w(qP(μ))]=∫0qˉz(q)⋅c′(q)⋅G−1(z(q)) dq.\mathbb{E}_{\mu}[w(q_P(\mu))] = \int_{0}^{\bar q} z(q) \cdot c'(q) \cdot\mathcal{G}^{-1}(z(q)) \,\mathrm{d}q.

Subtracting the expected compensation from the expected payment gives eq. (5).

Welfare. By eq. (2), the welfare of this menu is its expected consumer gross value minus its expected provider production cost. Since qC(θ)=∫0qˉ1{qC(θ)≥q} dqq_C(\theta) = \int_{0}^{\bar q} \mathbf{1}\{q_C(\theta) \ge q\}\,\mathrm{d}q, the expected consumer gross value is

Eθ[θ⋅qC(θ)]=(a)∫0qˉEθ[θ⋅1{qC(θ)≥q}] dq\mathbb{E}_{\theta}[\theta\cdot q_C(\theta)] \overset{(a)}{=} \int_{0}^{\bar q} \mathbb{E}_{\theta}[\theta\cdot\mathbf{1}\{q_C(\theta) \ge q\}]\,\mathrm{d}q
=(b)∫0qˉ∫F−1(1−z(q))θˉθ dF(θ) dq\overset{(b)}{=} \int_{0}^{\bar q} \int_{\mathcal{F}^{-1}(1-z(q))}^{\bar\theta} \theta\,\mathrm{d}\mathcal{F}(\theta)\,\mathrm{d}q
=(c)∫0qˉ∫0z(q)F−1(1−u) du dq.\overset{(c)}{=} \int_{0}^{\bar q} \int_{0}^{z(q)} \mathcal{F}^{-1}(1-u)\,\mathrm{d}u\,\mathrm{d}q.

Equality (a) exchanges the order of expectation and integration. Equality (b) uses qC(θ)≥q⟺1−F(θ)≤z(q)⟺θ≥F−1(1−z(q))q_C(\theta) \ge q \Longleftrightarrow1-\mathcal{F}(\theta) \le z(q) \Longleftrightarrow\theta\ge\mathcal{F}^{-1}(1-z(q)) from eq. (9). Equality (c) changes to the mass variable u≜1−F(θ)u \triangleq1-\mathcal{F}(\theta): θ=F−1(1−u)\theta= \mathcal{F}^{-1}(1-u) and dF(θ)=−du\mathrm{d}\mathcal{F}(\theta) = -\mathrm{d}u. The type limits become mass limits z(q),0z(q), 0 and are reversed. Since c(0)=0c(0)=0, we have c(qP(μ))=∫0qˉ1{qP(μ)≥q} dc(q)c(q_P(\mu)) = \int_{0}^{\bar q} \mathbf{1}\{q_P(\mu) \ge q\}\,\mathrm{d}c(q), and the expected provider production cost is

Eμ[μ⋅c(qP(μ))]=(a)∫0qˉc′(q)⋅Eμ[μ⋅1{qP(μ)≥q}] dq\mathbb{E}_{\mu}[\mu\cdot c(q_P(\mu))] \overset{(a)}{=} \int_{0}^{\bar q} c'(q) \cdot\mathbb{E}_{\mu}[\mu\cdot\mathbf{1}\{q_P(\mu) \ge q\}]\,\mathrm{d}q
=(b)∫0qˉc′(q)⋅∫μ‾G−1(z(q))μ dG(μ) dq\overset{(b)}{=} \int_{0}^{\bar q} c'(q) \cdot\int_{\underline{\mu}}^{\mathcal{G}^{-1}(z(q))} \mu\,\mathrm{d}\mathcal{G}(\mu)\,\mathrm{d}q
=(c)∫0qˉ∫0z(q)c′(q)⋅G−1(u) du dq.\overset{(c)}{=} \int_{0}^{\bar q} \int_{0}^{z(q)} c'(q) \cdot\mathcal{G}^{-1}(u)\,\mathrm{d}u\,\mathrm{d}q.

Equality (a) exchanges the order of expectation and integration and uses dc(q)=c′(q) dq\mathrm{d}c(q) = c'(q)\,\mathrm{d}q. Equality (b) uses qP(μ)≥q⟺G(μ)≤z(q)⟺μ≤G−1(z(q))q_P(\mu) \ge q \Longleftrightarrow\mathcal{G}(\mu) \le z(q) \Longleftrightarrow\mu\le\mathcal{G}^{-1}(z(q)) from eq. (10). Equality (c) changes to the mass variable u≜G(μ)u \triangleq\mathcal{G}(\mu): μ=G−1(u)\mu= \mathcal{G}^{-1}(u) and dG(μ)=du\mathrm{d}\mathcal{G}(\mu) = \mathrm{d}u, with mass limits 0,z(q)0, z(q). Subtracting the expected production cost from the expected gross value gives eq. (6). □

Proof of Proposition 2.1

Proof of Proposition 2.1. Let M=(T,p,w)M=(T,p,w) be a feasible menu. Since D(0)=S(0)=1D(0)=S(0)=1 and feasibility gives D(q)≤S(q)D(q) \le S(q) at every positive quality qq, if MM is not strictly matched, then D(q)<S(q)D(q) < S(q) at some positive quality qq. It therefore suffices to show that MM is weakly improved in both profit and welfare by a strictly matched menu, and strictly improved if D(q)<S(q)D(q) < S(q) at some positive quality qq. The second claim follows because every strictly matched menu is feasible, so a feasible menu that is not strictly matched maximizes neither profit nor welfare over feasible menus. For use in Section 5, we also show that this strictly matched menu can be chosen to post exactly TT when TT is finite.

Replacement. Let MM have choice maps qCq_C and qPq_P and indirect utilities UCU_C and UPU_P. The function DD is nonincreasing and left-continuous on (0,q‾](0,\overline{q}], with values in [0,1][0,1], because the event qC(θ)≥qq_C(\theta) \ge q shrinks as qq increases and is the intersection of the corresponding events at all smaller positive qualities. By Theorem 3.1, the menu defined by eqs. (3) and (4) with DD in place of zz gives every type a maximizing choice and is strictly matched; we call it the replacement. By the proof of Theorem 3.1, the choice maps of the replacement satisfy eqs. (9) and (10) with DD in place of zz, and the replacement gives zero utility to the lowest consumer type and to the highest provider type.

Choices. By the sorting step in the proof of Theorem 3.1, the map qCq_C is nondecreasing and the map qPq_P is nonincreasing. Fix a positive quality qq. Under MM, the consumers who select a quality of at least qq therefore form an upper interval of types with probability D(q)D(q), and the providers who do so form a lower interval of types with probability S(q)≥D(q)S(q) \ge D(q). Because F\mathcal{F} and G\mathcal{G} are continuous and strictly increasing, eqs. (9) and (10) show that, except possibly at one boundary type on each side, the replacement selects a quality of at least qq at the same consumer types as MM and at a subset of the provider types at which MM does. Since any two different qualities are separated by a positive rational quality, applying this at every positive rational quality shows that, except at countably many types, the replacement assigns the same quality as MM to every consumer type and a weakly lower quality to every provider type.

Comparison. Countable sets of types are null, both under the type distributions and for integrals over types. The consumer half of the comparison step in the proof of Theorem 3.1 uses only that the two menus assign the same quality to almost every consumer type. Hence the replacement collects UC(θ)≥0U_C(\theta) \ge0 more than MM from almost every consumer, while the expected gross value Eθ[θ⋅qC(θ)]\mathbb{E}_{\theta}[\theta\cdot q_C(\theta)] is unchanged. For providers, the envelope identity in that step gives, for either menu with its own wage schedule, provider choice map, and provider indirect utility,

Eμ[w(qP(μ))]=Eμ[μ⋅c(qP(μ))]+UP(μ‾)+Eμ[∫μμ‾c(qP(ν)) dν].\mathbb{E}_{\mu}[w(q_P(\mu))] = \mathbb{E}_{\mu}[\mu\cdot c(q_P(\mu))] + U_P(\overline{\mu}) + \mathbb{E}_{\mu}\left[\int_{\mu}^{\overline{\mu}} c(q_P(\nu))\,\mathrm{d}\nu\right].

For the replacement, the second term is zero and the provider choice map is weakly lower at almost every type; since cc is increasing, its first and third terms are therefore weakly lower than those of MM. The replacement thus pays weakly less to providers and incurs a weakly lower expected production cost Eμ[μ⋅c(qP(μ))]\mathbb{E}_{\mu}[\mu\cdot c(q_P(\mu))]. By eqs. (1) and (2), it has weakly higher profit and weakly higher welfare than MM.

Strictness. Suppose that D(q)<S(q)D(q) < S(q) at some positive quality qq. The provider types μ\mu with D(q)<G(μ)<S(q)D(q) < \mathcal{G}(\mu) < S(q) have positive probability and are positive, because μ>G−1(D(q))≥μ≥0\mu> \mathcal{G}^{-1}(D(q)) \ge\mu\ge0. Each of them selects a quality of at least qq under MM but, by eq. (10), a lower quality under the replacement. Because cc is strictly increasing, the expected production cost, and with it the expected provider compensation, is then strictly lower under the replacement, so both comparisons are strict.

Finite posted sets. Suppose that TT is finite. Since qCq_C takes values in TT, the function DD is constant on each interval between consecutive qualities of TT, including its right endpoint, and vanishes above the largest quality of TT. Hence, for every level in (0,1](0,1], the positive qualities at which DD is at least this level form either the empty set or an interval whose right endpoint lies in TT. At every consumer type below θˉ\bar{\theta} and every provider type above μ\mu, the levels 1−F(θ)1-F(\theta) and G(μ)G(\mu) are positive, so the choice maps constructed in the proof of Theorem 3.1, which take the supremum of such a set or zero if it is empty, select qualities in TT. Posting only the qualities in TT, with the same price and wage at each of them, keeps these choices maximizing and changes choices only at the types θˉ\bar{\theta} and μ\mu. The resulting menu posts exactly TT and has the same demand and supply distributions, profit, and welfare as the replacement.

Proof of thm:commonconvexification

Lemma A.1. For either scalar objective π(⋅;κ)\pi(\cdot;\kappa) or ω(⋅;κ)\omega(\cdot;\kappa), the largest maximizer over y∈[0,1]y \in[0,1] exists and is nonincreasing in the marginal technological cost κ>0\kappa>0.

Proof. Under bounded type supports, both scalar objectives are continuous on [0,1][0,1], so their largest maximizers exist.

Fix 0<κ1<κ20<\kappa_1<\kappa_2, and let the trading masses y1,y2y_1,y_2 be the largest maximizers of π(⋅;κ1)\pi(\cdot;\kappa_1) and π(⋅;κ2)\pi(\cdot;\kappa_2), respectively. By optimality,

π(y1;κ1)≥π(y2;κ1),π(y2;κ2)≥π(y1;κ2).\pi(y_1;\kappa_1) \ge\pi(y_2;\kappa_1), \qquad\pi(y_2;\kappa_2) \ge\pi(y_1;\kappa_2).

Adding these inequalities yields

(κ2−κ1)⋅[y1⋅G−1(y1)−y2⋅G−1(y2)]≥0.(\kappa_2-\kappa_1)\cdot\left[y_1\cdot G^{-1}(y_1)-y_2\cdot G^{-1}(y_2)\right]\ge0.

Since y⋅G−1(y)y\cdot G^{-1}(y) is strictly increasing, we obtain y1≥y2y_1\ge y_2.

For welfare, the same argument applies with y⋅G−1(y)y\cdot G^{-1}(y) replaced by ∫0yG−1(u) du\int_0^y G^{-1}(u)\,\mathrm{d}u, which is also strictly increasing. Hence the largest welfare maximizer is likewise nonincreasing in κ\kappa. □

Proof of Theorem 3.3. We first show that replacing cc with its greatest convex minorant c‾\underline{c} cannot decrease either objective for any fixed trading distribution. We then construct optimal trading distributions under c‾\underline{c} and show that they attain the same values under the original cost.

Cost comparison. The convexified cost c‾\underline{c} is continuous, strictly increasing, and absolutely continuous, and it agrees with the original cost at zero and at qˉ\bar{q}. Let the cost gap be d(q)≔c(q)−c‾(q)d(q)\coloneqq c(q)-\underline{c}(q). By the properties of the greatest convex minorant, dd is continuous and nonnegative, with d(0)=d(qˉ)=0d(0)=d(\bar{q})=0. Moreover, c‾\underline{c} is affine on every connected component of {q:d(q)>0}\{q:d(q)>0\}, whose endpoints are contact qualities.

Fix any trading distribution zz. Since z(q)z(q) is nonincreasing in qq, and the function xG−1(x)xG^{-1}(x) is nondecreasing in xx, we have B(q)=z(q)G−1(z(q))B(q)=z(q)G^{-1}(z(q)) is nonincreasing in qq. By eq. (5), since BB is nonincreasing and d(q)≥0d(q)\ge0 with d(0)=d(qˉ)=0d(0)=d(\bar{q})=0, integration by parts for monotone functions yields

Πc‾(z)−Πc(z)=∫0qˉd′(q)⋅B(q) dq=−∫0qˉd(q) dB(q)≥0.\Pi_{\underline{c}}(z)-\Pi_c(z)=\int_0^{\bar{q}}d'(q)\cdot B(q)\,\mathrm{d}q=-\int_0^{\bar{q}}d(q)\,\mathrm{d}B(q)\ge0.

It follows that Πc(z)≤Πc‾(z)\Pi_c(z)\le\Pi_{\underline{c}}(z). For social welfare, K(q)=∫0z(q)G−1(u) duK(q)=\int_0^{z(q)}G^{-1}(u)\,\mathrm{d}u is also nonincreasing in qq. Applying the same argument gives Wc(z)≤Wc‾(z)W_c(z)\le W_{\underline{c}}(z). Besides, both inequalities become equalities whenever zz is constant on every noncontact interval satisfying c(q)>c‾(q)c(q)>\underline{c}(q). Indeed, in this case BB and KK are constant on these intervals, so their distributional derivatives are supported on the contact set, where d=0d=0.

Optimal trading distributions. Since cc is convex and absolutely continuous, its derivative c′(q)c'(q) exists at all but countably many qualities and is nondecreasing, and the two objectives under the convexified cost can be expressed as

Πc(z)=∫0qˉπ(z(q);c′(q)) dq,Wc(z)=∫0qˉω(z(q);c′(q)) dq.\Pi_c(z)=\int_{0}^{\bar q}\pi(z(q);c'(q))\,dq,\qquad W_c(z)=\int_{0}^{\bar q}\omega(z(q);c'(q))\,dq.

For either objective, select the largest maximizer of its scalar contribution at marginal technological cost c′(q)c'(q), at every quality qq where this derivative exists. By Lemma A.1, these maximizing masses are nonincreasing in κ\kappa. Since c′c' is nondecreasing, selected masses are nonincreasing in quality on a set whose complement is countable. Taking their left-continuous versions gives trading distributions zΠz^\Pi and zWz^W, which agree with selected masses almost everywhere.

These functions maximize respective scalar contributions almost everywhere. Thus, for any trading distribution zz, we have

Πc(z)≤∫0qˉmax⁡x∈[0,1]π(x;c′(q)) dq=Πc(zΠ),\Pi_c(z)\le\int_{0}^{\bar q}\max_{x\in[0,1]}\pi(x;c'(q))\,dq=\Pi_c(z^\Pi),
Wc(z)≤∫0qˉmax⁡x∈[0,1]ω(x;c′(q)) dq=Wc(zW).W_c(z)\le\int_{0}^{\bar q}\max_{x\in[0,1]}\omega(x;c'(q))\,dq=W_c(z^W).

Thus zΠz^\Pi and zWz^W attain optimal values under the convexified cost.

It remains to show that these optima are also attained under the original cost. On every noncontact interval, cc is affine and hence c′(q)c'(q) is constant. Because we consistently select the largest scalar maximizer, both zΠz^\Pi and zWz^W are constant on each such interval. Their induced quality distributions therefore assign no mass to noncontact qualities.

By the equality condition in the cost comparison,

Πc(zΠ)=Πc(zΠ),Wc(zW)=Wc(zW).\Pi_c(z^\Pi)=\Pi_c(z^\Pi),\qquad W_c(z^W)=W_c(z^W).

Combining these equalities with the inequalities for a fixed trading distribution yields

max⁡zΠc(z)=max⁡zΠc(z),max⁡zWc(z)=max⁡zWc(z).\max_z\Pi_c(z)=\max_z\Pi_c(z),\qquad\max_z W_c(z)=\max_z W_c(z).

Finally, Theorem 3.1 implements both selected trading distributions with the bounded transfers in eqs. (3) and (4) under the original technological cost. Since their induced quality distributions are supported on the contact qualities, the posted menus can be restricted to these qualities and the outside option without changing the induced quality distributions or objectives.

Therefore, both optimal values are preserved and attained by menus supported on contact qualities.

Proof of prop:finiteoptimalmenu

Proof of Proposition 3.4. For necessity, replace the transfers of a finite optimal menu by those in eqs. (3) and (4) and delete unused offers. Its original objective is no greater than its convexified objective, which is no greater than the integral of the scalar maxima. Theorem 3.3 says the last value is the unrestricted original optimum. Both inequalities must therefore be equalities. For a finitely supported trading distribution with active qualities q1<⋯<qkq_1<\cdots<q_k, trading masses y1>⋯>yk>0y_1>\cdots>y_k>0, and yk+1=0y_{k+1}=0, define B(y)≔y⋅G−1(y)B(y)\coloneqq y\cdot\mathcal{G}^{-1}(y). Integration by parts expresses the original-minus-minorant expenditure gap as

∑i=1k[c(qi)−c‾(qi)]⋅[B(yi)−B(yi+1)].\sum_{i=1}^{k}\left[c(q_i)-\underline{c}(q_i)\right]\cdot\left[B(y_i)-B(y_{i+1})\right].

Each coefficient drop is strictly positive at an active quality, by strict increase of y⋅G−1(y)y\cdot\mathcal{G}^{-1}(y). Every summand is nonnegative, so equality forces every active quality to be a contact. The pointwise profit gap is nonnegative and has integral zero; it therefore vanishes almost everywhere, which is exactly eq. (8). For welfare, the coefficient is ∫0yG−1(u) du\int_0^y \mathcal{G}^{-1}(u)\,\mathrm{d}u, whose active drops are also strictly positive; the same two equality arguments apply.

For sufficiency, a finitely supported trading distribution satisfying the stated scalar condition attains the convexified integral maximum. Because its active qualities are contacts, the original and convexified objectives are equal. Bounded support makes every transfer in eqs. (3) and (4) finite, including at full mass. Theorem 3.1 constructs its implementation, and deleting unused offers leaves a finite optimal posted menu.

Omitted Proofs in Section 4.

The proofs in this section and in Section C use the marginal surplus J(y;κ)≔F−1(1−y)−κ⋅G−1(y)J(y;\kappa)\coloneqq\mathcal{F}^{-1}(1-y)-\kappa\cdot\mathcal{G}^{-1}(y), so that π(y;κ)=y⋅J(y;κ)\pi(y;\kappa)=y\cdot J(y;\kappa) and ω(y;κ)=∫0yJ(u;κ) du\omega(y;\kappa)=\int_0^y J(u;\kappa)\,\mathrm{d}u.

Weak budget balance

Proof of Proposition 4.1

Proof of Proposition 4.1. We first show nonnegative scalar profit at a welfare-maximizing trading mass, and then integrate this inequality along the convexified technological cost.

Consider any marginal technological cost κ>0\kappa>0 and scalar trading mass y∈[0,1]y\in[0,1]. Since F−1(1−y)\mathcal{F}^{-1}(1-y) is nonincreasing and G−1(y)\mathcal{G}^{-1}(y) is nondecreasing, the marginal surplus J(y;κ)J(y;\kappa) is nonincreasing and thus the scalar welfare contribution ω(y;κ)\omega(y;\kappa) is concave. Let the scalar mass yWy^W denote the largest maximizers of ω(y;κ)\omega(y;\kappa). If 0<yW<10<y^W<1, optimality gives zero marginal surplus, i.e., J(yW;κ)=0J(y^W;\kappa)=0. If yW=1y^W=1, the left derivative condition at this upper boundary gives J(1;κ)≥0J(1;\kappa)\ge0. Finally, if yW=0y^W=0, its profit contribution is π(0;κ)=0\pi(0;\kappa)=0. Thus in every case the scalar profit contribution satisfies π(yW;κ)≥0\pi(y^W;\kappa)\ge0.

By the construction in Theorem 3.3, the selected welfare-maximizing trading distribution zWz^W is constant on every noncontact interval. The equality condition in its proof therefore gives the same profit under the original and convexified costs. Moreover, zW(q)z^W(q) is a scalar welfare maximizer at marginal technological cost c+′(q)c'_+(q) for almost every quality qq, so we have

Π(zW)=Πc‾(zW)=∫0qˉπ(zW(s);c+′(s)) ds≥0,\Pi(z^W)=\Pi_{\underline{c}}(z^W)=\int_0^{\bar q}\pi\left(z^W(s);c'_+(s)\right)\,\mathrm{d}s\ge0,

where the inequality follows from the nonnegative scalar profit established above. By Theorem 3.1, the transfers in eqs. (3) and (4) implement zWz^W under the original cost, yielding a welfare-optimal menu with nonnegative platform profit.

Regularity counterexample

Proof of Proposition 4.2

Proof of Proposition 4.2. We verify regularity, determine the scalar optima, and then use the continuous-quality reduction to show that these optima are attained against all menus. The provider expenditure curve is y⋅G−1(y)=y2y \cdot G^{-1}(y)=y^2 and the consumer revenue curve is

y⋅F−1(1−y)={yξ−y2,0≤y≤ξ,(1+ξ)⋅(1−y),ξ<y≤1.y \cdot F^{-1}(1-y)= \begin{cases} \frac{y}{\xi}-y^2, & 0\le y\le\xi,\\ (1+\xi)\cdot(1-y), & \xi<y\le1. \end{cases}

The first consumer piece is concave and the second is linear. At the joining mass the revenue curve is continuous and its slope decreases, since 1/ξ−2⋅ξ>−(1+ξ)1/\xi-2\cdot\xi>-(1+\xi). The provider expenditure curve is convex. Hence both distributions are regular.

Since the marginal technological cost is κ=1\kappa=1, the scalar profit contribution is

π(y;1)={yξ−2⋅y2,0≤y≤ξ,(1+ξ)⋅(1−y)−y2,ξ<y≤1.\pi(y;1)= \begin{cases} \frac{y}{\xi}-2\cdot y^2, & 0\le y\le\xi,\\ (1+\xi)\cdot(1-y)-y^2, & \xi<y\le1. \end{cases}

Since 0<ξ<1/20<\xi<1/2, the first piece is strictly increasing and the second is strictly decreasing. Thus the scalar profit-maximizing trading mass is uniquely yP=ξy^P=\xi.

The welfare contribution is

ω(y;1)={∫0y(1ξ−2⋅u) du,0≤y≤ξ,1−ξ2+∫ξy((1+ξ)⋅1−uu−u) du,ξ<y≤1.\omega(y;1)= \begin{cases} \int_0^y\left(\frac{1}{\xi}-2\cdot u\right)\,\mathrm{d}u, & 0\le y\le\xi,\\ 1-\xi^2+\int_\xi^y\left((1+\xi)\cdot\frac{1-u}{u}-u\right)\,\mathrm{d}u, & \xi<y\le1. \end{cases}

For ξ<1/2\xi<1/2, the first piece is increasing on [0,ξ][0,\xi]. Therefore the scalar welfare-maximizing mass yW≥ξy^W\ge\xi with

(yW)2=(1+ξ)⋅(1−yW),(y^W)^2=(1+\xi)\cdot(1-y^W),
yW=(1+ξ)⋅(5+ξ)−(1+ξ)2⟶5−12as ξ→0.y^W=\frac{\sqrt{(1+\xi)\cdot(5+\xi)}-(1+\xi)}{2}\longrightarrow\frac{\sqrt{5}-1}{2}\quad\text{as }\xi\to0.

Because the technological cost is linear, Theorem 3.3 selects constant trading masses zΠ(q)=yPz^\Pi(q)=y^P and zW(q)=yWz^W(q)=y^W at every positive quality q≤1q\le1. Their attained welfare values satisfy

W(zΠ)=1−ξ2,\mathrm{W}(z^\Pi)=1-\xi^2,
W(zW)=1−ξ2+(1+ξ)⋅ln⁡yWξ\mathrm{W}(z^W)=1-\xi^2+(1+\xi)\cdot\ln\frac{y^W}{\xi}
−(1+ξ)⋅(yW−ξ)−(yW)2−ξ22.\qquad-(1+\xi)\cdot(y^W-\xi)-\frac{(y^W)^2-\xi^2}{2}.

Since the welfare-maximizing mass converges to a positive constant, the welfare ratio W(zΠ)/W(zW)\mathrm{W}(z^\Pi)/\mathrm{W}(z^W) tends to zero as ξ\xi tends to zero.

Proof of Lemma 4.4

Proof of Lemma 4.4. By Theorem 3.3, it suffices to compare the largest profit and welfare maximizers at a fixed positive marginal technological cost, and apply the comparison along the convexified cost. Consider any marginal technological cost κ>0\kappa> 0 and scalar trading mass y∈[0,1]y \in[0,1]. Let the scalar masses yPy^{P} and yWy^{W} denote the largest maximizers of the scalar profit and welfare contributions π(y;κ)\pi(y;\kappa) and ω(y;κ)\omega(y;\kappa), respectively. If the profit-maximizing mass is yP=0y^{P}=0, we have yP≤yWy^{P} \le y^{W}. Otherwise, optimality implies π(yP;κ)≥0\pi(y^{P};\kappa) \ge0 and hence J(yP;κ)≥0J(y^{P};\kappa) \ge0. J(y;κ)J(y;\kappa) is therefore nonnegative throughout the trading mass interval [0,yP][0,y^{P}] since it is nonincreasing. For any two trading masses 0≤x≤y≤yP0 \le x \le y \le y^{P}, this gives

ω(y;κ)−ω(x;κ)=(a)∫xyJ(u;κ) du≥(b)0,\omega(y;\kappa)-\omega(x;\kappa) \mathrel{\overset{(a)}{=}} \int_x^y J(u;\kappa)\,\mathrm{d}u \mathrel{\overset{(b)}{\ge}} 0,

where equality (a) holds by the definition of ω(y;κ)\omega(y;\kappa) and inequality (b) holds by nonnegative marginal surplus on this interval. Thus ω(y;κ)\omega(y;\kappa) is nondecreasing on [0,yP][0,y^{P}]. The largest welfare maximizer yWy^{W} therefore satisfies yP≤yWy^{P} \le y^{W}.

By the construction in Theorem 3.3, zΠ(s)z^{\Pi}(s) and zW(s)z^{W}(s) are the largest scalar profit and welfare maximizers at marginal technological cost c′(s)c'(s) for almost every quality. Applying the above scalar comparison gives zΠ(s)≤zW(s)z^{\Pi}(s) \le z^{W}(s) for almost every s∈(0,qˉ)s \in(0,\bar q). Since both functions are left-continuous, approaching any positive quality from below through points where this inequality holds yields zΠ(q)≤zW(q)z^{\Pi}(q) \le z^{W}(q) for any q∈(0,qˉ]q \in(0,\bar q].

Proof of Theorem 4.3

Example B.1. Let qˉ=1\bar q=1 and c(q)=qc(q)=q throughout the feasible interval q∈[0,1]q \in[0,1]. Thus the marginal technological cost is κ=1\kappa=1. Fix a parameter 0<ξ<1/20<\xi<1/2. Define the consumer and provider distributions through quantile functions as G−1(y)=ξ2⋅yG^{-1}(y)=\xi^{2}\cdot y for y∈[0,1]y \in[0,1] and

F−1(1−y)≜{1+ξ2e+ξ⋅(1−e⋅y),0≤y≤1e,ξ2e−ln⁡y,1e<y≤1.F^{-1}(1-y) \triangleq \begin{cases} 1+\dfrac{\xi^{2}}{e}+\xi\cdot(1-\mathrm{e}\cdot y), & 0\le y\le\dfrac{1}{e},\\ \dfrac{\xi^{2}}{e}-\ln y, & \dfrac{1}{e}<y\le1. \end{cases}

The support of FF is [ξ2/e,1+ξ+ξ2/e][\xi^{2}/e,1+\xi+\xi^{2}/e] and the support of GG is [0,ξ2][0,\xi^{2}]. Both distributions are absolutely continuous and strictly increasing.

Proof of Theorem 4.3. We first prove the scalar ratio bound and integrate it along the convexified cost, and then show tightness by analyzing Example B.1.

Ratio bound. Consider any positive marginal technological cost κ\kappa and scalar trading mass y∈[0,1]y \in[0,1]. Define H(y;κ)≜−y⋅J′(y;κ)H(y;\kappa)\triangleq-y\cdot J'(y;\kappa). Under MHR conditions, derivatives below are understood almost everywhere:

−y⋅ddyF−1(1−y)=1hF(F−1(1−y)),-y\cdot\frac{\mathrm{d}}{\mathrm{d}y}F^{-1}(1-y)=\frac{1}{h_F(F^{-1}(1-y))},
y⋅ddyG−1(y)=1rG(G−1(y)).y\cdot\frac{\mathrm{d}}{\mathrm{d}y}G^{-1}(y)=\frac{1}{r_G(G^{-1}(y))}.

Consequently, we have

H(y;κ)=1hF(F−1(1−y))+κrG(G−1(y)).H(y;\kappa) = \frac{1}{h_F(\mathcal{F}^{-1}(1-y))} + \frac{\kappa}{r_G(\mathcal{G}^{-1}(y))}.

Since F−1(1−y)\mathcal{F}^{-1}(1-y) is nonincreasing and hFh_F is nondecreasing, the first term is nondecreasing in yy. Similarly, since G−1(y)\mathcal{G}^{-1}(y) is nondecreasing and rGr_G is nonincreasing, the second term is also nondecreasing. Hence, H(y;κ)H(y;\kappa) is nondecreasing with H(y+;κ)H(y+;\kappa) denoting its right-hand limit.

Let the scalar masses yPy^P and yWy^W denote the largest maximizers of the scalar profit and welfare contributions π(y;κ)\pi(y;\kappa) and ω(y;κ)\omega(y;\kappa), respectively. If ω(yW;κ)=0\omega(y^W;\kappa)=0, continuity and nonincrease of J(y;κ)J(y;\kappa) imply that it is nonpositive everywhere. Thus yP=yW=0y^P=y^W=0 and the desired bound is immediate. Otherwise J(y;κ)>0J(y;\kappa)>0 at some y>0y>0, so π(yP;κ)>0\pi(y^P;\kappa)>0. Consequently yP>0y^P>0 and J(yP;κ)>0J(y^P;\kappa)>0. Recall that Lemma 4.4 gives yP≤yWy^P\le y^W. If yP=yWy^P=y^W, the desired welfare bound is immediate. Consider the remaining case 0<yP<yW≤10<y^P<y^W\le1, where yPy^P is interior with

0≥π+′(yP;κ)≥(a)J(yP;κ)−H(yP+;κ),0 \ge\pi_+^{\prime}(y^P;\kappa) \overset{(a)}{\ge} J(y^P;\kappa)-H(y^P+;\kappa),

where inequality (a) holds by profit optimality and equality (b) differentiates the scalar profit contribution. For every y>yPy>y^P, monotonicity of H(y;κ)H(y;\kappa) gives H(y;κ)≥H(yP+;κ)≥J(yP;κ)H(y;\kappa)\ge H(y^P+;\kappa)\ge J(y^P;\kappa). Integrating the derivative then gives

J(y;κ)=J(yP;κ)−∫yPyH(u;κ)u du≤J(yP;κ)⋅(1−ln⁡yyP).J(y;\kappa)=J(y^P;\kappa)-\int_{y^P}^{y}\frac{H(u;\kappa)}{u}\,du\le J(y^P;\kappa)\cdot\left(1-\ln\frac{y}{y^P}\right).

Since ω(y;κ)\omega(y;\kappa) is maximized at yWy^W satisfying J(yW;κ)≥0J(y^W;\kappa)\ge0 and J(y;κ)J(y;\kappa) is nonincreasing, we can obtain J(y;κ)≥0J(y;\kappa)\ge0 for any y≤yWy\le y^W. It follows that for any y∈[yP,yW]y\in[y^P,y^W],

0≤J(yW;κ)≤J(y;κ)≤J(yP;κ)⋅(1−ln⁡yyP).0\le J(y^W;\kappa)\le J(y;\kappa)\le J(y^P;\kappa)\cdot\left(1-\ln\frac{y}{y^P}\right).

Since J(yP;κ)>0J(y^P;\kappa)>0, we obtain yW/yP≤ey^W/y^P\le e. Therefore, we have

ω(yW;κ)−ω(yP;κ)=∫yPyWJ(u;κ) du≤J(yP;κ)⋅∫yPe⋅yP(1−ln⁡uyP) du=(e−2)⋅yP⋅J(yP;κ).\begin{aligned} \omega(y^W;\kappa)-\omega(y^P;\kappa)=\int_{y^P}^{y^W}J(u;\kappa)\,du \\ &\le J(y^P;\kappa)\cdot\int_{y^P}^{e\cdot y^P}\left(1-\ln\frac{u}{y^P}\right)\,du \\ &=(e-2)\cdot y^P\cdot J(y^P;\kappa). \end{aligned}

Monotonicity of J(⋅;κ)J(\cdot;\kappa) also gives

ω(yP;κ)=∫0yPJ(u;κ) du≥yP⋅J(yP;κ).\omega(y^P;\kappa)=\int_{0}^{y^P}J(u;\kappa)\,du\ge y^P\cdot J(y^P;\kappa).

Combining the last two bounds gives the scalar inequality

ω(yP;κ)≥ω(yW;κ)/(e−1)\omega(y^P;\kappa)\ge\omega(y^W;\kappa)/(e-1)

By Theorem 3.3, the scalar inequality applies almost everywhere at marginal technological cost c′(s)c'(s), and the welfare values of zΠz^{\Pi} and zWz^{W} are preserved under convexification. Hence, we can obtain that

W(zΠ)=∫0qˉω(zΠ(s);c′(s))ds≥1e−1⋅∫0qˉω(zW(s);c′(s))ds=1e−1⋅W(zW).\begin{aligned} W(z^{\Pi})=\int_{0}^{\bar q}\omega\left(z^{\Pi}(s);c'(s)\right)\mathrm{d}s \\ &\geq\frac{1}{e-1}\cdot\int_{0}^{\bar q}\omega\left(z^{W}(s);c'(s)\right)\mathrm{d}s=\frac{1}{e-1}\cdot W(z^{W}). \end{aligned}

Tightness. We now show the tightness by analyzing Example B.1. The consumer distribution satisfies

−y⋅ddyF−1(1−y)=1hF(F−1(1−y))={ξ⋅e⋅y,0<y<1e,1,1e<y<1.-y\cdot\frac{\mathrm{d}}{\mathrm{d}y}\mathcal{F}^{-1}(1-y)=\frac{1}{h_{\mathcal{F}}\left(\mathcal{F}^{-1}(1-y)\right)}= \begin{cases} \xi\cdot e\cdot y, & 0<y<\frac{1}{e},\\ 1, & \frac{1}{e}<y<1. \end{cases}

One can verify that this quantity is nondecreasing in yy, implying hFh_{\mathcal{F}} is nondecreasing. The provider distribution G\mathcal{G} has reverse hazard rG(μ)=1/μr_{\mathcal{G}}(\mu)=1/\mu, which is nonincreasing. Thus F\mathcal{F} and G\mathcal{G} satisfy MHR.

Since the marginal technological cost is κ=1\kappa=1, the marginal surplus is

J(y;1)={1+ξ2e+ξ⋅(1−e⋅y)−ξ2⋅y,0≤y≤1e,−ln⁡y+ξ2⋅(1e−y),1e<y≤1.J(y;1)= \begin{cases} 1+\dfrac{\xi^{2}}{e}+\xi\cdot(1-e\cdot y)-\xi^{2}\cdot y, & 0\leq y\leq\frac{1}{e},\\ -\ln y+\xi^{2}\cdot\left(\dfrac{1}{e}-y\right), & \frac{1}{e}<y\leq1. \end{cases}

A direct differentiation shows that the scalar profit contribution π(y;κ)\pi(y;\kappa) is increasing on (0,1/e)(0,1/e) and decreasing on (1/e,1)(1/e,1). Thus the unique scalar profit-maximizing mass is yP=1/ey^{P}=1/e.

Note that

J(1e;1)=1,J(1;1)=ξ2⋅(1e−1)<0.J\left(\frac{1}{e};1\right)=1,\qquad J(1;1)=\xi^{2}\cdot\left(\frac{1}{e}-1\right)<0.

The unique scalar welfare-maximizing mass yW∈(1/e,1)y^{W}\in(1/e,1) satisfies

0<−ln⁡yW=ξ2⋅(yW−1e)<ξ2⋅(1−1e).0<-\ln y^{W}=\xi^{2}\cdot\left(y^{W}-\frac{1}{e}\right)<\xi^{2}\cdot\left(1-\frac{1}{e}\right).

Thus yWy^{W} tends to 1 as ξ\xi tends to 0.

Since c(q)=qc(q)=q, Theorem 3.3 implies that both optima are attained by menus offering only quality 1 and the outside option. Their welfare values satisfy

W(zΠ)=1+ξ/2e+ξ22⋅e2,W(z^{\Pi})=\frac{1+\xi/2}{e}+\frac{\xi^{2}}{2\cdot e^{2}},
W(zW)=W(zΠ)+∫1/eyW(−ln⁡u+ξ2⋅(1e−u))du.W(z^{W})=W(z^{\Pi})+\int_{1/e}^{y^{W}}\left(-\ln u+\xi^{2}\cdot\left(\frac{1}{e}-u\right)\right)\mathrm{d}u.

As ξ\xi tends to 0, W(zΠ)W(z^{\Pi}) tends to 1/e1/e and thus W(zW)W(z^{W}) tends to (e−1)/e(e-1)/e. Hence the welfare ratio tends to 1/(e−1)1/(e-1) as desired.

Omitted Proofs in Section 5.

Proof of Theorem 5.1

Example C.1. Fix an integer n≥1n \ge1 and a parameter ρ>1\rho> 1. Both type distributions are uniform on [0,1][0,1]. Let qˉ=1\bar q = 1 and define the normalization constant S≜∑τ=1nρτS \triangleq\sum_{\tau=1}^{n} \rho^\tau. Define the quality nodes by

q(0)≜0,q(t)≜1S⋅∑τ=1tρτ,1≤t≤n.q^{(0)} \triangleq0,\qquad q^{(t)} \triangleq\frac{1}{S}\cdot\sum_{\tau=1}^{t}\rho^\tau,\qquad1 \le t \le n.

Thus 0=q(0)<q(1)<⋯<q(n)=10=q^{(0)}<q^{(1)}<\cdots<q^{(n)}=1. Define

c(q(t))≜1S∑τ=1t(ρ2⋅τ−ρτ),1≤t≤n,c(q^{(t)})\triangleq\frac{1}{S}\sum_{\tau=1}^{t}\left(\rho^{2\cdot\tau}-\rho^\tau\right),\qquad1\le t\le n,

and let cc be linear on each interval [q(t−1),q(t)][q^{(t-1)},q^{(t)}] with slope ρt−1\rho^t-1. These slopes are positive and strictly increasing, so cc is absolutely continuous, strictly increasing, and convex.

Proof of Theorem 5.1. We first prove the profit guarantee by deleting qualities, and then establish tightness using Example C.1.

The guarantee. Choose an optimal menu whose transfers are given by eqs. (3) and (4), with nn active positive qualities 0=q(0)<q(1)<⋯<q(n)0=q^{(0)}<q^{(1)}<\cdots<q^{(n)} and trading masses y1>⋯>yn>0y_1>\cdots>y_n>0. Define its quality increments, cost increments, and slopes by

Δqt≜q(t)−q(t−1),Δct≜c(q(t))−c(q(t−1)),κt≜ΔctΔqt.\Delta q_t\triangleq q^{(t)}-q^{(t-1)},\qquad\Delta c_t\triangleq c(q^{(t)})-c(q^{(t-1)}),\qquad\kappa_t\triangleq\frac{\Delta c_t}{\Delta q_t}.

By the necessity argument in Proposition 3.4, its active qualities are contacts and its mass maximizes scalar profit almost everywhere under the convexified cost. Consequently, each incremental profit satisfies Πt≜Δqt⋅π(yt;κt)≥0\Pi_t\triangleq\Delta q_t\cdot\pi(y_t;\kappa_t)\ge0.

Now consider a menu whose transfers are given by eqs. (3) and (4), with kk active qualities, nonnegative incremental profits, and total profit VkV_k. Choose an increment jj with Πj≤Vk/k\Pi_j\le V_k/k. If j=kj=k, delete the highest quality. Otherwise, lower yjy_j to yj+1y_{j+1}. Since J(⋅;κj)J(\mathord{\cdot};\kappa_j) is decreasing, we can obtain that

J(yj+1;κj)≥J(yj;κj)=ΠjΔqj⋅yj≥0.J(y_{j+1};\kappa_j)\ge J(y_j;\kappa_j)=\frac{\Pi_j}{\Delta q_j\cdot y_j}\ge0.

Hence the modified increment still contributes nonnegative profit, and the loss is at most Πj\Pi_j. This operation deletes quality q(j)q^{(j)} from the menu. Thus the resulting menu has k−1k-1 active qualities and

Vk−1≥Vk−Πj≥k−1kVk.V_{k-1}\ge V_k-\Pi_j\ge\frac{k-1}{k}V_k.

Starting from Vn=OPTV_n=\mathrm{OPT} and repeating this deletion gives

OPTm≥Vm≥(∏k=m+1nk−1k)OPT=mnOPT.\mathrm{OPT}_m\ge V_m\ge\left(\prod_{k=m+1}^{n}\frac{k-1}{k}\right)\mathrm{OPT}=\frac{m}{n}\mathrm{OPT}.

Tightness. Consider Example C.1. Uniform types give π(y;κ)=y−(1+κ)⋅y2\pi(y;\kappa)=y-(1+\kappa)\cdot y^2. On increment tt, we have Πt=(ρt⋅y−ρ2t⋅y2)/S\Pi_t=(\rho^t\cdot y-\rho^{2t}\cdot y^2)/S. Its unique maximizer is yt=1/(2⋅ρt)y_t=1/(2\cdot\rho^t), with value 1/(4⋅S)1/(4\cdot S). These masses strictly decrease, so Theorem 3.3 gives OPT=n/(4⋅S)\mathrm{OPT}=n/(4\cdot S).

Uniqueness forces every optimal trading distribution to attain these values almost everywhere on the corresponding increments. By left continuity, all nn increment endpoints are active, so every optimal menu contains exactly nn positive qualities.

For restricted menus, it suffices to consider increment endpoints. Indeed, fixing the trading masses, profit is affine in each quality location within a linear cost increment. Thus any interior quality can be moved to an increment endpoint or merged with an adjacent quality without decreasing profit or increasing menu size. Repeating this process proves the claim.

An endpoint menu with at most mm active qualities partitions a prefix of the increments into at most mm consecutive groups, followed by a zero-mass suffix. For a group of increments a,…,ba,\ldots,b, its profit is at most

max⁡y∈[0,1]1S⋅∑t=ab(ρt⋅y−ρ2t⋅y2)≤(∑t=abρt)24⋅S⋅∑t=abρ2t=14⋅S⋅ρ+1ρ−1⋅ρb−a+1−1ρb−a+1+1≤14⋅S⋅ρ+1ρ−1.\begin{aligned} \max_{y\in[0,1]} \frac{1}{S}\cdot\sum_{t=a}^{b}\left(\rho^t\cdot y-\rho^{2t}\cdot y^2\right)\le\frac{\left(\sum_{t=a}^{b}\rho^t\right)^2}{4\cdot S\cdot\sum_{t=a}^{b}\rho^{2t}} \\ &= \frac{1}{4\cdot S}\cdot\frac{\rho+1}{\rho-1}\cdot\frac{\rho^{b-a+1}-1}{\rho^{b-a+1}+1}\le\frac{1}{4\cdot S}\cdot\frac{\rho+1}{\rho-1}. \end{aligned}

Summing over at most mm groups and applying the guarantee already proved yields m/n≤OPTm/OPT≤m/n⋅(ρ+1)/(ρ−1)m/n\le\mathrm{OPT}_m/\mathrm{OPT}\le m/n\cdot(\rho+1)/(\rho-1). Letting ρ→∞\rho\to\infty proves tightness.

Proof of Lemma 5.3

Proof. We first show that reducing a scalar trading mass by a factor of ee yields profit at least 1/e1/e times its original welfare contribution. We then apply this comparison at every quality threshold and implement the reduced trading distribution.

Fix a nonnegative marginal technological cost κ\kappa. Consumer MHR makes the map θ↦−log⁡(1−F(θ))\theta\mapsto-\log(1-F(\theta)) increasing and convex, since its derivative is the nondecreasing consumer hazard rate. With ξ≤0\xi\le0 denoting logarithmic trading mass, the map ξ↦F−1(1−eξ)\xi\mapsto F^{-1}(1-e^\xi) is therefore concave. Similarly, the map ξ↦G−1(eξ)\xi\mapsto G^{-1}(e^\xi) is convex. It follows that ξ↦J(eξ;κ)\xi\mapsto J(e^\xi;\kappa) is concave for ξ≤0\xi\le0.

For a positive trading mass y∈(0,1]y\in(0,1], we obtain

ω(y;κ)y=1y⋅∫0yJ(u;κ) du≤(a)J(⋅;κ)(exp⁡[1y⋅∫0ylog⁡u du])=J(ye;κ),\begin{aligned} \frac{\omega(y;\kappa)}{y}=\frac{1}{y}\cdot\int_0^y J(u;\kappa)\,\mathrm{d}u \\ &\le^{(a)} J(\cdot;\kappa)\left(\exp\left[\frac{1}{y}\cdot\int_0^y\log u\,\mathrm{d}u\right]\right)=J\left(\frac{y}{e};\kappa\right), \end{aligned}

where inequality (a) follows from Jensen’s inequality. Multiplying by y/ey/e gives π(y/e;κ)≥ω(y;κ)/e\pi(y/e;\kappa)\ge\omega(y;\kappa)/e. The same inequality holds at y=0y=0, since both sides vanish.

Since zW/ez^W/e is nonincreasing, left-continuous, and takes values in [0,1][0,1], Theorem 3.1 implements it with the transfers in eqs. (3) and (4). Applying the above inequality at the nonnegative marginal technological cost c′(q)c'(q) for almost every qq and integrating yields

OPT≥Π(zW/e)=∫0qˉπ(zW(q)/e;c′(q)) dq≥1e⋅∫0qˉω(zW(q);c′(q)) dq=W(zW)e\begin{aligned} \mathrm{OPT}\ge\Pi(z^W/e)=\int_0^{\bar q}\pi(z^W(q)/e;c'(q))\,\mathrm{d}q \\ &\ge\frac{1}{e}\cdot\int_{0}^{\bar q}\omega(z^{W}(q);c'(q))\,\mathrm{d}q=\frac{W(z^{W})}{e} \end{aligned}

Proof of Theorem 5.2

Proof. In this proof, we show the error, correctness, and complexity of our algorithm, respectively.

Error analysis. We bound two sources of error by successive downward rounding: menu-size restriction and computational grid. Consider a strictly matched menu whose transfers are given by eqs. (3) and (4). By definition, UC(θ)=θqC(θ)−p(qC(θ))U_{C}(\theta)=\theta q_{C}(\theta)-p(q_{C}(\theta)) and UP(μ)=w(qP(μ))−μc(qP(μ))U_{P}(\mu)=w(q_{P}(\mu))-\mu c(q_{P}(\mu)). Each indirect utility is the maximum of affine functions of its type. Since qualities and technological costs are bounded, the utilities are Lipschitz continuous. At almost every type, their derivatives equal the type coefficients of chosen offers: UC′(θ)=qC(θ)U_{C}'(\theta)=q_{C}(\theta) and UP′(μ)=−c(qP(μ))U_{P}'(\mu)=-c(q_{P}(\mu)). Integrating these derivatives and using endpoint utilities UC(θ‾)=UP(μˉ)=0U_{C}(\underline{\theta})=U_{P}(\bar{\mu})=0 gives

UC(θ)=∫θ‾θqC(ν) dν,UP(μ)=∫μμˉc(qP(ν)) dν.U_{C}(\theta)=\int_{\underline{\theta}}^{\theta}q_{C}(\nu)\,\mathrm{d}\nu,\qquad U_{P}(\mu)=\int_{\mu}^{\bar{\mu}}c(q_{P}(\nu))\,\mathrm{d}\nu.

Taking expectations and exchanging the order of integration yields

Eθ[UC(θ)]=∫θ‾θˉqC(ν)(∫νθˉF′(θ) dθ)dν=∫θ‾θˉ(1−F(θ))qC(θ) dθ,\mathbb{E}_{\theta}[U_{C}(\theta)]=\int_{\underline{\theta}}^{\bar{\theta}}q_{C}(\nu)\left(\int_{\nu}^{\bar{\theta}}\mathcal{F}'(\theta)\,\mathrm{d}\theta\right)\mathrm{d}\nu =\int_{\underline{\theta}}^{\bar{\theta}}(1-F(\theta))q_{C}(\theta)\,\mathrm{d}\theta,
Eμ[UP(μ)]=∫μ‾μˉc(qP(ν))(∫μ‾νG′(μ) dμ)dν=∫μ‾μˉG(μ)c(qP(μ)) dμ.\mathbb{E}_{\mu}[U_{P}(\mu)]=\int_{\underline{\mu}}^{\bar{\mu}}c(q_{P}(\nu))\left(\int_{\underline{\mu}}^{\nu}\mathcal{G}'(\mu)\,\mathrm{d}\mu\right)\mathrm{d}\nu =\int_{\underline{\mu}}^{\bar{\mu}}G(\mu)c(q_{P}(\mu))\,\mathrm{d}\mu.

These exchanges are valid because the integrands are nonnegative and the integrals are finite under bounded qualities and costs.

Recall that

p(qC(θ))=θqC(θ)−UC(θ),p(q_{C}(\theta))=\theta q_{C}(\theta)-U_{C}(\theta),
w(qP(μ))=μc(qP(μ))+UP(μ).w(q_{P}(\mu))=\mu c(q_{P}(\mu))+U_{P}(\mu).

Taking expectations and substituting preceding expressions gives

Eθ[p(qC(θ))]=∫θ‾θˉ[θF′(θ)−(1−F(θ))]qC(θ) dθ,\mathbb{E}_{\theta}[p(q_{C}(\theta))]=\int_{\underline{\theta}}^{\bar{\theta}}[\theta\mathcal{F}'(\theta)-(1-F(\theta))]q_{C}(\theta)\,\mathrm{d}\theta,
Eμ[w(qP(μ))]=∫μ‾μˉ[μG′(μ)+G(μ)]c(qP(μ)) dμ.\mathbb{E}_{\mu}[w(q_{P}(\mu))]=\int_{\underline{\mu}}^{\bar{\mu}}[\mu\mathcal{G}'(\mu)+G(\mu)]c(q_{P}(\mu))\,\mathrm{d}\mu.

For an integer K≥1K \ge1, round qualities by rK(q)=(qˉ/K)⌊Kq/qˉ⌋r_K(q) = (\bar{q}/K)\lfloor Kq/\bar{q}\rfloor. Applying this map on both sides preserves equality of their quality distributions and monotonicity in type, so Theorem 3.1 implements the rounded choices with the transfers in eqs. (3) and (4).

On provider side, since G′(μ)+G(μ)≥0\mathcal{G}'(\mu) + G(\mu) \ge0 and cc is increasing, we have Eμ[w(qP(μ))]\mathbb{E}_{\mu}[w(q_P(\mu))] weakly decreases.

On consumer side, writing e(θ)=qC(θ)−rK(qC(θ))∈[0,qˉ/K]e(\theta) = q_C(\theta) - r_K(q_C(\theta)) \in[0,\bar{q}/K], the expected consumer payment loss is at most

∫θθˉ[θF′(θ)−(1−F(θ))]e(θ) dθ≤∫θθˉθF′(θ)e(θ) dθ≤qˉE[θ]K.\int_{\theta}^{\bar{\theta}} [\theta\mathcal{F}'(\theta) - (1-\mathcal{F}(\theta))]e(\theta)\,\mathrm{d}\theta\le\int_{\theta}^{\bar{\theta}} \theta\mathcal{F}'(\theta)e(\theta)\,\mathrm{d}\theta\le\frac{\bar{q}\mathbb{E}[\theta]}{K}.

Thus profit decreases by at most qˉ⋅E[θ]/K\bar{q}\cdot\mathbb{E}[\theta]/K.

Start from an unrestricted optimum OPT, which exists by Theorems 3.2 and 3.3. Rounding with K=mK=m gives at most mm positive qualities and loses at most qˉ⋅E[θ]/m\bar{q}\cdot\mathbb{E}[\theta]/m. Rounding this menu again with K=NK=N places it on QNQ_N without increasing its size, and loses at most qˉ⋅E[θ]/N≤qˉ⋅θˉ/N≤ε\bar{q}\cdot\mathbb{E}[\theta]/N \le\bar{q}\cdot\bar{\theta}/N \le\varepsilon. The transfers in eqs. (3) and (4) are recomputed after each rounding. Hence a feasible restricted grid menu has profit at least OPT−(qˉ⋅E[θ])/m−ε\mathrm{OPT} - (\bar{q}\cdot\mathbb{E}[\theta])/m - \varepsilon.

Algorithm correctness. We first show that convexification preserves the optimal mm-restricted grid profit, and then verify the dynamic program.

For convexification, let c^\hat{c} be the piecewise-linear curve in Step 1 and let c^^\widehat{\widehat{c}} be its greatest convex minorant. By the proof of Theorem 3.3, replacing c^\hat{c} by c^^\widehat{\widehat{c}} weakly increases profit for any fixed trading distribution.

Consider any feasible mm-restricted grid menu. Under c^^\widehat{\widehat{c}}, fix its trading masses and consider a noncontact quality qq. Let (a,b)(a,b) be the maximal interval containing qq on which c^^>c^\widehat{\widehat{c}} > \hat{c}. Its endpoints are contact grid qualities, and c^^\widehat{\widehat{c}} is affine on [a,b][a,b].

Let yy and xx be the trading masses immediately below and above qq. With other quality locations fixed, the total platform profit under the convexified cost is

Πc^^=C+q[yF−1(1−y)−xF−1(1−x)]−c^^(q)[yG−1(y)−xG−1(x)].\Pi_{\widehat{\widehat{c}}} = C + q[y\mathcal{F}^{-1}(1-y)-x\mathcal{F}^{-1}(1-x)]-\widehat{\widehat{c}}(q)[y\mathcal{G}^{-1}(y)-x\mathcal{G}^{-1}(x)].

where CC is independent of qq. Hence Πc^^\Pi_{\widehat{\widehat{c}}} is also affine on [a,b][a,b] implying that qq can move toward aa or bb without decreasing profit, until it reaches that endpoint or another offered quality. In the latter case, merge the coincident offers and repeat the argument. Each move either reaches a contact or reduces the number of distinct interior qualities, so this process terminates without increasing menu size.

Repeating for all noncontact qualities gives a contact menu with weakly higher convexified profit and at most mm active positive qualities. Since c^^=c^\widehat{\widehat{c}} = \hat{c} at every resulting quality, its profit under the original sampled costs is the same. Thus restricting to the retained contact qualities preserves the optimal mm-restricted grid profit.

On the retained qualities, any nonzero trading distribution with at most mm active qualities partitions a prefix into at most mm constant-mass groups, followed by a zero suffix. For a group (q(i),q(j)](q^{(i)},q^{(j)}] with mass yy, its profit contribution satisfies (q(j)−q(i))⋅π(y;κi,j)≤Π(i,j)(q^{(j)}-q^{(i)})\cdot\pi(y;\kappa_{i,j}) \le\Pi(i,j), where κi,j\kappa_{i,j} and Π(i,j)\Pi(i,j) are the group slope and optimal group profit defined in Step 3. Conversely, successive groups have nondecreasing slopes, so their largest maximizing masses Z(κi,j)Z(\kappa_{i,j}) are nonincreasing by Lemma A.1. They therefore realize the sum of group values with at most one active quality per group.

The problem is consequently equivalent to the stated consecutive-group partition problem. Conditioning on the last group’s left endpoint gives the recurrence for the partition value D[j,k]D[j,k]; induction on kk proves its optimality. Maximizing over all permitted prefixes and group counts, together with the zero-trade solution, yields the optimal restricted grid profit. Backtracking and Theorem 3.1 implement this value with at most mm active positive qualities.

Welfare under MHR. Suppose both type distributions satisfy MHR. The social welfare of the output menu Mm,εM_{m,\varepsilon} satisfies

W(Mm,ε)≥Π(Mm,ε)≥(a)OPT−qˉ⋅E[θ]m−ε≥(b)W(zW)e−qˉ⋅E[θ]m−ε.\begin{aligned} W(M_{m,\varepsilon}) &\ge\Pi(M_{m,\varepsilon}) \overset{(a)}{\ge} \mathrm{OPT}-\frac{\bar{q}\cdot\mathbb{E}[\theta]}{m}-\varepsilon\\ &\overset{(b)}{\ge} \frac{W(z^{W})}{\mathrm{e}}-\frac{\bar{q}\cdot\mathbb{E}[\theta]}{m}-\varepsilon. \end{aligned}

Inequality (a) is the profit guarantee established above. Inequality (b) follows from Lemma 5.3.

Complexity. The algorithm uses N+1N+1 cost evaluations. Convexification takes O(N)O(N) arithmetic operations. Since L≤NL\le N, group values and maximizing masses require O(N2)O(N^2) oracle calls. Endpoint differences give each group’s increments in constant time. There are O(min⁡{m,L}L)O(\min\{m,L\}L) DP states and at most LL transitions per state, giving O(min⁡{m,N}N2)O(\min\{m,N\}N^2) arithmetic operations in total. Recovering transfers uses O(N)O(N) quantile evaluations and arithmetic operations.

References

  1. [1]Masaki Aoyagi and Seung Han Yoo. Matching strategic agents on a two-sided platform. Games and Economic Behavior, 135:271–296, 2022.DOI
  2. [2]Mark Armstrong and Jean-Charles Rochet. Multi-dimensional screening: A user’s guide. European Economic Review, 43(4-6):959–979, 1999.
  3. [3]Itai Ashlagi, Amin Saberi, and Ali Shameli. Assignment mechanisms under distributional constraints. In Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’19, page 229–240, USA, 2019. Society for Industrial and Applied Mathematics.arxiv.org/abs/1810.04331
  4. [4]Itai Ashlagi, Anilesh K Krishnaswamy, Rahul Makhijani, Daniela Saban, and Kirankumar Shiragur. Assortment planning for two-sided sequential matching markets. Operations Research, 70(5):2784–2803, 2022.
  5. [6]Tian Bai, Yiding Feng, Yaohao Liu, Mengfan Ma, and Mingyu Xiao. Contracting with a mechanism designer. arXiv preprint arXiv:2507.12054, 2025.arxiv.org/abs/2507.12054
  6. [7]Dirk Bergemann, Alessandro Bonatti, Andreas Haupt, and Alex Smolin. The optimality of upgrade pricing. In International Conference on Web and Internet Economics, pages 41–58. Springer, 2021a.arxiv.org/abs/2107.10323
  7. [9]Dirk Bergemann, Tibor Heumann, and Stephen Morris. Screening with persuasion. Journal of Political Economy, 134(2):570–625, 2026.arxiv.org/abs/2212.03360
  8. [10]Johannes Brustle, Yang Cai, Fa Wu, and Mingfei Zhao. Approximating gains from trade in two-sided markets via simple mechanisms. arXiv preprint arXiv:1706.04637, 2017.arxiv.org/abs/1706.04637
  9. [11]Yang Cai, Kira Goldner, Steven Ma, and Mingfei Zhao. On multi-dimensional gains from trade maximization. In Proceedings of the Thirty-Second Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’21, page 1079–1098, USA, 2021. Society for Industrial and Applied Mathematics. ISBN 9781611976465.arxiv.org/abs/2007.13934
  10. [12]Ettore Damiano and Hao Li. Price discrimination and efficient matching. Economic Theory, 30(2):243–263, 2007.
  11. [13]Constantinos Daskalakis, Alan Deckelbaum, and Christos Tzamos. The complexity of optimal mechanism design. In Proceedings of the Twenty-Fifth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA ’14, page 1302–1318, USA, 2014. Society for Industrial and Applied Mathematics. ISBN 9781611973389.
  12. [14]Xiaotie Deng, Paul Goldberg, Bo Tang, and Jinshan Zhang. Revenue maximization in a bayesian double auction market. Theoretical Computer Science, 539:1–12, 2014.
  13. [15]Yuan Deng, Jieming Mao, Balasubramanian Sivan, and Kangning Wang. Approximately efficient bilateral trade. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing, pages 718–721, 2022.
  14. [16]Shaddin Dughmi and Haifeng Xu. Algorithmic bayesian persuasion. In Proceedings of the Forty-Eighth Annual ACM Symposium on Theory of Computing, STOC ’16, page 412–425, New York, NY, USA, 2016. Association for Computing Machinery. ISBN 9781450341325. doi: 10.1145/2897518.2897583. URL https://doi.org/10.1145/2897518.2897583.
  15. [17]Shaddin Dughmi, David Kempe, and Ruixin Qiang. Persuasion with limited communication. In Proceedings of the 2016 ACM Conference on Economics and Computation, EC ’16, page 663–680, New York, NY, USA, 2016. Association for Computing Machinery. ISBN 9781450339360. doi: 10.1145/2940716.2940781. URL https://doi.org/10.1145/2940716.2940781.
  16. [19]Daniel Fershtman and Alessandro Pavan. Matching auctions. The RAND Journal of Economics, 53 (1):32–62, 2022.
  17. [20]Renato Gomes and Alessandro Pavan. Many-to-many matching and price discrimination. Theoretical Economics, 11(3):1005–1052, 2016.
  18. [21]Renato Gomes and Alessandro Pavan. Price customization and targeting in matching markets. The RAND journal of economics, 55(2):230–265, 2024.

Paper details

vlnc:W_e6axxukp
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 9

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents