feat(Analysis): the generalized hypergeometric function#41980
Conversation
PR summary 33c10bef48Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (weak) |
|---|---|---|
| 5015 | 1 | exposed public sections |
Current commit 33c10bef48
Reference commit d0060d7bbb
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.sh pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
| variable (a b n) in | ||
| theorem regularizedHGFunCoeff_eq_zero_right | ||
| (hb : ∃ (j : Fin q) (m : ℕ), b j = -n - m) : regularizedHGFunCoeff a b n = 0 := by grind | ||
|
|
||
| variable (a b n) in | ||
| theorem regularizedHGFunCoeff_eq_zero_left | ||
| (ha : ∃ (j : Fin p), ∃ k < n, k = -a j) : regularizedHGFunCoeff a b n = 0 := by grind |
There was a problem hiding this comment.
When an Exists appears in the hypothesis, I think we usually expand it into multiple parameters
| variable (a b n) in | |
| theorem regularizedHGFunCoeff_eq_zero_right | |
| (hb : ∃ (j : Fin q) (m : ℕ), b j = -n - m) : regularizedHGFunCoeff a b n = 0 := by grind | |
| variable (a b n) in | |
| theorem regularizedHGFunCoeff_eq_zero_left | |
| (ha : ∃ (j : Fin p), ∃ k < n, k = -a j) : regularizedHGFunCoeff a b n = 0 := by grind | |
| variable (a b n) in | |
| theorem regularizedHGFunCoeff_eq_zero_right {j : Fin q} {m : ℕ} (h : b j = -n - m) : | |
| regularizedHGFunCoeff a b n = 0 := by grind | |
| variable (a b n) in | |
| theorem regularizedHGFunCoeff_eq_zero_left {j : Fin p} {k : ℕ} (hk : k < n) (h : k = -a j) : | |
| regularizedHGFunCoeff a b n = 0 := by grind |
| simp | ||
|
|
||
| /-- If `p < q + 1`, then the hypergeometric series has infinite convergence radius. -/ | ||
| theorem radius_regularizedHGFunSeries_eq_top (a : Fin p → ℂ) (b : Fin q → ℂ) (h : p < q + 1) : |
There was a problem hiding this comment.
| theorem radius_regularizedHGFunSeries_eq_top (a : Fin p → ℂ) (b : Fin q → ℂ) (h : p < q + 1) : | |
| theorem radius_regularizedHGFunSeries_eq_top (a : Fin p → ℂ) (b : Fin q → ℂ) (h : p ≤ q) : |
| variable {a : Fin p → ℂ} {b : Fin q → ℂ} {n : ℕ} | ||
|
|
||
| /-- The coefficients of the regularized hypergeometric series. -/ | ||
| def regularizedHGFunCoeff (a : Fin p → ℂ) (b : Fin q → ℂ) (n : ℕ) : ℂ := |
There was a problem hiding this comment.
Should a and b be Multiset ℂ instead? Advantages are
- Reflects the fact that order doesn't matter
- If one wants to introduce a cancelling lemma when there is a common factor among
aandb,Multisetallows writing it naturally in insert/erase, whileFinneeds reindexing.
We define the (regularized) generalized hypergeometric function and prove convergence in the cases
p < q + 1andp = q + 1. This includes the Gaussian hypergeometric function (p = 2andq = 1) and the Bessel functions (p = 0andq = 1).