Proposition 12 — real sign counts and total signature
OpenQAlgorithms.Papers.Independent.Intake100.P39.real_sign_counts_and_total_signatureLet , with grouped symplectic form , and let be a real linear map preserving . This is a coordinate formulation in an arbitrary ambient symplectic basis. Write and for their complex-linear and complex-bilinear extensions, , and . Let , with repetitions removed, and let be the real subspace whose complexification is . A symplectic basis uses the matrix . All transposes below are ordinary transposes.
For a positive integer , let have diagonal , superdiagonal , and other entries zero. Put and
The symbol denotes the symplectic direct sum: concatenate all first-half basis vectors before all second-half basis vectors. For and , define the real symmetric kernel form on by
Its positive and negative indices count positive and negative eigenvalues, excluding zeros; its rank is their sum and its signature is their difference. Consider any valid signed real normal decomposition on , . For every ,
Moreover, with the source's ambient dimension bound,
Here and denote the positive and negative indices. The forms may have zero eigenvalues.
This recovers both sign multiplicities and the finite total signature formula (22).
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P39
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.17–18, Proposition 12: BOTH inertia counts and the finite total
signature identity (22), whose upper bound is the ambient dim V=2n. -/
theorem real_sign_counts_and_total_signature {n L : ℕ} (A : GroupedRealMatrix n)
(hA : IsSymplectic A) (a : ℝ) (ha : a = 1 ∨ a = -1)
(r : Fin L → ℕ) (s : Fin L → ℤ) (hNF : RealNormal A a r s) :
RealSignCounts A a r s ∧
(∑ j, s j) = ∑ k ∈ Finset.Icc 1 (2 * n), (rankSignature (realInertia A a k)).2 := by sorry
end QAlgorithms.Papers.Independent.Intake100.P39
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every pair of nonnegative integers , real matrix satisfying , where , real number , and lists of natural numbers and of integers, suppose that every , every , and implies is odd. Suppose also that has a basis , , with canonical pairings under : pairings between two 's or two 's are zero, and . In this basis assume that acts separately on each -block with matrix , where has diagonal , superdiagonal , and zeros elsewhere, and has only its last diagonal entry equal to . For every integer , put , , and . Let be the largest real dimension of a linear subspace of on whose nonzero vectors is strictly positive, and let be the corresponding largest dimension for strict negativity. Then
where each difference on the right is taken in the integers. The zero subspace is allowed in the definitions of , so either index may be zero. Empty block lists and empty sums are included; in particular, when , the assumed basis forces , and the total-signature equality is . No eigenvalue hypothesis on is imposed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.