Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Fermionic dual injectivity, Gaussian symbol, and positivity

Open
QAlgorithms.Papers.Independent.Intake100.P22.fermionic_duality

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

prove2quantum

Fix a finite number n≥0n\ge0n≥0 of fermionic modes. Let C2n=End⁡(C2n)\mathcal C_{2n}=\operatorname{End}(\mathbb C^{2^n})C2n​=End(C2n) have Hermitian Majorana generators cac_aca​ satisfying cacb+cbca=2δabIc_ac_b+c_bc_a=2\delta_{ab}Ica​cb​+cb​ca​=2δab​I. The symbol map ω\omegaω sends each ordered Majorana monomial linearly to the corresponding ordered Grassmann monomial; it is not multiplicative. Gaussian states, operators, and maps have the meanings of Definitions 1–3 of the paper. All maps act on the full complex operator algebra, including its odd sector.

For a complex-linear parity-preserving EEE, let

ρI=2−2n∏a=12n(I+icac2n+a),ρE=(E⊗fId)(ρI).\rho_I=2^{-2n}\prod_{a=1}^{2n}(I+ic_ac_{2n+a}),\qquad \rho_E=(E\otimes_f\mathrm{Id})(\rho_I).ρI​=2−2na=1∏2n​(I+ica​c2n+a​),ρE​=(E⊗f​Id)(ρI​).

The two halves use the fixed disjoint CAR embeddings of Eq.(48). For every other complex-linear parity-preserving FFF,

ρE=ρF⇒E=F,E completely positive⟺ρE≥0.\rho_E=\rho_F\Rightarrow E=F,\qquad E\text{ completely positive}\Longleftrightarrow\rho_E\ge0.ρE​=ρF​⇒E=F,E completely positive⟺ρE​≥0.

If EEE has Gaussian action SSS and prefactor CCC, its dual has the exact symbol

ω(ρE,θ,η)=C22neS(θ,η).\omega(\rho_E,\theta,\eta)=\frac{C}{2^{2n}}e^{S(\theta,\eta)}.ω(ρE​,θ,η)=22nC​eS(θ,η).

The dual is an operator rather than an assumed normalized state. Injectivity includes every odd monomial. This specifies a full linear map through its fermionic generating function.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P22
Formal statement
noncomputable section

open scoped BigOperators Matrix ComplexConjugate ComplexOrder

namespace QAlgorithms.Papers.Independent.Intake100.P22

open QAlgorithms.Papers.Independent.Advance50.P19
  (CARSystem Major monomial wick totalFermionParity)

open QAlgorithms.Papers.Independent.Information100.P21 (Op)

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF p.10, Definition 6 and Eq.(49): full-algebra injectivity of the dual,
its exact Gaussian symbol, and the fermionic CP/dual-positivity equivalence.
The dual is generally subnormalized, not a density matrix. -/
theorem fermionic_duality {n : ℕ} (s : CARSystem n)
    (E : Superop (Qubits n) (Qubits n))
    (hlinear : ComplexLinear E) (hparity : ParityPreserving s E) :
    (∀ F : Superop (Qubits n) (Qubits n), ComplexLinear F → ParityPreserving s F →
      fermionicDual s E = fermionicDual s F → E = F) ∧
    (LinearCompletelyPositive E ↔ (fermionicDual s E).PosSemidef) ∧
    (∀ K : GrassmannKernel n, HasGrassmannKernel s E K →
      doubleSymbol s (fermionicDual s E) = (K.C / (2 : ℂ) ^ (2 * n)) •
        grassExp (kernelAction K (blockVars (2 * n) 2 0) (blockVars (2 * n) 2 1))) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P22

end
Source
Lagrangian representation for fermionic linear optics, arXiv:quant-ph/0404180v2, PDF p. 10, §VII, Definition 6 and Eq.(49): dual-operator injectivity and Gaussian form
Read-back

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

For every natural number nnn, including 000, let Q={0,1}nQ=\{0,1\}^nQ={0,1}n, J={0,…,2n−1}J=\{0,\ldots,2n-1\}J={0,…,2n−1}, and let s=(ca)s=(c_a)s=(ca​) consist of Hermitian matrices on CQ\mathbb C^QCQ satisfying cacb+cbca=2δabIc_ac_b+c_bc_a=2\delta_{ab}Ica​cb​+cb​ca​=2δab​I. Write cSc_ScS​ for the increasing product over S⊆JS\subseteq JS⊆J, c∅=Ic_\varnothing=Ic∅​=I, Π=in∏a∈Jincreasingca\Pi=i^n\prod_{a\in J}^{\mathrm{increasing}}c_aΠ=in∏a∈Jincreasing​ca​, and X^S=2−ntr⁡(cS†X)\widehat X_S=2^{-n}\operatorname{tr}(c_S^\dagger X)XS​=2−ntr(cS†​X). Let EEE be complex linear and preserve both coefficient parity sectors: for p=0,1p=0,1p=0,1, vanishing of X^S\widehat X_SXS​ whenever ∣S∣ mod 2≠p|S|\bmod2\ne p∣S∣mod2=p implies the corresponding vanishing for E(X)E(X)E(X). Define

