Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 13 — uniqueness at +/-1

Open
QAlgorithms.Papers.Independent.Intake100.P39.real_normal_form_unique

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 positive integer rrr, let J(λ,r)J(\lambda,r)J(λ,r) have diagonal λ\lambdaλ, superdiagonal 111, and other entries zero. Put D(r,s)=diag⁡(0,…,0,s)D(r,s)=\operatorname{diag}(0,\ldots,0,s)D(r,s)=diag(0,…,0,s) and

B(λ,r,s)=(J(λ,r)−1J(λ,r)−1D(r,s)0J(λ,r)T).B(\lambda,r,s)=\begin{pmatrix}J(\lambda,r)^{-1}&J(\lambda,r)^{-1}D(r,s)\\0&J(\lambda,r)^T\end{pmatrix}.B(λ,r,s)=(J(λ,r)−10​J(λ,r)−1D(r,s)J(λ,r)T​).

The symbol ⋄\diamond⋄ denotes the symplectic direct sum: concatenate all first-half basis vectors before all second-half basis vectors. 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. Fix a=±1a=\pm1a=±1. Suppose two real symplectic maps have valid signed primary decompositions with data (rj,sj)(r_j,s_j)(rj​,sj​) and (tj,uj)(t_j,u_j)(tj​,uj​), and their aaa-kernel dimensions at every positive power and all ranks and signatures of Q2kaQ^a_{2k}Q2ka​ agree. Then their signed blocks agree up to a bijection of the block index sets:

∃π a bijection,rj=tπ(j),sj=uπ(j)for every j.\exists\pi\text{ a bijection},\quad r_j=t_{\pi(j)},\quad s_j=u_{\pi(j)}\quad\text{for every }j.∃π a bijection,rj​=tπ(j)​,sj​=uπ(j)​for every j.

The ambient spaces may have other primary components. Applying this to the same map gives uniqueness up to block permutation.

This states complete determination by the computed invariants, without imposing an order among signs of equal-length blocks.

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.18, Corollary 13: complete determination by the COMPUTED data,
with equality of the signed block multiset, not a preferred order of equal sizes. -/
theorem real_normal_form_unique {n N L K : ℕ} (A : GroupedRealMatrix n) (B : GroupedRealMatrix N)
    (hA : IsSymplectic A) (hB : IsSymplectic B) (a : ℝ) (ha : a = 1 ∨ a = -1)
    (r : Fin L → ℕ) (s : Fin L → ℤ) (t : Fin K → ℕ) (u : Fin K → ℤ)
    (hNF : RealNormal A a r s) (hNG : RealNormal B a t u) (hdata : SameRealData A B a) :
    SameBlocks r s t u := by sorry

end QAlgorithms.Papers.Independent.Intake100.P39

end
Source
Normal Forms for Symplectic Matrices, arXiv:1307.2403v2, PDF p. 18, Corollary 13 — uniqueness at +/-1
Read-back

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

