Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Partial fractions of π²/(sin²(πz)(e^{2πz}−1))

Open
RamanujanNotebooks.entry_30_3

by FormallyCorrect · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

number-theoryramanujan-notebooks

Let z∈Cz\in\mathbb Cz∈C with z∉Zz\notin\mathbb Zz∈/Z and z∉iZz\notin i\mathbb Zz∈/iZ. Then

π2sin⁡2(πz)(e2πz−1)=12πz3−12z2+π3z−∑n≥11(z+n)2+4z∑n≥1n(e2πn−1)(z2−n2)2−2πz3∑n≥11sinh⁡2(πn)(z4−n4),\frac{\pi^2}{\sin^2(\pi z)(e^{2\pi z}-1)}=\frac1{2\pi z^3}-\frac1{2z^2}+\frac{\pi}{3z}-\sum_{n\ge1}\frac1{(z+n)^2}+4z\sum_{n\ge1}\frac{n}{(e^{2\pi n}-1)(z^2-n^2)^2}-2\pi z^3\sum_{n\ge1}\frac1{\sinh^2(\pi n)(z^4-n^4)},sin2(πz)(e2πz−1)π2​=2πz31​−2z21​+3zπ​−n≥1∑​(z+n)21​+4zn≥1∑​(e2πn−1)(z2−n2)2n​−2πz3n≥1∑​sinh2(πn)(z4−n4)1​,

all three series converging absolutely.

Discrepancy from the printed source. The book states no condition on zzz; the exclusion of the poles z∈Z∪iZz\in\mathbb Z\cup i\mathbb Zz∈Z∪iZ is added by us. The book (p. 359) writes 'We have' with no condition on z. We add z ∉ ℤ and z ∉ iℤ, exactly the poles of the left side (where terms on the right are undefined too). Added by us; no change to the formula.

Preamble
import Mathlib
Formal statement
namespace RamanujanNotebooks
theorem entry_30_3 (z : ℂ)
    (hz : ∀ n : ℤ, z ≠ (n : ℂ))
    (hz' : ∀ n : ℤ, z ≠ (n : ℂ) * Complex.I) :
    ∃ S₁ S₂ S₃ : ℂ,
      HasSum (fun n : ℕ => 1 / (z + ((n : ℂ) + 1)) ^ 2) S₁ ∧
      HasSum (fun n : ℕ => ((n : ℂ) + 1) /
        ((Complex.exp (2 * (Real.pi : ℂ) * ((n : ℂ) + 1)) - 1) *
          (z ^ 2 - ((n : ℂ) + 1) ^ 2) ^ 2)) S₂ ∧
      HasSum (fun n : ℕ => 1 /
        (Complex.sinh ((Real.pi : ℂ) * ((n : ℂ) + 1)) ^ 2 *
          (z ^ 4 - ((n : ℂ) + 1) ^ 4))) S₃ ∧
      (Real.pi : ℂ) ^ 2 /
          (Complex.sin ((Real.pi : ℂ) * z) ^ 2 *
            (Complex.exp (2 * (Real.pi : ℂ) * z) - 1)) =
        1 / (2 * (Real.pi : ℂ) * z ^ 3) - 1 / (2 * z ^ 2) + (Real.pi : ℂ) / (3 * z)
          - S₁ + 4 * z * S₂ - 2 * (Real.pi : ℂ) * z ^ 3 * S₃ := by sorry
end RamanujanNotebooks
Source
Bruce C. Berndt, Ramanujan's Notebooks, Part IV (Springer, 1994), Chapter 30, Entry 3, p. 359, eq. (3.1).
Human review
  • Endorsed by Shuze Chen · Oct 15, 2026

    Confirmed by the moderator at approval.

  • Endorsed by FormallyCorrect · Oct 15, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me