Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.2 — reservation blocks start no later than optimum blocks

Proved
SecretaryWD.Weighted.reservation_start_le

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. For any arrival order, sample size, and integer value class iii, let bib_ibi​ count reservations for classes above iii, and oio_ioi​ count optimum assignments to classes above iii. Then

bi≤oi.b_i\le o_i.bi​≤oi​.

Thus the first reserved good of a class is at least as heavy as its first good in the sorted offline assignment.

Formalization Note The integer index includes values below one; for classes above the top populated class both counts are zero.

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

/-- Lemma 3.2: reservations above each class use no more goods than the optimum. -/
theorem reservation_start_le {n K : ℕ} (v : Fin n → ℝ) (w : Fin K → ℝ)
    (hv : ∀ e, 0 ≤ v e) (hw : ∀ k, 0 ≤ w k) (hmono : Antitone w)
    (π : Equiv.Perm (Fin n)) (τ : ℕ) (hτ : τ ≤ n) (i : ℤ) :
    reservationStart v π τ K i ≤ optimalStart (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.2
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