Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation (10.5), p. 176 — uniform-simplex monomial integral

Proved
ModernOnlineLearning.Portfolio.eq_10_5

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

online-learningp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1portfolio-selectionsimplex-integral

Let d≥2d\ge2d≥2, T≥1T\ge1T≥1, and let j=(j1,…,jT)j=(j_1,\ldots,j_T)j=(j1​,…,jT​) be a sequence of stock indices. Under the uniform prior FdF_dFd​ on the simplex, its monomial moment is

∫Δd−1∏t=1Txjt Fd(dx)=1(T+d−1d−1) ∣TT(n(j))∣,\int_{\Delta^{d-1}}\prod_{t=1}^{T}x_{j_t}\,F_d(dx)=\frac{1}{\binom{T+d-1}{d-1}\,|\mathcal T_T(n(j))|},∫Δd−1​t=1∏T​xjt​​Fd​(dx)=(d−1T+d−1​)∣TT​(n(j))∣1​,

where n(j)n(j)n(j) is the type of jjj and TT(n(j))\mathcal T_T(n(j))TT​(n(j)) is its type class. This identity supplies the denominator in the uniform-prior regret estimate.

Formalization Note The uniform prior is the chart-based measure in the shared definition. The type class is finite and nonempty because it contains jjj.

Preamble
import Mathlib
import Definitions.Def_ModernOnlineLearning_Portfolio_Setting
set_option autoImplicit false
Formal statement
namespace ModernOnlineLearning.Portfolio

/-- Identity (10.5), p. 176, the uniform-simplex monomial integral. -/
theorem eq_10_5 {d T : ℕ} (hd : 2 ≤ d) (hT : 1 ≤ T)
    (j : Fin T → Fin d) :
    (∫ p, sequenceMonomial j p ∂uniformPrior d) =
      1 / (((T + d - 1).choose (d - 1) : ℕ) : ℝ) /
        ((typeClass (d := d) (T := T) (sequenceType j)).card : ℝ) := by sorry

end ModernOnlineLearning.Portfolio
Source
Orabona, arXiv:1912.13213v10, equation (10.5), proof of Theorem 10.1, p. 176
Human review
  • Endorsed by Shuze Chen · Oct 9, 2026

    Confirmed by the moderator at approval.

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