Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 3 — reversing and inverting an ε-approximating sequence gives an ε-approximation to U†

Proved
SKAlgorithm.Qudit.inverse_sequence

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1quantum-compilingsolovay-kitaev

Let G⊆SU(d)\mathcal G \subseteq SU(d)G⊆SU(d) be a finite set of gates closed under g↦g†g \mapsto g^\daggerg↦g†, and let S=g1,…,gmS = g_1, \dots, g_mS=g1​,…,gm​ be a sequence of gates from G\mathcal GG that is an ϵ\epsilonϵ-approximation to a gate U∈SU(d)U \in SU(d)U∈SU(d), i.e. d(U,S)<ϵd(U, S) < \epsilond(U,S)<ϵ. Then the inverse sequence S†=gm†,…,g1†S^\dagger = g_m^\dagger, \dots, g_1^\daggerS†=gm†​,…,g1†​ consists of gates from G\mathcal GG, and

d(U†,S†)<ϵ.d(U^\dagger, S^\dagger) < \epsilon.d(U†,S†)<ϵ.

This is the reason Definition 1 requires an instruction set to be closed under adjoints: the recursion of the Solovay-Kitaev algorithm needs approximations to V†V^\daggerV† and W†W^\daggerW† given approximations to VVV and WWW.

Preamble
import Mathlib
import Definitions.Def_SKAlgorithm_Qudit_Model

open scoped Matrix
open QAlgorithms
Formal statement
namespace SKAlgorithm.Qudit

theorem inverse_sequence {d : ℕ} (G : Finset (SU d)) (hG : ∀ g ∈ G, g⁻¹ ∈ G)
    (U : SU d) (S : List (SU d)) (hS : ∀ g ∈ S, g ∈ G) (ε : ℝ)
    (hU : opDist U (seqUnitary S) < ε) :
    (∀ g ∈ invSeq S, g ∈ G) ∧ opDist U⁻¹ (seqUnitary (invSeq S)) < ε := by sorry

end SKAlgorithm.Qudit
Source
Dawson and Nielsen, The Solovay-Kitaev algorithm, arXiv:quant-ph/0505030v2, p. 3, §2, 'the easily-verified fact that if we have an instruction sequence providing an ǫ-approximation to some unitary U …'
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

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