Documentation

Lightlike.Asymptotics.ContourIdentity

The contour identity for Racah's sum #

Racah's alternating sum is the sum of the residues of a meromorphic kernel, and so a contour integral. For face sums a : Fin 4 → ℕ and quadrilateral sums b : Fin 3 → ℕ the kernel is f(z) = π T(z) / sin(π z), T(z) = ∏_{j ≤ a₀} (z − a₀ + 1 + j) · ∏_{i ≥ 1} 1/Γ(z − aᵢ + 1) · ∏ₖ 1/Γ(bₖ − z + 1) (racahKernel, racahT). The polynomial factor is Γ(z + 2)/Γ(z − a₀ + 1) written so that T is entire (racahT_eq_Gamma gives the Γ form on the upper half-plane). At an integer t the residue of f is (−1)^t T(t) (tendsto_mul_racahKernel), and (−1)^t T(t) is Racah's term (−1)^t (t+1)! / (∏ᵢ (t − aᵢ)! ∏ₖ (bₖ − t)!) (racahT_natCast), which vanishes unless max aᵢ ≤ t ≤ min bₖ.

The identity is stated with a primitive rather than a path integral (racahSum_eq_im_primitive): for real x₁ < max aᵢ and x₂ > min bₖ there is a function Φ with Φ' = f on the closed upper half-plane minus the integers, and racahSum J = −Im (Φ(x₂) − Φ(x₁)) / π. So racahSum J = −(1/π) Im ∫_P f along every path P from x₁ to x₂ through the upper half-plane. The proof (exists_primitive_im_sub) subtracts the principal parts cₙ/(z − n): the remainder has removable singularities at the integers (exists_differentiable_eq_of_tendsto), so it is entire and has an entire primitive G, whose imaginary part is constant on ℝ because the remainder is real there. The principal parts are integrated by cₙ log(−i(z − n)), a logarithm with its cut pointing down from n; its imaginary part drops by π from x₁ < n to x₂ > n. This is the representation that the saddle-point analysis deforms through the saddle.

The numerical cross-check is scripts/asymptotics/contour_identity_check.py.

theorem Lightlike.Asymptotics.sin_pi_mul_ne_zero {z : ℂ} (hz : ∀ (n : ℤ), z ≠ ↑n) :

sin (π z) vanishes only at the integers.

sin (π n) = 0 at every integer n.

The integers form a closed subset of ℂ, the zero set of sin (π z).

theorem Lightlike.Asymptotics.eq_of_intCast_mem_ball {n k : ℤ} (h : ↑k ∈ Metric.ball (↑n) (1 / 2)) :
k = n

The only integer in the disc of radius 1/2 around an integer n is n.

theorem Lightlike.Asymptotics.exists_differentiable_eq_of_tendsto {h : ℂ → ℂ} (hd : ∀ (z : ℂ), (∀ (n : ℤ), z ≠ ↑n) → DifferentiableAt ℂ h z) (ho : ∀ (n : ℤ), Filter.Tendsto (fun (z : ℂ) => (z - ↑n) * h z) (nhdsWithin ↑n {↑n}ᶜ) (nhds 0)) :
∃ (g : ℂ → ℂ), Differentiable ℂ g ∧ ∀ (z : ℂ), (∀ (n : ℤ), z ≠ ↑n) → g z = h z

Removable singularities at the integers. A function holomorphic off the integers with (z − n) h(z) → 0 at every integer n agrees off the integers with an entire function.

theorem Lightlike.Asymptotics.im_log_neg_I_mul_of_lt {n : ℤ} {x : ℝ} (h : x < ↑n) :
(Complex.log (-Complex.I * (↑x - ↑n))).im = Real.pi / 2

The imaginary part of the logarithm with downward cut, log(−i(x − n)), is π/2 at real x < n.

theorem Lightlike.Asymptotics.im_log_neg_I_mul_of_gt {n : ℤ} {x : ℝ} (h : ↑n < x) :
(Complex.log (-Complex.I * (↑x - ↑n))).im = -(Real.pi / 2)

The imaginary part of log(−i(x − n)) is −π/2 at real x > n.

theorem Lightlike.Asymptotics.neg_I_mul_sub_mem_slitPlane {n : ℤ} {z : ℂ} (hz : 0 ≤ z.im) (hn : z ≠ ↑n) :

−i(z − n) lies in the slit plane for z in the closed upper half-plane, z ≠ n.

