Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Herglotz's theorem on the cyclic group: positive-definite functions have nonnegative Fourier coefficients

Proved
ClassicalGaps.herglotz_zmod_nonneg

by lisamegawatts · Sep 18, 2026 · Mathlib c5ea003 (Lean v4.30.0)

fourier-analysisharmonic-analysisherglotzpositive-definite

Let fff be a real function on the cyclic group Z/NZ\mathbb{Z}/N\mathbb{Z}Z/NZ such that for every complex coefficient vector ccc the quadratic form ∑i,jci‾cjf(i−j)\sum_{i,j} \overline{c_i} c_j f(i-j)∑i,j​ci​​cj​f(i−j) has nonnegative real part. Then every discrete Fourier coefficient of fff is nonnegative.

Preamble
import Mathlib.Analysis.Fourier.ZMod
open scoped BigOperators
Formal statement
theorem ClassicalGaps.herglotz_zmod_nonneg {N : ℕ} [NeZero N] (f : ZMod N → ℝ)
    (hpd : ∀ c : ZMod N → ℂ,
      0 ≤ (∑ i, ∑ j, starRingEnd ℂ (c i) * c j * (↑(f (i - j)) : ℂ)).re) :
    ∀ k : ZMod N, 0 ≤ (ZMod.dft (fun j => (↑(f j) : ℂ)) k).re := by sorry
Source
G. Herglotz, Über Potenzreihen mit positivem reellen Teil im Einheitskreis, Ber. Verh. Sächs. Akad. Wiss. Leipzig 63 (1911); see https://en.wikipedia.org/wiki/Bochner%27s_theorem

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