Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Attained Frobenius and trace certificates for type-I inversion

Open
QAlgorithms.Papers.Independent.Intake100.P95.frobeniusTraceCertificates

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

prove2quantum

Let n≥1n\ge1n≥1 and let HHH be Hermitian and traceless. For local KKK write D(K)=∥KHK†+H∥F2D(K)=\|KHK^\dagger+H\|_F^2D(K)=∥KHK†+H∥F2​ and f(K)=−Re⁡tr⁡(KHK†H)f(K)=-\operatorname{Re}\operatorname{tr}(KHK^\dagger H)f(K)=−Retr(KHK†H). Then

D(K)=2∥H∥F2−2f(K).D(K)=2\|H\|_F^2-2f(K).D(K)=2∥H∥F2​−2f(K).

For a fixed KKK, sign reversal, zero Frobenius norm, D(K)=0D(K)=0D(K)=0, the trace identity Re⁡tr⁡(HKHK†)=−∥H∥F2\operatorname{Re}\operatorname{tr}(HKHK^\dagger)=-\|H\|_F^2Retr(HKHK†)=−∥H∥F2​, and reversal of e−itHe^{-itH}e−itH for every real ttt are equivalent. Under ∥H∥F=1\|H\|_F=1∥H∥F​=1, the trace identity becomes −1-1−1. There exist attained global minimizers Kmin⁡K_{\min}Kmin​ of DDD and maximizers Kmax⁡K_{\max}Kmax​ of fff, with

H type-I reversible ⟺ D(Kmin⁡)=0 ⟺ f(Kmax⁡)=∥H∥F2,f(Kmax⁡)≤∥H∥F2.H\text{ type-I reversible}\ \Longleftrightarrow\ D(K_{\min})=0\ \Longleftrightarrow\ f(K_{\max})=\|H\|_F^2,\qquad f(K_{\max})\le\|H\|_F^2.H type-I reversible ⟺ D(Kmin​)=0 ⟺ f(Kmax​)=∥H∥F2​,f(Kmax​)≤∥H∥F2​.

The unnormalized criteria include H=0H=0H=0 and do not rely on a possibly empty infimum.

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

/-- (63)–(64), PDF pp.11–12, and footnote [35], p.19. Minima/maxima
are attained. The -1 trace test requires normalization; the unnormalized
identity and zero-distance test include H=0. -/
theorem frobeniusTraceCertificates {n : ℕ} (hn : 0 < n)
    (H : Op (QAlgorithms.Qubits n)) (hH : IsHamiltonian H) :
    (∀ K : LocalSU n,
      distanceSq H K = 2 * QAlgorithms.frobNorm H ^ 2 -
        2 * reversalOverlap H (localMatrix K)) ∧
    (∀ K : LocalSU n,
      (localAd K H = -H ↔ QAlgorithms.frobNorm (localAd K H + H) = 0) ∧
      (localAd K H = -H ↔ distanceSq H K = 0) ∧
      (localAd K H = -H ↔
        (Matrix.trace (H * localAd K H)).re = -(QAlgorithms.frobNorm H ^ 2)) ∧
      (localAd K H = -H ↔
        ∀ t : ℝ, localAd K (evolution H t) = evolution H (-t)) ∧
      (QAlgorithms.frobNorm H = 1 →
        (localAd K H = -H ↔ (Matrix.trace (H * localAd K H)).re = -1))) ∧
    (∃ Kmin : LocalSU n,
      (∀ L : LocalSU n, distanceSq H Kmin ≤ distanceSq H L) ∧
      (TypeI H ↔ distanceSq H Kmin = 0)) ∧
    (∃ Kmax : LocalSU n,
      (∀ L : LocalSU n,
        reversalOverlap H (localMatrix L) ≤ reversalOverlap H (localMatrix Kmax)) ∧
      reversalOverlap H (localMatrix Kmax) ≤ QAlgorithms.frobNorm H ^ 2 ∧
      (TypeI H ↔ reversalOverlap H (localMatrix Kmax) = QAlgorithms.frobNorm H ^ 2)) := 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. 11, (63)–(64) and [35]: type-I Frobenius and trace certificates
Read-back

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

Let n>0n>0n>0 be a natural number and let HHH be a complex matrix indexed by the nnn-bit strings, with H†=HH^\dagger=HH†=H and tr⁡H=0\operatorname{tr}H=0trH=0. Write ∥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 a family K=(K0,…,Kn−1)K=(K_0,\ldots,K_{n-1})K=(K0​,…,Kn−1​) of matrices in SU(2)\mathrm{SU}(2)SU(2), put TK=⨂kKkT_K=\bigotimes_k K_kTK​=⨂k​Kk​, BK=TKHTK†B_K=T_KHT_K^\daggerBK​=TK​HTK†​, dK=∥BK+H∥F2d_K=\|B_K+H\|_F^2dK​=∥BK​+H∥F2​, and RK=Re⁡tr⁡((−H)†BK)R_K=\operatorname{Re}\operatorname{tr}((-H)^\dagger B_K)RK​=Retr((−H)†BK​). Then dK=2∥H∥F2−2RKd_K=2\|H\|_F^2-2R_KdK​=2∥H∥F2​−2RK​ for every KKK. For every KKK, each of the conditions ∥BK+H∥F=0\|B_K+H\|_F=0∥BK​+H∥F​=0, dK=0d_K=0dK​=0, Re⁡tr⁡(HBK)=−∥H∥F2\operatorname{Re}\operatorname{tr}(HB_K)=-\|H\|_F^2Retr(HBK​)=−∥H∥F2​, and TKe−itHTK†=eitHT_Ke^{-itH}T_K^\dagger=e^{itH}TK​e−itHTK†​=eitH for every real ttt, is equivalent to BK=−HB_K=-HBK​=−H; additionally, if ∥H∥F=1\|H\|_F=1∥H∥F​=1, then BK=−HB_K=-HBK​=−H is equivalent to Re⁡tr⁡(HBK)=−1\operatorname{Re}\operatorname{tr}(HB_K)=-1Retr(HBK​)=−1. There exists a family Kmin⁡K_{\min}Kmin​ with dKmin⁡≤dLd_{K_{\min}}\le d_LdKmin​​≤dL​ for every family LLL, and the existence of a family KKK satisfying TKe−itHTK†=eitHT_Ke^{-itH}T_K^\dagger=e^{itH}TK​e−itHTK†​=eitH for all real ttt is equivalent to dKmin⁡=0d_{K_{\min}}=0dKmin​​=0. There also exists a family Kmax⁡K_{\max}Kmax​ with RL≤RKmax⁡R_L\le R_{K_{\max}}RL​≤RKmax​​ for every LLL, with RKmax⁡≤∥H∥F2R_{K_{\max}}\le\|H\|_F^2RKmax​​≤∥H∥F2​, and the same existence condition is equivalent to RKmax⁡=∥H∥F2R_{K_{\max}}=\|H\|_F^2RKmax​​=∥H∥F2​. No nonzero or normalization assumption is imposed on HHH, so H=0H=0H=0 is included.

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