Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 10: Upper Bounding Loss under Good Event GGG

Disproved
FakeUserRanking.FORC.lemma_10

by kmehltretter82 · Oct 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

Under the good event GGG, the expected regret contribution of real users examining suboptimal products, combined with the fake-user term FFF and the failure-event bound 1/n21/n^21/n2, is bounded by C(n2F+log⁡T)∑j<ilog⁡(nT)Δj,iC (n^2 F + \log T) \sum_{j < i} \frac{\log(nT)}{\Delta_{j,i}}C(n2F+logT)∑j<i​Δj,i​log(nT)​ for an absolute constant C>0C > 0C>0 (Lemma 10, p. 30).

Preamble
import Mathlib
import Definitions.Def_FakeUserRanking_FORC_Model
import Definitions.Def_FakeUserRanking_FORC_Algorithm
import Definitions.Def_FakeUserRanking_FORC_GoodEvent
Formal statement
namespace FakeUserRanking.FORC

open Classical in
theorem lemma_10 :
    ∃ C : ℝ, ∀ (n T F : ℕ), 1 ≤ n → 2 ≤ T →
      ∀ (inst : Instance n), StrictAnti inst.μ →
      ∀ (P : Adversary n), WithinBudget F P →
      ∀ (tb : List (Fin (numLevels T) × Obs n) → Fin (numLevels T) → Finset (Fin n) → Fin n),
        (∀ h k S, S.Nonempty → tb h k S ∈ S) →
      ∀ (fb : List (Fin (numLevels T) × Obs n) → Fin (numLevels T) → Equiv.Perm (Fin n)),
        (F : ℝ) + 1 / (n : ℝ) ^ 2 +
          expect inst P (forc n T tb fb) T
            (fun τ => (if goodEvent inst F tb fb τ then 1 else 0) *
              ∑ j : Fin n, ∑ i ∈ Finset.Ioi j, gap inst j i *
                ∑ t : Fin T, (if feedbackEvent (forc n T tb fb) τ t j i then 1 else 0)) ≤
          C * (((n : ℝ) ^ 2 * F + Real.log T) *
            ∑ j : Fin n, ∑ i ∈ Finset.Ioi j, Real.log ((n : ℝ) * T) / gap inst j i) := by sorry

end FakeUserRanking.FORC
Source
Golrezaei, Manshadi, Schneider & Sekar, Learning Product Rankings Robust to Fake Users, Lemma 10, pp. 30–31

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