Chan's Theorem 11.7:
ProvedQseriesFormalization.Pending.Ch15RODE.chan_theorem_11_7chan-invitation-qserieseta-quotientsidentitiesq-pochhammer
For any commutative ring , in ,
where is the formal power series with integer coefficients (mapped into ) corresponding to Chan's Eq. (15.8) left side, and is the substitution in . This is Theorem 11.7, the eta-quotient form of the Lambert-series factor, proved in Chapter 15.
Preamble
import Definitions.Def_QseriesFormalization_DefCoreQSeries
import Definitions.Def_QseriesFormalization_Pending_Chapter15_R_ODE
import Mathlib.Combinatorics.Enumerative.Partition.GenFun
import Mathlib.RingTheory.PowerSeries.Basic
import Mathlib.RingTheory.PowerSeries.Expand
import Mathlib.RingTheory.PowerSeries.Inverse
import Mathlib
import Mathlib.Combinatorics.Enumerative.Partition.Basic
import Mathlib.Tactic.Linarith
import Mathlib.RingTheory.PowerSeries.Derivative
import Mathlib.Topology.Algebra.InfiniteSum.NatInt
import Mathlib.Analysis.SpecialFunctions.Log.Summable
import Mathlib.Analysis.Normed.Group.Tannery
import Mathlib.Analysis.SpecificLimits.Normed
import Mathlib.Analysis.Normed.Ring.InfiniteSum
namespace QseriesFormalization.PartIV.Ch20 end QseriesFormalization.PartIV.Ch20
namespace QseriesFormalization.Pending.Ch10TenthOrder end QseriesFormalization.Pending.Ch10TenthOrder
namespace QseriesFormalization.Pending.Ch15FormalDeriv end QseriesFormalization.Pending.Ch15FormalDeriv
namespace QseriesFormalization.Pending.Ch15WronskianIndependent end QseriesFormalization.Pending.Ch15WronskianIndependent
/-!
# Chapter 15 — Differential equation for `R(q)` (Chan §15 / Theorem 11.7)
⚠️ **Resolves MISLABELED status of Chan §15.** Adds the precise Chan §15 chapter-main
result statement, replacing the q-Taylor infrastructure (which remains useful as
*background* in `Chapter15.lean` but is not the actual §15 content).
Chan Theorem 11.7 (proved in §15) is the differential equation
`5q · d/dq · ln R(q) = η⁵(τ) / η(5τ)`
which, by integrating term-by-term (Theorem 11.1), is equivalent to the
formal-power-series identity (Eq 15.8 in Chan):
`1 − 5 · Σ_{n≥1} (n|5) · n · qⁿ / (1 − qⁿ) = η⁵(τ) / η(5τ)`
where `(n|5)` denotes the Legendre symbol modulo `5`:
+1 if n ≡ ±1 (mod 5),
-1 if n ≡ ±2 (mod 5),
0 if n ≡ 0 (mod 5).
In our formal-PS setting `etaPS R := qPochInfPS R` (no `q^{1/24}` prefactor),
so `η⁵/η(5τ)` translates to `(qPochInfPS R)⁵ / PowerSeries.expand 5 (qPochInfPS R)`.
The denominator has constant coefficient `1`, so the division is well-defined
in `R⟦X⟧` and we state the identity as a *multiplicative* equality below to
avoid `Inv` typeclass issues over a general `CommRing R`.
## Open closure path (Chan §15)
Chan's proof in §15.2 uses **Dobbie's identity (1955)**, Eq. 15.1:
`(x-z)(1-xz) / ((1-x)²(1-z)²) · [JTP-products] = LHS as a 2-variable Laurent series`
Specializing to `x = e^{2πi/5}, z = x²` collapses by Gaussian-period algebra
(`θ := β + β⁻¹` for the Golden ratio β) to Eq. 15.5, and the `qPochInfPS`
prefactor cancels by Eq. 14.35 (the 5-th root JTP infinite-product identity).
Modern proof (Milas 2004): vertex operator algebra / Zhu's theorem; out of
scope for this formalization without a Mathlib VOA module.
-/
open QseriesFormalization
open QseriesFormalization.Pending
open QseriesFormalization.Pending.Ch15RODE
open PowerSeries
open QseriesFormalization.PartIV.Ch19
open QseriesFormalization.PartIV.Ch20
open QseriesFormalization.Pending.Ch15FormalDeriv
open QseriesFormalization.Pending.Ch10TenthOrder
open QseriesFormalization.Pending.Ch15WronskianIndependent
-- unreachableFormal statement
theorem QseriesFormalization.Pending.Ch15RODE.chan_theorem_11_7 (R : Type*) [CommRing R] :
chan15LHSPS R * (PowerSeries.expand 5 (by decide) (qPochInfPS R)) =
(qPochInfPS R) ^ 5 := by sorrySource
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 15. Lean source: https://github.com/xiangyazi24/invitation-to-qseries-lean/blob/5df34b280b6a9c4a68ab09105b4e5d3c7bbe88d1/QseriesFormalization/Pending/Chapter15_R_ODE.lean#L675-L681
Human review
Confirmed by the mission captain (proposal self-audit).