Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3: endpoint signature formula for arbitrary continuous paths

Open
QAlgorithms.Papers.Independent.Intake100.P25.arbitrary_path_endpoint_formula

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 any continuous path. At each endpoint split off its generalized 111-eigenspace symplectically, writing ψ(i)=ψ⋆(i)⋄ψ(1)(i)\psi(i)=\psi^\star(i)\diamond\psi^{(1)}(i)ψ(i)=ψ⋆(i)⋄ψ(1)(i), where the first block has no eigenvalue 111. Let Ψ:[−1,2]→Sp⁡(2n,Ω0)\Psi:[-1,2]\to\operatorname{Sp}(2n,\Omega_0)Ψ:[−1,2]→Sp(2n,Ω0​) be continuous, agree with ψ\psiψ on [0,1][0,1][0,1], and satisfy the following endpoint conditions in those bases. At −1/2-1/2−1/2 and 3/23/23/2 the respective 111-blocks are H=diag⁡(e−1I,eI)H=\operatorname{diag}(e^{-1}I,eI)H=diag(e−1I,eI); on [−1/2,0][-1/2,0][−1/2,0] and [1,3/2][1,3/2][1,3/2] the star block is fixed and the other block has only positive real eigenvalues. The values Ψ(−1)\Psi(-1)Ψ(−1) and Ψ(2)\Psi(2)Ψ(2) are independently W+W^+W+ or W−W^-W−, and Ψ\PsiΨ has no eigenvalue 111 on the two outer intervals. Let rrr be continuous and circle-valued on the symplectic group, agree with det⁡C\det_{\mathbb C}detC​ on U(n)U(n)U(n), satisfy r(W−)∈{1,−1}r(W^-)\in\{1,-1\}r(W−)∈{1,−1}, and obey deg⁡(r2∘ψ2−)=n−1\deg(r^2\circ\psi_{2-})=n-1deg(r2∘ψ2−​)=n−1. Here W+=−IW^+=-IW+=−I, W−=diag⁡(2,−1,…,−1,1/2,−1,…,−1)W^-=\operatorname{diag}(2,-1,\ldots,-1,1/2,-1,\ldots,-1)W−=diag(2,−1,…,−1,1/2,−1,…,−1), and ψ2−(t)=exp⁡(tπJ0S−)\psi_{2-}(t)=\exp(t\pi J_0S^-)ψ2−​(t)=exp(tπJ0​S−) with J0=(0−II0)J_0=\left(\begin{smallmatrix}0&-I\\I&0\end{smallmatrix}\right)J0​=(0I​−I0​), diagonal blocks of S−S^-S− equal to diag⁡(0,1,…,1)\operatorname{diag}(0,1,\ldots,1)diag(0,1,…,1) and both off-diagonal blocks equal to diag⁡(−log⁡(2)/π,0,…,0)\operatorname{diag}(-\log(2)/\pi,0,\ldots,0)diag(−log(2)/π,0,…,0). Then

μRS(ψ)=deg⁡(r2∘Ψ)+12∑k=12nSign⁡Q^kψ(0)−12∑k=12nSign⁡Q^kψ(1).\mu_{RS}(\psi)=\deg(r^2\circ\Psi)+\frac12\sum_{k=1}^{2n}\operatorname{Sign}\widehat Q_k^{\psi(0)}-\frac12\sum_{k=1}^{2n}\operatorname{Sign}\widehat Q_k^{\psi(1)}.μRS​(ψ)=deg(r2∘Ψ)+21​k=1∑2n​SignQ​kψ(0)​−21​k=1∑2n​SignQ​kψ(1)​.

For a symplectic matrix AAA, Q^kA(v,w)=Ω0((A−I)kv,(A−I)k−1w)\widehat Q_k^A(v,w)=\Omega_0((A-I)^kv,(A-I)^{k-1}w)Q​kA​(v,w)=Ω0​((A−I)kv,(A−I)k−1w) on ker⁡(A−I)2k\ker(A-I)^{2k}ker(A−I)2k. Signature means positive minus negative inertia, including radicals. The infinite-looking source sums terminate beyond the ambient dimension. Degree is taken on the whole interval [−1,2][-1,2][−1,2], represented by t↦Ψ(t−1)t\mapsto\Psi(t-1)t↦Ψ(t−1) on [0,3][0,3][0,3]. This formula handles arbitrary, possibly degenerate endpoints without a regular-crossing premise.

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 3, PDF pp.3-4 and p.23: arbitrary continuous paths and both endpoint
signature corrections. No SP(n) endpoint assumptions apply to this theorem. -/
theorem arbitrary_path_endpoint_formula {n : ℕ} (hn : 1 ≤ n)
    (p e : ℝ → GroupedRealMatrix n) (hp : IsPath p 1)
    (D0 : EndpointSplitting (p 0)) (D1 : EndpointSplitting (p 1))
    (he : IsProlongation p e D0 D1)
    (r : GroupedRealMatrix n → ℂ) (hc : ContinuousOn r {A | IsSymplectic A})
    (hcircle : ∀ A, IsSymplectic A → ‖r A‖ = 1)
    (hdet : ∀ A, IsUnitaryReal A → r A = complexActionDet A)
    (hw : r (wMinus n) = 1 ∨ r (wMinus n) = -1)
    (href : winding (fun t => r (referenceMinus n t)^2) 1 = (n : ℤ)-1) :
    robbinSalamon p = (prolongationDegree r e : ℚ) +
      (endpointSignatureSum (p 0) 1 : ℚ)/2 -
        (endpointSignatureSum (p 1) 1 : ℚ)/2 := by sorry

