Ramanujan's Lost Notebook Part I, Ch. 3: ch03Convergent
DefinitionRamanujanLostNotebook_PartI_ch03_ch03Convergentnumber-theoryramanujan-lost-notebook
The finite normalized convergent B_n/A_n. Poles of a finite truncation use Lean's total division; every use of an infinite fraction asserts actual convergence, so no limit is inferred merely from this totalized definition.
Definition code
import Mathlib import Definitions.Def_RamanujanLostNotebook_PartI_ch03_ch03Continuants noncomputable section namespace RamanujanLostNotebook.PartI /-- The finite normalized convergent B_n/A_n. Poles of a finite truncation use Lean's total division; every use of an infinite fraction asserts actual convergence, so no limit is inferred merely from this totalized definition. -/ def ch03Convergent (a : ℕ → ℂ) (n : ℕ) : ℂ := (ch03Continuants a n).2.2 / (ch03Continuants a n).1.2 end RamanujanLostNotebook.PartI end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part I, Springer 2005, Chapter 3.