For all nonnegative integers n,N,L,Kn,N,L,Kn,N,L,K, real matrices AAA of size 2n×2n2n\times2n2n×2n and BBB of size 2N×2N2N\times2N2N×2N satisfying ATJnA=JnA^{\mathsf T}J_nA=J_nATJn​A=Jn​ and BTJNB=JNB^{\mathsf T}J_NB=J_NBTJN​B=JN​, where Jd=(0−IdId0)J_d=\begin{pmatrix}0&-I_d\\I_d&0\end{pmatrix}Jd​=(0Id​​−Id​0​), real a∈{1,−1}a\in\{1,-1\}a∈{1,−1}, and lists of sizes and signs (rj,sj)j=1L(r_j,s_j)_{j=1}^L(rj​,sj​)j=1L​ and (th,uh)h=1K(t_h,u_h)_{h=1}^K(th​,uh​)h=1K​, assume the following normal-form conditions for each matrix H=A,BH=A,BH=A,B and its corresponding list (dℓ,σℓ)(d_\ell,\sigma_\ell)(dℓ​,σℓ​). Every dℓd_\elldℓ​ is positive, every σℓ∈{0,1,−1}\sigma_\ell\in\{0,1,-1\}σℓ​∈{0,1,−1}, and dℓd_\elldℓ​ is odd if σℓ=0\sigma_\ell=0σℓ​=0; the real subspace ker⁡(H−aI)2d\ker(H-aI)^{2d}ker(H−aI)2d, where HHH has size 2d×2d2d\times2d2d×2d, has a basis eℓ,α,fℓ,αe_{\ell,\alpha},f_{\ell,\alpha}eℓ,α​,fℓ,α​, 1≤α≤dℓ1\le\alpha\le d_\ell1≤α≤dℓ​, with pairings ωR(eℓ,α,fh,β)=δℓhδαβ\omega_{\mathbb R}(e_{\ell,\alpha},f_{h,\beta})=\delta_{\ell h}\delta_{\alpha\beta}ωR​(eℓ,α​,fh,β​)=δℓh​δαβ​ and zero pairings between two eee's or two fff's, for ωR(x,y)=∑i=1d(xiyd+i−xd+iyi)\omega_{\mathbb R}(x,y)=\sum_{i=1}^d(x_iy_{d+i}-x_{d+i}y_i)ωR​(x,y)=∑i=1d​(xi​yd+i​−xd+i​yi​); and in this basis HHH acts separately on each block with matrix (Jdℓ(a)−1Jdℓ(a)−1Ddℓ(σℓ)0Jdℓ(a)T)\begin{pmatrix}J_{d_\ell}(a)^{-1}&J_{d_\ell}(a)^{-1}D_{d_\ell}(\sigma_\ell)\\0&J_{d_\ell}(a)^{\mathsf T}\end{pmatrix}(Jdℓ​​(a)−10​Jdℓ​​(a)−1Ddℓ​​(σℓ​)Jdℓ​​(a)T​), where Jr(a)J_r(a)Jr​(a) has diagonal aaa, superdiagonal 111, and zeros elsewhere, and Dr(s)D_r(s)Dr​(s) has only its last diagonal entry equal to sss. Suppose further that

dim⁡Cker⁡(AC−aI)r=dim⁡Cker⁡(BC−aI)rfor every integer r≥1,\dim_{\mathbb C}\ker(A_{\mathbb C}-aI)^r =\dim_{\mathbb C}\ker(B_{\mathbb C}-aI)^r \qquad\text{for every integer }r\ge1,dimC​ker(AC​−aI)r=dimC​ker(BC​−aI)rfor every integer r≥1,

where complexification is entrywise. For H=A,BH=A,BH=A,B and every k≥1k\ge1k≥1, define pH,kp_{H,k}pH,k​ and mH,km_{H,k}mH,k​ as the largest real dimensions of subspaces of ker⁡(H−aI)2k\ker(H-aI)^{2k}ker(H−aI)2k on whose nonzero vectors, respectively, a ωR((H−aI)kx,(H−aI)k−1x)a\,\omega_{\mathbb R}((H-aI)^kx,(H-aI)^{k-1}x)aωR​((H−aI)kx,(H−aI)k−1x) is strictly positive or strictly negative. Assume also that

(pA,k+mA,k, pA,k−mA,k)=(pB,k+mB,k, pB,k−mB,k)(k≥1),(p_{A,k}+m_{A,k},\,p_{A,k}-m_{A,k}) =(p_{B,k}+m_{B,k},\,p_{B,k}-m_{B,k}) \qquad(k\ge1),(pA,k​+mA,k​,pA,k​−mA,k​)=(pB,k​+mB,k​,pB,k​−mB,k​)(k≥1),

with the second coordinates taken in the integers. Then there exists a bijection e:{1,…,L}→{1,…,K}e:\{1,\ldots,L\}\to\{1,\ldots,K\}e:{1,…,L}→{1,…,K} such that rj=te(j)r_j=t_{e(j)}rj​=te(j)​ and sj=ue(j)s_j=u_{e(j)}sj​=ue(j)​ for every jjj. The ambient dimensions may differ, neither matrix is required to have eigenvalue aaa, and zero-dimensional ambient spaces and empty block lists are included.

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