Download lean/OAI/Analysis/IrrationalRotation/Model/Fejer.lean from roseking/openAI-math-dataset: direct link, hf CLI and curl.
- Browser
- Download file 561 Bytes
-
https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Analysis/IrrationalRotation/Model/Fejer.lean
- Command line
-
hf download hf://datasets/roseking/openAI-math-dataset/lean/OAI/Analysis/IrrationalRotation/Model/Fejer.lean
-
curl -L -o Fejer.lean https://huggingface.co/datasets/roseking/openAI-math-dataset/resolve/main/lean/OAI/Analysis/IrrationalRotation/Model/Fejer.lean
561 Bytes
| import Mathlib.Analysis.Fourier.AddCircle | |
| namespace OAI | |
| noncomputable section | |
| namespace Invariant233.Fejer | |
| abbrev Circle := AddCircle (1 : ℝ) | |
| def geometricPolynomial (H : ℕ) (x : Circle) : ℂ := | |
| ∑ k ∈ Finset.range H, fourier (k : ℤ) x | |
| def kernel (H : ℕ) (x : Circle) : ℝ := | |
| Complex.normSq (geometricPolynomial H x) / H | |
| def frequencies (H : ℕ) : Finset ℤ := Finset.Ioo (-(H : ℤ)) (H : ℤ) | |
| def coefficient (H : ℕ) (n : ℤ) : ℂ := | |
| fourierCoeff (fun x : Circle => (kernel H x : ℂ)) n | |
| end Invariant233.Fejer | |
| end | |
| end OAI | |