Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2 — complete symplectic conjugacy invariants

Open
QAlgorithms.Papers.Independent.Intake100.P39.complete_conjugacy_invariants

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

prove2quantum

Let V=R2nV=\mathbb R^{2n}V=R2n, with grouped symplectic form Ω(x,y)=∑i=1n(xiyn+i−xn+iyi)\Omega(x,y)=\sum_{i=1}^n(x_i y_{n+i}-x_{n+i}y_i)Ω(x,y)=∑i=1n​(xi​yn+i​−xn+i​yi​), and let AAA be a real linear map preserving Ω\OmegaΩ. This is a coordinate formulation in an arbitrary ambient symplectic basis. Write ACA_{\mathbb C}AC​ and ΩC\Omega_{\mathbb C}ΩC​ for their complex-linear and complex-bilinear extensions, Nλ=AC−λIN_\lambda=A_{\mathbb C}-\lambda INλ​=AC​−λI, and Eλ=⋃r≥1ker⁡NλrE_\lambda=\bigcup_{r\ge1}\ker N_\lambda^rEλ​=⋃r≥1​kerNλr​. Let [λ]={λ,λ−1,λˉ,λˉ−1}[\lambda]=\{\lambda,\lambda^{-1},\bar\lambda,\bar\lambda^{-1}\}[λ]={λ,λ−1,λˉ,λˉ−1}, with repetitions removed, and let V[λ]V_{[\lambda]}V[λ]​ be the real subspace whose complexification is ∑μ∈[λ]Eμ\sum_{\mu\in[\lambda]}E_\mu∑μ∈[λ]​Eμ​. A symplectic basis uses the matrix (0I−I0)\left(\begin{smallmatrix}0&I\\-I&0\end{smallmatrix}\right)(0−I​I0​). All transposes below are ordinary transposes.

For a∈{1,−1}a\in\{1,-1\}a∈{1,−1} and k≥1k\ge1k≥1, define the real symmetric kernel form on ker⁡(A−aI)2k\ker(A-aI)^{2k}ker(A−aI)2k by

Q2ka(v,w)=a Ω((A−aI)kv,(A−aI)k−1w).Q^a_{2k}(v,w)=a\,\Omega((A-aI)^k v,(A-aI)^{k-1}w).Q2ka​(v,w)=aΩ((A−aI)kv,(A−aI)k−1w).

Its positive and negative indices count positive and negative eigenvalues, excluding zeros; its rank is their sum and its signature is their difference. For ∣λ∣=1|\lambda|=1∣λ∣=1, λ≠±1\lambda\ne\pm1λ=±1, and m≥1m\ge1m≥1, define on ker⁡Nλm\ker N_\lambda^mkerNλm​ the form

