Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 8, p. 34 — sign(vt−v⋆)=−sign(ut)\mathrm{sign}(v_t-v^\star)=-\mathrm{sign}(u_t)sign(vt​−v⋆)=−sign(ut​)

Proved
FirstPriceLearning.NonIID.sign_identity

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

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

Let u∈{±1}Tu\in\{\pm1\}^Tu∈{±1}T, let v⋆=f(u)=12+14∑s=1Tus/2sv^\star=f(u)=\frac12+\frac14\sum_{s=1}^T u_s/2^sv⋆=f(u)=21​+41​∑s=1T​us​/2s, and let 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. Then for every round t∈[T]t\in[T]t∈[T],

sign⁡(vt−v⋆)=sign⁡ ⁣(12+14∑s=1t−1us2s−(12+14∑s=1Tus2s))=−sign⁡(ut).\operatorname{sign}(v_t-v^\star)=\operatorname{sign}\!\left(\frac12+\frac14\sum_{s=1}^{t-1}\frac{u_s}{2^s}-\Big(\frac12+\frac14\sum_{s=1}^{T}\frac{u_s}{2^s}\Big)\right)=-\operatorname{sign}(u_t).sign(vt​−v⋆)=sign(21​+41​s=1∑t−1​2sus​​−(21​+41​s=1∑T​2sus​​))=−sign(ut​).

In particular vt≠v⋆v_t\neq v^\starvt​=v⋆, and vt≥v⋆v_t\ge v^\starvt​≥v⋆ exactly when ut=−1u_t=-1ut​=−1. With mt≡0m_t\equiv0mt​≡0 under PPP and mt≡1/8m_t\equiv1/8mt​≡1/8 under QQQ, this gives mt=181(ut=−1)m_t=\frac18\mathbb 1(u_t=-1)mt​=81​1(ut​=−1): the HOB at round ttt is decided by a sign the bidder has not seen.

Formalization Note sign⁡\operatorname{sign}sign is Mathlib's SignType.sign. The sum ∑s=1t−1\sum_{s=1}^{t-1}∑s=1t−1​ ranges over the Lean rounds s<ts<ts<t.

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

/-- Proof of Theorem 8, arXiv:2003.09795v7, p. 34 (the `sign` display): for `u ∈ {±1}^T`,
`v⋆ = f(u)` and the values `v_1 = 1/2`, `v_{t+1} = v_t + u_t / 2^{t+2}`,
`sign(v_t − v⋆) = sign(1/2 + (1/4)∑_{s<t} u_s/2^s − (1/2 + (1/4)∑_{s≤T} u_s/2^s)) = −sign(u_t)`. -/
theorem sign_identity (T : ℕ) (u : Fin T → ℝ) (hu : ∀ s, u s = 1 ∨ u s = -1) (t : Fin T) :
    SignType.sign (valueSeq u t - fval u) =
        SignType.sign ((1 / 2 + 1 / 4 * ∑ s ∈ Finset.univ.filter (fun s : Fin T => s < t),
            u s / 2 ^ (s.val + 1)) -
          (1 / 2 + 1 / 4 * ∑ s : Fin T, u s / 2 ^ (s.val + 1))) ∧
      SignType.sign ((1 / 2 + 1 / 4 * ∑ s ∈ Finset.univ.filter (fun s : Fin T => s < t),
            u s / 2 ^ (s.val + 1)) -
          (1 / 2 + 1 / 4 * ∑ s : Fin T, u s / 2 ^ (s.val + 1))) = -SignType.sign (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, definition of (v_t) and the sign display
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