Bilateral sums depend only on the values of on
ProvedQseriesFormalization.bilateralSum_congrchan-invitation-qseriesformal-power-seriesq-series
Let be a commutative semiring and let . For every natural number , if for all integers with , then the truncated bilateral sum of of order equals that of :
Here is the symmetric finite truncation of a bilateral series , taken over .
This is a basic congruence lemma used when manipulating bilateral series (such as theta-type sums) in the book's later chapters.
Preamble
import Definitions.Def_QseriesFormalization_DefCoreQSeries
import Mathlib
/-!
# Basic objects for q-series formalization
Definitions used throughout *An Invitation to q-Series* (Hei-Chi Chan, 2011):
partitions, triangular and pentagonal numbers, the q-Pochhammer symbol,
finite sums, and Gaussian (q-binomial) coefficients.
These live in the root `QseriesFormalization` namespace so individual
chapters (in `QseriesFormalization.PartI.Ch02` etc.) can reuse them
without prefix juggling.
-/
open QseriesFormalization
/-! ### Partitions (Ch 1) -/
/-! ### Triangular and pentagonal numbers (Ch 1, Ch 4) -/
/-! ### q-Pochhammer (Ch 1) -/
variable {R : Type*} [CommRing R]
/-! ### Finite sums (Ch 3) -/
variable {R : Type*} [CommSemiring R]Formal statement
theorem QseriesFormalization.bilateralSum_congr {f g : Int → R} :
∀ n : Nat, (∀ j : Int, -(n : Int) ≤ j ∧ j ≤ (n : Int) → f j = g j) →
bilateralSum f n = bilateralSum g n := 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). Lean source: https://github.com/xiangyazi24/invitation-to-qseries-lean/blob/5df34b280b6a9c4a68ab09105b4e5d3c7bbe88d1/QseriesFormalization/Basic.lean#L211-L228