Qmλ(v,w)={λ−1ΩC(Nλkv,Nλˉk−1wˉ),m=2k,i ΩC(Nλkv,Nλˉkwˉ),m=2k+1.Q^\lambda_m(v,w)=\begin{cases}\lambda^{-1}\Omega_{\mathbb C}(N_\lambda^k v,N_{\bar\lambda}^{k-1}\bar w),&m=2k,\\i\,\Omega_{\mathbb C}(N_\lambda^k v,N_{\bar\lambda}^{k}\bar w),&m=2k+1.\end{cases}Qmλ​(v,w)={λ−1ΩC​(Nλk​v,Nλˉk−1​wˉ),iΩC​(Nλk​v,Nλˉk​wˉ),​m=2k,m=2k+1.​

It is linear in its first argument and conjugate-linear in its second. Positive and negative indices are complex dimensions of maximal definite complex subspaces; rank is their sum and signature their difference. For two symplectic maps A,BA,BA,B on the same VVV, the following equivalence holds:

A and B are symplectically conjugate⟺their spectral, kernel, rank, and signature data agree.A\text{ and }B\text{ are symplectically conjugate}\quad\Longleftrightarrow\quad\text{their spectral, kernel, rank, and signature data agree}.A and B are symplectically conjugate⟺their spectral, kernel, rank, and signature data agree.

The data consist of the same eigenvalues, all dim⁡Cker⁡Nλr\dim_{\mathbb C}\ker N_\lambda^rdimC​kerNλr​ for r≥1r\ge1r≥1, all ranks and signatures of Q2k±1Q^{\pm1}_{2k}Q2k±1​ for k≥1k\ge1k≥1, and all ranks and signatures of QmλQ^\lambda_mQmλ​ for nonreal unit eigenvalues and m≥1m\ge1m≥1. The draft compares all eigenvalues redundantly, equivalent to making consistent choices of orbit representatives for both maps. All data are computed from each map itself. Symplectic conjugacy means there is a symplectic PPP with BP=PABP=PABP=PA.

This is completeness of the invariants, as well as their invariance under conjugation.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P39
Formal statement
noncomputable section

open scoped BigOperators Matrix

namespace QAlgorithms.Papers.Independent.Intake100.P39

attribute [local instance] Classical.propDecidable Classical.decEq

-- Reuse only the pinned accepted substrate, with definitionally identical coordinate models.
-- The imported symplectic predicate preserves -Omega0, equivalent to preserving Omega0.

open QAlgorithms.Papers.Independent.Dependency50.P10 (complexify)

open QAlgorithms.Papers.Independent.Frontier30.P02 (IsSymplectic)

open QAlgorithms.Papers.Independent.Gap50repair.P01
  (Coord GroupedRealMatrix omegaMatrix omegaR omegaC shifted generalizedSpace
    IsEigenvalue HasNilpotentHeight restrictedKernel GeneralizedQuotient)

/-- PDF p.6, Theorem 2: the listed data are COMPLETE invariants, in both directions.
All eigenvalues are compared redundantly, equivalent to fixing common orbit representatives. -/
theorem complete_conjugacy_invariants {n : ℕ} (A B : GroupedRealMatrix n)
    (hA : IsSymplectic A) (hB : IsSymplectic B) :
    SymplecticallyConjugate A B ↔ SameInvariants A B := by sorry

end QAlgorithms.Papers.Independent.Intake100.P39

end
Source
Normal Forms for Symplectic Matrices, arXiv:1307.2403v2, PDF p. 6, Theorem 2 — complete symplectic conjugacy invariants
Read-back

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

For every natural number nnn and every pair of real 2n×2n2n\times2n2n×2n matrices A,BA,BA,B satisfying ATJA=JA^{\mathsf T}JA=JATJA=J and BTJB=JB^{\mathsf T}JB=JBTJB=J, where J=(0−InIn0)J=\begin{pmatrix}0&-I_n\\I_n&0\end{pmatrix}J=(0In​​−In​0​), the following are equivalent: there exists a real matrix PPP with PTJP=JP^{\mathsf T}JP=JPTJP=J and BP=PABP=PABP=PA; and all the data described next agree for AAA and BBB. For a matrix TTT equal to either AAA or BBB, let TCT_{\mathbb C}TC​ be its entrywise complexification, NT,z=TC−zIN_{T,z}=T_{\mathbb C}-zINT,z​=TC​−zI, and ωK((x,y),(x′,y′))=∑i(xiyi′−yixi′)\omega_K((x,y),(x',y'))=\sum_i(x_i y'_i-y_i x'_i)ωK​((x,y),(x′,y′))=∑i​(xi​yi′​−yi​xi′​) over K=R,CK=\mathbb R,\mathbb CK=R,C. The required agreements are: for every complex zzz, a nonzero solution of NA,zv=0N_{A,z}v=0NA,z​v=0 exists if and only if a nonzero solution of NB,zv=0N_{B,z}v=0NB,z​v=0 exists; for every complex zzz and every natural r≥1r\ge1r≥1,

dim⁡Cker⁡NA,zr=dim⁡Cker⁡NB,zr;\dim_{\mathbb C}\ker N_{A,z}^r=\dim_{\mathbb C}\ker N_{B,z}^r;dimC​kerNA,zr​=dimC​kerNB,zr​;

for every real a∈{1,−1}a\in\{1,-1\}a∈{1,−1} and every natural k≥1k\ge1k≥1, the pairs (pT+qT,pT−qT)(p_T+q_T,p_T-q_T)(pT​+qT​,pT​−qT​) agree, where pTp_TpT​ is the largest real dimension of a real subspace of ker⁡(T−aI)2k\ker(T-aI)^{2k}ker(T−aI)2k on which

a ωR((T−aI)kv,(T−aI)k−1v)a\,\omega_{\mathbb R}\bigl((T-aI)^kv,(T-aI)^{k-1}v\bigr)aωR​((T−aI)kv,(T−aI)k−1v)

is strictly positive for every nonzero vvv, and qTq_TqT​ is the corresponding largest dimension for its negative; and, for every complex zzz with ∣z∣=1|z|=1∣z∣=1 and z≠1,−1z\ne1,-1z=1,−1, and every natural m≥1m\ge1m≥1, the pairs (pT+qT,pT−qT)(p_T+q_T,p_T-q_T)(pT​+qT​,pT​−qT​) agree, where now pT,qTp_T,q_TpT​,qT​ are the largest complex dimensions of complex subspaces of ker⁡NT,zm\ker N_{T,z}^mkerNT,zm​ on which respectively Re⁡hT(v)\operatorname{Re}h_T(v)RehT​(v) and −Re⁡hT(v)-\operatorname{Re}h_T(v)−RehT​(v) are strictly positive for every nonzero vector, with

hT(v)={z−1ωC(NT,zm/2v,NT,zˉm/2−1vˉ),m even,i ωC(NT,z⌊m/2⌋v,NT,zˉ⌊m/2⌋vˉ),m odd.h_T(v)= \begin{cases} z^{-1}\omega_{\mathbb C}\bigl(N_{T,z}^{m/2}v,N_{T,\bar z}^{m/2-1}\bar v\bigr),&m\text{ even},\\ \mathrm{i}\,\omega_{\mathbb C}\bigl(N_{T,z}^{\lfloor m/2\rfloor}v,N_{T,\bar z}^{\lfloor m/2\rfloor}\bar v\bigr),&m\text{ odd}. \end{cases}hT​(v)={z−1ωC​(NT,zm/2​v,NT,zˉm/2−1​vˉ),iωC​(NT,z⌊m/2⌋​v,NT,zˉ⌊m/2⌋​vˉ),​m even,m odd.​

Each largest-dimension definition includes the zero subspace, and the differences in the recorded pairs are integer differences. The conditions on these pairs are imposed even when the corresponding parameter is not an eigenvalue. The statement includes n=0n=0n=0, when the vector spaces are zero-dimensional, all kernel dimensions and indices are zero, and the stated conjugacy exists.

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