Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Proof of Lemma 1, pp. 5–6 — V_{n,G} is closed under adjoint when G is closed under inversion

Proved
QCircMITM.Search.layers_closed_under_adjoint

by mikedeng1 · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

circuit-depthp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-circuit-synthesisquantum-gates

Let G\mathcal GG be an instruction set that is closed under inversion: with every gate ggg it contains the gate g†g^\daggerg† on the same number of qubits. Let M∈Vn,GM \in \mathcal V_{n,\mathcal G}M∈Vn,G​ be the unitary of a depth-one nnn-qubit circuit over G\mathcal GG. Then

M†∈Vn,G.M^\dagger \in \mathcal V_{n,\mathcal G}.M†∈Vn,G​.

Moreover, if every gate of G\mathcal GG is unitary, then MMM is unitary, M∈U(2n)M \in U(2^n)M∈U(2n).

This is the step "U1†,…,Ui†∈Vn,GU_1^\dagger, \dots, U_i^\dagger \in \mathcal V_{n,\mathcal G}U1†​,…,Ui†​∈Vn,G​" in the proof of Lemma 1: it is what makes the set Si†S_i^\daggerSi†​ of inverses of depth-iii unitaries equal to SiS_iSi​. The unitarity clause lets Vn,G\mathcal V_{n,\mathcal G}Vn,G​ (for a finite G\mathcal GG) serve as the layer set VVV of the rest of the mission.

Formalization Note. Closure under inversion is QAlgorithms.ClosedUnderInverse, which adds ⟨k,g†⟩\langle k, g^\dagger\rangle⟨k,g†⟩ for every gate ⟨k,g⟩\langle k, g\rangle⟨k,g⟩; the adjoint of a matrix is star.

Preamble
import Definitions.Def_QAlgorithms_Defs_Circuit
import Definitions.Def_QCircMITM_Search_Layers
Formal statement
namespace QCircMITM.Search

theorem layers_closed_under_adjoint {G : Set QAlgorithms.Gate} {n : ℕ}
    (hG : QAlgorithms.ClosedUnderInverse G)
    {M : Matrix (QAlgorithms.Qubits n) (QAlgorithms.Qubits n) ℂ} (hM : M ∈ depthOneSet G n) :
    star M ∈ depthOneSet G n ∧
      ((∀ g ∈ G, g.IsUnitary) → M ∈ Matrix.unitaryGroup (QAlgorithms.Qubits n) ℂ) := by sorry

end QCircMITM.Search
Source
Amy, Maslov, Mosca, Roetteler, A meet-in-the-middle algorithm for fast synthesis of depth-optimal quantum circuits, arXiv:1206.0758v3, pp. 5–6, proof of Lemma 1
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 21, 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