Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Odd time-reversal parity and exchange reachability

Open
QAlgorithms.Papers.Independent.Advance50.P49.odd_time_reversal

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

prove2quantum

Use the physical register Hn=(C2)⊗n\mathcal H_n=(\mathbb C^2)^{\otimes n}Hn​=(C2)⊗n. Rotational invariance means commuting with U⊗nU^{\otimes n}U⊗n for every one-qubit unitary UUU. The legal spins are j=n/2−rj=n/2-rj=n/2−r, r=0,…,⌊n/2⌋r=0,\ldots,\lfloor n/2\rfloorr=0,…,⌊n/2⌋, and Πj\Pi_jΠj​ is the actual spectral projector of J2J^2J2 at j(j+1)j(j+1)j(j+1). Write Rab=(XaXb+YaYb+ZaZb)/2R_{ab}=(X_aX_b+Y_aY_b+Z_aZ_b)/2Rab​=(Xa​Xb​+Ya​Yb​+Za​Zb​)/2 and Vk,vk\mathcal V_k,\mathfrak v_kVk​,vk​ for the group of finite compositions of kkk-local invariant gates and its generated real Lie algebra, including scalar phases. Exchange-only circuits contain finite products of e−itRabe^{-itR_{ab}}e−itRab​ with real ttt. Set C0=IC_0=IC0​=I and, for even l>0l>0l>0, Cl=(l/2)!−1∑i1,…,il distinctRi1i2⋯Ril−1ilC_l=(l/2)!^{-1}\sum_{i_1,\ldots,i_l\ \mathrm{distinct}}R_{i_1i_2}\cdots R_{i_{l-1}i_l}Cl​=(l/2)!−1∑i1​,…,il​ distinct​Ri1​i2​​⋯Ril−1​il​​. Extend Cl=0C_l=0Cl​=0 above 2⌊n/2⌋2\lfloor n/2\rfloor2⌊n/2⌋. Its sector eigenvalue is cl(j)=Tr⁡(ClΠj)/Tr⁡(Πj)c_l(j)=\operatorname{Tr}(C_l\Pi_j)/\operatorname{Tr}(\Pi_j)cl​(j)=Tr(Cl​Πj​)/Tr(Πj​). All body-index sums below are over even indices.

Let Θ=Y⊗nK\Theta=Y^{\otimes n}KΘ=Y⊗nK, up to an irrelevant scalar, be spin-half time reversal, with KKK complex conjugation in the physical basis. If HHH is Hermitian and ΘHΘ−1=−H\Theta H\Theta^{-1}=-HΘHΘ−1=−H, then

Tr⁡(HΠj)=0for all legal j,Tr⁡(HCl)=0for all physical even l.\operatorname{Tr}(H\Pi_j)=0\quad\text{for all legal }j,\qquad \operatorname{Tr}(HC_l)=0\quad\text{for all physical even }l.Tr(HΠj​)=0for all legal j,Tr(HCl​)=0for all physical even l.

If HHH is also rotationally invariant, then iHiHiH lies in the exchange-generated algebra and e−itHe^{-itH}e−itH is exchange-realizable for all real ttt. This corrects the source's unrestricted final implementation sentence: one-qubit ZZZ is odd under time reversal but is not invariant.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P49
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Advance50.P49

open scoped Classical Matrix ComplexConjugate Matrix.Norms.Frobenius

open MeasureTheory

attribute [local instance 100] LieRing.ofAssociativeRing

-- Specialize the frozen generic aliases without declaring new aliases.

local notation "Op" => (fun n : ℕ => QAlgorithms.Papers.Independent.Information100.P21.Op (Qubits n))

local notation "Vec" => (fun n : ℕ => QAlgorithms.Papers.Independent.Information100.P21.Vec (Qubits n))

-- The frozen support predicate takes the support before the operator.

local notation "WireSupported" => QAlgorithms.Papers.Independent.Information100.P69.Supported

