Symplectic-dual row generator
OpenQAlgorithms.Papers.Independent.Intakenext100.P08.symplecticDual_generatorLet , let be a nonsingular real row-generator matrix, and set and . Assume has integer entries. Write for the integer span of the rows and for all vectors pairing integrally with every lattice vector. The computed generator satisfies
These are algebraic lattice identities, independent of ideal oscillator states. Formalization Note Both nonsingular determinants are explicit; nonsingularity of also follows from that of .
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P08
namespace QAlgorithms.Papers.Independent.Intakenext100.P08
open MeasureTheory ProbabilityTheory Matrix
open scoped BigOperators ENNReal
-- Accepted grouped index and source-sign matrix; no paper-local copies.
open QAlgorithms.Papers.Independent.Dependency50.P10 (Phase sigma)
-- The accepted predicate uses column bases and -sigma: apply it to S.transpose.
open QAlgorithms.Papers.Independent.Frontier30.P02 (IsSymplectic)
-- The accepted pairing has the opposite sign: exchange its two arguments below.
open QAlgorithms.Papers.Independent.Frontier30.P10 (symplecticPair)
/-- PDF p.4, (31)–(33): computed symplectic-dual generator and both pairing identities.
All matrix inverses are protected by determinant hypotheses; no ideal quantum states occur. -/
theorem symplecticDual_generator (N : ℕ) (hN : 1 ≤ N) (M : Generator N)
(hM : M.det ≠ 0) (hA : (alternatingGram M).det ≠ 0)
(hIntegral : SymplecticallyIntegral M) :
(rowLattice (dualGenerator M) : Set (EuclideanSpace ℝ (Phase N))) = symplecticDual M ∧
dualGenerator M * sigma N * M.transpose = 1 ∧
alternatingGram (dualGenerator M) = ((alternatingGram M)⁻¹).transpose := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P08
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number with , let be a real matrix, with coordinates indexed by two copies of , and put
Assume , , and that every entry of is an integer viewed as a real number. For any such matrix , let be the set of all integer linear combinations of its rows, including the zero combination, and set . Then all three assertions hold:
Here and denote the coordinates in the first and second copies of the index set, respectively.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.