Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 28: endpoint normal-form sign correction

Open
QAlgorithms.Papers.Independent.Intake100.P25.endpoint_normal_form_correction

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

prove2quantum

Let n≥1n\ge1n≥1 and let ψ:[0,1]→Sp⁡(2n,Ω0)\psi:[0,1]\to\operatorname{Sp}(2n,\Omega_0)ψ:[0,1]→Sp(2n,Ω0​) be continuous with arbitrary endpoints. Choose endpoint symplectic splittings into the generalized 111-eigenspace and its non-111 part. Choose actual Proposition 25 normal forms of the two endpoints on those generalized eigenspaces, with signs di(0)d_i^{(0)}di(0)​ and dj(1)d_j^{(1)}dj(1)​. Empty generalized eigenspaces and empty sign sums are permitted. Let Ψ:[−1,2]→Sp⁡(2n,Ω0)\Psi:[-1,2]\to\operatorname{Sp}(2n,\Omega_0)Ψ:[−1,2]→Sp(2n,Ω0​) agree with ψ\psiψ on [0,1][0,1][0,1]. On [−1/2,0][-1/2,0][−1/2,0] and [1,3/2][1,3/2][1,3/2], keep each star block fixed and let the other block have only positive real eigenvalues; at −1/2-1/2−1/2 and 3/23/23/2 that block must be diag⁡(e−1I,eI)\operatorname{diag}(e^{-1}I,eI)diag(e−1I,eI). Require independent W±W^\pmW± endpoints at −1,2-1,2−1,2, and no eigenvalue 111 on [−1,−1/2]∪[3/2,2][-1,-1/2]\cup[3/2,2][−1,−1/2]∪[3/2,2]. Then, with Definition 5 spectral rotation ρ\rhoρ,

μRS(ψ)=deg⁡(ρ2∘Ψ)+12∑idi(0)−12∑jdj(1).\mu_{RS}(\psi)=\deg(\rho^2\circ\Psi)+\frac12\sum_i d_i^{(0)}-\frac12\sum_j d_j^{(1)}.μRS​(ψ)=deg(ρ2∘Ψ)+21​i∑​di(0)​−21​j∑​dj(1)​.

The degree uses the complete translated interval [0,3][0,3][0,3]. The signs are derived from normal forms of these endpoint matrices, rather than arbitrary lists. This is the normal-form version of the endpoint signature formula. The same formula holds with ρ\rhoρ replaced by every continuous circle-valued rrr agreeing with the complex determinant on U(n)U(n)U(n), satisfying r(W−)∈{1,−1}r(W^-)\in\{1,-1\}r(W−)∈{1,−1} and deg⁡(r2∘ψ2−)=n−1\deg(r^2\circ\psi_{2-})=n-1deg(r2∘ψ2−​)=n−1, exactly as in Proposition 10. Both the fixed spectral formula and this universally quantified alternative-map clause are included.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P25
Formal statement
noncomputable section

open scoped BigOperators Matrix Matrix.Norms.Frobenius

namespace QAlgorithms.Papers.Independent.Intake100.P25

open QAlgorithms.Papers.Independent.Gap50repair.P01

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

attribute [local instance] Classical.propDecidable

/-- Theorem 28 and its following sentence, PDF pp.22-23: correction signs
come from actual normal forms, including empty generalized 1-spaces.
The formula holds for the spectral rotation and every alternative rotation
satisfying Proposition 10, as explicitly stated immediately after the formula. -/
theorem endpoint_normal_form_correction {n : ℕ} (hn : 1 ≤ n)
    (p e : ℝ → GroupedRealMatrix n) (hp : IsPath p 1)
    (D0 : EndpointSplitting (p 0)) (D1 : EndpointSplitting (p 1))
    (N0 : NormalFormData (p 0) 1) (N1 : NormalFormData (p 1) 1)
    (he : IsProlongation p e D0 D1) :
    (robbinSalamon p = (prolongationDegree spectralRotation e : ℚ) +
      (normalSignSum N0 : ℚ)/2 - (normalSignSum N1 : ℚ)/2) ∧
    (∀ r : GroupedRealMatrix n → ℂ,
      ContinuousOn r {A | IsSymplectic A} →
      (∀ A, IsSymplectic A → ‖r A‖ = 1) →
      (∀ A, IsUnitaryReal A → r A = complexActionDet A) →
      (r (wMinus n) = 1 ∨ r (wMinus n) = -1) →
      winding (fun t => r (referenceMinus n t)^2) 1 = (n : ℤ)-1 →
      robbinSalamon p = (prolongationDegree r e : ℚ) +
        (normalSignSum N0 : ℚ)/2 - (normalSignSum N1 : ℚ)/2) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P25

