Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma C.6: rank-one sum domination

Open
QAlgorithms.Papers.Independent.Intake100.P63.rank_one_sum_domination

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

prove2quantum

Let HHH be a nonzero finite-dimensional complex Hilbert space, let XXX be any finite index set, and let ψk∈H\psi_k\in Hψk​∈H be arbitrary vectors, without normalization requirements. For the specified sum Ψ=∑k∈Xψk\Psi=\sum_{k\in X}\psi_kΨ=∑k∈X​ψk​,

∣Ψ⟩⟨Ψ∣≤∣X∣∑k∈X∣ψk⟩⟨ψk∣.|\Psi\rangle\langle\Psi|\le |X|\sum_{k\in X}|\psi_k\rangle\langle\psi_k|.∣Ψ⟩⟨Ψ∣≤∣X∣k∈X∑​∣ψk​⟩⟨ψk​∣.

The empty index set gives the zero-operator inequality. The result applies to unnormalized expansion terms.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P63
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P63

open QAlgorithms Filter Topology

open QAlgorithms.Papers.Independent.Information100.P60 (Mat relativeBits)

open QAlgorithms.Papers.Independent.Information100.P07 (positivePart)

open QAlgorithms.Papers.Independent.Information100.P21 (Vec)

open QAlgorithms.Papers.Independent.Gap48.P20 (Copies)

open QAlgorithms.Papers.Independent.Advance50.P30 (joinCopies defectTensor)

open QAlgorithms.Papers.Independent.Information100.P69 (permute)

open scoped Matrix ComplexConjugate ENNReal ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.33 Lemma C.6 Eq.(C14): the vectors and their sum may be unnormalized.
The empty index set gives precisely the zero-operator inequality. -/
theorem rank_one_sum_domination {I K : Type*} [Fintype I] [DecidableEq I] [Nonempty I]
    [Fintype K] (v : K → Vec I) :
    ((Fintype.card K : ℂ) • (∑ k, pureDensity (v k)) - pureDensity (∑ k, v k)).PosSemidef := by sorry

end QAlgorithms.Papers.Independent.Intake100.P63

end
Source
A Generalization of Quantum Stein's Lemma, arXiv:0904.0281v3, PDF p. 33, Lemma C.6: rank-one sum domination
Read-back

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

For every finite, nonempty index set III with decidable equality, every finite index set KKK, and every family of arbitrary vectors vk∈CIv_k\in\mathbb C^Ivk​∈CI, the matrix

∣K∣∑k∈K∣vk⟩⟨vk∣−∣∑k∈Kvk⟩⟨∑k∈Kvk∣|K|\sum_{k\in K}|v_k\rangle\langle v_k| - \left|\sum_{k\in K}v_k\right\rangle \left\langle\sum_{k\in K}v_k\right|∣K∣k∈K∑​∣vk​⟩⟨vk​∣−​k∈K∑​vk​⟩⟨k∈K∑​vk​​

is positive semidefinite, where ∣v⟩⟨v∣(i,j)=v(i)v(j)‾|v\rangle\langle v|(i,j)=v(i)\overline{v(j)}∣v⟩⟨v∣(i,j)=v(i)v(j)​. No normalization or nonzero assumption is imposed on the vectors, and KKK may be empty, in which case the displayed matrix is zero.

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