§4.3.3 Eq. (4.6) — the clipping identity
ProvedMarkovIdentityTest.Reversible.eq_4_6identity-testingmarkov-chainp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1
For weights , vectors on coordinates and a count vector with total , let be the capped weights, and . Then
The identity compares the statistic centred at the reference row with test weights to the statistic centred at the true row with capped weights; the second term is the row signal and the third the linear count error.
Differences from the source:
- generalization: one row: p, q probability vectors and w_j = 1/(p_j + τ) → arbitrary real vectors w, p, q; reason: the identity is pure algebra and specializes to the printed one
Preamble
import Mathlib import Definitions.Def_MarkovIdentityTest_Reversible_RowStatistics set_option autoImplicit false
Formal statement
namespace MarkovIdentityTest.Reversible
/-- §4.3.3, Eq. (4.6) (Jia, p. 21 / PDF 23): the clipping identity, for arbitrary real vectors
`w, p, q` and a count vector `c` with total `k`. -/
theorem eq_4_6 (d : ℕ) (w p q : Fin d → ℝ) (c : Fin d → ℕ) :
pairStat w p c =
pairStat (cappedWeight w q) q c
+ (∑ j, (c j : ℝ)) * ((∑ j, (c j : ℝ)) - 1) * rowSignal w p q
+ 2 * ((∑ j, (c j : ℝ)) - 1) *
∑ j, clipCoeff w p q j * ((c j : ℝ) - (∑ z, (c z : ℝ)) * q j)
+ ∑ j, (w j - cappedWeight w q j) * (c j : ℝ) * ((c j : ℝ) - 1) := by sorry
end MarkovIdentityTest.Reversible
Source
Jianhao Jia, Identity Testing of Markov Chains from a Single Trajectory, STOC 2027 submission (manuscript sha256 cf0995fc…), p. 21, §4.3.3, Eq. (4.6)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.