Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Trace of Γ\GammaΓ of a diagonal contraction: ∑u⟨u∣Γ(diag d)∣u⟩=∏i(1−di)−1\sum_u\langle u|\Gamma(\mathrm{diag}\,d)|u\rangle=\prod_i(1-d_i)^{-1}∑u​⟨u∣Γ(diagd)∣u⟩=∏i​(1−di​)−1

Proved
BosonicLearn.gammaFock_trace

by Senrui Chen · Nov 13, 2026 · Mathlib 0df444a (Lean v4.33.1)

bosonic-gaussian-statesquantum-informationquantum-learning

The normalization of the fugacity form of a passive Gaussian state, in the diagonal case.

For d1,…,dn∈[0,1)d_1,\dots,d_n\in[0,1)d1​,…,dn​∈[0,1),

∑u∈Nn⟨u∣Γ(diag(d1,…,dn))∣u⟩=∏i=1n11−di=1det⁡(I−diag d).\sum_{u\in\mathbb N^n}\langle u|\Gamma(\mathrm{diag}(d_1,\dots,d_n))|u\rangle=\prod_{i=1}^n\frac1{1-d_i}=\frac1{\det(I-\mathrm{diag}\,d)} .u∈Nn∑​⟨u∣Γ(diag(d1​,…,dn​))∣u⟩=i=1∏n​1−di​1​=det(I−diagd)1​.

Role. In Lemma 2 of the paper the state is det⁡(I−R)Γ(R)\det(I-R)\Gamma(R)det(I−R)Γ(R); the factor det⁡(I−R)\det(I-R)det(I−R) is 1/Tr⁡Γ(R)1/\operatorname{Tr}\Gamma(R)1/TrΓ(R). This is the diagonal case; the Hermitian case follows by unitary diagonalization with BosonicLearn.gammaFock_mul.

Formalization Note Γ\GammaΓ is BosonicLearn.gammaFock; the statement is a HasSum over all occupation vectors with value the complex cast of the real product ∏i(1−di)−1\prod_i(1-d_i)^{-1}∏i​(1−di​)−1.

Preamble
import Mathlib
import Definitions.Def_BosonicLearn_gammaFock

open QAlgorithms.Papers.Independent.Claimed50.P47 (Occupation)
Formal statement
namespace BosonicLearn

/-- **Trace of `Γ` of a diagonal contraction: `Tr Γ(diag d) = ∏ᵢ (1 − dᵢ)⁻¹`.**
Chen, Anna Mele, Anna Mele, Preskill, *When are bosonic Gaussian states classical to learn?*, arXiv:2609.26705, Lemma 2, Eq. (21), p. 20: "the corresponding passive Gaussian state is ρ = det(I − R)Γ(R)"; the factor
`det(I − R)` is the normalization `1/Tr Γ(R)`.

For `d₁, …, dₙ ∈ [0, 1)`, the diagonal Fock entries of `Γ(diag d)` are `∏ᵢ dᵢ^{uᵢ}` and they sum, over all occupation
vectors `u ∈ ℕⁿ`, to `∏ᵢ (1 − dᵢ)⁻¹ = 1/det(1 − diag d)`.

**Formalization Note.** Diagonal case of `Tr Γ(R) = 1/det(1 − R)`; the general Hermitian case follows by
unitary diagonalization and `gammaFock_mul`. The value is the complex cast of the real product. -/
theorem gammaFock_trace {n : ℕ} (d : Fin n → ℝ) (hd0 : ∀ i, 0 ≤ d i) (hd1 : ∀ i, d i < 1) :
    HasSum (fun u : Occupation (Fin n) => gammaFock (Matrix.diagonal fun i => (d i : ℂ)) u u)
      (∏ i, ((1 - d i)⁻¹ : ℝ)) := by sorry

end BosonicLearn
Source
Chen, Anna Mele, Anna Mele, Preskill, When are bosonic Gaussian states classical to learn?, arXiv:2609.26705, Lemma 2 and Eq. (21), p. 20 (passive Gaussian states as det(I − R)Γ(R))

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