AFTD Auto-Formalizing Theoretical Domains

energy_filter_sequence_purity_constant

deforiginal

For a real sequence a on Z, energy_filter_sequence_purity_constant a is (2 / sqrt(pi)) times the ratio of the fourth-moment convolution sum S_4(a) to the square of the second-moment sum S_2(a)^2.

Statement

noncomputable def energy_filter_sequence_purity_constant (a : ℤ → ℝ) : ℝ
Related work
arXiv:2405.02158 Energy-filtered quantum states and the emergence of non-local correlations
Verified
02 Nov 2026
Axioms
none listed
Used by 2

Read back from the Lean

The function energy_filter_sequence_purity_constant takes a sequence of real numbers $a : \mathbb{Z} \to \mathbb{R}$ and returns the real number defined by: $$\frac{2}{\sqrt{\pi}} \cdot \frac{\sum_{m \in \mathbb{Z}} \left( \sum_{j \in \mathbb{Z}} a(j) a(m - j) \right)^2}{\left( \sum_{j \in \mathbb{Z}} a(j)^2 \right)^2}$$ where the summations $\sum'$ denote Mathlib's tsum over $\mathbb{Z}$.

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

/-- The universal asymptotic purity prefactor C(a) = (2/sqrt(pi)) S_4(a) / S_2(a)^2 for a sequence filter a. -/
noncomputable def energy_filter_sequence_purity_constant (a : ℤ → ℝ) : ℝ := (2 / Real.sqrt Real.pi) * (∑' m : ℤ, (∑' j : ℤ, a j * a (m - j))^2) /
    (∑' j : ℤ, (a j)^2)^2
See it in the graphDiscuss this resultChallenge it