The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V19. Complex and harmonic analysis

Mathlib.Analysis.SpecialFunctions.OrdinaryHypergeometric

20 declarations. Mathlib docs Β· Source

Ordinary hypergeometric function in a Banach algebra

In this file, we define ordinaryHypergeometric, the ordinary or Gaussian hypergeometric function in a topological algebra 𝔸 over a field 𝕂 given by: $$ _2\mathrm{F}1(a\ b\ c : \mathbb{K}, x : \mathbb{A}) = \sum{n=0}^{\infty}\frac{(a)_n(b)_n}{(c)_n} \frac{x^n}{n!} ,, $$ with $(a)_n$ is the ascending Pochhammer symbol (see ascPochhammer).

This file contains the basic definitions over a general field 𝕂 and notation for β‚‚F₁, as well as showing that terms of the series are zero if any of the (a b c : 𝕂) are sufficiently large non-positive integers, rendering the series finite. In this file "sufficiently large" means that -n < a for the n-th term, and similarly for b and c.

  • ordinaryHypergeometricSeries is the FormalMultilinearSeries given above for some (a b c : 𝕂)
  • ordinaryHypergeometric is the sum of the series for some (x : 𝔸)
  • ordinaryHypergeometricSeries_eq_zero_of_nonpos_int shows that the n-th term of the series is zero if any of the parameters are sufficiently large non-positive integers

[RCLike 𝕂]

If we have [RCLike 𝕂], then we show that the latter result is an iff, and hence prove that the radius of convergence of the series is unity if the series is infinite, or ⊀ otherwise.

  • ordinaryHypergeometricSeries_eq_zero_iff is iff variant of ordinaryHypergeometricSeries_eq_zero_of_nonpos_int
  • ordinaryHypergeometricSeries_radius_eq_one proves that the radius of convergence of the ordinaryHypergeometricSeries is unity under non-trivial parameters

Notation

β‚‚F₁ is notation for ordinaryHypergeometric.

References

See https://en.wikipedia.org/wiki/Hypergeometric_function.

Tags

hypergeometric, gaussian, ordinary

theorem ordinaryHypergeometric.congr_simp E1 #

βˆ€ {𝕂 : Type u_1} {𝔸 : Type u_2} [inst : Field 𝕂] [inst_1 : Ring 𝔸] [inst_2 : Algebra 𝕂 𝔸] [inst_3 : TopologicalSpace 𝔸]
  [inst_4 : IsTopologicalRing 𝔸] (a a_1 : 𝕂),
  a = a_1 β†’ βˆ€ (b b_1 : 𝕂), b = b_1 β†’ βˆ€ (c c_1 : 𝕂), c = c_1 β†’ βˆ€ (x x_1 : 𝔸), x = x_1 β†’ β‚‚F₁ a b c x = β‚‚F₁ a_1 b_1 c_1 x_1

theorem ordinaryHypergeometricSeries.congr_simp E1 #

βˆ€ {𝕂 : Type u_1} (𝔸 : Type u_2) [inst : Field 𝕂] [inst_1 : Ring 𝔸] [inst_2 : Algebra 𝕂 𝔸] [inst_3 : TopologicalSpace 𝔸]
  [inst_4 : IsTopologicalRing 𝔸] (a a_1 : 𝕂),
  a = a_1 β†’
    βˆ€ (b b_1 : 𝕂),
      b = b_1 β†’
        βˆ€ (c c_1 : 𝕂),
          c = c_1 β†’ βˆ€ (n : β„•), ordinaryHypergeometricSeries 𝔸 a b c n = ordinaryHypergeometricSeries 𝔸 a_1 b_1 c_1 n

abbrev ordinaryHypergeometricCoefficient E1 #

{𝕂 : Type u_1} β†’ [Field 𝕂] β†’ 𝕂 β†’ 𝕂 β†’ 𝕂 β†’ β„• β†’ 𝕂

The coefficients in the ordinary hypergeometric sum.

def ordinaryHypergeometricSeries E1 #

{𝕂 : Type u_1} β†’
  (𝔸 : Type u_2) β†’
    [inst : Field 𝕂] β†’
      [inst_1 : Ring 𝔸] β†’
        [inst_2 : Algebra 𝕂 𝔸] β†’
          [inst_3 : TopologicalSpace 𝔸] β†’ [inst_4 : IsTopologicalRing 𝔸] β†’ 𝕂 β†’ 𝕂 β†’ 𝕂 β†’ FormalMultilinearSeries 𝕂 𝔸 𝔸

ordinaryHypergeometricSeries 𝔸 (a b c : 𝕂) is a FormalMultilinearSeries. Its sum is the ordinaryHypergeometric map.

def ordinaryHypergeometric E1 #

{𝕂 : Type u_1} β†’
  {𝔸 : Type u_2} β†’
    [inst : Field 𝕂] β†’
      [inst_1 : Ring 𝔸] β†’ [Algebra 𝕂 𝔸] β†’ [inst : TopologicalSpace 𝔸] β†’ [IsTopologicalRing 𝔸] β†’ 𝕂 β†’ 𝕂 β†’ 𝕂 β†’ 𝔸 β†’ 𝔸

