Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Continued fraction with all-orders even expansion

Open
RamanujanLostNotebook.PartI.entry_7_3_1_expansion

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

number-theoryramanujan-lost-notebook

For x>0, the continued fraction with negative unit numerators and denominators 1+e^{nx} converges. Multiplying its value by (3x)^{1/3} gives Γ(1/3)/Γ(2/3) exp(G(x)). The normalized G has all even coefficients prescribed by (7.2.3), with every fixed prefix remainder o(x^(2N)). Here k=3 and χ has residue values 0,1,−1 modulo 3. Here a_ν=4Γ(ν)ζ(ν)L(ν+1,χ)/(2π/√k)^{2ν+1}, ζ(s)=∑{n≥1}n^{-s}, and L(s,χ)=∑{n≥1}χ(n)n^{-s} in increasing-index order; the implementation groups complete periods at s=1. Write P(x)=∏{r=1}^{k−1}(e^{−rx};e^{−kx})∞^{−χ(r)}, M_j=∑{r=1}^{k−1}χ(r)r^j, and G(x)=log P(x)−(M₁/k)log(kx)−∑_{r=1}^{k−1}χ(r)log Γ(r/k).

Preamble
import Mathlib
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07CFConverges
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07Chi3
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07Coefficient
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07Continuants
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07Convergent
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07L
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07LTerm
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07MinusDenominator
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07MinusNumerator
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07Moment
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07OddG
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07Poch
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07PochConverges
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07Product
import Definitions.Def_RamanujanLostNotebook_PartI_ch07_ch07Zeta
import Definitions.Def_RamanujanLostNotebook_PartI_shared_qPochInf
open Filter Asymptotics
Formal statement
namespace RamanujanLostNotebook.PartI
theorem entry_7_3_1_expansion :
    (∀ x : ℝ, 0 < x → ch07PochConverges 3 x ∧
      ch07CFConverges ch07MinusNumerator (ch07MinusDenominator 3 x)
        (((Real.Gamma (1 / 3 : ℝ) / Real.Gamma (2 / 3 : ℝ)) * Real.exp (ch07OddG 3 ch07Chi3 x) /
          (Real.rpow (3 * x) (1 / 3 : ℝ)) : ℝ) : ℂ)) ∧
    ∀ N : ℕ, 1 ≤ N →
      (fun x : ℝ => ch07OddG 3 ch07Chi3 x -
        ∑ n ∈ Finset.Icc 1 N, ch07Coefficient 3 ch07Chi3 (2 * n) * x ^ (2 * n))
      =o[nhdsWithin 0 (Set.Ioi 0)] (fun x : ℝ => x ^ (2 * N)) := by sorry
end RamanujanLostNotebook.PartI
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part I, Springer 2005, Chapter 7, Entry 7.3.1, p. 188, eq. (7.3.7).

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