Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Remark 2: integral elements of D[omega]

Open
QAlgorithms.Papers.Independent.Intakethird100.P85.integralElements

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

prove2quantum

Let z∈Cz\in\mathbb Cz∈C and ω=eiπ/4\omega=e^{i\pi/4}ω=eiπ/4. Then

z∈Z[ω]  ⟺  z∈D[ω] and z is integral over Z.z\in\mathbb Z[\omega]\iff z\in\mathbb D[\omega]\ \text{and}\ z\text{ is integral over }\mathbb Z.z∈Z[ω]⟺z∈D[ω] and z is integral over Z.

Integral means a root of a monic polynomial with integer coefficients. The condition z∈D[ω]z\in\mathbb D[\omega]z∈D[ω] is retained on the right. This gives the intrinsic characterization of the cyclotomic integer subring.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intakethird100_P85
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intakethird100.P85

open scoped Classical BigOperators

open QAlgorithms

open QAlgorithms.Papers.Independent.Gap48.P10
  (InZomega InDomega Residue bits residue residueMultiply Reducible)

open QAlgorithms.Papers.Independent.Support21.P13
  (synthesisRing integralRing coordinateValue HTLetter htWordMatrix EntriesInRing cliffordTLibrary)

local notation "omega" => QAlgorithms.gateT true true

local notation "sqrtTwo" => ((Real.sqrt 2 : ℝ) : ℂ)

/-- Remark 2, PDF p.2: Z[omega] consists precisely of the algebraic integers in D[omega]. -/
theorem integralElements (z : ℂ) :
    InZomega z ↔ InDomega z ∧ IsIntegral ℤ z := by sorry

end QAlgorithms.Papers.Independent.Intakethird100.P85

end
Source
Exact synthesis of multiqubit Clifford+T circuits, arXiv:1212.0506v3, PDF p. 2, Remark 2: integral elements of D[omega]
Read-back

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

For every complex number zzz, with ω=eiπ/4\omega=e^{i\pi/4}ω=eiπ/4, there exist integers a,b,c,da,b,c,da,b,c,d such that z=aω3+bω2+cω+dz=a\omega^3+b\omega^2+c\omega+dz=aω3+bω2+cω+d if and only if both of the following hold: there exist a natural number kkk and integers a′,b′,c′,d′a',b',c',d'a′,b′,c′,d′ such that 2kz=a′ω3+b′ω2+c′ω+d′2^kz=a'\omega^3+b'\omega^2+c'\omega+d'2kz=a′ω3+b′ω2+c′ω+d′, and zzz is a root of a monic polynomial with integer coefficients. Here k=0k=0k=0 is permitted.

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 paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me