Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Real Gaussian chi-square kernel

Open
QAlgorithms.Papers.Independent.Intake100.P74.real_gaussian_chiSquare_kernel

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let s≥0s\ge0s≥0 and let X′X'X′ have an arbitrary probability density on R\mathbb RR, with no moment assumption. Let GGG be an independent standard normal, Y′=sX′+GY'=\sqrt{s}X'+GY′=s​X′+G, and Y∼N(0,1+s)Y\sim\mathcal N(0,1+s)Y∼N(0,1+s). For independent copies U,VU,VU,V with the law of X′X'X′, define

Ks(u,v)=1+s1+2sexp⁡ ⁣[−s2(1+2s)(s(u−v)2−2uv)].K_s(u,v)=\frac{1+s}{\sqrt{1+2s}}\exp\!\left[-\frac{s}{2(1+2s)}\bigl(s(u-v)^2-2uv\bigr)\right].Ks​(u,v)=1+2s​1+s​exp[−2(1+2s)s​(s(u−v)2−2uv)].

Then

1+χ2(PY′,PY)=E[Ks(U,V)].1+\chi^2(P_{Y'},P_Y)=\mathbb E[K_s(U,V)].1+χ2(PY′​,PY​)=E[Ks​(U,V)].

Here χ2(P,Q)=∫(dP/dQ)2 dQ−1\chi^2(P,Q)=\int (dP/dQ)^2\,dQ-1χ2(P,Q)=∫(dP/dQ)2dQ−1, and both sides may be infinite. At s=0s=0s=0 the kernel is one. The identity turns the Gaussian output divergence into an input-law integral.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P74
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P74

open MeasureTheory

open scoped BigOperators ENNReal

open QAlgorithms.Papers.Independent.Dependency50.P33 (IsDensity)

open QAlgorithms.Papers.Independent.Dependency50.P39 (coherentCoefficient thermalMatrix)

open QAlgorithms.Papers.Independent.Support50.P14 (photonEnergy)

open QAlgorithms.Papers.Independent.Next46.P32 (complexNormal spectralEntropyNats)

open QAlgorithms.Papers.Independent.Claimed50.P39 (thermalProbability g)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.7, Lemma 2, (16)--(18): arbitrary absolutely continuous probability
law, with no moment premise. s=0 is allowed; infinity is retained. -/
theorem real_gaussian_chiSquare_kernel
    (s : ℝ) (hs : 0 ≤ s) (mu : Measure ℝ) [IsProbabilityMeasure mu]
    (hDensity : mu ≪ volume) :
    1 + classicalChiSquare s mu =
      ∫⁻ t : ℝ × ℝ, ENNReal.ofReal (realKernel s t.1 t.2) ∂mu.prod mu := by sorry

end QAlgorithms.Papers.Independent.Intake100.P74

end
Source
Coherent-state constellations and polar codes for thermal Gaussian channels, arXiv:1603.05970v3, PDF p. 7, Appendix A, Lemma 2: real Gaussian chi-square kernel
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

For every real s≥0s\ge0s≥0 and every probability measure μ\muμ on R\mathbb RR that is absolutely continuous with respect to Lebesgue measure, define

φv(t)=e−t2/(2v)2πv,fs(y)=∫R−[φ1(y−s x)]+ dμ(x),Cs=∫R−fs(y)2[φ1+s(y)]+ dy.\varphi_v(t)=\frac{e^{-t^2/(2v)}}{\sqrt{2\pi v}},\qquad f_s(y)=\int_{\mathbb R}^{-}[\varphi_1(y-\sqrt{s}\,x)]_+\,d\mu(x),\qquad C_s=\int_{\mathbb R}^{-}\frac{f_s(y)^2}{[\varphi_{1+s}(y)]_+}\,dy.φv​(t)=2πv​e−t2/(2v)​,fs​(y)=∫R−​[φ1​(y−s​x)]+​dμ(x),Cs​=∫R−​[φ1+s​(y)]+​fs​(y)2​dy.

Here [r]+=ofReal⁡(r)[r]_+=\operatorname{ofReal}(r)[r]+​=ofReal(r), all displayed nonnegative integrals take values in [0,∞][0,\infty][0,∞], and \dotminus\dotminus\dotminus denotes truncated subtraction in that space. The assertion is

1+(Cs\dotminus1)=∫R2−[1+s1+2sexp⁡ ⁣(−s2(1+2s)(s(x−y)2−2xy))]+ d(μ⊗μ)(x,y).1+(C_s\dotminus1) = \int_{\mathbb R^2}^{-} \left[ \frac{1+s}{\sqrt{1+2s}} \exp\!\left( -\frac{s}{2(1+2s)} \bigl(s(x-y)^2-2xy\bigr) \right) \right]_+ \,d(\mu\otimes\mu)(x,y).1+(Cs​\dotminus1)=∫R2−​[1+2s​1+s​exp(−2(1+2s)s​(s(x−y)2−2xy))]+​d(μ⊗μ)(x,y).

Thus the quantity called classical chi-square is literally Cs\dotminus1C_s\dotminus1Cs​\dotminus1. No moment or finiteness assumption is imposed on μ\muμ beyond absolute continuity and total mass 111, so the equality allows infinite values and includes s=0s=0s=0.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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