Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Bipartite Gaussian-unitary normal form

Open
QAlgorithms.Papers.Independent.Advance50.P19.bipartite_orthogonal_normal_form

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

prove2quantum

Let n,k≥0n,k\ge0n,k≥0 and m=n+km=n+km=n+k. Let O∈SO(2n+2m)O\in SO(2n+2m)O∈SO(2n+2m) be the phase-space representation of a Gaussian unitary, grouped into 2n2n2n system and 2m2m2m environment directions. There exist orthogonal Q1,R1∈O(2n)Q_1,R_1\in O(2n)Q1​,R1​∈O(2n), Q2,R2∈O(2m)Q_2,R_2\in O(2m)Q2​,R2​∈O(2m), and a diagonal D∈R2n×2nD\in\mathbb R^{2n\times2n}D∈R2n×2n with entries in [0,1][0,1][0,1] such that

O=(Q1⊕Q2)(DI−D20−I−D2D000I2k)(R1⊕R2).O=(Q_1\oplus Q_2)\begin{pmatrix}D&\sqrt{I-D^2}&0\\-\sqrt{I-D^2}&D&0\\0&0&I_{2k}\end{pmatrix}(R_1\oplus R_2).O=(Q1​⊕Q2​)​D−I−D2​0​I−D2​D0​00I2k​​​(R1​⊕R2​).

The four local factors may contain reflections. This identifies the interacting environment directions and the 2k2k2k spectator directions.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P19
Formal statement
noncomputable section

open scoped BigOperators Matrix ComplexConjugate ComplexOrder

namespace QAlgorithms.Papers.Independent.Advance50.P19

open QAlgorithms.Papers.Independent.Information100.P67
  (IsIsometry receiverChannel complementaryChannel)

open QAlgorithms.Papers.Independent.Information100.P62 (tensorChannel)

open QAlgorithms.Papers.Independent.Information100.P80 (quantumCapacity)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.7, Lemma S2. SOURCE CORRECTION C2: D has 2n by 2n entries,
not the printed n by n. The four local factors are orthogonal; reflections
are permitted. The environment has n+k modes and the spectator block 2k. -/
theorem bipartite_orthogonal_normal_form (n k : ℕ)
    (O : Matrix (Major n ⊕ (Major n ⊕ Major k))
      (Major n ⊕ (Major n ⊕ Major k)) ℝ)
    (hO : IsPhaseOrthogonal O) (hdet : O.det = 1) :
    ∃ (Q1 R1 : Matrix (Major n) (Major n) ℝ)
      (Q2 R2 : Matrix (Major n ⊕ Major k) (Major n ⊕ Major k) ℝ)
      (d : Major n → ℝ),
      IsPhaseOrthogonal Q1 ∧ IsPhaseOrthogonal R1 ∧ IsPhaseOrthogonal Q2 ∧ IsPhaseOrthogonal R2 ∧
      (∀ i, 0 ≤ d i ∧ d i ≤ 1) ∧
      O = Matrix.fromBlocks Q1 0 0 Q2 *
        Matrix.fromBlocks (Matrix.diagonal d)
          (Matrix.fromCols (Matrix.diagonal (fun i => Real.sqrt (1 - d i ^ 2))) 0)
          (Matrix.fromRows (-Matrix.diagonal (fun i => Real.sqrt (1 - d i ^ 2))) 0)
          (Matrix.fromBlocks (Matrix.diagonal d) 0 0 1) *
        Matrix.fromBlocks R1 0 0 R2 := by sorry

end QAlgorithms.Papers.Independent.Advance50.P19

end
Source
Degradability of Fermionic Gaussian Channels, arXiv:1604.01954v2, PDF p. 7, Lemma S2
Read-back

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

For every n,k∈Nn,k\in\mathbb Nn,k∈N, including zero, put Mn={0,…,2n−1}M_n=\{0,\ldots,2n-1\}Mn​={0,…,2n−1} and Mk={0,…,2k−1}M_k=\{0,\ldots,2k-1\}Mk​={0,…,2k−1}. For every real matrix OOO indexed by Mn⊔(Mn⊔Mk)M_n\sqcup(M_n\sqcup M_k)Mn​⊔(Mn​⊔Mk​) satisfying OTO=OOT=IO^{\mathsf T}O=OO^{\mathsf T}=IOTO=OOT=I and det⁡O=1\det O=1detO=1, there exist real matrices Q1,R1Q_1,R_1Q1​,R1​ indexed by MnM_nMn​, real matrices Q2,R2Q_2,R_2Q2​,R2​ indexed by Mn⊔MkM_n\sqcup M_kMn​⊔Mk​, and numbers di∈[0,1]d_i\in[0,1]di​∈[0,1] for i∈Mni\in M_ni∈Mn​, such that each of these four matrices Q1,R1,Q2,R2Q_1,R_1,Q_2,R_2Q1​,R1​,Q2​,R2​ satisfies both orthogonality identities and, writing D=diag⁡(di)D=\operatorname{diag}(d_i)D=diag(di​) and S=diag⁡(1−di2)S=\operatorname{diag}(\sqrt{1-d_i^2})S=diag(1−di2​​),

O=(Q100Q2)(DS0−SD000I2k)(R100R2).O= \begin{pmatrix}Q_1&0\\0&Q_2\end{pmatrix} \begin{pmatrix} D&S&0\\ -S&D&0\\ 0&0&I_{2k} \end{pmatrix} \begin{pmatrix}R_1&0\\0&R_2\end{pmatrix}.O=(Q1​0​0Q2​​)​D−S0​SD0​00I2k​​​(R1​0​0R2​​).

The three blocks in the middle have sizes 2n,2n,2k2n,2n,2k2n,2n,2k. No determinant condition is imposed on the four factors, and blocks of size zero are included.

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

    Confirmed by the moderator at approval.

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