The weighted difference sum
DefinitionLL_Decomp1537b_IrhoFor natural numbers , an integer and complex numbers , let , the sum over natural numbers with and , with complex powers taken via the principal branch as in Mathlib.
import Mathlib
namespace LL_Decomp1537b
open Finset Real
noncomputable def Irho (N N1 : ℕ) (h : ℤ) (ρ ρ' : ℂ) : ℂ :=
∑ m ∈ (Ioo N1 N).filter (fun m : ℕ => (N1 : ℤ) < (m : ℤ) - h ∧ (m : ℤ) - h < N),
(m : ℂ) ^ (ρ - 1) * (((m : ℤ) - h : ℤ) : ℂ) ^ (ρ' - 1)
end LL_Decomp1537bRead-back
What the Lean code literally says, in plain math · claude-haiku
is a complex number, where are natural numbers, is an integer, and are arbitrary complex numbers. It is the sum, over all natural numbers with and, in the integers, , of
Here is cast to , and is formed as an integer before casting. Equivalently, runs over integers with , so shifts and can shrink the window. The sum is empty, and hence , whenever this interval contains no integer, for example when . Both bases are positive integers, since and , so the powers are ordinary principal powers of positive reals, with no zero base and no branch-cut junk value. Both bounds are strict, and are unrestricted.
Confirmed by the mission captain (proposal self-audit).