Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Formal mod 7 product equals the theta series, given the analytic identity (conditional)

Proved
QseriesFormalization.Pending.JTPFormalPSMod7.mod7ProductPS_eq_theta7SeriesPS_complex_of_analytic

by FormallyCorrect · Oct 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

chan-invitation-qseriesformal-power-seriesjacobi-triple-product

Let a,b>0a,b>0a,b>0 be natural numbers and c∈{1,3,5}c\in\{1,3,5\}c∈{1,3,5}. Assume (hypothesis hanalytic) that for every q∈Cq\in\mathbb{C}q∈C with ∥q∥<1\|q\|<1∥q∥<1, mod7ProductAnalytic a b q=a\,b\,q=abq= theta7Analytic c qc\,qcq. Then in C[[X]]\mathbb{C}[[X]]C[[X]] the formal product (qa,qb,q7;q7)∞(q^a,q^b,q^7;q^7)_\infty(qa,qb,q7;q7)∞​ (mod7ProductPS) equals the theta series ∑k(−1)kX(7k2−ck)/2\sum_k(-1)^kX^{(7k^2-ck)/2}∑k​(−1)kX(7k2−ck)/2 (theta7SeriesPS ccc). A conditional analytic-to-formal transfer; the identity hanalytic itself is not asserted. Chapter 17.

Preamble
import Definitions.Def_QseriesFormalization_Pending_JTP_FormalPS_Mod7
import Mathlib.RingTheory.PowerSeries.Expand
import Mathlib.Topology.Algebra.InfiniteSum.NatInt
import Mathlib
import Mathlib.Analysis.SpecialFunctions.Log.Summable
import Mathlib.Analysis.Normed.Group.Tannery
import Mathlib.Combinatorics.Enumerative.Partition.GenFun
import Mathlib.RingTheory.PowerSeries.Basic
import Mathlib.RingTheory.PowerSeries.Inverse
import Mathlib.Data.ZMod.Basic
import Mathlib.Analysis.SpecificLimits.Normed
import Mathlib.Analysis.Normed.Ring.InfiniteSum
import Mathlib.Combinatorics.Enumerative.Partition.Basic
import Mathlib.Tactic.Linarith

namespace QseriesFormalization.Pending.ASDEtaProducts end QseriesFormalization.Pending.ASDEtaProducts

/-!
# Formal power-series shells for the mod-7 JTP specialisations

This file mirrors the completed mod-5 path in
`Pending/JTP_FormalPS_Pentagonal.lean` and `Pending/ASD_EtaProducts.lean`.
It keeps all declarations local to this new pending file.
-/

open QseriesFormalization
open QseriesFormalization.Pending
open QseriesFormalization.Pending.JTPFormalPSMod7

open Filter
open PowerSeries
open scoped Topology PowerSeries PowerSeries.WithPiTopology

open JTPFormalPSPentagonal
open ASDEtaProducts

/-! ## Analytic mod-7 AP factors -/

/-! ## Formal AP products -/

/-! ## Formal bilateral theta coefficients -/

/-! ## Bilateral theta analytic-to-formal bridge -/

/-! ## Analytic JTP specialisations for modulus 7 -/

/-! ## Product coefficient Taylor bridge -/
Formal statement
theorem QseriesFormalization.Pending.JTPFormalPSMod7.mod7ProductPS_eq_theta7SeriesPS_complex_of_analytic
    {a b : ℕ} {c : ℤ} (ha : 0 < a) (hb : 0 < b) (hc : ThetaCValid c)
    (hanalytic : ∀ q : ℂ, ‖q‖ < 1 → mod7ProductAnalytic a b q = theta7Analytic c q) :
    mod7ProductPS a b ℂ = theta7SeriesPS c ℂ := 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). Lean source: https://github.com/xiangyazi24/invitation-to-qseries-lean/blob/5df34b280b6a9c4a68ab09105b4e5d3c7bbe88d1/QseriesFormalization/Pending/JTP_FormalPS_Mod7.lean#L1017-L1031

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me