Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Mean photon number of det⁡(I−R)Γ(R)\det(I-R)\Gamma(R)det(I−R)Γ(R) is Tr[R(I−R)−1]\mathrm{Tr}[R(I-R)^{-1}]Tr[R(I−R)−1]

Proved
BosonicLearn.fugacity_photon_number

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

bosonic-gaussian-statesquantum-informationquantum-learning

The mean photon number of the passive Gaussian state with fugacity matrix RRR.

Let RRR be a positive semidefinite n×nn\times nn×n complex matrix such that 1−R1-R1−R is positive definite, and ρR=det⁡(1−R)Γ(R)\rho_R=\det(1-R)\Gamma(R)ρR​=det(1−R)Γ(R). Then

∑u∈Nn∣u∣ ⟨u∣ρR∣u⟩=Tr⁡[R(1−R)−1],∣u∣=∑iui.\sum_{u\in\mathbb N^n}|u|\,\langle u|\rho_R|u\rangle=\operatorname{Tr}\big[R(1-R)^{-1}\big],\qquad |u|=\textstyle\sum_iu_i .u∈Nn∑​∣u∣⟨u∣ρR​∣u⟩=Tr[R(1−R)−1],∣u∣=∑i​ui​.

Role. This is clause 4 of Lemma 2 of the paper ("the mean total photon number of ρ\rhoρ is Tr⁡(ρn^)=Tr⁡[R(I−R)−1]\operatorname{Tr}(\rho\hat n)=\operatorname{Tr}[R(I-R)^{-1}]Tr(ρn^)=Tr[R(I−R)−1]"), and it gives the finite-energy clause of IsGaussianState for these states.

Formalization Note Stated exactly as clause 4 of BosonicLearn.lemma_2: the series is taken in [0,∞][0,\infty][0,∞] (ENNReal.ofReal of ∣u∣|u|∣u∣ times ENNReal.ofReal of the real part of the diagonal entry), and the right-hand side is ENNReal.ofReal of the real part of the trace.

Preamble
import Mathlib
import Definitions.Def_BosonicLearn_fugacityCoeff

open QAlgorithms.Papers.Independent.Claimed50.P47 (Occupation)
open scoped ENNReal Matrix ComplexOrder
Formal statement
namespace BosonicLearn

/-- **Mean photon number of `det(I − R)Γ(R)`.**
Chen, Anna Mele, Anna Mele, Preskill, *When are bosonic Gaussian states classical to learn?*, arXiv:2609.26705, Lemma 2, p. 20: "Moreover, the mean total photon number of ρ is Tr(ρn̂) = Tr[R(I − R)^{−1}]."

If `R` is positive semidefinite and `1 − R` is positive definite, then
`∑ᵤ |u| ⟨u|det(1 − R)Γ(R)|u⟩ = Tr[R(1 − R)⁻¹]`.

**Formalization Note.** Clause 4 of `lemma_2`, with the same form: the series is taken in `ℝ≥0∞`, and the real part
of the (real) trace on the right. -/
theorem fugacity_photon_number {n : ℕ} (R : Matrix (Fin n) (Fin n) ℂ) (hR : R.PosSemidef)
    (hR1 : (1 - R).PosDef) :
    ∑' u : Occupation (Fin n), ENNReal.ofReal (∑ i, (u i : ℝ)) * ENNReal.ofReal (fugacityCoeff R u u).re =
      ENNReal.ofReal (R * (1 - R)⁻¹).trace.re := 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)); "the mean total photon number of ρ is Tr(ρn̂) = Tr[R(I − R)^{−1}]"

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