Σ C(n,k) φ(k) = Σ C(n,k) φ(n-k) under a contour-integral hypothesis
OpenRamanujanNotebooks.entry_4_10Let with , let be entire, and let , , be radii with and for all integers , such that . If and both converge, then they are equal. Entry 10 on p. 100 permits unrestricted complex . This version excludes and requires every contour to avoid both pole sets. The residue calculation uses simple poles and cancels the nonzero factor ; these steps require the added restriction.
Discrepancy from the printed source. For and , the first series vanishes termwise and the second sums to . Meanwhile , and the reciprocal Gamma factors extend the integrand to an entire function, so its circular integrals vanish. Thus the unrestricted conclusion fails. Nonnegative integral instead gives a finite identity without these hypotheses and is stated separately; negative integral is outside this formulation.
import Mathlib
namespace RamanujanNotebooks
theorem entry_4_10 (n : ℂ) (hn : ∀ m : ℤ, 2 * n ≠ (m : ℂ)) (φ : ℂ → ℂ)
(hφ : Differentiable ℂ φ) (r : ℕ → ℝ)
(hr0 : ∀ j : ℕ, 0 < r j) (hr : Filter.Tendsto r Filter.atTop Filter.atTop)
(hint : ∀ j m : ℕ, r j ≠ (m : ℝ)) (hshift : ∀ (j : ℕ) (m : ℤ), r j ≠ ‖n - (m : ℂ)‖)
(hI : Filter.Tendsto
(fun j : ℕ => (2 * (Real.pi : ℂ) * Complex.I)⁻¹ *
circleIntegral (fun z : ℂ => (Real.pi : ℂ) * φ z *
(Complex.cos ((Real.pi : ℂ) * z) / Complex.sin ((Real.pi : ℂ) * z)) *
(Complex.cos ((Real.pi : ℂ) * (z - n)) / Complex.sin ((Real.pi : ℂ) * (z - n))) /
(Complex.Gamma (z + 1) * Complex.Gamma (n - z + 1))) 0 (r j))
Filter.atTop (nhds 0))
(s t : ℂ)
(hs : Filter.Tendsto
(fun K : ℕ => ∑ k ∈ Finset.range K,
(∏ i ∈ Finset.range k, (n - (i : ℂ))) / (k.factorial : ℂ) * φ (k : ℂ))
Filter.atTop (nhds s))
(ht : Filter.Tendsto
(fun K : ℕ => ∑ k ∈ Finset.range K,
(∏ i ∈ Finset.range k, (n - (i : ℂ))) / (k.factorial : ℂ) * φ (n - (k : ℂ)))
Filter.atTop (nhds t)) :
s = t := by sorry
end RamanujanNotebooksConfirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.