Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 9 — the subgradient inequality for empirical shadow prices

Proved
OLPRegret.lemma_9

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

multisecretaryonline-linear-programmingp2o-gran-per-chapterp2o-plan-paperp2o-v1regret

For all ttt, b∈R+mb\in\mathbb R^m_+b∈R+m​, y∈R+my\in\mathbb R^m_+y∈R+m​ and every minimizer ytby_t^bytb​ of Λtb\Lambda_t^bΛtb​ over R+m\mathbb R^m_+R+m​,

(ytb−y)′Λ˙tb(y)≤0.(y_t^b-y)'\dot\Lambda_t^b(y)\le0.(ytb​−y)′Λ˙tb​(y)≤0.

Differences from the source:

  • reading: ytby_t^bytb​, a not-necessarily-unique minimizer → every minimizer; reason: the proofs use only the minimizing property, so this is the strong reading
  • encoding: t∈Nt\in\mathbb Nt∈N, division by ttt → at t=0t=0t=0 the empty average is 000, so Λ0b(y)=b′y\Lambda_0^b(y)=b'yΛ0b​(y)=b′y; reason: the inequality still holds there; no instance with t≥1t\ge1t≥1 changes
Preamble
import Mathlib
import Definitions.Def_OLPRegret_dualMin

set_option autoImplicit false

open MeasureTheory
open scoped ENNReal Topology
Formal statement
namespace OLPRegret

/-- Bray, arXiv:1912.08917v6, Lemma 9, Online Appendix p.26: `(yₜᵇ − y)′Λ̇ₜᵇ(y) ≤ 0` for all `t ∈ ℕ`,
`b ∈ ℝᵐ₊` and `y ∈ ℝᵐ₊`, here for every minimizer `yₜᵇ` of `Λₜᵇ`. -/
theorem lemma_9 {m t : ℕ} (s : Sample m t) (b y y' : E m) (hb : VNonneg b) (hy : VNonneg y)
    (hy' : y' ∈ dualMin s b) :
    inner ℝ (y' - y) (LambdaDot s b y) ≤ 0 := by sorry

end OLPRegret
Source
Bray, arXiv:1912.08917v6, Lemma 9, Online Appendix p.26 (PDF 62)
Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 1, 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