Ramanujan's Lost Notebook Part V, shared: qPochInf
DefinitionRamanujanLostNotebook_PartV_shared_qPochInfnumber-theoryramanujan-lost-notebook
Infinite q-Pochhammer symbol (a; q)_∞ = ∏_{k ≥ 0} (1 - a q^k) ((1.0.2), p. 1).
Domain: ‖q‖ < 1, every a; the product converges absolutely and equals
lim_n (a; q)_n. It vanishes exactly when a q^k = 1 for some k ≥ 0.
Outside: for ‖q‖ ≥ 1 the product is in general not multipliable and Lean returns 1
(exception: a = 0, value 1).
Reference: (1/2; 1/5)_∞ = 0.43879683720363853126…, (0; q)_∞ = 1.
Definition code
import Mathlib
noncomputable section
namespace RamanujanLostNotebook.PartV
/-- Infinite q-Pochhammer symbol `(a; q)_∞ = ∏_{k ≥ 0} (1 - a q^k)` ((1.0.2), p. 1).
Domain: `‖q‖ < 1`, every `a`; the product converges absolutely and equals
`lim_n (a; q)_n`. It vanishes exactly when `a q^k = 1` for some `k ≥ 0`.
Outside: for `‖q‖ ≥ 1` the product is in general not multipliable and Lean returns `1`
(exception: `a = 0`, value `1`).
Reference: `(1/2; 1/5)_∞ = 0.43879683720363853126…`, `(0; q)_∞ = 1`. -/
def qPochInf (a q : ℂ) : ℂ :=
∏' k : ℕ, (1 - a * q ^ k)
end RamanujanLostNotebook.PartV
end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part V, Springer 2018.