Lemma 3
ProvedQAlgorithms.Papers.Independent.Gap50repair.P01.complex_linearity_blocksLet be real matrices and put . Identify with , using the standard complex structure . Then
Under these equivalent conditions, the complex action is . The statement fixes the source's real-to-complex block convention, including the signs.
import Definitions.Def_QAlgorithms_Papers_Independent_Gap50repair_P01
noncomputable section
open scoped BigOperators Matrix Matrix.Norms.Frobenius
namespace QAlgorithms.Papers.Independent.Gap50repair.P01
attribute [local instance] Classical.propDecidable
-- Pinned entrywise complexification and symplecticity. The latter uses -Omega0;
-- preserving -Omega0 is equivalent to preserving Omega0, with identical coordinates.
open QAlgorithms.Papers.Independent.Dependency50.P10 (complexify)
open QAlgorithms.Papers.Independent.Frontier30.P02 (IsSymplectic)
/-- Lemma 3, PDF p.5: block criterion and the complete complex action. -/
theorem complex_linearity_blocks {n : ℕ} (F B C D : Matrix (Fin n) (Fin n) ℝ) :
(CommutesWithComplexStructure (Matrix.fromBlocks F B C D) ↔ D = F ∧ C = -B) ∧
(D = F → C = -B → ∀ x y : Fin n → ℝ,
(fun i => (((Matrix.fromBlocks F B C D).mulVec (Sum.elim x y)) (Sum.inl i) : ℂ) +
Complex.I*(((Matrix.fromBlocks F B C D).mulVec (Sum.elim x y)) (Sum.inr i) : ℂ)) =
(complexActionMatrix (Matrix.fromBlocks F B C D)).mulVec (fun i => (x i : ℂ)+Complex.I*(y i : ℂ))) := by sorry
end QAlgorithms.Papers.Independent.Gap50repair.P01
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , including , and every four real matrices , put and . Then if and only if both and . Moreover, if and , then for every pair of real vectors , applying to the real vector with first coordinate group and second coordinate group , and identifying the resulting two groups with their first group plus times their second group, gives ; equivalently, as vectors in , where real entries are embedded into . Here is exactly the complex matrix whose entry is . For , the vector equalities have no coordinates to check.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.