Large-divisor von Mangoldt weight
DefinitionLL_Decomp1543a_amFor real and natural , define , with an empty divisor sum at .
import Mathlib open Real Finset ArithmeticFunction namespace LL_Decomp1543a noncomputable def am (U : ℝ) (m : ℕ) : ℝ := ∑ r ∈ m.divisors.filter (fun r : ℕ => U < (r : ℝ)), vonMangoldt r end LL_Decomp1543a
Read-back
What the Lean code literally says, in plain math · claude-haiku
This is a definition with no hypotheses and no theorem. It defines a real-valued function of a real number and a natural number as
The sum runs over the divisors of that satisfy , where is cast from to for the comparison. The inequality is strict, so a divisor equal to is excluded. is Mathlib's von Mangoldt function , applied to .
Edge cases: for there are no divisors, so for every . If , every divisor qualifies, so the sum is over all divisors of . If , no divisor qualifies and the sum is . Negative are allowed. Nothing is divided and no natural subtraction occurs, so no junk values arise.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.