§4, (7) — total variation and the two head-deleted branches
ProvedIdentityTesting39.ExactRadius.eq_7_tv_branchesconvex-optimizationidentity-testingp2o-batch-stoc27ap2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1probabilitystatistics
Let be probability vectors on a finite domain and omit any label . Then
Every vector at distance at least has a deterministic tuple feasible in at least one closed head-deleted branch. If the distance strictly exceeds , at least one of these tail sums strictly exceeds it as well. The omitted label need not be largest. This identity justifies using both branches to cover every strict alternative.
Differences from the source:
- encoding: a finite domain with k labels → an arbitrary finite label type ι, with k its cardinality; reason: finite relabeling changes no instance and permits the reservoir quotient
- encoding: p lies in a branch → the deterministic tuple is explicitly formed from p and its unused head slots set to zero; reason: this spells out the witness rather than quantifying an unrelated tuple
- generalization: the head-deleted identity with a largest reference atom and positive testing radius → any omitted label and branch coverage for every real threshold; reason: the omitted coordinate contributes only one sign, so the maximum of the two tail sums equals full TV; choosing the source head and radius recovers every source instance
Preamble
import Definitions.Def_IdentityTesting39_ExactRadius_MomentPrograms open scoped BigOperators
Formal statement
namespace IdentityTesting39.ExactRadius
/-- §4, (7), printed p.5 / PDF p.6, for any omitted label. -/
theorem eq_7_tv_branches {ι : Type} [Fintype ι] [DecidableEq ι]
(p q : ι → ℝ) (i₀ : ι) (hp : ProbabilityVector p) (hq : ProbabilityVector q) :
FoundationsRL.GeneralDM.totalVariationDiscrete p q = max (∑ i ∈ Finset.univ.erase i₀, max (q i-p i) 0)
(∑ i ∈ Finset.univ.erase i₀, max (p i-q i) 0) ∧
(∀ ε : ℝ, ε ≤ FoundationsRL.GeneralDM.totalVariationDiscrete p q →
deterministicTuple q p (.excess i₀) ∈ feasibleMoments q ε (.excess i₀) ∨
deterministicTuple q p (.deficit i₀) ∈ feasibleMoments q ε (.deficit i₀)) ∧
(∀ ε : ℝ, ε < FoundationsRL.GeneralDM.totalVariationDiscrete p q →
(ε < ∑ i ∈ Finset.univ.erase i₀, max (p i-q i) 0) ∨
(ε < ∑ i ∈ Finset.univ.erase i₀, max (q i-p i) 0)) := by sorry
end IdentityTesting39.ExactRadius
Source
Zhijie Zheng, An Exact-Radius Convex Characterization of Discrete Identity Testing, STOC 2027 submission #39 (October 2026), p.5, §4, display (7); https://github.com/sigact-stoc/stoc2027/releases/download/papers-1/39.pdf
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.