Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1, p. 6 — DQ bias at most T_abs³ r_max δ²

Proved
DouyinDQ.Bias.theorem_1

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

ab-testingbias-bounddifferences-in-qsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

In the finite absorbing MDP of Section 3, let π0\pi_0π0​ always choose control, π1\pi_1π1​ always choose treatment, and π1/2\pi_{1/2}π1/2​ choose each with probability 1/21/21/2 at every step. The common zero-reward absorbing class has expected absorption time strictly below TabsT_{\rm abs}Tabs​ from every state under all three policies. Suppose the transition rows for the two actions satisfy DTV(P1(s,⋅),P0(s,⋅))≤δD_{\rm TV}(P_1(s,\cdot),P_0(s,\cdot))\le\deltaDTV​(P1​(s,⋅),P0​(s,⋅))≤δ for every state, and let rmax⁡=max⁡s,a∣r(s,a)∣r_{\max}=\max_{s,a}|r(s,a)|rmax​=maxs,a​∣r(s,a)∣. Then the expectations of the trajectory estimator (4), truncated at time HHH, converge to a number LLL and

∣ATE−L∣≤Tabs3rmax⁡δ2,ATE=Jπ1−Jπ0.|{\rm ATE}-L|\le T_{\rm abs}^{3}r_{\max}\delta^2, \qquad {\rm ATE}=J_{\pi_1}-J_{\pi_0}.∣ATE−L∣≤Tabs3​rmax​δ2,ATE=Jπ1​​−Jπ0​​.

This is the paper's second-order bound on the bias of the Differences-in-Qs estimator.

Formalization Note LLL is the limit of actual finite-trajectory estimator expectations, not an expansion defined in terms of QQQ functions. Rewards are conditional means. The absorbing class is read as closed with zero reward. The paper leaves DTVD_{\rm TV}DTV​ undefined; the bound uses the total-variation norm ∑s′∣P1(s,s′)−P0(s,s′)∣\sum_{s'}|P_1(s,s')-P_0(s,s')|∑s′​∣P1​(s,s′)−P0​(s,s′)∣. With the half-ℓ1\ell_1ℓ1​ convention, the printed constant fails, with ratios approaching 222.

Preamble
import Definitions.Def_DouyinDQ_Bias_Model
Formal statement
namespace DouyinDQ.Bias

/-- Theorem 1, p. 6: second-order bias of the trajectory Differences-in-Qs estimator. -/
theorem theorem_1 {S : Type} [Fintype S] [DecidableEq S]
    (M : MDP S (Fin 2)) (hM : M.Standing)
    (Sabs : Set S) [DecidablePred (· ∈ Sabs)] (Tabs δ : ℝ)
    (hA1 : Assumption1 M Sabs Tabs)
    (hδ : ∀ s, ∑ s', |M.P 1 s s' - M.P 0 s s'| ≤ δ) :
    ∃ L : ℝ,
      Filter.Tendsto (fun H => expDQTrunc M H) Filter.atTop (nhds L) ∧
      |ATE M - L| ≤ Tabs ^ 3 * rmax M * δ ^ 2 := by sorry

end DouyinDQ.Bias
Source
Farias, Li, Peng, Ren, Zhang, Zheng, Correcting for Interference in Experiments: A Case Study at Douyin, arXiv:2305.02542v1, p. 6, Theorem 1; pp. 3–5, §3 and Eq. (4)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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