Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Supporting algebra of the programmable connection gate

Open
QAlgorithms.Papers.Independent.Intake100.P11.connectionGate_quadraticAlgebra

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

For real k1,k2,ηk_1,k_2,\etak1​,k2​,η, define K=(k1−η−η−ηk2−η)K=\begin{pmatrix}k_1-\eta&-\eta\\-\eta&k_2-\eta\end{pmatrix}K=(k1​−η−η​−ηk2​−η​), F2=(0−I2I20)F_2=\begin{pmatrix}0&-I_2\\I_2&0\end{pmatrix}F2​=(0I2​​−I2​0​), and the ideal grouped-coordinate matrix

C(k1,k2,η)=F2(I20KI2)=(−K−I2I20).C(k_1,k_2,\eta)=F_2\begin{pmatrix}I_2&0\\K&I_2\end{pmatrix} =\begin{pmatrix}-K&-I_2\\I_2&0\end{pmatrix}.C(k1​,k2​,η)=F2​(I2​K​0I2​​)=(−KI2​​−I2​0​).

This matrix preserves F2F_2F2​ as a symplectic form. Its phase polynomial is xTKx=k1x12+k2x22−η(x1+x2)2x^TKx=k_1x_1^2+k_2x_2^2-\eta(x_1+x_2)^2xTKx=k1​x12​+k2​x22​−η(x1​+x2​)2, for every real position vector x=(x1,x2)x=(x_1,x_2)x=(x1​,x2​). Every symmetric real 2×22\times22×2 matrix is obtainable as KKK. Setting η=0\eta=0η=0 removes the intermode coupling and leaves independent elementary one-mode actions.

This supporting identity records the algebra needed by the source construction. The operational claim about this module on every normal two-mode input remains deferred in HARD.md; it is not replaced by a covariance or matrix assertion.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P11
Formal statement
noncomputable section

open scoped Matrix BigOperators

namespace QAlgorithms.Papers.Independent.Intake100.P11

/-- PDF p.8, Eq.(16): SUPPORTING ideal connection algebra, including every
symmetric position-quadratic gate and disabling eta. The operational node is
deferred, not replaced by this identity. Corrected prose sign documented above. -/
theorem connectionGate_quadraticAlgebra :
    (∀ kappa1 kappa2 eta : ℝ,
      connectionMatrix kappa1 kappa2 eta =
        Matrix.fromBlocks (-(connectionQuadratic kappa1 kappa2 eta)) (-1 : Mat2) 1 0 ∧
      (connectionMatrix kappa1 kappa2 eta).transpose * fourierTwo *
        connectionMatrix kappa1 kappa2 eta = fourierTwo ∧
      ∀ x : Fin 2 → ℝ,
        (∑ i, ∑ j, x i * connectionQuadratic kappa1 kappa2 eta i j * x j) =
          kappa1 * (x 0) ^ 2 + kappa2 * (x 1) ^ 2 - eta * (x 0 + x 1) ^ 2) ∧
    (∀ K : Mat2, K.transpose = K →
      ∃ kappa1 kappa2 eta : ℝ, connectionQuadratic kappa1 kappa2 eta = K) ∧
    (∀ kappa1 kappa2 : ℝ,
      connectionMatrix kappa1 kappa2 0 =
        Matrix.fromBlocks (!![-kappa1, 0; 0, -kappa2] : Mat2) (-1 : Mat2) 1 0) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P11

end
Source
Universal linear Bogoliubov transformations through one-way quantum computation, arXiv:0910.0660v1, PDF p. 8, §VI, Eq.(16)
Read-back

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

Use 2×22\times22×2 blocks to describe real 4×44\times44×4 matrices, and let I2I_2I2​ and 000 denote the 2×22\times22×2 identity and zero matrices. Define

J=(0−I2I20),K(κ1,κ2,η)=(κ1−η−η−ηκ2−η),C(κ1,κ2,η)=J(I20K(κ1,κ2,η)I2).J=\begin{pmatrix}0&-I_2\\I_2&0\end{pmatrix},\qquad K(\kappa_1,\kappa_2,\eta)= \begin{pmatrix}\kappa_1-\eta&-\eta\\-\eta&\kappa_2-\eta\end{pmatrix}, \qquad C(\kappa_1,\kappa_2,\eta) =J\begin{pmatrix}I_2&0\\K(\kappa_1,\kappa_2,\eta)&I_2\end{pmatrix}.J=(0I2​​−I2​0​),K(κ1​,κ2​,η)=(κ1​−η−η​−ηκ2​−η​),C(κ1​,κ2​,η)=J(I2​K(κ1​,κ2​,η)​0I2​​).

For every real κ1,κ2,η\kappa_1,\kappa_2,\etaκ1​,κ2​,η,

C(κ1,κ2,η)=(−K(κ1,κ2,η)−I2I20),C(κ1,κ2,η)TJC(κ1,κ2,η)=J,C(\kappa_1,\kappa_2,\eta)= \begin{pmatrix}-K(\kappa_1,\kappa_2,\eta)&-I_2\\I_2&0\end{pmatrix}, \qquad C(\kappa_1,\kappa_2,\eta)^{\mathsf T}J C(\kappa_1,\kappa_2,\eta)=J,C(κ1​,κ2​,η)=(−K(κ1​,κ2​,η)I2​​−I2​0​),C(κ1​,κ2​,η)TJC(κ1​,κ2​,η)=J,

and, for every real two-component vector x=(x0,x1)x=(x_0,x_1)x=(x0​,x1​),

∑i=01∑j=01xiK(κ1,κ2,η)ijxj=κ1x02+κ2x12−η(x0+x1)2.\sum_{i=0}^{1}\sum_{j=0}^{1} x_iK(\kappa_1,\kappa_2,\eta)_{ij}x_j =\kappa_1x_0^2+\kappa_2x_1^2-\eta(x_0+x_1)^2.i=0∑1​j=0∑1​xi​K(κ1​,κ2​,η)ij​xj​=κ1​x02​+κ2​x12​−η(x0​+x1​)2.

Furthermore, for every real 2×22\times22×2 matrix LLL satisfying LT=LL^{\mathsf T}=LLT=L, there exist real κ1,κ2,η\kappa_1,\kappa_2,\etaκ1​,κ2​,η with K(κ1,κ2,η)=LK(\kappa_1,\kappa_2,\eta)=LK(κ1​,κ2​,η)=L. Finally, for every real κ1,κ2\kappa_1,\kappa_2κ1​,κ2​,

C(κ1,κ2,0)=((−κ100−κ2)−I2I20).C(\kappa_1,\kappa_2,0)= \begin{pmatrix} \begin{pmatrix}-\kappa_1&0\\0&-\kappa_2\end{pmatrix}&-I_2\\ I_2&0 \end{pmatrix}.C(κ1​,κ2​,0)=​(−κ1​0​0−κ2​​)I2​​−I2​0​​.
Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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