Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Alternating three-parameter continued fraction

Open
RamanujanLostNotebook.PartI.entry_6_2_1

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

number-theoryramanujan-lost-notebook

Let (t;q)n=∏{k=0}^{n−1}(1−tq^k) and (t;q)∞=∏{k≥0}(1−tq^k). Let G(a,b,λ;q)=∑{n≥0}∏{k=0}^{n−1}(a+λq^k)q^{n(n+1)/2}/((q;q)n(−bq;q)n), and P(a,b,λ;q)=(−bq;q)∞G(a,b,λ;q). Write U(a,b,λ;q)n=aq^((n+1)/2)+λq^n for odd n≥1 and bq^(n/2)+λq^n for even n≥1. For numerators u_n and denominators d_n, A{−1}=1, A_0=d_0, B{−1}=0, B_0=1 and X_n=d_n X_{n−1}+u_n X_{n−2} for X=A,B. The ordinary fraction is lim A_n/B_n; its reciprocal is lim B_n/A_n. Early poles are permitted but the actual denominator must be nonzero eventually. A regular fraction means that A_n and B_n are never simultaneously zero. On the regular q-disk locus, G(aq,b,λq;q)/G(a,b,λ;q) equals 1/(1+(aq+λq)/(1+(bq+λq²)/(1+⋯))). Exact assumptions: |q| < 1; ∀ k, 1 + b·q^(k + 1) ≠ 0; G a b l q ≠ 0; regularCF (U a b l q) (n ↦ 1). Differs from the printed source: We make the inherited |q|<1 range and finite q-Pochhammer nonvanishing explicit. Our formulation writes the removable numerator as ∏(a+λq^k), including the a=0 specializations the book uses, instead of applying totalized division to −λ/a. Our formulation excludes indeterminate simultaneous-zero finite continuants and requires the displayed q-series quotient denominator to be nonzero; convergence and eventual definedness remain conclusions. Independent pre-compile audit: Ratio orientation, alternating numerators, and convergence conclusion agree; residual ≤ 1.83e-110.

Discrepancy from the printed source. We make the inherited |q|<1 range and finite q-Pochhammer nonvanishing explicit. Our formulation writes the removable numerator as ∏(a+λq^k), including the a=0 specializations the book uses, instead of applying totalized division to −λ/a. Our formulation excludes indeterminate simultaneous-zero finite continuants and requires the displayed q-series quotient denominator to be nonzero; convergence and eventual definedness remain conclusions. Independent pre-compile audit: Ratio orientation, alternating numerators, and convergence conclusion agree; residual ≤ 1.83e-110.

Preamble
import Mathlib
import Definitions.Def_RamanujanLostNotebook_PartI_ch06_ch6Continuants
import Definitions.Def_RamanujanLostNotebook_PartI_ch06_ch6G
import Definitions.Def_RamanujanLostNotebook_PartI_ch06_ch6HasCF
import Definitions.Def_RamanujanLostNotebook_PartI_ch06_ch6MainNum
import Definitions.Def_RamanujanLostNotebook_PartI_ch06_ch6RegularCF
import Definitions.Def_RamanujanLostNotebook_PartI_ch06_ch6Term
import Definitions.Def_RamanujanLostNotebook_PartI_shared_qPoch
Formal statement
namespace RamanujanLostNotebook.PartI
theorem entry_6_2_1 (a b l q : ℂ) (hq : ‖q‖ < 1) (hb : ∀ k : ℕ, 1 + b * q ^ (k + 1) ≠ 0) (hG : ch6G a b l q ≠ 0) (hreg : ch6RegularCF (ch6MainNum a b l q) (fun _ => 1)) :
    Summable (ch6Term a b l q) ∧
    Summable (ch6Term (a * q) b (l * q) q) ∧
    ch6HasCF true 1 (ch6MainNum a b l q) (fun _ => 1) (ch6G (a * q) b (l * q) q / ch6G a b l q) := by sorry
end RamanujanLostNotebook.PartI
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part I, Springer 2005, Chapter 6, Entry 6.2.1, p. 144, eq. (6.2.2).

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