AFTD Auto-Formalizing Theoretical Domains

energy_filter_lattice_s2

deforiginal

The discrete lattice sum S_2(tau, h) = sum_{k in Z} exp(-2 tau^2 h^2 k^2) appearing in the rational energy-filter purity limit.

Statement

noncomputable def energy_filter_lattice_s2 (τ h : ℝ) : ℝ
Related work
arXiv:2405.02158
Verified
01 Nov 2026
Axioms
none listed

Read back from the Lean

energy_filter_lattice_s2 is a definition taking two real numbers $\tau$ and $h$, and returning the real number given by the infinite sum over all integers $k \in \mathbb{Z}$ of $\exp(-2 \tau^2 h^2 k^2)$ (defined via Mathlib's tsum, which evaluates to $0$ if the series does not converge).

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

/-- Discrete lattice sum S_2(tau, h) for the rational energy-filter purity limit. -/
noncomputable def energy_filter_lattice_s2 (τ h : ℝ) : ℝ := ∑' (k : ℤ), Real.exp (- 2 * τ^2 * h^2 * (k : ℝ)^2)
See it in the graphDiscuss this resultChallenge it