Second Vaughan coefficient
DefinitionLL_Decomp1543a_lam2For real and natural , define , using natural-number division in the logarithm; is the Möbius function and the divisor sum is empty at .
import Mathlib open Real Finset ArithmeticFunction namespace LL_Decomp1543a noncomputable def lam2 (V : ℝ) (n : ℕ) : ℝ := ∑ t ∈ n.divisors.filter (fun t : ℕ => (t : ℝ) ≤ V), (moebius t : ℝ) * Real.log ((n / t : ℕ) : ℝ) end LL_Decomp1543a
Read-back
What the Lean code literally says, in plain math · claude-haiku
This definition assigns to a real number and a natural number the real number :
where the sum runs over the positive divisors of satisfying (compared as real numbers), is the Möbius function cast to the reals, and is the real logarithm. The quotient is natural-number division, which is exact because , so the argument of is the true value when . No hypothesis is imposed on or . If , there are no divisors and for every . If , the filter is empty and the value is . The term contributes . The definition is total and produces no junk values.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.