Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Asymptotic formula, as q tends to 1 from below, for the logarithm of the q-series with terms a^n q^(n^2)/(q;q)_n, in terms of the dilogarithm at the root of x^2 + x = a

Open
RamanujanNotebooks.entry_27_8

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

number-theoryramanujan-notebooks

Let a>0a>0a>0 and let xxx be the positive root of x2+x=ax^2+x=ax2+x=a. For 0<q<10<q<10<q<1 put S(q)=∑n≥0anqn2/(q;q)nS(q)=\sum_{n\ge0}a^nq^{n^2}/(q;q)_nS(q)=∑n≥0​anqn2/(q;q)n​. Then

lim⁡q→1−(log⁡(1+2x1+x S(q))+12log⁡2(1+x)−Li⁡2(−x)log⁡q)=0,\lim_{q\to1^-}\Bigl(\log\Bigl(\sqrt{\tfrac{1+2x}{1+x}}\,S(q)\Bigr)+\frac{\tfrac12\log^2(1+x)-\operatorname{Li}_2(-x)}{\log q}\Bigr)=0,q→1−lim​(log(1+x1+2x​​S(q))+logq21​log2(1+x)−Li2​(−x)​)=0,

where Li⁡2(w)=−∫0wlog⁡(1−u) du/u\operatorname{Li}_2(w)=-\int_0^w\log(1-u)\,du/uLi2​(w)=−∫0w​log(1−u)du/u.

Discrepancy from the printed source. The asymptotic symbol is interpreted additively, so the displayed difference tends to zero. Entry 8 is the specialization b=1,c=0 of Entry 7 after putting z=1/(1+x); its radical removes the constant term. For x>1 the dilogarithm is still its principal integral at the negative real argument -x, rather than the divergent power series there.

Preamble
import Mathlib
import Definitions.Def_RamanujanNotebooks_shared_dilogCont
import Definitions.Def_RamanujanNotebooks_shared_qPoch
Formal statement
namespace RamanujanNotebooks
theorem entry_27_8 (a x : ℝ) (S : ℝ → ℝ) (ha : 0 < a) (hx : 0 < x) (hroot : x ^ 2 + x = a)
    (hS : ∀ q : ℝ, 0 < q → q < 1 →
      HasSum
        (fun n : ℕ => (a : ℂ) ^ n * (q : ℂ) ^ (n ^ 2) / qPoch (q : ℂ) (q : ℂ) n)
        ((S q : ℝ) : ℂ)) :
    Filter.Tendsto
      (fun q : ℝ =>
        Real.log (Real.sqrt ((1 + 2 * x) / (1 + x)) * S q) +
          ((1 / 2 : ℝ) * Real.log (1 + x) ^ 2 - (dilogCont (-(x : ℂ))).re) / Real.log q)
      (nhdsWithin (1 : ℝ) (Set.Ioo (0 : ℝ) 1))
      (nhds 0) := by sorry
end RamanujanNotebooks
Source
Bruce C. Berndt, Ramanujan's Notebooks, Part IV (Springer, 1994), Chapter 27, Entry 8, p. 284.
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