end
Source
Generalized Conley-Zehnder index, arXiv:1307.7239v1, PDF p. 23, Theorem 28
Read-back

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

Let nnn be a natural number with n≥1n\geq1n≥1, let Vm=Rm⊕RmV_m=\mathbb R^m\oplus\mathbb R^mVm​=Rm⊕Rm for every natural number mmm, and write Ωm=(0Im−Im0)\Omega_m=\begin{pmatrix}0&I_m\\-I_m&0\end{pmatrix}Ωm​=(0−Im​​Im​0​), Jm=−ΩmJ_m=-\Omega_mJm​=−Ωm​, and ωm(v,w)=∑j=0m−1(vj(1)wj(2)−vj(2)wj(1))\omega_m(v,w)=\sum_{j=0}^{m-1}(v_j^{(1)}w_j^{(2)}-v_j^{(2)}w_j^{(1)})ωm​(v,w)=∑j=0m−1​(vj(1)​wj(2)​−vj(2)​wj(1)​); use the same bilinear formula, without complex conjugation, for complex vectors. A real matrix AAA on VmV_mVm​ is called symplectic here when ATJmA=JmA^{\mathsf T}J_mA=J_mATJm​A=Jm​. Let p,e:R→Mat⁡2n(R)p,e:\mathbb R\to\operatorname{Mat}_{2n}(\mathbb R)p,e:R→Mat2n​(R) be functions, and assume ppp is continuous on [0,1][0,1][0,1] and p(t)p(t)p(t) is symplectic for every t∈[0,1]t\in[0,1]t∈[0,1]. For each ε∈{0,1}\varepsilon\in\{0,1\}ε∈{0,1}, suppose the following endpoint splitting DεD_\varepsilonDε​ of Aε=p(ε)A_\varepsilon=p(\varepsilon)Aε​=p(ε) is supplied: natural numbers aε,bεa_\varepsilon,b_\varepsilonaε​,bε​, symplectic matrices Aε,∗A_{\varepsilon,*}Aε,∗​ on VaεV_{a_\varepsilon}Vaε​​ and Aε,1A_{\varepsilon,1}Aε,1​ on VbεV_{b_\varepsilon}Vbε​​, and a real linear isomorphism Fε:Vaε×Vbε→VnF_\varepsilon:V_{a_\varepsilon}\times V_{b_\varepsilon}\to V_nFε​:Vaε​​×Vbε​​→Vn​, such that det⁡(Aε,∗−I)≠0\det(A_{\varepsilon,*}-I)\neq0det(Aε,∗​−I)=0, ωn(Fεv,Fεw)=ωaε(v∗,w∗)+ωbε(v1,w1)\omega_n(F_\varepsilon v,F_\varepsilon w)=\omega_{a_\varepsilon}(v_*,w_*)+\omega_{b_\varepsilon}(v_1,w_1)ωn​(Fε​v,Fε​w)=ωaε​​(v∗​,w∗​)+ωbε​​(v1​,w1​) for all v,wv,wv,w, ker⁡(Aε−I)2n={Fε(0,v):v∈Vbε}\ker(A_\varepsilon-I)^{2n}=\{F_\varepsilon(0,v):v\in V_{b_\varepsilon}\}ker(Aε​−I)2n={Fε​(0,v):v∈Vbε​​}, and AεFε(v∗,v1)=Fε(Aε,∗v∗,Aε,1v1)A_\varepsilon F_\varepsilon(v_*,v_1)=F_\varepsilon(A_{\varepsilon,*}v_*,A_{\varepsilon,1}v_1)Aε​Fε​(v∗​,v1​)=Fε​(Aε,∗​v∗​,Aε,1​v1​) for every pair (v∗,v1)(v_*,v_1)(v∗​,v1​). Also suppose a normal form datum NεN_\varepsilonNε​ is supplied for each AεA_\varepsilonAε​ at the real eigenvalue parameter 111: this consists of a natural block count ℓε\ell_\varepsilonℓε​, positive integers rε,jr_{\varepsilon,j}rε,j​ and integers dε,j∈{0,1,−1}d_{\varepsilon,j}\in\{0,1,-1\}dε,j​∈{0,1,−1} for 0≤j<ℓε0\leq j<\ell_\varepsilon0≤j<ℓε​, with dε,j=0d_{\varepsilon,j}=0dε,j​=0 implying that rε,jr_{\varepsilon,j}rε,j​ is odd, and an injective real linear map Eε:⨁j<ℓεVrε,j→VnE_\varepsilon:\bigoplus_{j<\ell_\varepsilon}V_{r_{\varepsilon,j}}\to V_nEε​:⨁j<ℓε​​Vrε,j​​→Vn​ whose range is ker⁡(Aε−I)2n\ker(A_\varepsilon-I)^{2n}ker(Aε​−I)2n, which preserves the sum of the forms ωrε,j\omega_{r_{\varepsilon,j}}ωrε,j​​ and intertwines AεA_\varepsilonAε​ with the blockwise action of

