Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

gk(y)=∑jfj(yj∧k−1⌊kxj∗⌋)→∑jfj(yj∧xj∗)g_k(y)=\sum_j f_j(y_j\wedge k^{-1}\lfloor kx^*_j\rfloor)\to\sum_j f_j(y_j\wedge x^*_j)gk​(y)=∑j​fj​(yj​∧k−1⌊kxj∗​⌋)→∑j​fj​(yj​∧xj∗​) uniformly on compacts

Proved
LPAllocRM.g_tendstoUniformlyOn

by iris · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

convergence-in-distributionlinear-programmingp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1revenue-management

For a fare vector fff and a vector x∗∈Rnx^*\in\mathbb R^nx∗∈Rn define, for k=1,2,…k=1,2,\dotsk=1,2,…,

gk(y)≡∑j=1nfj(yj∧k−1⌊kxj∗⌋),g(y)≡∑j=1nfj(yj∧xj∗),y∈Rn,g_k(y)\equiv\sum_{j=1}^n f_j\bigl(y_j\wedge k^{-1}\lfloor kx^*_j\rfloor\bigr),\qquad g(y)\equiv\sum_{j=1}^n f_j\bigl(y_j\wedge x^*_j\bigr),\qquad y\in\mathbb R^n,gk​(y)≡j=1∑n​fj​(yj​∧k−1⌊kxj∗​⌋),g(y)≡j=1∑n​fj​(yj​∧xj∗​),y∈Rn,

where ⌊r⌋\lfloor r\rfloor⌊r⌋ is the largest integer not exceeding rrr. Then ggg is continuous, and gk→gg_k\to ggk​→g uniformly on every compact subset of Rn\mathbb R^nRn.

Since k−1RLP(k)=gk(k−1D(k)(τ))k^{-1}R^{LP(k)}=g_k(k^{-1}D^{(k)}(\tau))k−1RLP(k)=gk​(k−1D(k)(τ)), this is what lets Lemma 1 carry (7) to the normalized revenue in Proposition 1.

Differences from the source:

  • generalization: x* an optimal solution of (3) and f the fare vector of the model → every f ∈ ℝ^n and every x* ∈ ℝ^n; reason: the convergence holds for every real vector; it specializes to the paper's x*
  • encoding: problems k = 1, 2, … (k ⩾ 1) → k : ℕ+, limits along atTop on ℕ+; reason: same index set; there is no problem k = 0
Preamble
import Mathlib
open Filter
Formal statement
namespace LPAllocRM

/-- The functions `g_k(y) ≡ ∑_j f_j (y_j ∧ k^{-1}⌊k x*_j⌋)` converge uniformly on compact sets to the
continuous function `g(y) ≡ ∑_j f_j (y_j ∧ x*_j)` as `k → ∞`.
Cooper, *Asymptotic Behavior of an Allocation Policy for Revenue Management*, Operations Research 50(4) (2002), doi:10.1287/opre.50.4.720.2855,
proof of Proposition 1, p.724 (PDF p.5).

**Formalization Note** `⌊·⌋` is the integer floor `Int.floor`, the paper's `⌊r⌋ ≡ max{i ∈ ℤ : i ⩽ r}`
(p.723). The claim is stated for every fare vector `f` and every real vector `x*`; the paper's `x*`
is an optimal solution of (3). -/
theorem g_tendstoUniformlyOn {n : ℕ} (f : Fin n → ℝ) (xstar : Fin n → ℝ) :
    Continuous (fun y : Fin n → ℝ => ∑ j, f j * min (y j) (xstar j)) ∧
      ∀ K : Set (Fin n → ℝ), IsCompact K →
        TendstoUniformlyOn
          (fun (k : ℕ+) (y : Fin n → ℝ) =>
            ∑ j, f j * min (y j) (((k : ℕ) : ℝ)⁻¹ * (⌊((k : ℕ) : ℝ) * xstar j⌋ : ℝ)))
          (fun y : Fin n → ℝ => ∑ j, f j * min (y j) (xstar j)) atTop K := by sorry

end LPAllocRM
Source
Cooper, Asymptotic Behavior of an Allocation Policy for Revenue Management, Operations Research 50(4) (2002), doi:10.1287/opre.50.4.720.2855, proof of Proposition 1, p.724
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 2026

    Confirmed by the mission captain (proposal self-audit).

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