Appendix B and Lemma B1, p. A13 — endpoint η_F, slowly varying tail, a_N, upper order statistics, limit law
DefinitionLargeBSP_Homog_Supplement_Extremesbundle-size-pricingp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1probability
Extreme-value objects for valuations with distribution function and finite upper endpoint.
- Endpoint. .
- Slow variation. is slowly varying if as for every .
- Endpoint tail. , is slowly varying, and for all large
- Scale. .
- Order statistic. is the -st largest of the first valuations, for .
- Limit law. With for , for , and , it is the distribution function .
These are the normalization and limit in Lemma B1 and the standing tail assumption of Theorem B1.
Formalization Note The order statistic is read off the item rank of the bundle-size pricing model and is for , which is irrelevant as . Slow variation is the paper's ratio condition, with no positivity requirement.
Definition code
import Mathlib
import Definitions.Def_LargeBSP_Homog_Setting
open MeasureTheory ProbabilityTheory Filter
open scoped Topology
namespace LargeBSP.Homog.Supplement
/-- The finite upper endpoint. Used only with a nonempty bounded defining set. -/
noncomputable def endpoint (ν : Measure ℝ) : ℝ := sSup {x : ℝ | cdf ν x < 1}
/-- The normalization in Lemma B1; only the eventual N>k matters. -/
noncomputable def extremeScale (ν : Measure ℝ) (N : ℕ) : ℝ :=
endpoint ν - quantile (cdf ν) (1 - 1 / (N : ℝ))
/-- The (k+1)st largest item. This sum has exactly one summand when k<N.
The default outside that range is zero; k is fixed and N tends to infinity. -/
noncomputable def upperOrder (x : ℕ → ℝ) (N k : ℕ) : ℝ :=
∑ i ∈ (Finset.range N).filter (fun i => rank x N i = k), x i
/-- Upper incomplete gamma tail of integer order k+1, written with the source's integral. -/
noncomputable def gammaTail (k : ℕ) (y : ℝ) : ℝ :=
(1 / (Nat.factorial k : ℝ)) * ∫ t in Set.Ioi y, Real.exp (-t) * t ^ k
/-- Reversed Weibull cdf. -/
noncomputable def reversedWeibull (α x : ℝ) : ℝ :=
if x ≤ 0 then Real.exp (-((-x) ^ α)) else 1
/-- Gamma transform Γ_(k+1)(-log Ψ_α(x)), with the value 0 at Ψ_α=0.
For finite x, α>0, Ψ_α is positive; at x≥0 the cdf is 1. -/
noncomputable def extremeCdf (α : ℝ) (k : ℕ) (x : ℝ) : ℝ :=
gammaTail k (-Real.log (reversedWeibull α x))
/-- A slowly varying function (Appendix B, p. A13): `L(tx)/L(x) → 1` as `x → ∞` for every `t > 0`.
No sign or regularity condition is part of the page's definition. -/
def SlowlyVarying (L : ℝ → ℝ) : Prop :=
∀ t : ℝ, 0 < t → Tendsto (fun x : ℝ => L (t * x) / L x) atTop (𝓝 1)
/-- Appendix B's endpoint regular variation, required eventually (near the endpoint). -/
def EndpointTail (ν : Measure ℝ) (α : ℝ) (L : ℝ → ℝ) : Prop :=
0 < α ∧ SlowlyVarying L ∧
∀ᶠ x : ℝ in atTop, 1 - cdf ν (endpoint ν - 1 / x) = x ^ (-α) * L x
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, Appendix B and Lemma B1, p. A13