end QAlgorithms.Papers.Independent.Intake100.P25

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

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

Let n≥1n\ge1n≥1, put Ωd(x,y)=∑j=0d−1(xjyd+j−xd+jyj)\Omega_d(x,y)=\sum_{j=0}^{d-1}(x_jy_{d+j}-x_{d+j}y_j)Ωd​(x,y)=∑j=0d−1​(xj​yd+j​−xd+j​yj​) and Jd=(0−IdId0)J_d=\begin{pmatrix}0&-I_d\\I_d&0\end{pmatrix}Jd​=(0Id​​−Id​0​), and let p,e:R→M2n(R)p,e:\mathbb R\to M_{2n}(\mathbb R)p,e:R→M2n​(R). Assume ppp is continuous on [0,1][0,1][0,1] and p(t)TJnp(t)=Jnp(t)^{\mathsf T}J_np(t)=J_np(t)TJn​p(t)=Jn​ there. For each i=0,1i=0,1i=0,1, supply dimensions ai,bia_i,b_iai​,bi​, symplectic matrices Ui,ViU_i,V_iUi​,Vi​ of sizes 2ai,2bi2a_i,2b_i2ai​,2bi​ with det⁡(Ui−I)≠0\det(U_i-I)\ne0det(Ui​−I)=0, and a real linear isomorphism Fi:R2ai×R2bi→R2nF_i:\mathbb R^{2a_i}\times\mathbb R^{2b_i}\to\mathbb R^{2n}Fi​:R2ai​×R2bi​→R2n satisfying

Ωn(Fi(x,y),Fi(x′,y′))=Ωai(x,x′)+Ωbi(y,y′),ker⁡((p(i)−I)2n)=Fi({0}×R2bi),p(i)Fi(x,y)=Fi(Uix,Viy).\Omega_n(F_i(x,y),F_i(x',y'))=\Omega_{a_i}(x,x')+\Omega_{b_i}(y,y'), \quad \ker((p(i)-I)^{2n})=F_i(\{0\}\times\mathbb R^{2b_i}), \quad p(i)F_i(x,y)=F_i(U_ix,V_iy).Ωn​(Fi​(x,y),Fi​(x′,y′))=Ωai​​(x,x′)+Ωbi​​(y,y′),ker((p(i)−I)2n)=Fi​({0}×R2bi​),p(i)Fi​(x,y)=Fi​(Ui​x,Vi​y).

