Download lean/OAI/NumberTheory/Ostmann/ExponentialSum.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 269 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/NumberTheory/Ostmann/ExponentialSum.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/NumberTheory/Ostmann/ExponentialSum.lean
-
curl -L -o ExponentialSum.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/NumberTheory/Ostmann/ExponentialSum.lean
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 | |