Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 17 — nonreal unit-circle sign counts

Open
QAlgorithms.Papers.Independent.Intake100.P39.unit_circle_sign_counts

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 ∣λ∣=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 any valid unit-circle normal decomposition with chain lengths mj≥1m_j\ge1mj​≥1 and signs sj∈{1,−1}s_j\in\{1,-1\}sj​∈{1,−1}, and for every m≥1m\ge1m≥1,

n+(Qmλ)=#{j:mj=m,sj=1},n−(Qmλ)=#{j:mj=m,sj=−1}.n_+(Q^\lambda_m)=\#\{j:m_j=m,s_j=1\},\qquad n_-(Q^\lambda_m)=\#\{j:m_j=m,s_j=-1\}.n+​(Qmλ​)=#{j:mj​=m,sj​=1},n−​(Qmλ​)=#{j:mj​=m,sj​=−1}.

The corresponding real block dimension is 2m2m2m in both families.

This determines both sign counts using complex Hermitian inertia, for any valid decomposition.

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.26, Proposition 17: BOTH signs for ANY valid decomposition;
inertia uses complex dimensions, avoiding the doubled underlying-real count. -/
theorem unit_circle_sign_counts {n L : ℕ} (A : GroupedRealMatrix n) (hA : IsSymplectic A)
    (z : ℂ) (hz : ‖z‖ = 1) (hplus : z ≠ 1) (hminus : z ≠ -1)
    (m : Fin L → ℕ) (s : Fin L → ℤ) (hNF : UnitNormal A z m s) :
    UnitSignCounts A z m s := by sorry

end QAlgorithms.Papers.Independent.Intake100.P39

end
Source
Normal Forms for Symplectic Matrices, arXiv:1307.2403v2, PDF p. 26, Proposition 17 — nonreal unit-circle sign counts
Read-back

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

Let n,L≥0n,L\ge0n,L≥0, let AAA be a real matrix on Rn⊕Rn\mathbb R^n\oplus\mathbb R^nRn⊕Rn satisfying ATJA=JA^{\mathsf T}JA=JATJA=J, where J=(0−InIn0)J=\left(\begin{smallmatrix}0&-I_n\\I_n&0\end{smallmatrix}\right)J=(0In​​−In​0​), and let z∈Cz\in\mathbb Cz∈C satisfy ∣z∣=1|z|=1∣z∣=1, z≠1z\ne1z=1, and z≠−1z\ne-1z=−1. Set Nλ=AC−λIN_\lambda=A_{\mathbb C}-\lambda INλ​=AC​−λI, Eλ=ker⁡Nλ2nE_\lambda=\ker N_\lambda^{2n}Eλ​=kerNλ2n​, and let WWW consist of the real vectors whose complex embeddings belong to ∑λ∈{z,z−1,zˉ,zˉ−1}Eλ\sum_{\lambda\in\{z,z^{-1},\bar z,\bar z^{-1}\}}E_\lambda∑λ∈{z,z−1,zˉ,zˉ−1}​Eλ​. Use ΩK((x,y),(x′,y′))=∑a(xaya′−yaxa′)\Omega_{\mathbb K}((x,y),(x',y'))=\sum_a(x_a y'_a-y_a x'_a)ΩK​((x,y),(x′,y′))=∑a​(xa​ya′​−ya​xa′​) over either scalar field. Suppose given natural numbers mjm_jmj​ and integers sjs_jsj​, 0≤j<L0\le j<L0≤j<L, such that every mj>0m_j>0mj​>0, every sj∈{1,−1}s_j\in\{1,-1\}sj​∈{1,−1}, and WWW has a real basis ej,p,fj,pe_{j,p},f_{j,p}ej,p​,fj,p​, p<mjp<m_jp<mj​, with canonical pairings ΩR(ej,p,fa,q)=δjaδpq\Omega_{\mathbb R}(e_{j,p},f_{a,q})=\delta_{ja}\delta_{pq}ΩR​(ej,p​,fa,q​)=δja​δpq​, zero pairings within either half, and action of AAA given by separate blocks Umj(z,sj)\mathcal U_{m_j}(z,s_j)Umj​​(z,sj​). These blocks mean the following explicit matrices: put M(λ)=(Re⁡λ−Im⁡λIm⁡λRe⁡λ)M(\lambda)=\left(\begin{smallmatrix}\operatorname{Re}\lambda&-\operatorname{Im}\lambda\\\operatorname{Im}\lambda&\operatorname{Re}\lambda\end{smallmatrix}\right)M(λ)=(ReλImλ​−ImλReλ​), let RhR_hRh​ have diagonal 2×22\times22×2 blocks M(zˉ)M(\bar z)M(zˉ), superdiagonal blocks I2I_2I2​, and all other blocks zero, and define

