Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Real column-span and nonsingular angle-system criteria

Open
QAlgorithms.Papers.Independent.Intake100.P95.linearAngleSolvability

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

prove2quantum

Let n≥1n\ge1n≥1, and consider mmm tensor monomials built from I,Z/2,(X+iY)/2,(X−iY)/2I,Z/2,(X+iY)/2,(X-iY)/2I,Z/2,(X+iY)/2,(X−iY)/2, with complex coefficients cλc_\lambdacλ​. Let Pλℓ∈{0,+1,−1}P_{\lambda\ell}\in\{0,+1,-1\}Pλℓ​∈{0,+1,−1} be their real order matrix. For any independent sign choice sλ∈{+1,−1}s_\lambda\in\{+1,-1\}sλ​∈{+1,−1}, if πs\pi sπs lies in the real column span of PPP, then there are real angles with

Pϕ=πs,Kz(ϕ)(∑λcλTλ)Kz(ϕ)†=−∑λcλTλ.P\boldsymbol\phi=\pi s,\qquad K_z(\boldsymbol\phi)\Bigl(\sum_\lambda c_\lambda T_\lambda\Bigr)K_z(\boldsymbol\phi)^\dagger=-\sum_\lambda c_\lambda T_\lambda.Pϕ=πs,Kz​(ϕ)(λ∑​cλ​Tλ​)Kz​(ϕ)†=−λ∑​cλ​Tλ​.

In particular, if m=nm=nm=n and det⁡P≠0\det P\ne0detP=0, such angles exist for every sign choice. This is a sufficient real linear-system test; no converse restricts the integer congruence lifts to these particular right-hand sides.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P95
Formal statement
namespace QAlgorithms.Papers.Independent.Intake100.P95

open scoped BigOperators

open QAlgorithms.Papers.Independent.Information100.P32 (Op evolution)

open QAlgorithms.Papers.Independent.Advance50.P38 (comm realHSPairing)

open QAlgorithms.Papers.Independent.Information100.P10 (pauli)

open QAlgorithms.Papers.Independent.Claimed50.P03 (wordMatrix wordSupport)

noncomputable section

/-- (40), PDF p.8: the real column-span test is sufficient; the nonsingular
square case solves each independent choice of signs. It is not asserted
that restricting all congruence lifts to plus or minus pi is necessary. -/
theorem linearAngleSolvability {n : ℕ} (hn : 0 < n) :
    (∀ (m : ℕ) (nu : Fin m → Fin n → Fin 4) (c : Fin m → ℂ)
      (signs : Fin m → Bool),
      (fun a => if signs a then Real.pi else -Real.pi) ∈
        Set.range (orderMatrix nu).mulVec →
      ∃ phi : Fin n → ℝ,
        (orderMatrix nu).mulVec phi = (fun a => if signs a then Real.pi else -Real.pi) ∧
        adjointConjugation (individualZRotation phi) (tensorOperatorSum nu c) = -tensorOperatorSum nu c) ∧
    (∀ (nu : Fin n → Fin n → Fin 4) (c : Fin n → ℂ),
      (orderMatrix nu).det ≠ 0 → ∀ signs : Fin n → Bool,
      ∃ phi : Fin n → ℝ,
        (orderMatrix nu).mulVec phi = (fun a => if signs a then Real.pi else -Real.pi) ∧
        adjointConjugation (individualZRotation phi) (tensorOperatorSum nu c) = -tensorOperatorSum nu c) := by sorry

end

end QAlgorithms.Papers.Independent.Intake100.P95
Source
Which Quantum Evolutions Can Be Reversed by Local Unitary Operations? Algebraic Classification and Gradient-Flow-Based Numerical Checks, arXiv:quant-ph/0610061v1, PDF p. 8, (40): column-span test and nonsingular square case
Read-back

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

For every positive integer nnn, use

F0=I,F1=Z/2,F2=(X+iY)/2,F3=(X−iY)/2,o(0)=o(1)=0,o(2)=1,o(3)=−1,F_0=I,\quad F_1=Z/2,\quad F_2=(X+\mathrm iY)/2,\quad F_3=(X-\mathrm iY)/2, \qquad o(0)=o(1)=0,\quad o(2)=1,\quad o(3)=-1,F0​=I,F1​=Z/2,F2​=(X+iY)/2,F3​=(X−iY)/2,o(0)=o(1)=0,o(2)=1,o(3)=−1,

with X=(0110)X=\left(\begin{smallmatrix}0&1\\1&0\end{smallmatrix}\right)X=(01​10​), Y=(0−ii0)Y=\left(\begin{smallmatrix}0&-\mathrm i\\ \mathrm i&0\end{smallmatrix}\right)Y=(0i​−i0​), and Z=diag⁡(1,−1)Z=\operatorname{diag}(1,-1)Z=diag(1,−1). For any natural number mmm, words νa∈{0,1,2,3}n\nu_a\in\{0,1,2,3\}^nνa​∈{0,1,2,3}n, complex coefficients cac_aca​, and Boolean choices sas_asa​, define the real m×nm\times nm×n matrix Mal=o(νa,l)M_{al}=o(\nu_{a,l})Mal​=o(νa,l​), the vector ba=πb_a=\piba​=π when sas_asa​ is true and ba=−πb_a=-\piba​=−π otherwise, and H=∑a<mca⨂lFνa,lH=\sum_{a<m}c_a\bigotimes_lF_{\nu_{a,l}}H=∑a<m​ca​⨂l​Fνa,l​​. If bbb belongs to the range of the map ϕ↦Mϕ\phi\mapsto M\phiϕ↦Mϕ, then there exists ϕ∈Rn\phi\in\mathbb R^nϕ∈Rn such that

Mϕ=b,R(ϕ)HR(ϕ)†=−H,R(ϕ)=⨂ldiag⁡(e−iϕl/2,e+iϕl/2).M\phi=b,\qquad R(\phi)HR(\phi)^\dagger=-H, \quad R(\phi)=\bigotimes_l\operatorname{diag}(e^{-\mathrm i\phi_l/2},e^{+\mathrm i\phi_l/2}).Mϕ=b,R(ϕ)HR(ϕ)†=−H,R(ϕ)=l⨂​diag(e−iϕl​/2,e+iϕl​/2).

Also, for every family of exactly nnn words and every nnn complex coefficients, if the resulting square matrix MMM has nonzero determinant, then this conclusion holds for every Boolean choice of sss. Neither assertion requires HHH to be Hermitian, traceless, or nonzero. The first assertion includes m=0m=0m=0, when the linear equation has no coordinates and H=0H=0H=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