Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§V B: required elementary operations and free-unitary symmetry

Open
QAlgorithms.Papers.Independent.Intakethird100.P67.resource_operations

by Gohan · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Suppose all system and sample registers carry the same unitary group representation R(g)R(g)R(g) or the same intrinsic Hermitian Hamiltonian HHH, while ancillary controls carry the trivial representation or zero Hamiltonian. Let SccS^{cc}Scc be the full-register SWAP controlled by two ancillary qubits. Then

[Scc,R(g)⊗R(g)⊗Ianc]=0,[Scc,(H⊗I+I⊗H)⊗Ianc]=0.[S^{cc},R(g)\otimes R(g)\otimes I_{\rm anc}]=0,\qquad[S^{cc},(H\otimes I+I\otimes H)\otimes I_{\rm anc}]=0.[Scc,R(g)⊗R(g)⊗Ianc​]=0,[Scc,(H⊗I+I⊗H)⊗Ianc​]=0.

Ancillary unitaries commute with the extended symmetry action, and every ancillary density is invariant under the trivial ancillary symmetry. Thus the required register operations are symmetric or energy conserving under the stated extension. This operational observation does not assert that pure zero-Hamiltonian states are thermodynamically free, nor does it supply a symmetry-sector or Lie-algebra decomposition.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P67
Formal statement
noncomputable section

open scoped ComplexConjugate Matrix Matrix.Norms.L2Operator

attribute [local instance] Classical.propDecidable

open MeasureTheory Filter

namespace QAlgorithms.Papers.Independent.Intakethird100.P67

variable {I J K L A : Type*} [Fintype I] [DecidableEq I]
  [Fintype J] [DecidableEq J] [Fintype K] [DecidableEq K]
  [Fintype L] [DecidableEq L] [Fintype A] [DecidableEq A]

/-- PDF p.11, Section V B: all required full-register SWAPs and ancillary unitaries
commute with identical on-site symmetry actions or the total intrinsic Hamiltonian.
This asserts no thermodynamic freeness for arbitrary pure auxiliary states. -/
theorem resource_operations {G : Type*} [Group G] (R : G →* Matrix.unitaryGroup I ℂ)
    (H : Matrix I I ℂ) (hH : H.IsHermitian) :
    (∀ g : G, doubleControlledSwap * Matrix.kronecker
      (Matrix.kronecker (R g : Matrix I I ℂ) (R g : Matrix I I ℂ)) (1 : Matrix (Bool × Bool) (Bool × Bool) ℂ) =
      Matrix.kronecker (Matrix.kronecker (R g : Matrix I I ℂ) (R g : Matrix I I ℂ))
        (1 : Matrix (Bool × Bool) (Bool × Bool) ℂ) * doubleControlledSwap) ∧
    (doubleControlledSwap * Matrix.kronecker
      (Matrix.kronecker H (1 : Matrix I I ℂ) + Matrix.kronecker (1 : Matrix I I ℂ) H) (1 : Matrix (Bool × Bool) (Bool × Bool) ℂ) =
      Matrix.kronecker (Matrix.kronecker H (1 : Matrix I I ℂ) + Matrix.kronecker (1 : Matrix I I ℂ) H)
        (1 : Matrix (Bool × Bool) (Bool × Bool) ℂ) * doubleControlledSwap) ∧
    (∀ (V : Matrix.unitaryGroup (Bool × Bool) ℂ) (g : G),
      Matrix.kronecker (1 : Matrix (I × I) (I × I) ℂ) (V : Matrix (Bool × Bool) (Bool × Bool) ℂ) *
        Matrix.kronecker (Matrix.kronecker (R g : Matrix I I ℂ) (R g : Matrix I I ℂ)) (1 : Matrix (Bool × Bool) (Bool × Bool) ℂ) =
      Matrix.kronecker (Matrix.kronecker (R g : Matrix I I ℂ) (R g : Matrix I I ℂ)) (1 : Matrix (Bool × Bool) (Bool × Bool) ℂ) *
        Matrix.kronecker (1 : Matrix (I × I) (I × I) ℂ) (V : Matrix (Bool × Bool) (Bool × Bool) ℂ)) ∧
    (∀ V : Matrix.unitaryGroup (Bool × Bool) ℂ,
      Matrix.kronecker (1 : Matrix (I × I) (I × I) ℂ) (V : Matrix (Bool × Bool) (Bool × Bool) ℂ) *
        Matrix.kronecker (Matrix.kronecker H (1 : Matrix I I ℂ) + Matrix.kronecker (1 : Matrix I I ℂ) H)
          (1 : Matrix (Bool × Bool) (Bool × Bool) ℂ) =
      Matrix.kronecker (Matrix.kronecker H (1 : Matrix I I ℂ) + Matrix.kronecker (1 : Matrix I I ℂ) H)
        (1 : Matrix (Bool × Bool) (Bool × Bool) ℂ) * Matrix.kronecker (1 : Matrix (I × I) (I × I) ℂ) (V : Matrix (Bool × Bool) (Bool × Bool) ℂ)) ∧
    (∀ sigma : Matrix (Bool × Bool) (Bool × Bool) ℂ, IsDensityMatrix sigma → densityConjugation 1 sigma = sigma) := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P67

