Theorem 4.2
OpenQAlgorithms.Papers.Independent.Extend50.P34.paninski_chi_squared_boundFor even , , and , let alternate probabilities and . Then
The divergence is directed from the perturbed law to the uniform law. It vanishes for or and yields the mixedness testing lower bound.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P34
noncomputable section
open scoped Matrix BigOperators
open MeasureTheory
namespace QAlgorithms.Papers.Independent.Extend50.P34
attribute [local instance] Classical.propDecidable
-- Reuse exact pinned definitions; these are imports, not local declarations.
open QAlgorithms.Papers.Independent.Support50.P38 (tv wordMass)
open QAlgorithms.Papers.Independent.Advance50.P28 (counts)
/-- Theorem 4.2, arXiv:1501.05028v1, PDF p.34. Even dimension and perturbation nonnegativity are section assumptions. Direction of chi-squared is retained. -/
theorem paninski_chi_squared_bound
(d n : ℕ) (hd : 0 < d) (heven : Even d)
(epsilon : ℝ) (he : 0 ≤ epsilon) (he1 : epsilon ≤ 1/2) :
chiSq (swSpectrum (n := n) (paninski d epsilon)) (swSpectrum (n := n) (unif d)) ≤
Real.exp ((4*n*epsilon^2/d)^2) - 1 := by sorry
end QAlgorithms.Papers.Independent.Extend50.P34
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For all natural numbers with and even, and every real , define for even and for odd , for , and let . For each Young diagram with cells and at most rows, number its cells by the fixed bijection with , let preserve rows and columns, set , and let project orthogonally onto its range. With , , , and , define and . Then
In particular, a zero denominator contributes , regardless of the corresponding numerator. The hypotheses imply ; they permit and both endpoints .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.