/-- PDF p.23, F4–F5 and following paragraph. The printed final realizability
sentence needs rotational invariance; one-qubit Z is a counterexample without it. -/
theorem odd_time_reversal (n : ℕ) (H : Op n) (hH : H.IsHermitian)
    (hOdd : reverseTime H = -H) :
    (∀ j : Spin n, Matrix.trace (H*spinProjector n j)=0) ∧
    (∀ l : ℕ, ValidBody n l → Matrix.trace (H*central n l)=0) ∧
    (RotationInvariant H → Complex.I • H ∈ exchangeLie n false false ∧
      ∀ t : ℝ, evolve H t ∈ exchangeGroup n false false) := by sorry

end QAlgorithms.Papers.Independent.Advance50.P49

end
Source
Rotationally-Invariant Circuits: Universality with the exchange interaction and two ancilla qubits, arXiv:2202.01963v1, PDF p. 23, Odd time-reversal parity and exchange reachability
Read-back

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

For every natural number nnn, let HHH be a Hermitian matrix on {0,1}n\{0,1\}^n{0,1}n satisfying

Y⊗n H‾ (Y⊗n)†=−H,Y^{\otimes n}\,\overline H\,(Y^{\otimes n})^\dagger=-H,Y⊗nH(Y⊗n)†=−H,

where YYY is the usual Pauli YYY matrix, the bar conjugates each matrix entry, and (Y⊗n)x,y=∏qYxq,yq(Y^{\otimes n})_{x,y}=\prod_qY_{x_q,y_q}(Y⊗n)x,y​=∏q​Yxq​,yq​​. Using the usual single-wire Pauli operators, put Rab=12(X(a)X(b)+Y(a)Y(b)+Z(a)Z(b))R_{ab}=\tfrac12(X^{(a)}X^{(b)}+Y^{(a)}Y^{(b)}+Z^{(a)}Z^{(b)})Rab​=21​(X(a)X(b)+Y(a)Y(b)+Z(a)Z(b)), define Cl=1(l/2)!∑w∏r=0l/2−1Rw(2r),w(2r+1)C_l=\frac1{(l/2)!}\sum_w\prod_{r=0}^{l/2-1}R_{w(2r),w(2r+1)}Cl​=(l/2)!1​∑w​∏r=0l/2−1​Rw(2r),w(2r+1)​ for even lll, summing over injections of lll wires into nnn with increasing product order, and put C=∑ν=X,Y,Z(12∑qν(q))2\mathcal C=\sum_{\nu=X,Y,Z}(\tfrac12\sum_q\nu^{(q)})^2C=∑ν=X,Y,Z​(21​∑q​ν(q))2, sj=n/2−js_j=n/2-jsj​=n/2−j, and Πj=∏r≠jC−sr(sr+1)Isj(sj+1)−sr(sr+1)\Pi_j=\prod_{r\ne j}\frac{\mathcal C-s_r(s_r+1)I}{s_j(s_j+1)-s_r(s_r+1)}Πj​=∏r=j​sj​(sj​+1)−sr​(sr​+1)C−sr​(sr​+1)I​, where j,r∈{0,…,⌊n/2⌋}j,r\in\{0,\ldots,\lfloor n/2\rfloor\}j,r∈{0,…,⌊n/2⌋}. Then tr⁡(HΠj)=0\operatorname{tr}(H\Pi_j)=0tr(HΠj​)=0 for every jjj, and tr⁡(HCl)=0\operatorname{tr}(HC_l)=0tr(HCl​)=0 for every even l≤2⌊n/2⌋l\le2\lfloor n/2\rfloorl≤2⌊n/2⌋. If, additionally, HHH commutes with U⊗nU^{\otimes n}U⊗n for every 2×22\times22×2 unitary UUU, then iHiHiH belongs to the smallest real Lie subalgebra generated by iRabiR_{ab}iRab​ for distinct wires a,ba,ba,b, and, for every real ttt, e−itHe^{-itH}e−itH belongs to the multiplicative submonoid generated by e−iuRabe^{-iuR_{ab}}e−iuRab​ for distinct a,ba,ba,b and arbitrary u∈Ru\in\mathbb Ru∈R. These generated objects have no additional scalar generators or topological closure. The statement includes n=0n=0n=0, empty products are identities, and the l=0l=0l=0 trace condition is included.

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

    Confirmed by the moderator at approval.

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