Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 5 (Tightened Constant): Event G2 Holds with Probability at Least 1 - delta/4

Proved
FakeUserRanking.FORC.prob_goodG2_quarter

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

Tightened Exposure Bound for Event G2\mathcal G_2G2​ (Lemma 5). For all n≥1n \ge 1n≥1, T≥2T \ge 2T≥2, F≥0F \ge 0F≥0, every instance with click probabilities μ1>⋯>μn\mu_1 > \dots > \mu_nμ1​>⋯>μn​ in [0,1][0,1][0,1], every adaptive policy P\mathbf PP within fakeness budget FFF, and every resolution of FORC's tie-breaking and fallback rules, the event G2\mathcal G_2G2​ (that every level ℓ≥⌈log⁡2F⌉\ell \ge \lceil \log_2 F \rceilℓ≥⌈log2​F⌉ is exposed to at most log⁡(2L/δ)+3\log(2L/\delta) + 3log(2L/δ)+3 fake users) satisfies

P(G2)≥1−δ(n,T)4.\mathbb P(\mathcal G_2) \ge 1 - \frac{\delta(n, T)}{4}.P(G2​)≥1−4δ(n,T)​.

This follows from the exponential supermartingale tail bound P(exposurek>a)≤exp⁡(e−1−a)\mathbb P(\mathrm{exposure}_k > a) \le \exp(e - 1 - a)P(exposurek​>a)≤exp(e−1−a) at a=log⁡(2L/δ)+3a = \log(2L/\delta) + 3a=log(2L/δ)+3, using e−4<−1<−log⁡2e - 4 < -1 < -\log 2e−4<−1<−log2 so that exp⁡(e−4−log⁡(2L/δ))≤δ/(4L)\exp(e - 4 - \log(2L/\delta)) \le \delta/(4L)exp(e−4−log(2L/δ))≤δ/(4L), and summing over the LLL levels.

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

/-- Tightened Lemma 5: since `e - 4 < -log 2`, the exposure bound `G₂` holds with probability at
least `1 − δ/4`. -/
theorem prob_goodG2_quarter (n T F : ℕ) (hn : 1 ≤ n) (hT : 2 ≤ T)
    (inst : Instance n) (hμ : StrictAnti inst.μ)
    (P : Adversary n) (hP : WithinBudget F P)
    (tb : List (Fin (numLevels T) × Obs n) → Fin (numLevels T) → Finset (Fin n) → Fin n)
    (htb : ∀ h k S, S.Nonempty → tb h k S ∈ S)
    (fb : List (Fin (numLevels T) × Obs n) → Fin (numLevels T) → Equiv.Perm (Fin n)) :
    1 - delta n T / 4 ≤ prob inst P (forc n T tb fb) T (goodG2 F) := by sorry

end FakeUserRanking.FORC
Source
Golrezaei, Manshadi, Schneider, Sekar, Learning Product Rankings Robust to Fake Users, arXiv:2009.05138v1, Lemma 5, p. 29 and Appendix C.2, pp. 51-53

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