Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Ramanujan's Lost Notebook Part I, Ch. 13: ch13Rec

Definition
RamanujanLostNotebook_PartI_ch13_ch13Rec

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

number-theoryramanujan-lost-notebook

The left side of (13.5.1), after moving its q-power inside the bilateral sum. This cancellation makes every exponent nonnegative, including q=0.

Definition code
import Mathlib
import Definitions.Def_RamanujanLostNotebook_PartI_ch13_ch13Partitions
import Definitions.Def_RamanujanLostNotebook_PartI_ch13_ch13ThetaScaled
import Definitions.Def_RamanujanLostNotebook_PartI_shared_qPoch

noncomputable section

namespace RamanujanLostNotebook.PartI

/-- The left side of (13.5.1), after moving its q-power inside the bilateral sum.
This cancellation makes every exponent nonnegative, including q=0. -/
def ch13Rec (q : ℂ) (y : ℕ → ℂ) (N : ℕ) : ℂ :=
  ∑ j ∈ Finset.range (N + 1),
    ∑ t ∈ ch13Partitions j,
      (-1 : ℂ) ^ (N - j + ∑ i : Fin j, (t i).val) *
      (∏ i : Fin j, y (i.val + 1) ^ (t i).val) *
      ch13ThetaScaled ((N - j + 1 : ℕ) : ℤ) (∑ i : Fin j, (t i).val)
        ((N - j) * (N - j + 1) / 2) q /
      (qPoch q q (N - j) * ∏ i : Fin j, ((Nat.factorial (t i).val : ℕ) : ℂ))

end RamanujanLostNotebook.PartI

end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part I, Springer 2005, Chapter 13.

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