Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Inequality (10.1) — a lower bound on buyer i's primal value (milestone)

Proved
OnlinePrimalDual.AdAuctions.dual_near_feasible

by mikedeng1 · Sep 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

ad-auctionscompetitive-ratioonline-algorithmsprimal-dual

Let wonBids i list, in allocation order, the bids of items allocated to buyer i, each a valid bid of the instance (non-negative, at most Rmax · B(i)). Then, for every buyer i, buyerX inst i (wonBids i) ≥ (1/(c-1))(c^(revenue(i)/B(i)) - 1), where c = cParam inst — the book's own displayed bound, proved there by induction on the relevant iterations.

Preamble
import Mathlib
import Definitions.Def_OnlinePrimalDual_AdAuctions_AdAuctionsInstance
import Definitions.Def_OnlinePrimalDual_AdAuctions_cParam
import Definitions.Def_OnlinePrimalDual_AdAuctions_buyerX
import Definitions.Def_OnlinePrimalDual_AdAuctions_revenue
Formal statement
namespace OnlinePrimalDual.AdAuctions

/-- **Inequality (10.1)** (p. 213, PDF p. 124), a milestone en route to Theorem 10.1, proved there
by induction on the (relevant) iterations of the algorithm. `wonBids i` is the list, in allocation
order, of the bids of the items actually allocated to buyer `i` during the run; `hbids_valid`
records that every such bid is a genuine bid of this instance, bounded as `Rmax` requires
(`0 ≤ bd ≤ Rmax · B i`, from `hb_nonneg`/`hRmax_bound`). The conclusion is the book's own displayed
bound: buyer `i`'s final primal value is at least
`(1/(c−1)) · (c^{revenue(i)/B(i)} − 1)`, where `c = cParam inst`. -/
theorem dual_near_feasible {I M : Type*} [Fintype I] [Fintype M]
    (inst : AdAuctionsInstance I M) (wonBids : I → List ℝ)
    (hbids_valid : ∀ i, ∀ bd ∈ wonBids i, 0 ≤ bd ∧ bd ≤ inst.Rmax * inst.B i) :
    ∀ i : I, buyerX inst i (wonBids i) ≥
      (1 / (cParam inst - 1)) * (cParam inst ^ (revenue inst wonBids i / inst.B i) - 1) := by sorry

end OnlinePrimalDual.AdAuctions
Source
Buchbinder & Naor, The Design of Competitive Online Algorithms via a Primal-Dual Approach, FnT TCS 2009, p. 213, Inequality (10.1), in the proof of Theorem 10.1's Claim (3)
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 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