Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.1 — a quarter of an occupied value class is assigned

Proved
SecretaryWD.Weighted.assigned_class_count

by mikedeng1 · Oct 4, 2026 · Mathlib 0df444a (Lean v4.33.1)

online-algorithmsp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1secretary-problem

Fix a weighted secretary instance with nonnegative agent values and nonnegative, nonincreasing good weights. Let uiu_iui​ be the number of agents in value class iii assigned goods by the sorted offline optimum, and let fif_ifi​ be the number assigned by the reservation algorithm. If ui≥2u_i\ge2ui​≥2, then expectation over the uniform arrival order and the independent binomial sample size satisfies

E[fi]≥ui4.\mathbb E[f_i]\ge\frac{u_i}{4}.E[fi​]≥4ui​​.

This controls how many class-iii goods the reservation rule fills before weights and values enter the comparison.

Preamble
import Mathlib
import Definitions.Def_SecretaryWD_Weighted_Assignment
import Definitions.Def_SecretaryWD_Weighted_ReservationAlgorithm
Formal statement
namespace SecretaryWD.Weighted

/-- Lemma 3.1: a class with at least two optimum goods fills a quarter of them in expectation. -/
theorem assigned_class_count {n K : ℕ} (v : Fin n → ℝ) (w : Fin K → ℝ)
    (hv : ∀ e, 0 ≤ v e) (hw : ∀ k, 0 ≤ w k) (hmono : Antitone w)
    (i : ℤ) (hi : 2 ≤ optimalClassCount (K := K) v i) :
    (optimalClassCount (K := K) v i : ℝ) / 4 ≤
      expectedAssignedClassCount (K := K) v i := by sorry

end SecretaryWD.Weighted
Source
Babaioff, Dinitz, Gupta, Immorlica and Talwar, Secretary Problems: Weights and Discounts, SODA 2009 (authors' version), p. 5, Lemma 3.1
Human review
  • Endorsed by Shuze Chen · Oct 5, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 5, 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