theorem Lightlike.Asymptotics.exists_primitive_im_sub {f : ℂ → ℂ} {c : ℤ → ℂ} {M : Finset ℤ} {x₁ x₂ : ℝ} (hd : ∀ (z : ℂ), (∀ (n : ℤ), z ≠ ↑n) → DifferentiableAt ℂ f z) (hres : ∀ (n : ℤ), Filter.Tendsto (fun (z : ℂ) => (z - ↑n) * f z) (nhdsWithin ↑n {↑n}ᶜ) (nhds (c n))) (hM : ∀ n ∉ M, c n = 0) (hc : ∀ (n : ℤ), (c n).im = 0) (hreal : ∀ (x : ℝ), (∀ (n : ℤ), ↑x ≠ ↑n) → (f ↑x).im = 0) (h₁ : ∀ n ∈ M, x₁ < ↑n) (h₂ : ∀ n ∈ M, ↑n < x₂) :
∃ (Φ : ℂ → ℂ), (∀ (z : ℂ), 0 ≤ z.im → (∀ (n : ℤ), z ≠ ↑n) → HasDerivAt Φ (f z) z) ∧ (∀ (z : ℂ), 0 ≤ z.im → (∀ n ∈ M, z ≠ ↑n) → ContinuousAt Φ z) ∧ (Φ ↑x₂ - Φ ↑x₁).im = -Real.pi * ∑ n ∈ M, (c n).re

Principal parts and a primitive. Let f be holomorphic off the integers, with real residues cₙ ((z − n) f(z) → cₙ) that vanish outside a finite set M, and real on the real axis. For real x₁ < M < x₂ there is a primitive Φ of f on the closed upper half-plane minus the integers, continuous on the closed upper half-plane minus M, with Im (Φ(x₂) − Φ(x₁)) = −π Σ_{n ∈ M} cₙ.

Racah's kernel #

noncomputable def Lightlike.Asymptotics.racahT (a : Fin 4 → ℕ) (b : Fin 3 → ℕ) (z : ℂ) :

