AFTD Auto-Formalizing Theoretical Domains

zonotope_generator

def

For natural numbers n and m, the m-th generator vector g_m in ℂ is (1/n)(1 - exp(-2πi m/n)).

Statement

noncomputable def zonotope_generator (n : ℕ) (m : ℕ) : ℂ
Defined in
arXiv:2610.14100 eq. (4)
Verified
22 Oct 2026
Axioms
none listed

Read back from the Lean

The definition zonotope_generator takes two natural numbers $n$ and $m$ and returns the complex number $(1 / n) * (1 - \exp(-2 \pi i m / n))$, where $n$ and $m$ are cast to the complex numbers $\mathbb{C}$, $\pi$ is the real constant Real.pi, $i$ is the imaginary unit Complex.I, and $\exp$ is the complex exponential Complex.exp.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- The m-th generator of the zonotope polygon S_n for order n. -/
noncomputable def zonotope_generator (n : ℕ) (m : ℕ) : ℂ := (1 / (n : ℂ)) * (1 - Complex.exp (-2 * Real.pi * Complex.I * (m : ℂ) / (n : ℂ)))
See it in the graphDiscuss this resultChallenge it