Unnumbered symplectic direct sum of bases and matrices
OpenQAlgorithms.Papers.Independent.Intake100.P39.symplectic_direct_sum_basesLet , 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.
Suppose , with the summands -orthogonal and -invariant. Let and be symplectic bases of the summands, representing the restrictions by and , each written in first-half/second-half sectors , . Then the explicitly concatenated basis
is symplectic and represents by
Either summand may be zero-dimensional.
This fixes the coordinate permutation used for every later symplectic block sum.
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 p.2: the explicitly concatenated basis is symplectic and represents
A by A1 diamond A2, in grouped order rather than ordinary block-diagonal order. -/
theorem symplectic_direct_sum_bases {n k l : ℕ} (A : GroupedRealMatrix n) (hA : IsSymplectic A)
(W1 W2 : Submodule ℝ (RVec n)) (hsum : W1 ⊔ W2 = ⊤) (hd : Disjoint W1 W2)
(ho : ∀ v ∈ W1, ∀ w ∈ W2, omegaR v w = 0)
(b1 : Module.Basis (Coord k) ℝ W1) (b2 : Module.Basis (Coord l) ℝ W2)
(M1 : GroupedRealMatrix k) (M2 : GroupedRealMatrix l)
(hb1 : ∀ i j, omegaR (b1 i).val (b1 j).val =
groupedOmega (Pi.single i 1) (Pi.single j 1))
(hb2 : ∀ i j, omegaR (b2 i).val (b2 j).val =
groupedOmega (Pi.single i 1) (Pi.single j 1))
(ha1 : ∀ j, A.mulVec (b1 j).val = ∑ i, M1 i j • (b1 i).val)
(ha2 : ∀ j, A.mulVec (b2 j).val = ∑ i, M2 i j • (b2 i).val) :
∃ b : Module.Basis ((Fin k ⊕ Fin l) ⊕ (Fin k ⊕ Fin l)) ℝ (RVec n),
(∀ i, b (Sum.inl (Sum.inl i)) = (b1 (Sum.inl i)).val) ∧
(∀ i, b (Sum.inl (Sum.inr i)) = (b2 (Sum.inl i)).val) ∧
(∀ i, b (Sum.inr (Sum.inl i)) = (b1 (Sum.inr i)).val) ∧
(∀ i, b (Sum.inr (Sum.inr i)) = (b2 (Sum.inr i)).val) ∧
(∀ i j, omegaR (b i) (b j) = groupedOmega (Pi.single i 1) (Pi.single j 1)) ∧
∀ j, A.mulVec (b j) = ∑ i, symplecticDiamond M1 M2 i j • b i := by sorry
end QAlgorithms.Papers.Independent.Intake100.P39
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
Let , put , define , and let be represented by a real matrix satisfying , where . Let be real-linear subspaces with , , and for every , . Suppose is a basis of indexed by two copies of , and is a basis of indexed by two copies of . Denote these basis vectors by and , respectively, and assume
with zero pairings within each half and the corresponding negative reverse pairings. Let and be specified real and matrices such that, for every basis index , and , viewing the subspace vectors as elements of . Then has a basis indexed, in order, by the first and next indices in its first half and the first and next indices in its second half, whose vectors are exactly
This basis has canonical symplectic pairings, and, on writing in its two halves, the action of satisfies the column equations for the matrix
Zero values of , and hence empty constituent bases, are included.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.