Step-3 functional equation for the -slices of
ProvedQseriesFormalization.Ch10TwoVar.thetaProdX_slice_fechan-invitation-qseriesformal-power-seriesmock-theta
Let (thetaX_q2 * thetaX_q), a product of two theta series in with nome and , in the two-variable Hahn series ring over . Writing for the -coefficient (other variable at degree ), for every integer , . Chapter 10, the matching functional equation for the right-hand side of Zwegers' Lemma 10.1.
Preamble
import Definitions.Def_QseriesFormalization_Pending_Chapter10_TwoVar
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.Combinatorics.Enumerative.Partition.Basic
import Mathlib.Tactic.Linarith
import Mathlib.Analysis.Normed.Group.Tannery
import Mathlib.Analysis.SpecialFunctions.Log.Summable
open scoped Classical
open Set
open QseriesFormalization
open QseriesFormalization.Ch10TwoVar
/-! ## Layer A — the q-first lexicographic Hahn kernel -/
/-! ### The q-slice `coeffXY` -/
/-! ### The Q-embedding `embedQ : K →+* S` -/
/-! ## Layer B — integer quadratic helpers -/
/-! ## Layer C — `thetaMon` as the hsum of a summable family -/
/-! ### Symmetry specials -/
/-! ## Layer D — q-Pochhammer bridge
We import the committed formal-power-series infrastructure (`qPochInfPS`, the cube
identity `qPochInfPS^3 = jacobiThetaPS`) and transport it into `K = ℚ((Q))` via
`HahnSeries.ofPowerSeries` composed with `PowerSeries.expand` (the `q = Q^3` rescaling).
-/
open QseriesFormalization.PartIV.Ch19 (qPochInfPS jacobiThetaPS jacobiTripleSign
)
/-! ### A `K`-level theta summable family
The one-variable theta sums `∑' t, single (3·T t) (w t)` (in `K = ℚ((Q))`) needed for
`theta_one_zero` and the Jacobi derivative. The Q-degree `3·T t = thetaQDeg 3 0 t` is
bounded below with finite fibers (reusing the layer-C bounds), so the family is summable. -/
/-! ### Jacobi's derivative identity `-∑ (-1)^t t q^{T t} = (q;q)_∞^3` -/
/-! ### Jacobi's derivative identity, finished -/
/-! ## Layer E — Zwegers Lemma 10.1 (functional-equation route)
The classical identity (Chen, Eq. 10.34; Zwegers 2010, Lemma 3.1)
`∑_{k,l} (-1)^{k+l}(δ(k)-δ(l)) q^{(k²+l²)/3} x^l = -x⁻¹q^{1/3} (q²;q²)∞/(q;q)∞ Θ(x;q²)Θ(x;q)`,
proved here in the `poch_q2`-cleared form to avoid `K`-division.
-/
/-! ### The 2D summable family for the Zwegers LHS
Q-degree `k²+l²` is bounded below by `0` with finite fibers (lattice points on a
circle), so the family indexed by `ℤ × ℤ` is summable in `S`. -/
/-! ### Uniqueness from the step-3 functional equation -/
/-! ### Plane-support infrastructure (`y⁰`- and `x⁰`-supported series) -/
/-! ### The Zwegers RHS and the main identity (Lemma 10.1, `x`-version)
We state Zwegers' Lemma 10.1 in the `poch_q2`-cleared form
`embedQ poch_q2 · LHS = - (Q x⁻¹) · embedQ poch_q · Θ(x;q²) · Θ(x;q)`
(verified numerically; design `chan3-Ch10-twovar-source-route.md`). `thetaX_q := thetaMon 3 0 1 0`,
`thetaX_q2 := thetaMon 6 0 1 0`. -/Formal statement
theorem QseriesFormalization.Ch10TwoVar.thetaProdX_slice_fe (m : ℤ) :
coeffXY (thetaX_q2 * thetaX_q) (m + 3) 0
= - Qpow (6 * m + 3) * coeffXY (thetaX_q2 * thetaX_q) m 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 10. Lean source: https://github.com/xiangyazi24/invitation-to-qseries-lean/blob/5df34b280b6a9c4a68ab09105b4e5d3c7bbe88d1/QseriesFormalization/Pending/Chapter10_TwoVar.lean#L1625-L1675