Chan's Eq. (10.15) as an identity in (after )
ProvedQseriesFormalization.Pending.Ch10Bridge.chan1015chan-invitation-qseriesidentitiesmock-thetaq-series
Work in the ring of formal power series . For , write , and put
Let be the four-variable theta series defined coefficientwise as follows. Set , , when and otherwise, and when , when , and otherwise. Define . Then
where the four summation variables are integers. The theorem states
The inverse exists because has constant coefficient . This is the formal power-series version of Chan's Eq. (10.15) after , with equality of all coefficients. The proof transports the corresponding Hahn-series identity to power series and cancels the unit .
Preamble
import Definitions.Def_QseriesFormalization_Pending_Chapter10_TenthOrder import Mathlib import Mathlib.Combinatorics.Enumerative.Partition.GenFun import Mathlib.RingTheory.PowerSeries.Basic import Mathlib.RingTheory.PowerSeries.Expand import Mathlib.RingTheory.PowerSeries.Inverse import Mathlib.Analysis.SpecificLimits.Normed import Mathlib.Analysis.Normed.Ring.InfiniteSum import Mathlib.Topology.Algebra.InfiniteSum.NatInt import Mathlib.RingTheory.LaurentSeries import Mathlib.RingTheory.PowerSeries.Order import Mathlib.RingTheory.PowerSeries.Derivative import Mathlib.Combinatorics.Enumerative.Partition.Basic import Mathlib.Tactic.Linarith import Mathlib.Analysis.Normed.Group.Tannery import Mathlib.Analysis.SpecialFunctions.Log.Summable namespace QseriesFormalization.Ch10TwoVar end QseriesFormalization.Ch10TwoVar open scoped Classical open QseriesFormalization open QseriesFormalization.Ch10TwoVar open QseriesFormalization.Pending.Ch10TenthOrder open QseriesFormalization.Pending.JTPFormalPSPentagonal open QseriesFormalization QseriesFormalization.Pending /-! ## Sign helper: `negOnePowInt R k = (-1)^k` as a `zpow` -/ /-! ## `squareWindow` capture: `m² ≤ N ⟹ m ≤ squareWindow N` -/ /-! ## B-RHS (pentagonal): `ofPSK chan1015PentagonalPS = kP10` -/ /-! ## B-LHS: `ofPSK (chan1015LHSPS ℚ) = ChanQuadSum` -/ /-! ## Final assembly -/
Formal statement
theorem QseriesFormalization.Pending.Ch10Bridge.chan1015 : chan1015IdentityStatement := 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 10. Lean source: https://github.com/xiangyazi24/invitation-to-qseries-lean/blob/5df34b280b6a9c4a68ab09105b4e5d3c7bbe88d1/QseriesFormalization/Pending/Chapter10_Bridge.lean#L435-L457
Human review
Confirmed by the mission captain (proposal self-audit).