ordinaryHypergeometric (a b c : 𝕂) : 𝔸 β†’ 𝔸, denoted β‚‚F₁, is the ordinary hypergeometric map, defined as the sum of the FormalMultilinearSeries ordinaryHypergeometricSeries 𝔸 a b c.

Note that this takes the junk value 0 outside the radius of convergence and for the poles.

def termβ‚‚F₁ E1 #

Lean.ParserDescr

ordinaryHypergeometric (a b c : 𝕂) : 𝔸 β†’ 𝔸, denoted β‚‚F₁, is the ordinary hypergeometric map, defined as the sum of the FormalMultilinearSeries ordinaryHypergeometricSeries 𝔸 a b c.

Note that this takes the junk value 0 outside the radius of convergence and for the poles.

theorem ordinaryHypergeometricSeries_apply_eq E0 #

βˆ€ {𝕂 : Type u_1} {𝔸 : Type u_2} [inst : Field 𝕂] [inst_1 : Ring 𝔸] [inst_2 : Algebra 𝕂 𝔸] [inst_3 : TopologicalSpace 𝔸]
  [inst_4 : IsTopologicalRing 𝔸] (a b c : 𝕂) (x : 𝔸) (n : β„•),
  ((ordinaryHypergeometricSeries 𝔸 a b c n) fun x_1 ↦ x) =
    ((↑n.factorial)⁻¹ * Polynomial.eval a (ascPochhammer 𝕂 n) * Polynomial.eval b (ascPochhammer 𝕂 n) *
        (Polynomial.eval c (ascPochhammer 𝕂 n))⁻¹) β€’
      x ^ n

theorem ordinaryHypergeometricSeries_apply_eq' E1 #

βˆ€ {𝕂 : Type u_1} {𝔸 : Type u_2} [inst : Field 𝕂] [inst_1 : Ring 𝔸] [inst_2 : Algebra 𝕂 𝔸] [inst_3 : TopologicalSpace 𝔸]
  [inst_4 : IsTopologicalRing 𝔸] (a b c : 𝕂) (x : 𝔸),
  (fun n ↦ (ordinaryHypergeometricSeries 𝔸 a b c n) fun x_1 ↦ x) = fun n ↦
    ((↑n.factorial)⁻¹ * Polynomial.eval a (ascPochhammer 𝕂 n) * Polynomial.eval b (ascPochhammer 𝕂 n) *
        (Polynomial.eval c (ascPochhammer 𝕂 n))⁻¹) β€’
      x ^ n

This naming follows the convention of NormedSpace.expSeries_apply_eq'.

theorem ordinaryHypergeometric_sum_eq E0 #

βˆ€ {𝕂 : Type u_1} {𝔸 : Type u_2} [inst : Field 𝕂] [inst_1 : Ring 𝔸] [inst_2 : Algebra 𝕂 𝔸] [inst_3 : TopologicalSpace 𝔸]
  [inst_4 : IsTopologicalRing 𝔸] (a b c : 𝕂) (x : 𝔸),
  (ordinaryHypergeometricSeries 𝔸 a b c).sum x =
    βˆ‘' (n : β„•),
      ((↑n.factorial)⁻¹ * Polynomial.eval a (ascPochhammer 𝕂 n) * Polynomial.eval b (ascPochhammer 𝕂 n) *
          (Polynomial.eval c (ascPochhammer 𝕂 n))⁻¹) β€’
        x ^ n

theorem ordinaryHypergeometric_eq_tsum E1 #

βˆ€ {𝕂 : Type u_1} {𝔸 : Type u_2} [inst : Field 𝕂] [inst_1 : Ring 𝔸] [inst_2 : Algebra 𝕂 𝔸] [inst_3 : TopologicalSpace 𝔸]
  [inst_4 : IsTopologicalRing 𝔸] (a b c : 𝕂),
  β‚‚F₁ a b c = fun x ↦
    βˆ‘' (n : β„•),
      ((↑n.factorial)⁻¹ * Polynomial.eval a (ascPochhammer 𝕂 n) * Polynomial.eval b (ascPochhammer 𝕂 n) *
          (Polynomial.eval c (ascPochhammer 𝕂 n))⁻¹) β€’
        x ^ n

theorem ordinaryHypergeometricSeries_apply_zero E1 #

βˆ€ {𝕂 : Type u_1} {𝔸 : Type u_2} [inst : Field 𝕂] [inst_1 : Ring 𝔸] [inst_2 : Algebra 𝕂 𝔸] [inst_3 : TopologicalSpace 𝔸]
  [inst_4 : IsTopologicalRing 𝔸] (a b c : 𝕂) (n : β„•),
  ((ordinaryHypergeometricSeries 𝔸 a b c n) fun x ↦ 0) = Pi.single 0 1 n

theorem ordinaryHypergeometric_zero E0 #

