Ramanujan's Lost Notebook Part I, shared: qPochInf
DefinitionRamanujanLostNotebook_PartI_shared_qPochInfnumber-theoryramanujan-lost-notebook
Infinite q-Pochhammer symbol (a; q)_∞ = ∏_{k ≥ 0} (1 - a q^k) for |q| < 1 (display
after (1.1.3), p. 9; on p. 86 the same object is introduced as lim_{n → ∞} (a; q)_n),
written with Mathlib's unconditional product ∏' over ℕ.
Domain: ‖q‖ < 1 and every complex a. There ∑_k ‖a q^k‖ < ∞, so the product converges
absolutely, ∏' is its classical value, it is the limit of qPoch a q n, and it vanishes
exactly when a q^k = 1 for some k ≥ 0.
Totalization: for ‖q‖ ≥ 1 the value is whatever Mathlib's tprod assigns (1 for a
non-multipliable family, but 0 when some factor is exactly 0, e.g. a = q = 1), never the
book's object. a = 0 gives 1 for every q.
Reference: qPochInf (1/2) (1/5) = 0.43879683720363853126…; (q; q)_∞ is eulerF q.
Definition code
import Mathlib
noncomputable section
namespace RamanujanLostNotebook.PartI
/-- Infinite q-Pochhammer symbol `(a; q)_∞ = ∏_{k ≥ 0} (1 - a q^k)` for `|q| < 1` (display
after (1.1.3), p. 9; on p. 86 the same object is introduced as `lim_{n → ∞} (a; q)_n`),
written with Mathlib's unconditional product `∏'` over `ℕ`.
Domain: `‖q‖ < 1` and every complex `a`. There `∑_k ‖a q^k‖ < ∞`, so the product converges
absolutely, `∏'` is its classical value, it is the limit of `qPoch a q n`, and it vanishes
exactly when `a q^k = 1` for some `k ≥ 0`.
Totalization: for `‖q‖ ≥ 1` the value is whatever Mathlib's `tprod` assigns (`1` for a
non-multipliable family, but `0` when some factor is exactly `0`, e.g. `a = q = 1`), never the
book's object. `a = 0` gives `1` for every `q`.
Reference: `qPochInf (1/2) (1/5) = 0.43879683720363853126…`; `(q; q)_∞` is `eulerF q`. -/
def qPochInf (a q : ℂ) : ℂ :=
∏' k : ℕ, (1 - a * q ^ k)
end RamanujanLostNotebook.PartI
end
Source
G. E. Andrews and B. C. Berndt, Ramanujan's Lost Notebook, Part I, Springer 2005.