The entire numerator of Racah's kernel, T(z) = ∏_{j ≤ a₀} (z − a₀ + 1 + j) · ∏_{i ≥ 1} 1/Γ(z − aᵢ + 1) · ∏ₖ 1/Γ(bₖ − z + 1). The polynomial factor is Γ(z + 2)/Γ(z − a₀ + 1) (racahT_eq_Gamma), written as a product so that T has no junk values at the poles of that quotient.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def Lightlike.Asymptotics.racahKernel (a : Fin 4 → ℕ) (b : Fin 3 → ℕ) (z : ℂ) :

    Racah's kernel π T(z) / sin(π z), meromorphic with at most simple poles at the integers; its residue at t is Racah's t-th term. (At the integers themselves the division by sin (π t) = 0 gives the junk value 0; only the limits there are used.)

    Equations
    Instances For

      T is entire.

      theorem Lightlike.Asymptotics.Gamma_add_nat_eq_prod_mul {w : ℂ} {n : ℕ} (hw : ∀ j < n, w + ↑j ≠ 0) :
      Complex.Gamma (w + ↑n) = (∏ j ∈ Finset.range n, (w + ↑j)) * Complex.Gamma w

      Γ(w + n) = (∏_{j < n} (w + j)) Γ(w) when none of w, …, w + n − 1 is zero.

      theorem Lightlike.Asymptotics.prod_mul_Gamma_eq {z : ℂ} {a₀ : ℕ} (hz : ∀ j ≤ a₀, z - ↑a₀ + 1 + ↑j ≠ 0) :
      (∏ j ∈ Finset.range (a₀ + 1), (z - ↑a₀ + 1 + ↑j)) * Complex.Gamma (z - ↑a₀ + 1) = Complex.Gamma (z + 2)

      The polynomial factor of T times Γ(z − a₀ + 1) is Γ(z + 2).

      theorem Lightlike.Asymptotics.racahT_eq_Gamma (a : Fin 4 → ℕ) (b : Fin 3 → ℕ) {z : ℂ} (hz : 0 < z.im) :
      racahT a b z = (Complex.Gamma (z + 2) * ∏ i : Fin 4, (Complex.Gamma (z - ↑(a i) + 1))⁻¹) * ∏ k : Fin 3, (Complex.Gamma (↑(b k) - z + 1))⁻¹

      The Γ form of T on the upper half-plane: T(z) = Γ(z + 2) ∏ᵢ 1/Γ(z − aᵢ + 1) ∏ₖ 1/Γ(bₖ − z + 1).

      1/Γ(m + 1) = 1/m! at every integer m, and 0 for m < 0 (Physlib's invFact).

      theorem Lightlike.Asymptotics.prod_natCast_eq (a₀ t : ℕ) :
      ∏ j ∈ Finset.range (a₀ + 1), (↑t - ↑a₀ + 1 + ↑j) = ↑(t + 1).factorial * ↑(PhyslibAlpha.Sl2.invFact (↑t - ↑a₀))

      The polynomial factor of T at a natural number t is (t + 1)!/(t − a₀)!, and 0 for t < a₀.

      theorem Lightlike.Asymptotics.racahT_natCast (a : Fin 4 → ℕ) (b : Fin 3 → ℕ) (t : ℕ) :
      racahT a b ↑t = (↑(t + 1).factorial * ∏ i : Fin 4, ↑(PhyslibAlpha.Sl2.invFact (↑t - ↑(a i)))) * ∏ k : Fin 3, ↑(PhyslibAlpha.Sl2.invFact (↑(b k) - ↑t))

      T at a natural number t is (t + 1)! ∏ᵢ 1/(t − aᵢ)! ∏ₖ 1/(bₖ − t)!, so that (−1)^t T(t) is the t-th term of Racah's sum.

      theorem Lightlike.Asymptotics.racahT_intCast_of_neg (a : Fin 4 → ℕ) (b : Fin 3 → ℕ) {n : ℤ} (hn : n < 0) :
      racahT a b ↑n = 0

      T vanishes at the negative integers, through the factor 1/Γ(z − a₁ + 1).

      theorem Lightlike.Asymptotics.racahT_ofReal (a : Fin 4 → ℕ) (b : Fin 3 → ℕ) (x : ℝ) :
      racahT a b ↑x = ↑(((∏ j ∈ Finset.range (a 0 + 1), (x - ↑(a 0) + 1 + ↑j)) * ∏ i : Fin 3, (Real.Gamma (x - ↑(a i.succ) + 1))⁻¹) * ∏ k : Fin 3, (Real.Gamma (↑(b k) - x + 1))⁻¹)

      T is real on the real axis.

      theorem Lightlike.Asymptotics.racahKernel_ofReal_im (a : Fin 4 → ℕ) (b : Fin 3 → ℕ) (x : ℝ) :
      (racahKernel a b ↑x).im = 0

      Racah's kernel is real on the real axis.

      cos (π n) = (−1)ⁿ at every integer n.

      theorem Lightlike.Asymptotics.tendsto_mul_racahKernel (a : Fin 4 → ℕ) (b : Fin 3 → ℕ) (n : ℤ) :
      Filter.Tendsto (fun (z : ℂ) => (z - ↑n) * racahKernel a b z) (nhdsWithin ↑n {↑n}ᶜ) (nhds ((-1) ^ n * racahT a b ↑n))

      The residues of Racah's kernel: (z − n) f(z) → (−1)ⁿ T(n) at every integer n.

      The contour identity #

      theorem Lightlike.Asymptotics.racahSum_eq_im_primitive (J : Fin 6 → ℕ) {x₁ x₂ : ℝ} (h₁ : ∃ (i : Fin 4), x₁ < ↑(faceN J i)) (h₂ : ∃ (k : Fin 3), ↑(quadN J k) < x₂) :
      ∃ (Φ : ℂ → ℂ), (∀ (z : ℂ), 0 ≤ z.im → (∀ (n : ℤ), z ≠ ↑n) → HasDerivAt Φ (racahKernel (faceN J) (quadN J) z) z) ∧ ContinuousAt Φ ↑x₁ ∧ ContinuousAt Φ ↑x₂ ∧ racahSum J = -(Φ ↑x₂ - Φ ↑x₁).im / Real.pi

      The contour identity for Racah's sum. For real x₁ left of some face sum and x₂ right of some quadrilateral sum, Racah's kernel has a primitive Φ on the closed upper half-plane minus the integers, continuous at x₁ and x₂ (which may be integers), with racahSum J = −Im (Φ(x₂) − Φ(x₁)) / π. Hence racahSum J = −(1/π) Im ∫_P f along every path P from x₁ to x₂ in the upper half-plane.