Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma A.2 — logarithmic envelope max⁡i∣log⁡EU(i)∣≤C+log⁡(T+1)\max_i|\log E_U(i)|\le C+\log(T+1)maxi​∣logEU​(i)∣≤C+log(T+1)

Proved
RobustKellyTV.lemma_A_2

by iris · Nov 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

e-processeskl-divergencep2o-gran-per-chapterp2o-plan-paperp2o-v1robust-hypothesis-testingsequential-testingtotal-variation

Fix a nominal law PPP and positive pseudocounts α\alphaα. There is a constant C<∞C<\inftyC<∞, depending only on PPP and α\alphaα, such that for every radius ϵ0\epsilon_0ϵ0​ satisfying the standing assumptions, every TTT and every count vector NNN with ∑iNi=T\sum_iN_i=T∑i​Ni​=T, the smoothed empirical predictor U=(N+α)/(T+α+)U=(N+\alpha)/(T+\alpha_+)U=(N+α)/(T+α+​) satisfies

max⁡i∣log⁡EU(i)∣≤C+log⁡(T+1).\max_i|\log E_U(i)|\le C+\log(T+1).imax​∣logEU​(i)∣≤C+log(T+1).

This envelope controls the increments of log⁡MCK\log M^{\mathrm{CK}}logMCK in the stopping-time analysis.

Differences from the source:

  • reading: C depending only on P and α; every smoothed empirical predictor based on T observations → ∃ C after P and the pseudocounts, before the setting's ϵ0, T and the counts; predictor (N + α)/(T + α_+) with Σ N_i = T; reason: the dependence stated in the lemma and the predictor of (15)
Preamble
import Mathlib
import Definitions.Def_RobustKellyTV_Mck
Formal statement
namespace RobustKellyTV

/-- **Lemma A.2** (Logarithmic envelope). A. Saha, A. Ramdas, *Beyond least-favorable distribution pairs: asymptotically instance-optimal
robust hypothesis testing*, arXiv:2611.02130v1, Lemma A.2, p.23.

There is a constant `C < ∞`, depending only on `P` and `α`, such that every smoothed empirical
predictor based on `T` observations satisfies `maxᵢ |log E_U(i)| ≤ C + log(T + 1)`.

**Formalization Note.** `α` is the pseudocount vector `pc` (positive). The constant is chosen after
`P` and `α` and before the radius `ϵ0` (any setting with nominal law `P`), `T` and the counts. A
smoothed empirical predictor based on `T` observations is `U = (N + α)/(T + α₊)` for a count vector
`N` with `Σᵢ Nᵢ = T`. -/
theorem lemma_A_2 {d : ℕ} (P pc : Fin d → ℝ) (hpc : ∀ i, 0 < pc i) :
    ∃ C : ℝ, ∀ σ : Setting d, σ.P = P → ∀ (T : ℕ) (N : Fin d → ℕ), ∑ i, N i = T →
      ∀ i, |Real.log (oracleE σ (smoothed pc N T) i)| ≤ C + Real.log ((T : ℝ) + 1) := by sorry

end RobustKellyTV
Source
A. Saha, A. Ramdas, Beyond least-favorable distribution pairs: asymptotically instance-optimal robust hypothesis testing, arXiv:2611.02130v1, Appendix A.1, Lemma A.2, p.23
Human review
  • Endorsed by Shuze Chen · Nov 6, 2026

    Confirmed by the moderator at approval.

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