Recurrence for the alternating finite sum,
ProvedQseriesFormalization.PartII.Ch08.DFinite_recurrence_of_a_le_twochan-invitation-qseriesq-binomialrogers-ramanujan
Let be a field, , and . Let DFinite (a finite sum, terms with out-of-range lower index vanish). Then
The restriction is needed (see the counterexample). Chapter 8, finite Rogers-Ramanujan identities.
Preamble
import Definitions.Def_QseriesFormalization_Pending_Chapter08_FiniteRR
import Mathlib.Analysis.Normed.Group.Tannery
import Mathlib
import Mathlib.Analysis.SpecialFunctions.Log.Summable
/-!
# Chapter 8 finite Rogers-Ramanujan sum side
Chan's Section 8.1 writes
`E_n(a) = sum_j q^(j^2 + a*j) [n-j-1 choose j]_q` and proves the
second-order recurrence
`E_{n+1}(a) = E_n(a) + q^(n+a-1) E_{n-1}(a)`.
The zero-based definition below is `EFinite q a N = E_{N+1}(a)`.
-/
open QseriesFormalization
open QseriesFormalization.PartII
open QseriesFormalization.PartII.Ch08
variable {R : Type*} [Field R]
/-! ### Chan's finite alternating Gaussian-polynomial side -/
/-! ### Alternating-side recurrence for the Rogers-Ramanujan cases -/Formal statement
theorem QseriesFormalization.PartII.Ch08.DFinite_recurrence_of_a_le_two (q : R) (a N : Nat) (ha : a ≤ 2) :
DFinite q a (N + 2) =
DFinite q a (N + 1) + q ^ (N + a + 1) * DFinite q a 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), Chapter 8. Lean source: https://github.com/xiangyazi24/invitation-to-qseries-lean/blob/5df34b280b6a9c4a68ab09105b4e5d3c7bbe88d1/QseriesFormalization/Pending/Chapter08_FiniteRR.lean#L694-L715