Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Exact two-sided norm and trace certificates with attainment

Open
QAlgorithms.Papers.Independent.Intake100.P95.twoSidedNormTraceCertificate

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

prove2quantum

Let n≥1n\ge1n≥1, let HHH be Hermitian and traceless, and fix a nonzero real time τ\tauτ. Put U=e−iτHU=e^{-i\tau H}U=e−iτH, N=2nN=2^nN=2n, and, for local special-unitary factors K,LK,LK,L, define D(K,L)=∥KUL−U†∥F2D(K,L)=\|KUL-U^\dagger\|_F^2D(K,L)=∥KUL−U†∥F2​ and f(K,L)=−Re⁡tr⁡(KULU)f(K,L)=-\operatorname{Re}\operatorname{tr}(KULU)f(K,L)=−Retr(KULU). Then

D(K,L)=2N+2f(K,L),KUL=U† ⟺ ∥KUL−U†∥F=0 ⟺ D(K,L)=0 ⟺ f(K,L)/N=−1.D(K,L)=2N+2f(K,L),\qquad KUL=U^\dagger\ \Longleftrightarrow\ \|KUL-U^\dagger\|_F=0\ \Longleftrightarrow\ D(K,L)=0\ \Longleftrightarrow\ f(K,L)/N=-1.D(K,L)=2N+2f(K,L),KUL=U† ⟺ ∥KUL−U†∥F​=0 ⟺ D(K,L)=0 ⟺ f(K,L)/N=−1.

There exists an attained global minimizing pair (K∗,L∗)(K_*,L_*)(K∗​,L∗​), and some local pair inverts UUU exactly if and only if D(K∗,L∗)=0D(K_*,L_*)=0D(K∗​,L∗​)=0. These criteria include trivial and conjugation cases, so they do not by themselves establish exclusive type-II membership. No gradient-search convergence is asserted.

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

/-- (4),(80)–(81), PDF pp.2,14–15: exact two-sided inversion, including
trivial and conjugation cases. The objective is minimized with value -N,
N=2^n. The compact minimum ranges over all local pairs and is attained;
it does not certify exclusive type-II membership or numerical convergence. -/
theorem twoSidedNormTraceCertificate {n : ℕ} (hn : 0 < n)
    (H : Op (QAlgorithms.Qubits n)) (hH : IsHamiltonian H) (tau : ℝ) (htau : tau ≠ 0) :
    let U := evolution H tau
    (∀ K L : LocalSU n,
      twoSidedDistanceSq U K L = 2 * (2 : ℝ) ^ n + 2 * twoSidedObjective U K L) ∧
    (∀ K L : LocalSU n,
      (localMatrix K * U * localMatrix L = U.conjTranspose ↔
        QAlgorithms.frobNorm (localMatrix K * U * localMatrix L - U.conjTranspose) = 0) ∧
      (localMatrix K * U * localMatrix L = U.conjTranspose ↔
        twoSidedDistanceSq U K L = 0) ∧
      (localMatrix K * U * localMatrix L = U.conjTranspose ↔
        twoSidedObjective U K L / (2 : ℝ) ^ n = -1)) ∧
    (∃ Kmin Lmin : LocalSU n,
      (∀ K L : LocalSU n, twoSidedDistanceSq U Kmin Lmin ≤ twoSidedDistanceSq U K L) ∧
      ((∃ K L : LocalSU n, localMatrix K * U * localMatrix L = U.conjTranspose) ↔
        twoSidedDistanceSq U Kmin Lmin = 0)) := 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. 2, (4), (80)–(81): exact two-sided norm and trace certificate
Read-back

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

Let n>0n>0n>0 be a natural number, let HHH be a complex matrix indexed by nnn-bit strings with H†=HH^\dagger=HH†=H and tr⁡H=0\operatorname{tr}H=0trH=0, and let τ≠0\tau\ne0τ=0 be real. Put U=e−iτHU=e^{-i\tau H}U=e−iτH. For families K,LK,LK,L of nnn matrices in SU(2)\mathrm{SU}(2)SU(2), write TK=⨂kKkT_K=\bigotimes_kK_kTK​=⨂k​Kk​, TL=⨂kLkT_L=\bigotimes_kL_kTL​=⨂k​Lk​, and define

D(K,L)=∥TKUTL−U†∥F2,F(K,L)=−Re⁡tr⁡(TKUTLU),D(K,L)=\|T_KUT_L-U^\dagger\|_F^2,\qquad F(K,L)=-\operatorname{Re}\operatorname{tr}(T_KUT_LU),D(K,L)=∥TK​UTL​−U†∥F2​,F(K,L)=−Retr(TK​UTL​U),

where ∥A∥F=(∑i,j∣Aij∣2)1/2\|A\|_F=(\sum_{i,j}|A_{ij}|^2)^{1/2}∥A∥F​=(∑i,j​∣Aij​∣2)1/2. For every K,LK,LK,L, D(K,L)=2⋅2n+2F(K,L)D(K,L)=2\cdot2^n+2F(K,L)D(K,L)=2⋅2n+2F(K,L). For every K,LK,LK,L, each of ∥TKUTL−U†∥F=0\|T_KUT_L-U^\dagger\|_F=0∥TK​UTL​−U†∥F​=0, D(K,L)=0D(K,L)=0D(K,L)=0, and F(K,L)/2n=−1F(K,L)/2^n=-1F(K,L)/2n=−1 is equivalent to TKUTL=U†T_KUT_L=U^\daggerTK​UTL​=U†. There exist families Kmin⁡,Lmin⁡K_{\min},L_{\min}Kmin​,Lmin​ such that D(Kmin⁡,Lmin⁡)≤D(K,L)D(K_{\min},L_{\min})\le D(K,L)D(Kmin​,Lmin​)≤D(K,L) for every K,LK,LK,L, and the existence of any K,LK,LK,L satisfying TKUTL=U†T_KUT_L=U^\daggerTK​UTL​=U† is equivalent to D(Kmin⁡,Lmin⁡)=0D(K_{\min},L_{\min})=0D(Kmin​,Lmin​)=0. The assumptions allow H=0H=0H=0, and hence allow U=IU=IU=I even though τ≠0\tau\ne0τ=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