Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix A and (19): classification of unitary-invariant Hermitian forms

Open
QAlgorithms.Papers.Independent.Advance50.P29.invariantHermitianForm

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

prove2quantum

Let HHH be a positive-dimensional finite complex Hilbert space, and let b:B(H)×B(H)→Cb:B(H)\times B(H)\to\mathbb Cb:B(H)×B(H)→C be a Hermitian sesquilinear form, conjugate-linear in its first argument and linear in its second. Assume b(UVU†,UWU†)=b(V,W)b(UVU^\dagger,UWU^\dagger)=b(V,W)b(UVU†,UWU†)=b(V,W) for every unitary UUU and all operators V,WV,WV,W. Positivity is not assumed. There exist α,β∈C\alpha,\beta\in\mathbb Cα,β∈C such that

b(V,W)=αtr⁡(V†W)+βtr⁡(V†)tr⁡Wfor all V,W.b(V,W)=\alpha\operatorname{tr}(V^\dagger W)+\beta\operatorname{tr}(V^\dagger)\operatorname{tr}W\quad\text{for all }V,W.b(V,W)=αtr(V†W)+βtr(V†)trWfor all V,W.

This classifies the invariant form used in the second-moment calculation. Dimension one is included and no uniqueness is asserted.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P29
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P29

open QAlgorithms MeasureTheory Filter

open QAlgorithms.Papers.Independent.Information100.P22
  (densityPurification coherentInformation singleUseInformation mixed)

open QAlgorithms.Papers.Independent.Information100.P27 (shannon)

open QAlgorithms.Papers.Independent.Dependency50.P48 (wordProbability)

open QAlgorithms.Papers.Independent.Bridge50.P43 (tensorDensity)

open scoped Matrix ComplexConjugate ComplexOrder Topology

attribute [local instance] Classical.propDecidable

variable {I J E L : Type} [Fintype I] [DecidableEq I]

variable [Fintype J] [DecidableEq J] [Fintype E] [DecidableEq E]

variable [Fintype L] [DecidableEq L]

/-- PDF pp.12,19–20, (19), Appendix A: classification of all invariant Hermitian forms.
Dimension one is included, with existence and no uniqueness claim for the coefficients. -/
theorem invariantHermitianForm [Nonempty I]
    (b : Matrix I I ℂ → Matrix I I ℂ → ℂ) (hb : HermitianForm b)
    (hinv : ∀ (U : Matrix.unitaryGroup I ℂ) V W,
      b ((U : Matrix I I ℂ) * V * (U : Matrix I I ℂ)ᴴ)
        ((U : Matrix I I ℂ) * W * (U : Matrix I I ℂ)ᴴ) = b V W) :
    ∃ alpha beta : ℂ, ∀ V W,
      b V W = alpha * (Vᴴ * W).trace + beta * (Vᴴ).trace * W.trace := by sorry

end QAlgorithms.Papers.Independent.Advance50.P29

end
Source
A random-coding based proof for the quantum coding theorem, arXiv:0712.2558v1, PDF p. 19, Appendix A and (19): classification of unitary-invariant Hermitian forms
Read-back

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

Let III be a nonempty finite type with decidable equality, and let bbb assign a complex number to every pair of complex matrices on III. Assume bbb is additive in each argument, satisfies b(aV,W)=a‾ b(V,W)b(aV,W)=\overline a\,b(V,W)b(aV,W)=ab(V,W) and b(V,aW)=a b(V,W)b(V,aW)=a\,b(V,W)b(V,aW)=ab(V,W) for every complex scalar aaa, and satisfies b(V,W)=b(W,V)‾b(V,W)=\overline{b(W,V)}b(V,W)=b(W,V)​. Assume also that, for every unitary matrix UUU on CI\mathbb C^ICI and every pair of matrices V,WV,WV,W, one has b(UVU†,UWU†)=b(V,W)b(UVU^\dagger,UWU^\dagger)=b(V,W)b(UVU†,UWU†)=b(V,W). Then there exist complex numbers α,β\alpha,\betaα,β such that, for every V,WV,WV,W,

b(V,W)=α tr⁡(V†W)+β tr⁡(V†)tr⁡(W).b(V,W)=\alpha\,\operatorname{tr}(V^\dagger W) +\beta\,\operatorname{tr}(V^\dagger)\operatorname{tr}(W).b(V,W)=αtr(V†W)+βtr(V†)tr(W).

No positivity assumption on the form is included, and the conclusion asserts existence of the coefficients without uniqueness, including when ∣I∣=1|I|=1∣I∣=1.

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