(Vh)p,b=(−1)h−⌊p/2⌋−1M(zh−⌊p/2⌋)p mod 2,b,Uh=VhM(z).(V_h)_{p,b}=(-1)^{h-\lfloor p/2\rfloor-1} M(z^{h-\lfloor p/2\rfloor})_{p\bmod2,b}, \qquad U_h=V_hM(z).(Vh​)p,b​=(−1)h−⌊p/2⌋−1M(zh−⌊p/2⌋)pmod2,b​,Uh​=Vh​M(z).

Then

U2h(z,s)=(Rh−1C0RhT),Cpq={s(Vh)p,q mod 2,q+2≥2h,0,q+2<2h,\mathcal U_{2h}(z,s)= \begin{pmatrix}R_h^{-1}&C\\0&R_h^{\mathsf T}\end{pmatrix}, \qquad C_{pq}= \begin{cases}s(V_h)_{p,q\bmod2},&q+2\ge2h,\\0,&q+2<2h,\end{cases}U2h​(z,s)=(Rh−1​0​CRhT​​),Cpq​={s(Vh​)p,qmod2​,0,​q+2≥2h,q+2<2h,​

for h≥1h\ge1h≥1, while, with group sizes 2h,1,2h,12h,1,2h,12h,1,2h,1,

U2h+1(z,s)=(Rh−1s(Uh)⋅,1H(Uh)⋅,00Re⁡zeTsIm⁡z00RhT00−sIm⁡z−sfTRe⁡z),\mathcal U_{2h+1}(z,s)= \begin{pmatrix} R_h^{-1}&s(U_h)_{\cdot,1}&H&(U_h)_{\cdot,0}\\ 0&\operatorname{Re}z&e^{\mathsf T}&s\operatorname{Im}z\\ 0&0&R_h^{\mathsf T}&0\\ 0&-s\operatorname{Im}z&-sf^{\mathsf T}&\operatorname{Re}z \end{pmatrix},U2h+1​(z,s)=​Rh−1​000​s(Uh​)⋅,1​Rez0−sImz​HeTRhT​−sfT​(Uh​)⋅,0​sImz0Rez​​,

where eq=1q+2=2he_q=\mathbf1_{q+2=2h}eq​=1q+2=2h​, fq=1q+1=2hf_q=\mathbf1_{q+1=2h}fq​=1q+1=2h​, and HpqH_{pq}Hpq​ is s2(Vh)p,1\tfrac{s}{2}(V_h)_{p,1}2s​(Vh​)p,1​ if q+2≥2hq+2\ge2hq+2≥2h and qqq is even, −s2(Vh)p,0-\tfrac{s}{2}(V_h)_{p,0}−2s​(Vh​)p,0​ if q+2≥2hq+2\ge2hq+2≥2h and qqq is odd, and zero otherwise; h=0h=0h=0 uses empty Rh,Vh,Uh,e,f,HR_h,V_h,U_h,e,f,HRh​,Vh​,Uh​,e,f,H. For every positive natural number rrr, define

Qr(v,w)={z−1ΩC(Nzhv,Nzˉh−1wˉ),r=2h,i ΩC(Nzhv,Nzˉhwˉ),r=2h+1.Q_r(v,w)= \begin{cases} z^{-1}\Omega_{\mathbb C}(N_z^h v,N_{\bar z}^{h-1}\bar w),&r=2h,\\ i\,\Omega_{\mathbb C}(N_z^h v,N_{\bar z}^{h}\bar w),&r=2h+1. \end{cases}Qr​(v,w)={z−1ΩC​(Nzh​v,Nzˉh−1​wˉ),iΩC​(Nzh​v,Nzˉh​wˉ),​r=2h,r=2h+1.​

Let prp_rpr​, respectively qrq_rqr​, be the largest complex dimension of a complex-linear subspace U⊆ker⁡NzrU\subseteq\ker N_z^rU⊆kerNzr​ on which Re⁡Qr(v,v)>0\operatorname{Re}Q_r(v,v)>0ReQr​(v,v)>0, respectively −Re⁡Qr(v,v)>0-\operatorname{Re}Q_r(v,v)>0−ReQr​(v,v)>0, for every nonzero v∈Uv\in Uv∈U; these maxima range over dimensions 0,…,2n0,\ldots,2n0,…,2n, including the zero subspace. The conclusion is

pr=#{j<L:mj=r, sj=1},qr=#{j<L:mj=r, sj=−1}for every r≥1.p_r=\#\{j<L:m_j=r,\ s_j=1\},\qquad q_r=\#\{j<L:m_j=r,\ s_j=-1\} \quad\text{for every }r\ge1.pr​=#{j<L:mj​=r, sj​=1},qr​=#{j<L:mj​=r, sj​=−1}for every r≥1.

There is no eigenvalue hypothesis and no positivity requirement on nnn or LLL; an empty list of blocks is included whenever the assumed basis representation permits it.

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