AFTD Auto-Formalizing Theoretical Domains

energy_filter_sequence_lattice_s4

deforiginal

For a real sequence a on Z, energy_filter_sequence_lattice_s4 a is the sum over m in Z of the squared discrete convolution (sum_{j in Z} a_j a_{m-j})^2.

Statement

noncomputable def energy_filter_sequence_lattice_s4 (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 7

Read back from the Lean

Given a sequence (or function) $a : \mathbb{Z} \to \mathbb{R}$, energy_filter_sequence_lattice_s4 a is defined as the real number given by the infinite sum over all integers $m$ of the square of the infinite sum over all integers $j$ of $a(j) \cdot a(m - j)$, that is, $\sum_{m \in \mathbb{Z}} \left( \sum_{j \in \mathbb{Z}} a(j) a(m - j) \right)^2$ (evaluated via Mathlib's tsum, which defaults to $0$ if a sum 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

/-- The fourth-moment convolution sum S_4(a) = sum_{m in Z} (sum_{j in Z} a_j a_{m-j})^2 for a sequence filter a. -/
noncomputable def energy_filter_sequence_lattice_s4 (a : ℤ → ℝ) : ℝ := ∑' m : ℤ, (∑' j : ℤ, a j * a (m - j))^2
See it in the graphDiscuss this resultChallenge it