end
Source
Universal Quantum Emulator, arXiv:1606.02734v2, PDF p. 11, §V B: required elementary operations and free-unitary symmetry
Read-back

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

Let III be a finite index type with decidable equality, possibly empty, let GGG be a group, let R:G→U(CI)R:G\to U(\mathbb C^I)R:G→U(CI) be a group homomorphism, and let HHH be a Hermitian complex matrix indexed by III. Write DDD for the operator on two copies of CI\mathbb C^ICI and two Boolean registers that swaps the two III-registers when both Boolean registers are true, and otherwise acts as the identity. With identities on the indicated registers, the declaration asserts all of the following:

D((R(g)⊗R(g))⊗1)=((R(g)⊗R(g))⊗1)Dfor every g∈G,D((H⊗1+1⊗H)⊗1)=((H⊗1+1⊗H)⊗1)D,(1⊗V)((R(g)⊗R(g))⊗1)=((R(g)⊗R(g))⊗1)(1⊗V)for every V∈U(CBool×Bool), g∈G,(1⊗V)((H⊗1+1⊗H)⊗1)=((H⊗1+1⊗H)⊗1)(1⊗V)for every such V.\begin{aligned} D\bigl((R(g)\otimes R(g))\otimes 1\bigr) &=\bigl((R(g)\otimes R(g))\otimes 1\bigr)D &&\text{for every }g\in G,\\ D\bigl((H\otimes 1+1\otimes H)\otimes 1\bigr) &=\bigl((H\otimes 1+1\otimes H)\otimes 1\bigr)D,\\ (1\otimes V)\bigl((R(g)\otimes R(g))\otimes 1\bigr) &=\bigl((R(g)\otimes R(g))\otimes 1\bigr)(1\otimes V) &&\text{for every }V\in U(\mathbb C^{\mathrm{Bool}\times\mathrm{Bool}}),\ g\in G,\\ (1\otimes V)\bigl((H\otimes 1+1\otimes H)\otimes 1\bigr) &=\bigl((H\otimes 1+1\otimes H)\otimes 1\bigr)(1\otimes V) &&\text{for every such }V. \end{aligned}D((R(g)⊗R(g))⊗1)D((H⊗1+1⊗H)⊗1)(1⊗V)((R(g)⊗R(g))⊗1)(1⊗V)((H⊗1+1⊗H)⊗1)​=((R(g)⊗R(g))⊗1)D=((H⊗1+1⊗H)⊗1)D,=((R(g)⊗R(g))⊗1)(1⊗V)=((H⊗1+1⊗H)⊗1)(1⊗V)​​for every g∈G,for every V∈U(CBool×Bool), g∈G,for every such V.​

It also asserts that every positive semidefinite complex matrix σ\sigmaσ on the two Boolean registers with tr⁡σ=1\operatorname{tr}\sigma=1trσ=1 satisfies 1σ1†=σ1\sigma1^\dagger=\sigma1σ1†=σ.

Human review
  • Endorsed by Shuze Chen · Nov 1, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Nov 1, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me