Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The z-axis rotations in the generated group

Open
QAlgorithms.Papers.Independent.Intakenext100.P03.z_rotations_in_group

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

prove2quantum

Let nnn be a positive even integer. Put ζm=e2πi/m\zeta_m=e^{2\pi i/m}ζm​=e2πi/m, Rn=Z[ζ2n,1/2]R_n=\mathbb Z[\zeta_{2n},1/2]Rn​=Z[ζ2n​,1/2], Uz(θ)=diag⁡(1,eiθ)U_z(\theta)=\operatorname{diag}(1,e^{i\theta})Uz​(θ)=diag(1,eiθ), and Gn=⟨C,Uz(π/n)⟩G_n=\langle C,U_z(\pi/n)\rangleGn​=⟨C,Uz​(π/n)⟩, where C=⟨H0,S⟩C=\langle H_0,S\rangleC=⟨H0​,S⟩, H0=1+i2(111−1)H_0=\frac{1+i}{2}\begin{pmatrix}1&1\\1&-1\end{pmatrix}H0​=21+i​(11​1−1​) and S=diag⁡(1,i)S=\operatorname{diag}(1,i)S=diag(1,i). The subgroup DnD_nDn​ of actual matrices of the form Uz(θ)U_z(\theta)Uz​(θ) in GnG_nGn​ satisfies

Dn={Uz(πj/n):j=0,…,2n−1}.D_n=\{U_z(\pi j/n):j=0,\ldots,2n-1\}.Dn​={Uz​(πj/n):j=0,…,2n−1}.

Matrices merely proportional to z-rotations are not included by definition. This restricts the available z-rotation angles exactly.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P03
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakenext100.P03

open scoped BigOperators Classical

-- Reuse the Mathlib matrix type without declaring a second Mat.

local notation "Mat" => Matrix Bool Bool ℂ

/-- Canonical data: the axis/exponent list and the actual residual matrix D,
not a nonunique phase/Clifford witness pair, PDF pp.6-7. -/
local notation "CanonicalData" => List (Fin 3 × ℕ) × Matrix Bool Bool ℂ

/-- Theorem 5.2, PDF pp.12-13: the actual z-axis rotations in G_n. -/
theorem z_rotations_in_group (n : ℕ) (hn : 0 < n) (heven : Even n) :
    zRotationsIn (cyclotomicGroup n : Set Mat) = finiteZRotations n := by sorry

end QAlgorithms.Papers.Independent.Intakenext100.P03

end
Source
Exact synthesis of single-qubit unitaries over Clifford-cyclotomic gate sets, arXiv:1501.04944v2, PDF p. 12, Theorem 5.2
Read-back

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

For every positive even natural number nnn, let C\mathcal CC be the submonoid of complex 2×22\times22×2 matrices generated by H0=1+i2(111−1)H_0=\frac{1+i}{2}\begin{pmatrix}1&1\\1&-1\end{pmatrix}H0​=21+i​(11​1−1​), S=diag⁡(1,i)S=\operatorname{diag}(1,i)S=diag(1,i), and their adjoints, and let GnG_nGn​ be generated by C\mathcal CC, Z(π/n)Z(\pi/n)Z(π/n), and Z(π/n)∗Z(\pi/n)^*Z(π/n)∗, where Z(θ)=diag⁡(1,eiθ)Z(\theta)=\operatorname{diag}(1,e^{i\theta})Z(θ)=diag(1,eiθ). Then

{U∈Gn:∃θ∈R, U=Z(θ)}={Z(πj/n):j=0,…,2n−1}.\{U\in G_n:\exists\theta\in\mathbb R,\ U=Z(\theta)\} = \{Z(\pi j/n):j=0,\ldots,2n-1\}.{U∈Gn​:∃θ∈R, U=Z(θ)}={Z(πj/n):j=0,…,2n−1}.

Both memberships and matrix equalities are exact; no additional scalar phase is included in the definition of the set on the left.

Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 31, 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