Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§5.3, p. 8 — trajectory reward equals the value functional

Proved
DouyinDQ.Bias.path_value

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1total-rewardtrajectory-law

For a stationary policy π\piπ of the finite MDP, assume a closed zero-reward absorbing class and a finite expected time outside it from every state. The series of expected rewards calculated directly from the finite state-action path law sums to the total-reward value functional:

∑t=0∞Eπ[rt]=E~πrπ.\sum_{t=0}^{\infty}\mathbb E_\pi[r_t]=\widetilde E_\pi r_\pi.t=0∑∞​Eπ​[rt​]=Eπ​rπ​.

The assertion includes convergence of the path-reward series. It connects the target estimand JπJ_\piJπ​ to the value-functional expansion used in Section 5.3.

Formalization Note The convergence is expressed by HasSum; a divergent real tsum would otherwise default to zero in Lean.

Preamble
import Definitions.Def_DouyinDQ_Bias_Model
Formal statement
namespace DouyinDQ.Bias

/-- Section 5.3, p. 8: the trajectory total reward is the value functional. -/
theorem path_value {S A : Type} [Fintype S] [DecidableEq S]
    [Fintype A] [DecidableEq A]
    (M : MDP S A) (hM : M.Standing)
    (Sabs : Set S) [DecidablePred (· ∈ Sabs)] (T : ℝ)
    (π : S → A → ℝ) (hπ : IsPolicy π)
    (habs : IsAbsorbingFor M Sabs π) (ht : AbsTimeLT M Sabs π T) :
    HasSum (fun t : ℕ => pathExp M π t
      (fun ω => M.r (ω (Fin.last t)).1 (ω (Fin.last t)).2))
      (Etilde M π (rpol M π)) := 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. 8, §5.3, first paragraph
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