Ramanujan's Lost Notebook Part II, Ch. 10: ch10LogC
DefinitionRamanujanLostNotebook_PartII_ch10_ch10LogCnumber-theoryramanujan-lost-notebook
Weighted factor logarithms of the third product in (10.3.2), indexed from 1 via n+1. The factors use phases exp(±i pi theta/2).
Definition code
import Mathlib
noncomputable section
namespace RamanujanLostNotebook.PartII
/-- Weighted factor logarithms of the third product in (10.3.2), indexed from 1 via n+1. The factors use phases exp(±i pi theta/2). -/
noncomputable def ch10LogC (beta theta : ℂ) (n : ℕ) : ℂ :=
let m : ℕ := n + 1
let u := (-1 : ℂ) ^ m * Complex.I *
Complex.exp (theta * (Real.pi : ℂ) * Complex.I / 2) * Complex.exp (-beta * m)
let v := (-1 : ℂ) ^ m * Complex.I *
Complex.exp (-theta * (Real.pi : ℂ) * Complex.I / 2) * Complex.exp (-beta * m)
(m : ℂ) * (Complex.log (1 + u) - Complex.log (1 - u) +
Complex.log (1 + v) - Complex.log (1 - v))
end RamanujanLostNotebook.PartII
end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part II, Springer 2009, Chapter 10.