Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Unnumbered real odd-height signed block construction

Open
QAlgorithms.Papers.Independent.Intake100.P39.real_odd_height_block

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. Suppose a=±1a=\pm1a=±1 and 2k−12k-12k−1, k≥1k\ge1k≥1, is the maximal height on EaE_aEa​. Let vvv be a real vector of that height with Ω((A−aI)2k−1v,v)≠0\Omega((A-aI)^{2k-1}v,v)\ne0Ω((A−aI)2k−1v,v)=0. There exist s∈{1,−1}s\in\{1,-1\}s∈{1,−1} and a real generator v′v'v′ of the same cyclic space, of the same height, such that

Q2ka(v′,v′)=s,Ω((A−aI)iv′,(A−aI)jv′)=0(0≤i,j<k).Q^a_{2k}(v',v')=s,\qquad\Omega((A-aI)^iv',(A-aI)^jv')=0\quad(0\le i,j<k).Q2ka​(v′,v′)=s,Ω((A−aI)iv′,(A−aI)jv′)=0(0≤i,j<k).

The original real cyclic space is symplectic, has dimension 2k2k2k, and has an actual symplectic basis with matrix B(a,k,s)B(a,k,s)B(a,k,s). The normalization and its sign are conclusions.

This is the signed odd-height cyclic block construction with its legitimate nonzero top-pairing input.

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 pp.14–15: real odd-height construction. Only the nonzero TOP pairing
is an input; the normalization, its sign, and the basis are all CONCLUSIONS. -/
theorem real_odd_height_block {n : ℕ} (A : GroupedRealMatrix n) (hA : IsSymplectic A)
    (a : ℝ) (ha : a = 1 ∨ a = -1) (k : ℕ) (hk : 0 < k)
    (v : RVec n) (hpmax : HasNilpotentHeight A (a : ℂ) (2 * k - 1))
    (hp : VectorHeight A (a : ℂ) (realEmbed n v) (2 * k - 1))
    (hpair : omegaR ((realShift A a ^ (2 * k - 1)) v) v ≠ 0) :
    ∃ s : ℤ, (s = 1 ∨ s = -1) ∧
      (∃ vnew : RVec n, cyclicR A a vnew = cyclicR A a v ∧
        VectorHeight A (a : ℂ) (realEmbed n vnew) (2 * k - 1) ∧
        realQ A a k vnew vnew = (s : ℝ) ∧
        ∀ i < k, ∀ j < k, omegaR ((realShift A a ^ i) vnew) ((realShift A a ^ j) vnew) = 0) ∧
      RepresentsR A (cyclicR A a v) (signedBlock a k (s : ℝ)) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P39

end
Source
Normal Forms for Symplectic Matrices, arXiv:1307.2403v2, PDF p. 14, Unnumbered real odd-height signed block construction
Read-back

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

For every nonnegative integer nnn, real 2n×2n2n\times2n2n×2n matrix AAA satisfying ATJA=JA^{\mathsf T}JA=JATJA=J, where J=(0−InIn0)J=\begin{pmatrix}0&-I_n\\I_n&0\end{pmatrix}J=(0In​​−In​0​), real number a∈{1,−1}a\in\{1,-1\}a∈{1,−1}, positive integer kkk, and real vector v∈R2nv\in\mathbb R^{2n}v∈R2n, put N=A−aIN=A-aIN=A−aI, NC=AC−aIN_{\mathbb C}=A_{\mathbb C}-aINC​=AC​−aI, Ga=ker⁡NC2nG_a=\ker N_{\mathbb C}^{2n}Ga​=kerNC2n​, and ωR(x,y)=∑ℓ=1n(xℓyn+ℓ−xn+ℓyℓ)\omega_{\mathbb R}(x,y)=\sum_{\ell=1}^n(x_\ell y_{n+\ell}-x_{n+\ell}y_\ell)ωR​(x,y)=∑ℓ=1n​(xℓ​yn+ℓ​−xn+ℓ​yℓ​). Suppose that some u∈Gau\in G_au∈Ga​ satisfies NC2k−1u≠0N_{\mathbb C}^{2k-1}u\ne0NC2k−1​u=0, every u∈Gau\in G_au∈Ga​ satisfies NC2ku=0N_{\mathbb C}^{2k}u=0NC2k​u=0, the entrywise complex embedding vCv_{\mathbb C}vC​ satisfies NC2k−1vC≠0N_{\mathbb C}^{2k-1}v_{\mathbb C}\ne0NC2k−1​vC​=0 and NC2kvC=0N_{\mathbb C}^{2k}v_{\mathbb C}=0NC2k​vC​=0, and ωR(N2k−1v,v)≠0\omega_{\mathbb R}(N^{2k-1}v,v)\ne0ωR​(N2k−1v,v)=0. There exists an integer s∈{1,−1}s\in\{1,-1\}s∈{1,−1} and a real vector vnewv_{\mathrm{new}}vnew​ such that

