Section vanishing of the partition series mod iff for all
ProvedQseriesFormalization.PartIV.Ch17.section_kr_partitionGenFun_eq_zero_iffchan-invitation-qseriesformal-power-seriespartition-congruences
Let be a prime and . Let be the partition generating function over (partitionGenFun). Then the -section of (the series over ) is zero if and only if
This is a routing lemma in Chapter 17 converting the congruence into a power-series vanishing statement.
Preamble
import Definitions.Def_QseriesFormalization_DefCoreQSeries import Definitions.Def_QseriesFormalization_Chapter19_Section5 import Mathlib.Combinatorics.Enumerative.Partition.GenFun import Mathlib.RingTheory.PowerSeries.Basic import Mathlib.RingTheory.PowerSeries.Expand import Mathlib.RingTheory.PowerSeries.Inverse import Mathlib.Combinatorics.Enumerative.Partition.Basic import Mathlib import Mathlib.Tactic.Linarith /-! # Chapter 17 — Section-operator bridge to general ∀n Ramanujan congruence This file gives the precise iff-translation between the k-section of `partitionGenFun (ZMod p)` vanishing and the general `∀ n, p ∣ p(p·n+r)` Ramanujan congruence statement. Combined with Pending/Chapter16_MBI.lean (whose formal-PS form, once proved, directly gives the section vanishing for (p, r) = (5, 4)), this provides the missing link from MBI to the general Ramanujan ∀n theorem. -/ open QseriesFormalization open QseriesFormalization.PartIV open PowerSeries open QseriesFormalization.PartIV.Ch19
Formal statement
theorem QseriesFormalization.PartIV.Ch17.section_kr_partitionGenFun_eq_zero_iff
(p : Nat) [Fact (Nat.Prime p)] (r : Nat) :
section_kr (ZMod p) p r (partitionGenFun (ZMod p)) = 0 ↔
∀ n, ((QseriesFormalization.Ch01.partitionCount (p * n + r) : Nat) : ZMod p) = 0 := 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 17. Lean source: https://github.com/xiangyazi24/invitation-to-qseries-lean/blob/5df34b280b6a9c4a68ab09105b4e5d3c7bbe88d1/QseriesFormalization/Chapter17_SectionBridge.lean#L23-L58