B(r,d)=(Ur−1Ur−1diag⁡(0,…,0,d)0UrT),(Ur)ij={1,i=j or j=i+1,0,otherwise.B(r,d)= \begin{pmatrix} U_r^{-1}&U_r^{-1}\operatorname{diag}(0,\ldots,0,d)\\ 0&U_r^{\mathsf T} \end{pmatrix}, \qquad (U_r)_{ij}= \begin{cases} 1,&i=j\text{ or }j=i+1,\\ 0,&\text{otherwise}. \end{cases}B(r,d)=(Ur−1​0​Ur−1​diag(0,…,0,d)UrT​​),(Ur​)ij​={1,0,​i=j or j=i+1,otherwise.​

Thus, for every block vector vvv, AεEεv=Eε((B(rε,j,dε,j)vj)j)A_\varepsilon E_\varepsilon v=E_\varepsilon\bigl((B(r_{\varepsilon,j},d_{\varepsilon,j})v_j)_j\bigr)Aε​Eε​v=Eε​((B(rε,j​,dε,j​)vj​)j​) and, for every v,wv,wv,w, ωn(Eεv,Eεw)=∑jωrε,j(vj,wj)\omega_n(E_\varepsilon v,E_\varepsilon w)=\sum_j\omega_{r_{\varepsilon,j}}(v_j,w_j)ωn​(Eε​v,Eε​w)=∑j​ωrε,j​​(vj​,wj​). Put sε=∑j<ℓεdε,js_\varepsilon=\sum_{j<\ell_\varepsilon}d_{\varepsilon,j}sε​=∑j<ℓε​​dε,j​. Assume further that eee has all the following properties: it is continuous on [−1,2][-1,2][−1,2], is symplectic throughout that interval, and equals ppp on [0,1][0,1][0,1]; at t=−12t=-\tfrac12t=−21​ it acts in the splitting F0F_0F0​ as A0,∗A_{0,*}A0,∗​ on the first factor and Hb0=diag⁡(e−1Ib0,eIb0)H_{b_0}=\operatorname{diag}(e^{-1}I_{b_0},eI_{b_0})Hb0​​=diag(e−1Ib0​​,eIb0​​) on the second factor, and at t=32t=\tfrac32t=23​ it acts in F1F_1F1​ as A1,∗A_{1,*}A1,∗​ and Hb1H_{b_1}Hb1​​; there exists a continuous function ϕ0:[−12,0]→Mat⁡2b0(R)\phi_0:[-\tfrac12,0]\to\operatorname{Mat}_{2b_0}(\mathbb R)ϕ0​:[−21​,0]→Mat2b0​​(R) such that, for every ttt in that closed interval and every v∗,v1v_*,v_1v∗​,v1​, e(t)F0(v∗,v1)=F0(A0,∗v∗,ϕ0(t)v1)e(t)F_0(v_*,v_1)=F_0(A_{0,*}v_*,\phi_0(t)v_1)e(t)F0​(v∗​,v1​)=F0​(A0,∗​v∗​,ϕ0​(t)v1​), with ϕ0(t)\phi_0(t)ϕ0​(t) symplectic and all its complex eigenvalues positive real numbers; an analogous continuous ϕ1\phi_1ϕ1​ exists on [1,32][1,\tfrac32][1,23​] using F1F_1F1​ and A1,∗A_{1,*}A1,∗​, again symplectic with positive real spectrum throughout; each of e(−1)e(-1)e(−1) and e(2)e(2)e(2) belongs to {W+,W−}\{W_+,W_-\}{W+​,W−​}, where W+=−I2nW_+=-I_{2n}W+​=−I2n​ and W−=diag⁡(2,−1,…,−1,12,−1,…,−1)W_-=\operatorname{diag}(2,-1,\ldots,-1,\tfrac12,-1,\ldots,-1)W−​=diag(2,−1,…,−1,21​,−1,…,−1) in the two grouped coordinate blocks; and det⁡(e(t)−I)≠0\det(e(t)-I)\neq0det(e(t)−I)=0 for every t∈[−1,−12]∪[32,2]t\in[-1,-\tfrac12]\cup[\tfrac32,2]t∈[−1,−21​]∪[23​,2]. To specify the quantities in the conclusion, for a complex-valued function fff define wind⁡T(f)\operatorname{wind}_T(f)windT​(f) to be a classically chosen integer kkk for which there exists a real function θ\thetaθ, continuous on [0,T][0,T][0,T], with θ(0)=0\theta(0)=0θ(0)=0, θ(T)=k\theta(T)=kθ(T)=k, and f(t)=exp⁡(2πiθ(t))f(t)=\exp(2\pi i\theta(t))f(t)=exp(2πiθ(t)) for every t∈[0,T]t\in[0,T]t∈[0,T]; if no such integer exists, its value is 000. For a real 2n×2n2n\times2n2n×2n matrix AAA, let Λ(A)\Lambda(A)Λ(A) be the finite set of distinct roots of its characteristic polynomial over C\mathbb CC, let mA(z)m_A(z)mA​(z) be the root multiplicity of zzz, and put GA(z)=ker⁡(AC−zI)2nG_A(z)=\ker(A_{\mathbb C}-zI)^{2n}GA​(z)=ker(AC​−zI)2n, where ACA_{\mathbb C}AC​ is obtained by viewing each entry of AAA as complex. Define KA(z)K_A(z)KA​(z) to be the maximum among the integers 0≤k≤4n0\leq k\leq4n0≤k≤4n for which there exists a real linear subspace WWW of the underlying real space of GA(z)G_A(z)GA​(z), of real dimension kkk, such that Im⁡ωn(v,v‾)>0\operatorname{Im}\omega_n(v,\overline v)>0Imωn​(v,v)>0 for every nonzero v∈Wv\in Wv∈W. The spectral rotation appearing here is exactly

ρ(A)=(−1)(∑z∈Λ(A)Im⁡z=0, Re⁡z<0mA(z))/2∏z∈Λ(A)∣z∣=1, z≠1, z≠−1zKA(z)/2,Dr(e)=wind⁡3 ⁣(t↦r(e(t−1))2),\rho(A)= (-1)^{\left(\sum_{\substack{z\in\Lambda(A)\\\operatorname{Im}z=0,\ \operatorname{Re}z<0}}m_A(z)\right)/2} \prod_{\substack{z\in\Lambda(A)\\|z|=1,\ z\neq1,\ z\neq-1}} z^{K_A(z)/2}, \qquad D_r(e)=\operatorname{wind}_3\!\left(t\mapsto r(e(t-1))^2\right),ρ(A)=(−1)(∑z∈Λ(A)Imz=0, Rez<0​​mA​(z))/2z∈Λ(A)∣z∣=1, z=1, z=−1​∏​zKA​(z)/2,Dr​(e)=wind3​(t↦r(e(t−1))2),

where both divisions by 222 in the definition of ρ\rhoρ are natural-number division, discarding any remainder. Define the rational quantity R(p)R(p)R(p) as follows. For a real subspace W⊆VnW\subseteq V_nW⊆Vn​ and a real quadratic function QQQ, let sig⁡W(Q)\operatorname{sig}_W(Q)sigW​(Q) be the largest dimension of a subspace of WWW on which QQQ is strictly positive away from zero, minus the largest dimension of a subspace on which −Q-Q−Q is strictly positive away from zero; equivalently, each maximum searches the integers from 000 to 2n2n2n. For any matrix-valued function qqq, set Cq(t)=ker⁡(q(t)−I)C_q(t)=\ker(q(t)-I)Cq​(t)=ker(q(t)−I), Γq(t)(v,w)=ωn(q(t)v,q′(t)w)\Gamma_q(t)(v,w)=\omega_n(q(t)v,q'(t)w)Γq​(t)(v,w)=ωn​(q(t)v,q′(t)w), where q′(t)q'(t)q′(t) is the derivative taken within [0,1][0,1][0,1] using the total derivative operation, and σq(t)=sig⁡Cq(t)(v↦Γq(t)(v,v))\sigma_q(t)=\operatorname{sig}_{C_q(t)}(v\mapsto\Gamma_q(t)(v,v))σq​(t)=sigCq​(t)​(v↦Γq​(t)(v,v)). Call qqq regular when it is a continuous symplectic path on [0,1][0,1][0,1], is infinitely differentiable there in the sense of differentiation within that interval, and, for every t∈[0,1]t\in[0,1]t∈[0,1] and v∈Cq(t)v\in C_q(t)v∈Cq​(t), the condition Γq(t)(v,w)=0\Gamma_q(t)(v,w)=0Γq​(t)(v,w)=0 for every w∈Cq(t)w\in C_q(t)w∈Cq​(t) implies v=0v=0v=0. If there exists such a regular qqq together with a continuous homotopy H:[0,1]2→Mat⁡2n(R)H:[0,1]^2\to\operatorname{Mat}_{2n}(\mathbb R)H:[0,1]2→Mat2n​(R) consisting entirely of symplectic matrices, satisfying H(0,t)=p(t)H(0,t)=p(t)H(0,t)=p(t), H(1,t)=q(t)H(1,t)=q(t)H(1,t)=q(t), H(s,0)=p(0)H(s,0)=p(0)H(s,0)=p(0), and H(s,1)=p(1)H(s,1)=p(1)H(s,1)=p(1) for all s,t∈[0,1]s,t\in[0,1]s,t∈[0,1], choose one such qqq classically; otherwise take q=pq=pq=p. Let Iq=∑t∈(0,1), Cq(t)≠{0}σq(t)I_q=\sum_{t\in(0,1),\,C_q(t)\neq\{0\}}\sigma_q(t)Iq​=∑t∈(0,1),Cq​(t)={0}​σq​(t) when this crossing set is finite, and let Iq=0I_q=0Iq​=0 otherwise. Then R(p)=(σq(0)+2Iq+σq(1))/2R(p)=\bigl(\sigma_q(0)+2I_q+\sigma_q(1)\bigr)/2R(p)=(σq​(0)+2Iq​+σq​(1))/2, with the integer numerator interpreted in Q\mathbb QQ. Under all the assumptions above, the declaration asserts both

R(p)=Dρ(e)+s02−s12R(p)=D_\rho(e)+\frac{s_0}{2}-\frac{s_1}{2}R(p)=Dρ​(e)+2s0​​−2s1​​

and the following statement for every function r:Mat⁡2n(R)→Cr:\operatorname{Mat}_{2n}(\mathbb R)\to\mathbb Cr:Mat2n​(R)→C: if rrr is continuous on the set of symplectic matrices, satisfies ∣r(A)∣=1|r(A)|=1∣r(A)∣=1 for every symplectic AAA, agrees with det⁡CCA\det_{\mathbb C}C_AdetC​CA​ whenever AJn=JnAAJ_n=J_nAAJn​=Jn​A and CA∗CA=InC_A^*C_A=I_nCA∗​CA​=In​, where (CA)ij=Aij11+iAij21(C_A)_{ij}=A_{ij}^{11}+iA_{ij}^{21}(CA​)ij​=Aij11​+iAij21​ and CA∗C_A^*CA∗​ is the conjugate transpose, satisfies r(W−)∈{1,−1}r(W_-)\in\{1,-1\}r(W−​)∈{1,−1}, and satisfies

wind⁡1 ⁣(t↦r ⁣(exp⁡(tJnπS−))2)=n−1,S−=(diag⁡(a)diag⁡(b)diag⁡(b)diag⁡(a)),aj={0j=0,1j>0,bj={−log⁡(2)/πj=0,0j>0,\operatorname{wind}_1\!\left(t\mapsto r\!\left(\exp(tJ_n\pi S_-)\right)^2\right)=n-1, \qquad S_-= \begin{pmatrix} \operatorname{diag}(a)&\operatorname{diag}(b)\\ \operatorname{diag}(b)&\operatorname{diag}(a) \end{pmatrix}, \quad a_j=\begin{cases}0&j=0,\\1&j>0,\end{cases} \quad b_j=\begin{cases}-\log(2)/\pi&j=0,\\0&j>0,\end{cases}wind1​(t↦r(exp(tJn​πS−​))2)=n−1,S−​=(diag(a)diag(b)​diag(b)diag(a)​),aj​={01​j=0,j>0,​bj​={−log(2)/π0​j=0,j>0,​

where the exponential is the matrix exponential, then

R(p)=Dr(e)+s02−s12.R(p)=D_r(e)+\frac{s_0}{2}-\frac{s_1}{2}.R(p)=Dr​(e)+2s0​​−2s1​​.

In these equalities the integer degrees and sign sums are embedded in Q\mathbb QQ. No condition requires p(0)=Ip(0)=Ip(0)=I or either endpoint to have det⁡(p(ε)−I)≠0\det(p(\varepsilon)-I)\neq0det(p(ε)−I)=0. Although n=0n=0n=0 is excluded, the dimensions of individual endpoint splitting factors and the normal form block counts may be zero; empty sums are 000, empty products are 111, and spectral conditions on an empty eigenvalue set are vacuous.

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

    Confirmed by the moderator at approval.

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