Geometric-series form of each Euler factor
ProvedQseriesFormalization.Ch01.euler_factor_geometricchan-invitation-qseriesformal-power-seriespartitions
Let be a commutative ring with a Hausdorff topology making it a topological ring, and let be a natural number. In ,
that is, the formal geometric series is the inverse of (the sum is a topological sum in the formal-series topology).
This is the Chapter 1 version of the statement , used to read Euler's product as the generating function of partitions.
Preamble
import Mathlib.Combinatorics.Enumerative.Partition.Basic
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.Tactic.Linarith
/-!
# Chapter 1 — Generating function for `partitionCount`
This companion file to `Chapter01.lean` exposes the chapter-main theorem
of Chan Ch 1, namely Euler's identity
∑_{n ≥ 0} p(n) X^n = ∏_{i ≥ 1} 1/(1 - X^i) (1.1)
in the formal-power-series sense. Both halves of (1.1) are proved in
`Chapter19.lean` (the formal-PS Ramanujan framework); this file re-exports
them under the `QseriesFormalization.Ch01` namespace so that Ch 1's
chapter-main result is visible at the chapter where Chan states it.
The dependency direction is `Ch01 ← Ch19 ← Ch01_GenFun`, which is acyclic
because `Chapter19` already imports `Chapter01` for `partitionCount`.
-/
open PowerSeries
open scoped PowerSeries.WithPiTopologyFormal statement
theorem QseriesFormalization.Ch01.euler_factor_geometric
(R : Type*) [CommRing R] [TopologicalSpace R] [IsTopologicalRing R] [T2Space R]
(i : Nat) :
((1 : R⟦X⟧) + ∑' j, (PowerSeries.X (R := R)) ^ ((i + 1) * (j + 1))) *
((1 : R⟦X⟧) - PowerSeries.X ^ (i + 1)) = 1 := 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 1. Lean source: https://github.com/xiangyazi24/invitation-to-qseries-lean/blob/5df34b280b6a9c4a68ab09105b4e5d3c7bbe88d1/QseriesFormalization/Chapter01_GenFun.lean#L54-L67