The truncated eta-product at
ProvedQseriesFormalization.PartI.Ch06.dedekindEtaTrunc_onechan-invitation-qserieseta-quotientsq-pochhammer
Let be a field and . The truncated eta-type product (omitting the prefactor ) satisfies . This is a small sanity check in the Chapter 6 development of eta-products.
Preamble
import Definitions.Def_QseriesFormalization_Chapter06
import Mathlib
import Mathlib.Analysis.SpecialFunctions.Log.Summable
import Mathlib.Analysis.Normed.Group.Tannery
/-!
# Chapter 6 — Macdonald's identities (Chan §6) — **MISLABELED**
⚠️ **MISLABELED CHAPTER**.
Per `PLAYBOOK_AUDIT.md` (2026-05-22), after cross-checking Chan's TOC and
Chapter 6 text:
**Chan §6 is "Macdonald's identities".** Its main result is
**Theorem 6.1**:
η(q)^{t²-1} = c_0 · ∑_{(v_0,…,v_{t-1}) ∈ ℤ^t, v_i ≡ i (mod t),
v_0+…+v_{t-1}=0}
∏_{i<j} (v_i − v_j) · q^{(v_0² + … + v_{t-1}²)/(2t)}
where η(q) := q^{1/24} · ∏_{m≥1} (1 − q^m) is the Dedekind η-function
and t is an odd positive integer. This is the Weyl-Macdonald-Kac
denominator formula for the affine Lie algebra ŝl(2,ℂ).
**What this file actually contains** is just the polynomial truncation
`dedekindEtaTrunc q N := (q;q)_N` (without the `q^{1/24}` prefactor) and
its `_succ`/`_one` recursion. That is **not** Chan §6 — it is just the
plain finite product `(q;q)_N`, which already lives in `Basic.lean`.
So Chan §6's Macdonald's identity (Theorem 6.1) was originally **completely
absent from this repository**. The plain `dedekindEtaTrunc q N := (q;q)_N`
content below is unrelated finite-product scaffolding.
**Update (2026-05-24)**: the foundational `t = 2` (affine `A₁`, `ŝl(2,ℂ)`)
case of Macdonald's identity — i.e. **Jacobi's identity**
`(q;q)_∞³ = ∑_{k≥0} (-1)^k (2k+1) q^{k(k+1)/2}` — is now formalized and
proven **unconditionally** in `Pending/Chapter06_Macdonald_A1.lean`
(`macdonald_A1_identity`), as a corollary of the formal-PS Jacobi cube
identity B2. The general odd-`t` Macdonald denominator formula (needing
affine Lie theory) remains open.
-/
open QseriesFormalization
open QseriesFormalization.PartI
open QseriesFormalization.PartI.Ch06
variable {R : Type*} [Field R]Formal statement
theorem QseriesFormalization.PartI.Ch06.dedekindEtaTrunc_one (q : R) : dedekindEtaTrunc q 1 = 1 - q := by sorry
Source
Lean formalization (Xiang Huang) of Hei-Chi Chan, An Invitation to q-Series: From Jacobi's Triple Product Identity to Ramanujan's "Most Beautiful Identity" (World Scientific, 2011), Chapter 6. Lean source: https://github.com/xiangyazi24/invitation-to-qseries-lean/blob/5df34b280b6a9c4a68ab09105b4e5d3c7bbe88d1/QseriesFormalization/Chapter06.lean#L65-L66