span⁡R{Nrvnew:r≥0}=span⁡R{Nrv:r≥0},NC2k−1(vnew)C≠0,NC2k(vnew)C=0,a ωR(Nkvnew,Nk−1vnew)=s,ωR(Nivnew,Njvnew)=0for all 0≤i,j<k.\begin{gathered} \operatorname{span}_{\mathbb R}\{N^rv_{\mathrm{new}}:r\ge0\} =\operatorname{span}_{\mathbb R}\{N^rv:r\ge0\},\\ N_{\mathbb C}^{2k-1}(v_{\mathrm{new}})_{\mathbb C}\ne0,\qquad N_{\mathbb C}^{2k}(v_{\mathrm{new}})_{\mathbb C}=0,\qquad a\,\omega_{\mathbb R}(N^kv_{\mathrm{new}},N^{k-1}v_{\mathrm{new}})=s,\\ \omega_{\mathbb R}(N^iv_{\mathrm{new}},N^jv_{\mathrm{new}})=0 \quad\text{for all }0\le i,j<k. \end{gathered}spanR​{Nrvnew​:r≥0}=spanR​{Nrv:r≥0},NC2k−1​(vnew​)C​=0,NC2k​(vnew​)C​=0,aωR​(Nkvnew​,Nk−1vnew​)=s,ωR​(Nivnew​,Njvnew​)=0for all 0≤i,j<k.​

For that same sss, the real cyclic subspace span⁡R{Nrv:r≥0}\operatorname{span}_{\mathbb R}\{N^rv:r\ge0\}spanR​{Nrv:r≥0} has a basis e1,…,ek,f1,…,fke_1,\ldots,e_k,f_1,\ldots,f_ke1​,…,ek​,f1​,…,fk​ satisfying ωR(ei,ej)=ωR(fi,fj)=0\omega_{\mathbb R}(e_i,e_j)=\omega_{\mathbb R}(f_i,f_j)=0ωR​(ei​,ej​)=ωR​(fi​,fj​)=0 and ωR(ei,fj)=δij\omega_{\mathbb R}(e_i,f_j)=\delta_{ij}ωR​(ei​,fj​)=δij​, in which AAA has matrix

(Jk(a)−1Jk(a)−1Dk(s)0Jk(a)T),\begin{pmatrix}J_k(a)^{-1}&J_k(a)^{-1}D_k(s)\\0&J_k(a)^{\mathsf T}\end{pmatrix},(Jk​(a)−10​Jk​(a)−1Dk​(s)Jk​(a)T​),

where Jk(a)J_k(a)Jk​(a) has diagonal aaa, superdiagonal 111, and other entries zero, and Dk(s)D_k(s)Dk​(s) has only its last diagonal entry nonzero, equal to sss. Since k>0k>0k>0, the exponents 2k−12k-12k−1 and k−1k-1k−1 are ordinary nonnegative differences. The nonvanishing hypotheses cannot hold when n=0n=0n=0.

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