Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix C.3, Eqs. (42)–(43) — Real-User Cross-Learned Reward Concentration at a Single Step

Open
FakeUserRanking.FORC.real_rHat_step_concentration

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

banditscombinatoricsprobabilityranking

Real-User Cross-Learned Reward Concentration (Appendix C.3, Eqs. 42–43, pp. 55–56). For all n≥1n \ge 1n≥1, T≥2T \ge 2T≥2, F≥0F \ge 0F≥0, every instance with strictly decreasing click probabilities μ1>⋯>μn\mu_1 > \dots > \mu_nμ1​>⋯>μn​, every policy P\mathbf PP within fakeness budget FFF, every resolution of FORC's tie-breaking and fallback rules, and every round s∈[T]s \in [T]s∈[T], qualifying level kkk (F≤2k+1F \le 2^{k+1}F≤2k+1), and product i∈[n]i \in [n]i∈[n], let η^r,i,s+1(k)\hat{\eta}^{(k)}_{r,i,s+1}η^​r,i,s+1(k)​ and C^r,i,s+1(k)\hat{C}^{(k)}_{r,i,s+1}C^r,i,s+1(k)​ denote the cross-learned feedback count and click count contributed by real users up to round sss. Then

P(η^r,i,s+1(k)>0  ∧  ∣C^r,i,s+1(k)η^r,i,s+1(k)−μi∣>32log⁡(4nT/δ)η^r,i,s+1(k))≤δ4TLn.\mathbb P\left(\hat{\eta}^{(k)}_{r,i,s+1} > 0 \;\wedge\; \left|\frac{\hat{C}^{(k)}_{r,i,s+1}}{\hat{\eta}^{(k)}_{r,i,s+1}} - \mu_i\right| > \sqrt{\frac{\frac{3}{2}\log(4nT/\delta)}{\hat{\eta}^{(k)}_{r,i,s+1}}}\right) \le \frac{\delta}{4 T L n}.P(η^​r,i,s+1(k)​>0∧​η^​r,i,s+1(k)​C^r,i,s+1(k)​​−μi​​>η^​r,i,s+1(k)​23​log(4nT/δ)​​)≤4TLnδ​.
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
/-- Real-user cross-learned reward concentration (Appendix C.3, Eqs. 42–43, pp. 55–56): at the end of
round `s`, for level `k` and product `i`, the probability that the real-user cross-learned feedback
count `etaHatR` is positive and the real-user cross-learned average reward `clkHatR / etaHatR`
deviates from `μ_i` by more than `√((3/2) log(4nT/δ) / etaHatR)` is at most `δ / (4 T L n)`. -/
theorem real_rHat_step_concentration (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))
    (s : Fin T) (k : Fin (numLevels T)) (hk : F ≤ 2 ^ ((k : ℕ) + 1)) (i : Fin n) :
    prob inst P (forc n T tb fb) T
      (fun τ =>
        let cntR (g : Fin (numLevels T)) : ℝ :=
          ∑ t : Fin T, if t ≤ s ∧ (τ t).1 = g ∧ (τ t).2.1 = none ∧
            (ranking (forc n T tb fb) τ t).symm i ≤ (τ t).2.2.1 then 1 else 0
        let clkR (g : Fin (numLevels T)) : ℝ :=
          ∑ t : Fin T, if t ≤ s ∧ (τ t).1 = g ∧ (τ t).2.1 = none ∧
            (τ t).2.2.2 = true ∧ i = ranking (forc n T tb fb) τ t (τ t).2.2.1 then 1 else 0
        let etaHatR : ℝ :=
          (∑ g ∈ Finset.univ.filter (fun g : Fin (numLevels T) => g < k), cntR g) /
            2 ^ ((k : ℕ) + 1) + cntR k
        let clkHatR : ℝ :=
          (∑ g ∈ Finset.univ.filter (fun g : Fin (numLevels T) => g < k), clkR g) /
            2 ^ ((k : ℕ) + 1) + clkR k
        0 < etaHatR ∧
          Real.sqrt ((3 / 2) * Real.log (4 * (n : ℝ) * T / delta n T) / etaHatR) <
            |clkHatR / etaHatR - inst.μ i|) ≤
      delta n T / (4 * (T : ℝ) * (numLevels T : ℝ) * (n : ℝ)) := by sorry

end FakeUserRanking.FORC
Source
Golrezaei, Manshadi, Schneider, Sekar (2023), Learning Product Rankings Robust to Fake Users, Appendix C.3, Eqs. (42)-(43), pp. 55-56

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