Ramanujan's congruence in : in
ProvedQseriesFormalization.Pending.ASDMod5Full.partition_5n_plus_4_eq_zero_mod_5chan-invitation-qseriespartition-congruencespartitions
For every , the image of the partition number in is . This restates the already-proved congruence in coefficient form. Chapter 17.
Preamble
import Definitions.Def_QseriesFormalization_DefCoreQSeries import Mathlib.Combinatorics.Enumerative.Partition.GenFun import Mathlib.RingTheory.PowerSeries.Basic import Mathlib.RingTheory.PowerSeries.Expand import Mathlib.RingTheory.PowerSeries.Inverse import Mathlib.Data.ZMod.Basic import Mathlib.Analysis.SpecificLimits.Normed import Mathlib.Analysis.Normed.Ring.InfiniteSum import Mathlib import Mathlib.Combinatorics.Enumerative.Partition.Basic import Mathlib.Tactic.Linarith import Mathlib.Analysis.SpecialFunctions.Log.Summable import Mathlib.Analysis.Normed.Group.Tannery namespace QseriesFormalization.PartIV.Ch19 end QseriesFormalization.PartIV.Ch19 namespace QseriesFormalization.Pending.ASDMod5 end QseriesFormalization.Pending.ASDMod5 /-! # Chapter 17 — Full mod-5 ASD residue extraction This file continues `Pending.Chapter17_ASD_Mod5`. It keeps the Atkin--Swinnerton-Dyer mod-5 dissection in terms of the already-proved section components * `A 0`, the residue-0 component of `(q;q)_∞^3`; * `A 1`, the residue-1 component of `(q;q)_∞^3`. After Frobenius, the denominator-cleared form of Hirschhorn §3.6 is `partitionGenFun * (expand 5 qPochInfPS)^2 = (A 0 + A 1)^3` in `(ZMod 5)⟦X⟧`. Applying the compressed `5`-section operator gives the five generating-function congruences, with the right-hand side still written in section-component form. -/ open QseriesFormalization open PowerSeries open QseriesFormalization.PartIV.Ch19 open QseriesFormalization.Pending.ASDMod5
Formal statement
theorem QseriesFormalization.Pending.ASDMod5Full.partition_5n_plus_4_eq_zero_mod_5 (n : ℕ) :
((QseriesFormalization.Ch01.partitionCount (5 * n + 4) : ℕ) : ZMod 5) = 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/Pending/Chapter17_ASD_Mod5_Full.lean#L376-L379