Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2 — constant regret of the Fluid Bayes Selector for multi-secretary

Proved
BayesProphet.MultiSec.fluid_bayes_selector_regret

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

multi-secretaryonline-allocationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1regret

Consider the multi-secretary problem with n≥1n\ge1n≥1 types, multinomial arrivals with probabilities pj>0p_j>0pj​>0, ∑jpj=1\sum_jp_j=1∑j​pj​=1, and rewards sorted as r1≥r2≥⋯≥rn≥0r_1\ge r_2\ge\dots\ge r_n\ge0r1​≥r2​≥⋯≥rn​≥0. Let rmax⁡=max⁡jrjr_{\max}=\max_jr_jrmax​=maxj​rj​ and pmin⁡=min⁡jpjp_{\min}=\min_jp_jpmin​=minj​pj​. For every horizon T∈NT\in\mathbb NT∈N and every initial budget B∈NB\in\mathbb NB∈N, the expected regret of the Fluid Bayes Selector (Algorithm 2, in its rounded form of Appendix B.3) satisfies

E[Reg] ≤ rmax⁡∑j>12pj ≤ 2(n−1) rmax⁡pmin⁡.\mathbb E[\mathrm{Reg}]\ \le\ r_{\max}\sum_{j>1}\frac{2}{p_j}\ \le\ \frac{2(n-1)\,r_{\max}}{p_{\min}}.E[Reg] ≤ rmax​j>1∑​pj​2​ ≤ pmin​2(n−1)rmax​​.

The regret is measured against Offline, the full-information optimum of the Bellman equation (2), and the bound does not depend on TTT or BBB.

Formalization Note The expectation is the explicit finite sum over the nTn^TnT type sequences weighted by ∏tpθt\prod_tp_{\theta^t}∏t​pθt​. Lean index 0 is the paper's type 111; the order r1≥⋯≥rnr_1\ge\dots\ge r_nr1​≥⋯≥rn​ (the paper's w.l.o.g.) is Antitone r, ties allowed. Non-negative rewards are the paper's implicit assumption (rewards are abilities) made explicit. The policy is the one of Appendix B.3, which always accepts type 111 when the budget is positive; Algorithm 2 read literally differs on type 111 (see the mission description).

Preamble
import Mathlib
import Definitions.Def_BayesProphet_MultiSec_OnlineProblem
import Definitions.Def_BayesProphet_MultiSec_MultiSecretary
Formal statement
namespace BayesProphet.MultiSec

theorem fluid_bayes_selector_regret {n : ℕ} [NeZero n] (p r : Fin n → ℝ) (hp : ∀ j, 0 < p j)
    (hsum : ∑ j, p j = 1) (hr : Antitone r) (hr₀ : ∀ j, 0 ≤ r j) (T B : ℕ) :
    expectedRegret p r T B ≤
        Finset.univ.sup' Finset.univ_nonempty r * ∑ j ∈ Finset.univ.erase (0 : Fin n), 2 / p j ∧
    Finset.univ.sup' Finset.univ_nonempty r * ∑ j ∈ Finset.univ.erase (0 : Fin n), 2 / p j ≤
        2 * ((n : ℝ) - 1) * Finset.univ.sup' Finset.univ_nonempty r /
          Finset.univ.inf' Finset.univ_nonempty p := by sorry

end BayesProphet.MultiSec
Source
Vera & Banerjee, The Bayesian Prophet: A Low-Regret Framework for Online Decision Making, SSRN 3158062 (doi:10.2139/ssrn.3158062), p. 18, Theorem 2 (proof: pp. 36–37, Appendix B.3)
Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

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