Ramanujan's theta function
DefinitionSummand of Ramanujan's general theta function#✓fully proved
For complex numbers \(a\), \(b\) and an integer \(n\), this is the term \(a^{n(n+1)/2} b^{n(n-1)/2}\) of index \(n\) in Ramanujan's general theta function \(f(a,b) = \sum_{k \in \mathbb{Z}} a^{k(k+1)/2} b^{k(k-1)/2}\).
Both exponents \(n(n+1)/2\) and \(n(n-1)/2\) are nonnegative integers for every integer \(n\), so the term is a product of ordinary powers with natural-number exponents.
noncomputable def ramanujanThetaTerm (a b : ℂ) (n : ℤ) : ℂ :=
a ^ (n * (n + 1) / 2).toNat * b ^ (n * (n - 1) / 2).toNat
Sources
- the common definition in arXiv:2305.14988, arXiv:2309.06689, arXiv:2312.15513, arXiv:2502.17312, and arXiv:2607.26471.
DefinitionRaw Ramanujan theta sum#✓fully proved
For complex numbers \(a\) and \(b\), the raw Ramanujan theta sum is \(\sum_{n \in \mathbb{Z}} a^{n(n+1)/2} b^{n(n-1)/2}\) when this series is summable, and \(0\) otherwise.
The value \(0\) for a non-summable series is a convention. Ramanujan's general theta function, which requires the series to be summable, is the intended object.
noncomputable def ramanujanThetaRaw (a b : ℂ) : ℂ :=
∑' n : ℤ, ramanujanThetaTerm a b n
noncomputable def ramanujanThetaTerm (a b : ℂ) (n : ℤ) : ℂ :=
a ^ (n * (n + 1) / 2).toNat * b ^ (n * (n - 1) / 2).toNat
MathlibExt/NumberTheory/ModularForms/JacobiTheta/Ramanujan.lean:50
Uses 1 · Used by 25
DefinitionRamanujan's general theta function#✓fully proved
For complex numbers \(a\) and \(b\) such that the series \(\sum_{n \in \mathbb{Z}} a^{n(n+1)/2} b^{n(n-1)/2}\) is summable, Ramanujan's general theta function is its sum \(f(a,b) = \sum_{n \in \mathbb{Z}} a^{n(n+1)/2} b^{n(n-1)/2}\).
noncomputable def ramanujanTheta (a b : ℂ)
(_h : Summable (ramanujanThetaTerm a b)) : ℂ :=
ramanujanThetaRaw a b
noncomputable def ramanujanThetaTerm (a b : ℂ) (n : ℤ) : ℂ :=
a ^ (n * (n + 1) / 2).toNat * b ^ (n * (n - 1) / 2).toNat
MathlibExt/NumberTheory/ModularForms/JacobiTheta/Ramanujan.lean:50
noncomputable def ramanujanThetaRaw (a b : ℂ) : ℂ :=
∑' n : ℤ, ramanujanThetaTerm a b n
MathlibExt/NumberTheory/ModularForms/JacobiTheta/Ramanujan.lean:57
Uses 2
TheoremRamanujan's theta series diverges at \(a = b = 1\)#✓fully proved
The series \(\sum_{n \in \mathbb{Z}} a^{n(n+1)/2} b^{n(n-1)/2}\) of Ramanujan's general theta function is not summable at \(a = b = 1\), since every one of its terms equals \(1\).
theorem not_summable_ramanujanThetaTerm_one_one :
¬Summable (ramanujanThetaTerm 1 1)
noncomputable def ramanujanThetaTerm (a b : ℂ) (n : ℤ) : ℂ :=
a ^ (n * (n + 1) / 2).toNat * b ^ (n * (n - 1) / 2).toNat
MathlibExt/NumberTheory/ModularForms/JacobiTheta/Ramanujan.lean:50
Uses 1 · Used by 1
TheoremThe raw Ramanujan theta sum vanishes at \(a = b = 1\)#✓fully proved
The raw Ramanujan theta sum \(\sum_{n \in \mathbb{Z}} a^{n(n+1)/2} b^{n(n-1)/2}\), which is assigned the value \(0\) whenever the series is not summable, equals \(0\) at \(a = b = 1\), because there every term equals \(1\) and the series is not summable.
theorem ramanujanThetaRaw_one_one : ramanujanThetaRaw 1 1 = 0
noncomputable def ramanujanThetaRaw (a b : ℂ) : ℂ :=
∑' n : ℤ, ramanujanThetaTerm a b n
MathlibExt/NumberTheory/ModularForms/JacobiTheta/Ramanujan.lean:57
Uses 3
TheoremAbsolute convergence of Ramanujan's general theta series#✓fully proved
For all complex numbers \(a\) and \(b\) with \(|ab| < 1\), the series \(\sum_{n \in \mathbb{Z}} |a^{n(n+1)/2} b^{n(n-1)/2}|\) of the absolute values of the terms of Ramanujan's general theta function converges.
theorem ramanujanTheta_summable (a b : ℂ) (h : ‖a * b‖ < 1) :
Summable (fun n : ℤ => ‖ramanujanThetaTerm a b n‖)
noncomputable def ramanujanThetaTerm (a b : ℂ) (n : ℤ) : ℂ :=
a ^ (n * (n + 1) / 2).toNat * b ^ (n * (n - 1) / 2).toNat
MathlibExt/NumberTheory/ModularForms/JacobiTheta/Ramanujan.lean:50
Sources
- arXiv:2607.26471,
Oliver_identities.texll. 127-130.
Uses 1
Loading dependency explorer…
The dependency explorer needs JavaScript and its graph data.