Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

App. B.3 conditions (1)–(2) — when Offline is not satisfied rejecting or accepting

Proved
BayesProphet.MultiSec.offline_satisfaction

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

dynamic-programmingmulti-secretaryp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

In the multi-secretary problem with non-negative rewards rj≥0r_j\ge0rj​≥0, fix a sample path, a time-to-go t≥1t\ge1t≥1 and a budget b≥1b\ge1b≥1, and let j=θtj=\theta^tj=θt be the current arrival. Then:

  1. Offline is not satisfied rejecting the current arrival iff every optimal offline solution (sort the arrivals θt,…,θ1\theta^t,\dots,\theta^1θt,…,θ1 by reward and keep the top bbb) takes all arrivals of its reward level, i.e.
rj>0and#{τ∈{1,…,t−1}: rθτ≥rj}<b;r_j>0\quad\text{and}\quad \#\{\tau\in\{1,\dots,t-1\}:\ r_{\theta^\tau}\ge r_j\}<b;rj​>0and#{τ∈{1,…,t−1}: rθτ​≥rj​}<b;
  1. Offline is not satisfied accepting the current arrival iff every optimal offline solution rejects it, i.e.
#{τ∈{1,…,t−1}: rθτ>rj}≥b.\#\{\tau\in\{1,\dots,t-1\}:\ r_{\theta^\tau}>r_j\}\ge b.#{τ∈{1,…,t−1}: rθτ​>rj​}≥b.

These are the paper's conditions "(1) Offline is not satisfied rejecting a class jjj iff he accepts all the future arrivals type jjj" and "(2) Offline is not satisfied accepting class jjj iff he rejects all future type jjj arrivals", which reduce the disagreement events of the Fluid Bayes Selector to binomial tail events.

Formalization Note "Not satisfied" is the disagreement predicate of Definition 4 for Offline's Bellman value (2). The paper phrases the conditions through a solution X⋆tX^{\star t}X⋆t of the ex-post problem (Pt⋆)(P^\star_t)(Pt⋆​); with tied rewards that solution is not unique, so the conditions are stated through the counts of strictly better and at-least-as-good arrivals among the future arrivals θt−1,…,θ1\theta^{t-1},\dots,\theta^1θt−1,…,θ1.

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

theorem offline_satisfaction {n : ℕ} (r : Fin n → ℝ) (hr₀ : ∀ j, 0 ≤ r j)
    (θ : ℕ → Fin n) (t b : ℕ) (ht : 1 ≤ t) (hb : 1 ≤ b) :
    ((secretaryProblem r).Disagree θ t Action.reject b ↔
        0 < r (θ t) ∧ ((Finset.Ico 1 t).filter (fun τ => r (θ t) ≤ r (θ τ))).card < b) ∧
    ((secretaryProblem r).Disagree θ t Action.accept b ↔
        b ≤ ((Finset.Ico 1 t).filter (fun τ => r (θ t) < r (θ τ))).card) := 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. 37, Appendix B.3, conditions (1)–(2) (see also p. 17, after Algorithm 2)
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