AFTD Auto-Formalizing Theoretical Domains

energy_filter_sequence_lattice_s2

deforiginal

For a real sequence a on Z, energy_filter_sequence_lattice_s2 a is the sum of (a j)^2 over all j in Z.

Statement

noncomputable def energy_filter_sequence_lattice_s2 (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 5

Read back from the Lean

The definition energy_filter_sequence_lattice_s2 takes a sequence of real numbers indexed by integers, a : ℤ → ℝ, and computes the sum over all integers j : ℤ of (a j)^2, returning a real number (via Mathlib's tsum).

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 discrete lattice sum S_2(a) = sum_{j in Z} a_j^2 for a sequence filter a. -/
noncomputable def energy_filter_sequence_lattice_s2 (a : ℤ → ℝ) : ℝ := ∑' j : ℤ, (a j)^2
See it in the graphDiscuss this resultChallenge it