openAI-math-dataset / lean /OAI /NumberTheory /Ostmann /ExponentialSum.lean
roseking's picture
Add lean source and binary files (part 112)
aaf4b9f verified
Raw History Blame Contribute Delete
269 Bytes
import Mathlib.Analysis.SpecialFunctions.Trigonometric.Basic
namespace OAI
namespace Ostmann
noncomputable def normalizedExpSum (s : Finset ℕ) (t : ℝ) : ℂ :=
(∑ n ∈ s, Complex.exp (2 * Real.pi * Complex.I * n * t)) / (s.card : ℂ)
end Ostmann
end OAI