DS,T=cS⊗(Π∣S∣cT),βS,T(Z)=2−2ntr⁡(DS,T†Z),J(X)=∑SX^S cS⊗Π∣S∣,FE(Z)=∑S,TβS,T(Z) J(E(cS))(I⊗cT),Ω=2−2n∏a∈Jincreasing[I+i(ca⊗Π)(I⊗ca)],DE=FE(Ω).\begin{aligned} D_{S,T}&=c_S\otimes(\Pi^{|S|}c_T),& \beta_{S,T}(Z)&=2^{-2n}\operatorname{tr}(D_{S,T}^\dagger Z),\\ \mathcal J(X)&=\sum_S\widehat X_S\,c_S\otimes\Pi^{|S|},& \mathcal F_E(Z)&=\sum_{S,T}\beta_{S,T}(Z)\, \mathcal J(E(c_S))(I\otimes c_T),\\ \Omega&=2^{-2n}\prod_{a\in J}^{\mathrm{increasing}} \left[I+i(c_a\otimes\Pi)(I\otimes c_a)\right],& D_E&=\mathcal F_E(\Omega). \end{aligned}DS,T​J(X)Ω​=cS​⊗(Π∣S∣cT​),=S∑​XS​cS​⊗Π∣S∣,=2−2na∈J∏increasing​[I+i(ca​⊗Π)(I⊗ca​)],​βS,T​(Z)FE​(Z)DE​​=2−2ntr(DS,T†​Z),=S,T∑​βS,T​(Z)J(E(cS​))(I⊗cT​),=FE​(Ω).​

Then all three of the following hold. For every other map FFF that is complex linear and preserves the same two parity sectors, DE=DFD_E=D_FDE​=DF​ implies equality of the maps E=FE=FE=F. Also, EEE is complex linear and its ordinary extension

OE(Z)(x,r),(y,t)=E ⁣((Z(u,r),(v,t))u,v∈Q)x,y\mathcal O_E(Z)_{(x,r),(y,t)} =E\!\left((Z_{(u,r),(v,t)})_{u,v\in Q}\right)_{x,y}OE​(Z)(x,r),(y,t)​=E((Z(u,r),(v,t)​)u,v∈Q​)x,y​

maps every positive semidefinite ZZZ to a positive semidefinite matrix if and only if DE⪰0D_E\succeq0DE​⪰0. Finally, let K=(AK,BK,DK,CK)K=(A_K,B_K,D_K,C_K)K=(AK​,BK​,DK​,CK​) be any tuple of complex J×JJ\times JJ×J matrices and a complex scalar, with AKT=−AKA_K^{\mathsf T}=-A_KAKT​=−AK​ and DKT=−DKD_K^{\mathsf T}=-D_KDKT​=−DK​, for which

E(X)^=CK[ηJξJ](exp⁡∧,6n ⁣(qK(θ,η)+i∑aηaξa)X^(ξ))for every X,\widehat{E(X)} =C_K[\eta_J\xi_J]\left( \exp_{\wedge,6n}\!\left(q_K(\theta,\eta)+i\sum_a\eta_a\xi_a\right) \widehat X(\xi)\right) \quad\text{for every }X,E(X)​=CK​[ηJ​ξJ​](exp∧,6n​(qK​(θ,η)+ia∑​ηa​ξa​)X(ξ))for every X,

where

qK(θ,η)=i2∑a,b(AK)abθaθb+i∑a,b(BK)abθaηb+i2∑a,b(DK)abηaηb.q_K(\theta,\eta) =\frac{i}{2}\sum_{a,b}(A_K)_{ab}\theta_a\theta_b +i\sum_{a,b}(B_K)_{ab}\theta_a\eta_b +\frac{i}{2}\sum_{a,b}(D_K)_{ab}\eta_a\eta_b.qK​(θ,η)=2i​a,b∑​(AK​)ab​θa​θb​+ia,b∑​(BK​)ab​θa​ηb​+2i​a,b∑​(DK​)ab​ηa​ηb​.

Here exterior generators anticommute and square to zero, exp⁡∧,r(q)=∑k=0rqk/k!\exp_{\wedge,r}(q)=\sum_{k=0}^{r}q^k/k!exp∧,r​(q)=∑k=0r​qk/k!, generator blocks are ordered as written, and the bracket extracts every generator in its indicated blocks. Then

∑S,T⊆JβS,T(DE)θSηT=CK22nexp⁡∧,4n ⁣(qK(θ,η)).\sum_{S,T\subseteq J}\beta_{S,T}(D_E)\theta_S\eta_T =\frac{C_K}{2^{2n}}\exp_{\wedge,4n}\!\left(q_K(\theta,\eta)\right).S,T⊆J∑​βS,T​(DE​)θS​ηT​=22nCK​​exp∧,4n​(qK​(θ,η)).

This last left-hand side explicitly means the coefficient at any subset of the 4n4n4n ordered generators is βS,T(DE)\beta_{S,T}(D_E)βS,T​(DE​), where SSS and TTT are its portions in the first and second blocks. All empty products have value 111, so n=0n=0n=0 is included.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

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