Corollary 4.5
OpenQAlgorithms.Papers.Independent.Extend50.P34.perturbation_chi_squared_identityLet , , and satisfy and . Put . Then
Equality at is allowed, giving rank-deficient inputs. This expresses the statistical divergence using Schur polynomials.
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)
/-- Corollary 4.5, arXiv:1501.05028v1, PDF p.35. Unlike Theorem 4.4, x_i≥-1 is required so Q_x is a probability distribution. -/
theorem perturbation_chi_squared_identity
(d n : ℕ) (hd : 0 < d) (x : Fin d → ℝ)
(hx : ∑ i, x i = 0) (hnonneg : ∀ i, -1 ≤ x i) :
chiSq (swSpectrum (n := n) (perturbed x)) (swSpectrum (n := n) (unif d)) =
∑ k ∈ Finset.Icc 1 n, ∑ mu ∈ diagrams d k,
schurAt mu x ^ 2 / (contentProduct d mu * (d : ℝ)^k) * falling n k := 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 every positive integer , every natural number , and every with and for every , put and . The identity below uses the following explicit diagram weights. For each diagram of size and height at most , use its chosen cell numbering to define the row-preserving and column-preserving permutation sets . Let , , its orthogonal projection, and . Define , , , and . For a real vector , let be diagonal on words , with diagonal entry , and set . For a diagram , define if its height exceeds ; otherwise , summing over fillings weakly increasing along rows and strictly increasing down columns with entries in . With and the descending factorial, the assertion is
Thus a zero reference weight contributes zero by definition. Coordinates are permitted, as is , when the right-hand sum is empty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.