Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 8, p. 34 — vt∈[1/4,3/4]v_t\in[1/4,3/4]vt​∈[1/4,3/4] and the oracle bids bt⋆=mt=181(vt≥v⋆)b^\star_t=m_t=\frac18\mathbb 1(v_t\ge v^\star)bt⋆​=mt​=81​1(vt​≥v⋆)

Proved
FirstPriceLearning.NonIID.oracle_bid

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

first-price-auctionlower-boundp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Take P=δ0P=\delta_0P=δ0​ and Q=δ1/8Q=\delta_{1/8}Q=δ1/8​ (so mt≡0m_t\equiv0mt​≡0 under PPP and mt≡1/8m_t\equiv1/8mt​≡1/8 under QQQ), a sign vector u∈{±1}Tu\in\{\pm1\}^Tu∈{±1}T, the threshold v⋆=f(u)v^\star=f(u)v⋆=f(u) and the values v1=12v_1=\frac12v1​=21​, vt+1=vt+ut/2t+2v_{t+1}=v_t+u_t/2^{t+2}vt+1​=vt​+ut​/2t+2. For every round ttt:

  1. vt∈[14,34]v_t\in[\tfrac14,\tfrac34]vt​∈[41​,43​];
  2. the oracle reward under the law LtL_tLt​ of mtm_tmt​ (PPP if vt<v⋆v_t<v^\starvt​<v⋆, QQQ otherwise) is
max⁡b∈[0,1]Em∼Lt[(vt−b)1(b≥m)]=vt−mt,mt=18 1(vt≥v⋆);\max_{b\in[0,1]}\mathbb E_{m\sim L_t}\big[(v_t-b)\mathbb 1(b\ge m)\big]=v_t-m_t,\qquad m_t=\tfrac18\,\mathbb 1(v_t\ge v^\star);b∈[0,1]max​Em∼Lt​​[(vt​−b)1(b≥m)]=vt​−mt​,mt​=81​1(vt​≥v⋆);
  1. the bid bt⋆=mtb^\star_t=m_tbt⋆​=mt​ attains this maximum.

Summed over rounds this is the oracle's revenue ∑t(vt−mt)\sum_t(v_t-m_t)∑t​(vt​−mt​) on p. 34.

Formalization Note The maximum is the supremum over b∈[0,1]b\in[0,1]b∈[0,1] of R(vt,b)=(vt−b)GLt(b)R(v_t,b)=(v_t-b)G_{L_t}(b)R(vt​,b)=(vt​−b)GLt​​(b), with GLtG_{L_t}GLt​​ the CDF of LtL_tLt​.

Preamble
import Mathlib
import Definitions.Def_FirstPriceLearning_Stochastic_Auction
import Definitions.Def_FirstPriceLearning_NonIID_ThresholdModel
import Definitions.Def_FirstPriceLearning_NonIID_HardInstance
Formal statement
namespace FirstPriceLearning.NonIID

open MeasureTheory

/-- Proof of Theorem 8, arXiv:2003.09795v7, p. 34 (oracle performance): with `P = δ_0`,
`Q = δ_{1/8}`, `u ∈ {±1}^T`, `v⋆ = f(u)` and the values `v_t` of p. 34, every `v_t` lies in
`[1/4, 3/4]`, the oracle's reward at round `t` is `v_t − m_t` with `m_t = (1/8)·𝟙(v_t ≥ v⋆)`, and the
bid `b⋆_t = m_t` attains it. -/
theorem oracle_bid (T : ℕ) (u : Fin T → ℝ) (hu : ∀ s, u s = 1 ∨ u s = -1) (t : Fin T) :
    valueSeq u t ∈ Set.Icc (1 / 4 : ℝ) (3 / 4) ∧
      FirstPriceLearning.Stochastic.oracle (hobLaw (Measure.dirac 0) (Measure.dirac (1 / 8)) (fval u) (valueSeq u t))
          (valueSeq u t) =
        valueSeq u t - 1 / 8 * (if fval u ≤ valueSeq u t then 1 else 0) ∧
      FirstPriceLearning.Stochastic.expReward (hobLaw (Measure.dirac 0) (Measure.dirac (1 / 8)) (fval u) (valueSeq u t))
          (valueSeq u t) (1 / 8 * (if fval u ≤ valueSeq u t then 1 else 0)) =
        FirstPriceLearning.Stochastic.oracle (hobLaw (Measure.dirac 0) (Measure.dirac (1 / 8)) (fval u) (valueSeq u t))
          (valueSeq u t) := by sorry

end FirstPriceLearning.NonIID
Source
Han, Zhou, Weissman, Optimal No-regret Learning in Repeated First-price Auctions, arXiv:2003.09795v7, p. 34, proof of Theorem 8 (choice of P, Q and the oracle performance)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

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