βˆ€ {𝕂 : Type u_1} {𝔸 : Type u_2} [inst : Field 𝕂] [inst_1 : Ring 𝔸] [inst_2 : Algebra 𝕂 𝔸] [inst_3 : TopologicalSpace 𝔸]
  [inst_4 : IsTopologicalRing 𝔸] (a b c : 𝕂), β‚‚F₁ a b c 0 = 1

theorem ordinaryHypergeometricSeries_symm E1 #

βˆ€ {𝕂 : Type u_1} {𝔸 : Type u_2} [inst : Field 𝕂] [inst_1 : Ring 𝔸] [inst_2 : Algebra 𝕂 𝔸] [inst_3 : TopologicalSpace 𝔸]
  [inst_4 : IsTopologicalRing 𝔸] (a b c : 𝕂),
  ordinaryHypergeometricSeries 𝔸 a b c = ordinaryHypergeometricSeries 𝔸 b a c

theorem ordinaryHypergeometricSeries_eq_zero_of_neg_nat E1 #

βˆ€ {𝕂 : Type u_1} {𝔸 : Type u_2} [inst : Field 𝕂] [inst_1 : Ring 𝔸] [inst_2 : Algebra 𝕂 𝔸] [inst_3 : TopologicalSpace 𝔸]
  [inst_4 : IsTopologicalRing 𝔸] (a b c : 𝕂) {n k : β„•},
  ↑k = -a ∨ ↑k = -b ∨ ↑k = -c β†’ k < n β†’ ordinaryHypergeometricSeries 𝔸 a b c n = 0

If any parameter to the series is a sufficiently large nonpositive integer, then the series term is zero.

In the case of the first two parameters these are usual zeros, whereas c = -k is a pole and its junk value is taken to be zero.

theorem ordinaryHypergeometric_radius_top_of_neg_nat₁ E1 #

βˆ€ {𝕂 : Type u_1} (𝔸 : Type u_2) [inst : RCLike 𝕂] [inst_1 : NormedDivisionRing 𝔸] [inst_2 : NormedAlgebra 𝕂 𝔸] (b c : 𝕂)
  {k : β„•}, (ordinaryHypergeometricSeries 𝔸 (-↑k) b c).radius = ⊀

theorem ordinaryHypergeometric_radius_top_of_neg_natβ‚‚ E1 #

βˆ€ {𝕂 : Type u_1} (𝔸 : Type u_2) [inst : RCLike 𝕂] [inst_1 : NormedDivisionRing 𝔸] [inst_2 : NormedAlgebra 𝕂 𝔸] (a c : 𝕂)
  {k : β„•}, (ordinaryHypergeometricSeries 𝔸 a (-↑k) c).radius = ⊀

theorem ordinaryHypergeometric_radius_top_of_neg_nat₃ E1 #

βˆ€ {𝕂 : Type u_1} (𝔸 : Type u_2) [inst : RCLike 𝕂] [inst_1 : NormedDivisionRing 𝔸] [inst_2 : NormedAlgebra 𝕂 𝔸] (a b : 𝕂)
  {k : β„•}, (ordinaryHypergeometricSeries 𝔸 a b (-↑k)).radius = ⊀

The convergence radius for c = -k is infinite, because the junk value at poles is 0.

theorem ordinaryHypergeometricSeries_eq_zero_iff E0 #

βˆ€ {𝕂 : Type u_1} (𝔸 : Type u_2) [inst : RCLike 𝕂] [inst_1 : NormedDivisionRing 𝔸] [inst_2 : NormedAlgebra 𝕂 𝔸]
  (a b c : 𝕂) (n : β„•), ordinaryHypergeometricSeries 𝔸 a b c n = 0 ↔ βˆƒ k < n, ↑k = -a ∨ ↑k = -b ∨ ↑k = -c

An iff variation on ordinaryHypergeometricSeries_eq_zero_of_nonpos_int for [RCLike 𝕂].

theorem ordinaryHypergeometricSeries_norm_div_succ_norm E1 #

βˆ€ {𝕂 : Type u_1} [inst : RCLike 𝕂] (a b c : 𝕂) (n : β„•),
  (βˆ€ kn < n, ↑kn β‰  -a ∧ ↑kn β‰  -b ∧ ↑kn β‰  -c) β†’
    β€–ordinaryHypergeometricCoefficient a b c nβ€– / β€–ordinaryHypergeometricCoefficient a b c n.succβ€– =
      β€–a + ↑n‖⁻¹ * β€–b + ↑n‖⁻¹ * β€–c + ↑nβ€– * β€–1 + ↑nβ€–

theorem ordinaryHypergeometricSeries_radius_eq_one E1 #

βˆ€ {𝕂 : Type u_1} (𝔸 : Type u_2) [inst : RCLike 𝕂] [inst_1 : NormedDivisionRing 𝔸] [inst_2 : NormedAlgebra 𝕂 𝔸]
  (a b c : 𝕂), (βˆ€ (kn : β„•), ↑kn β‰  -a ∧ ↑kn β‰  -b ∧ ↑kn β‰  -c) β†’ (ordinaryHypergeometricSeries 𝔸 a b c).radius = 1

The radius of convergence of ordinaryHypergeometricSeries is unity if none of the parameters are non-positive integers.