Assume eee is continuous and symplectic on [−1,2][-1,2][−1,2], equals ppp on [0,1][0,1][0,1], and, writing Hd=diag⁡(e−1Id,eId)H_d=\operatorname{diag}(e^{-1}I_d,eI_d)Hd​=diag(e−1Id​,eId​), satisfies e(−12)F0(x,y)=F0(U0x,Hb0y)e(-\tfrac12)F_0(x,y)=F_0(U_0x,H_{b_0}y)e(−21​)F0​(x,y)=F0​(U0​x,Hb0​​y) and e(32)F1(x,y)=F1(U1x,Hb1y)e(\tfrac32)F_1(x,y)=F_1(U_1x,H_{b_1}y)e(23​)F1​(x,y)=F1​(U1​x,Hb1​​y) for every x,yx,yx,y. Assume there exist functions ϕ0,ϕ1\phi_0,\phi_1ϕ0​,ϕ1​, continuous respectively on [−12,0][-\tfrac12,0][−21​,0] and [1,32][1,\tfrac32][1,23​], such that on those intervals e(t)Fi(x,y)=Fi(Uix,ϕi(t)y)e(t)F_i(x,y)=F_i(U_ix,\phi_i(t)y)e(t)Fi​(x,y)=Fi​(Ui​x,ϕi​(t)y), each ϕi(t)\phi_i(t)ϕi​(t) is symplectic, and all its complex characteristic roots have imaginary part zero and strictly positive real part. Also assume e(−1),e(2)∈{Wn+,Wn−}e(-1),e(2)\in\{W_n^+,W_n^-\}e(−1),e(2)∈{Wn+​,Wn−​}, where Wn+=−IW_n^+=-IWn+​=−I and Wn−W_n^-Wn−​ is diagonal with entries 2,1/22,1/22,1/2 at index 000 in the first and second coordinate groups, respectively, and −1-1−1 elsewhere, and assume det⁡(e(t)−I)≠0\det(e(t)-I)\ne0det(e(t)−I)=0 on both [−1,−12][-1,-\tfrac12][−1,−21​] and [32,2][\tfrac32,2][23​,2]. Let r:M2n(R)→Cr:M_{2n}(\mathbb R)\to\mathbb Cr:M2n​(R)→C be continuous on the symplectic matrices and have modulus 111 there. For a real block matrix A=(FBCD)A=\begin{pmatrix}F&B\\C&D\end{pmatrix}A=(FC​BD​), put H(A)=F+iCH(A)=F+iCH(A)=F+iC, and assume r(A)=det⁡H(A)r(A)=\det H(A)r(A)=detH(A) whenever AJn=JnAAJ_n=J_nAAJn​=Jn​A and H(A)∗H(A)=IH(A)^*H(A)=IH(A)∗H(A)=I; also assume r(Wn−)∈{1,−1}r(W_n^-)\in\{1,-1\}r(Wn−​)∈{1,−1}. Define WT(f)W_T(f)WT​(f) to be a classically chosen integer kkk admitting a continuous real θ\thetaθ 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)), or 000 if no such integer exists. Let Sn−S_n^-Sn−​ have equal diagonal blocks with diagonal entries 000 at index 000 and 111 elsewhere, and equal off-diagonal blocks with diagonal entries −log⁡(2)/π-\log(2)/\pi−log(2)/π at index 000 and 000 elsewhere; set Rn(t)=exp⁡(tJn(πSn−))R_n(t)=\exp(tJ_n(\pi S_n^-))Rn​(t)=exp(tJn​(πSn−​)), and assume W1(t↦r(Rn(t))2)=n−1W_1(t\mapsto r(R_n(t))^2)=n-1W1​(t↦r(Rn​(t))2)=n−1. To specify the rational index in the conclusion, for any path qqq put Kq(t)=ker⁡(q(t)−I)K_q(t)=\ker(q(t)-I)Kq​(t)=ker(q(t)−I), let q′(t)q'(t)q′(t) be its derivative within [0,1][0,1][0,1], with the total derivative convention returning zero where no derivative exists, and set qt(v)=Ωn(q(t)v,q′(t)v)q_t(v)=\Omega_n(q(t)v,q'(t)v)qt​(v)=Ωn​(q(t)v,q′(t)v). For a function on a finite dimensional real space, its signature on a subspace means the largest dimension of a subspace where it is strictly positive on nonzero vectors minus the corresponding largest dimension for strict negativity. Write σq(t)\sigma_q(t)σq​(t) for this signature of qtq_tqt​ on Kq(t)K_q(t)Kq​(t), and Cq={t∈(0,1):Kq(t)≠{0}}C_q=\{t\in(0,1):K_q(t)\ne\{0\}\}Cq​={t∈(0,1):Kq​(t)={0}}. Choose a path qqq among those continuous, symplectic, and infinitely differentiable on [0,1][0,1][0,1], for which the bilinear expression Ωn(q(t)v,q′(t)w)\Omega_n(q(t)v,q'(t)w)Ωn​(q(t)v,q′(t)w) has zero left radical on Kq(t)K_q(t)Kq​(t) at every t∈[0,1]t\in[0,1]t∈[0,1], and which admit a continuous symplectic homotopy H:[0,1]2→M2n(R)H:[0,1]^2\to M_{2n}(\mathbb R)H:[0,1]2→M2n​(R) with 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); if no such qqq exists, use q=pq=pq=p. Put Iq=∑t∈Cqσq(t)I_q=\sum_{t\in C_q}\sigma_q(t)Iq​=∑t∈Cq​​σq​(t) when CqC_qCq​ is finite and Iq=0I_q=0Iq​=0 otherwise, and define RS⁡(p)=(σq(0)+2Iq+σq(1))/2\operatorname{RS}(p)=(\sigma_q(0)+2I_q+\sigma_q(1))/2RS(p)=(σq​(0)+2Iq​+σq​(1))/2. Finally, for a real 2n×2n2n\times2n2n×2n matrix AAA, define

E(A)=∑k=12nsig⁡ker⁡((A−I)2k)(v↦Ωn((A−I)kv,(A−I)k−1v)).E(A)=\sum_{k=1}^{2n} \operatorname{sig}_{\ker((A-I)^{2k})} \left(v\mapsto\Omega_n((A-I)^kv,(A-I)^{k-1}v)\right).E(A)=k=1∑2n​sigker((A−I)2k)​(v↦Ωn​((A−I)kv,(A−I)k−1v)).

Then the asserted equality in Q\mathbb QQ is

RS⁡(p)=W3(t↦r(e(t−1))2)+E(p(0))2−E(p(1))2.\operatorname{RS}(p) = W_3(t\mapsto r(e(t-1))^2) +\frac{E(p(0))}{2} -\frac{E(p(1))}{2}.RS(p)=W3​(t↦r(e(t−1))2)+2E(p(0))​−2E(p(1))​.

The endpoint summands and their positive-spectrum conditions permit zero dimensional blocks, and no condition p(0)=Ip(0)=Ip(0)=I or exclusion of eigenvalue 111 at either endpoint is assumed.

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