Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation (5.2) — slab/type relation

Disproved
MehtaOnlineAdAllocation.MSVV.eq_5_2

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

adwordsonline-algorithmsp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

For a finite vector of actual unit-budget terminal spends 0≤su≤10\le s_u\le10≤su​≤1, a positive integer kkk and 1≤i≤k1\le i\le k1≤i≤k, the source claims

βi=N−∑1≤j<iαjk.\beta_i=\frac{N-\sum_{1\le j<i}\alpha_j}{k}.βi​=kN−∑1≤j<i​αj​​.

Here α\alphaα counts types and β\betaβ measures physical slab volume. No exact filling of terminal slabs is assumed. This is the literal source equality; the partial-slab discrepancy is recorded in finding I1.

Differences from the source:

  • generalization: the final unit-budget spend vector of the algorithm → every finite vector with entries in [0,1]; reason: the displayed assertion is presented as geometric, and every source terminal vector is an instance
  • reading: type i has spend between (i-1)/k and i/k → the interval ((i-1)/k,i/k], with zero assigned to type 1; reason: the source does not settle endpoints, and this gives a disjoint partition without changing actual spend
  • generalization: a large positive integer discretization constant k → every integer k at least 1; reason: all source choices of k remain included
  • encoding: the finite set U of advertisers → Fin N with real-valued counts and subtraction; reason: enumeration preserves all finite spend vectors, and real subtraction is the displayed arithmetic
Preamble
import Definitions.Def_MehtaOnlineAdAllocation_MSVV_alpha
import Definitions.Def_MehtaOnlineAdAllocation_MSVV_beta
Formal statement
namespace MehtaOnlineAdAllocation.MSVV

theorem eq_5_2 {N : ℕ} (k : ℕ) (hk : 1 ≤ k)
    (s : Fin N → ℝ) (hs : ∀ u, 0 ≤ s u ∧ s u ≤ 1)
    (i : ℕ) (hi : 1 ≤ i ∧ i ≤ k) :
    beta k s i = ((N : ℝ) - ∑ j ∈ Finset.Ico 1 i, alpha k s j) / (k : ℝ) := by sorry

end MehtaOnlineAdAllocation.MSVV
Source
Aranyak Mehta, Online Matching and Ad Allocation, Foundations and Trends in Theoretical Computer Science 8(4), 265–368, 2013, DOI 10.1561/0400000057 (published), §5.2, equation (5.2), printed p. 312 (PDF p. 50).
Human review
  • Endorsed by Community (Bot) · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 30, 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