Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Assumption 3 and (6), p. 9 — bounded costs with a limiting distribution, mean cost, tail condition

Definition
LargeBSP_Homog_Supplement_Costs

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

bundle-size-pricingp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1probability

Objects of the large-offering regime used by the heterogeneous-cost and budget theorems.

  1. Assumption 3. Deterministic costs c1,c2,…c_1,c_2,\dotsc1​,c2​,… with limiting probability law FCF_CFC​ form a cost regime when they are nonnegative and bounded and their empirical distribution functions converge at every nonnegative point:
FC,N(y)=1N∑n≤N1{cn≤y}⟶FC(y)(y≥0).\mathbb F_{C,N}(y)=\frac1N\sum_{n\le N}\mathbf 1\{c_n\le y\}\longrightarrow F_C(y)\qquad(y\ge0).FC,N​(y)=N1​n≤N∑​1{cn​≤y}⟶FC​(y)(y≥0).
  1. Mean cost. cˉ=∫c dFC(c)\bar c=\int c\,dF_C(c)cˉ=∫cdFC​(c).
  2. Optimal fraction. ttt is a maximizing fraction of fff if t∈[0,1]t\in[0,1]t∈[0,1] and f(s)≤f(t)f(s)\le f(t)f(s)≤f(t) for all s∈[0,1]s\in[0,1]s∈[0,1].
  3. Tail condition (6). A distribution function FXF_XFX​ satisfies (6) if ∫0∞FX(x)(1−FX(x)) dx<∞\int_0^\infty\sqrt{F_X(x)(1-F_X(x))}\,dx<\infty∫0∞​FX​(x)(1−FX​(x))​dx<∞.

These are the assumptions and quantities under which Theorems 3–5 are stated.

Formalization Note The integral in (6) is an extended nonnegative integral, so a divergent integral is not read as 000. The mean cost is only used for nonnegative laws with finite mean.

Definition code
import Mathlib
import Definitions.Def_LargeBSP_Homog_Setting

open MeasureTheory ProbabilityTheory Filter
open scoped Topology

namespace LargeBSP.Homog.Supplement

/-- Assumption 3, with the deterministic empirical cdf convergence (9). -/
def CostRegime (c : ℕ → ℝ) (κ : Measure ℝ) : Prop :=
  (∃ M : ℝ, ∀ n, 0 ≤ c n ∧ c n ≤ M) ∧
  ∀ y : ℝ, 0 ≤ y → Tendsto (fun N => empCdf c N y) atTop (𝓝 (cdf κ y))

/-- Mean marginal cost, Theorem 3. The measures used here are nonnegative laws. -/
noncomputable def meanCost (κ : Measure ℝ) : ℝ := ∫ a, a ∂κ

/-- A limiting surplus maximizer; membership, and every competitor, use [0,1]. -/
def MaxFraction (f : ℝ → ℝ) (t : ℝ) : Prop :=
  t ∈ Set.Icc 0 1 ∧ ∀ s ∈ Set.Icc (0 : ℝ) 1, f s ≤ f t

/-- Source tail condition (6), as a finite nonnegative integral. -/
def TailCondition (ν : Measure ℝ) : Prop :=
  (∫⁻ y in Set.Ioi (0 : ℝ), ENNReal.ofReal (Real.sqrt (cdf ν y * (1 - cdf ν y)))) < ⊤

end LargeBSP.Homog.Supplement
Source
Abdallah, Asadpour & Reed, Large-Scale Bundle-Size Pricing: A Theoretical Analysis, author's manuscript (2021; Oper. Res. doi:10.1287/opre.2020.2097), SHA-256 1dfcad7675689de2118550b720b7488b45737ecd5ee5cd6085e5b5d0250d40cd, §3.1, Assumption 3 and (6), p. 9; Theorem 3 (mean cost), p. 14

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me