Add real-power moments of gamma distributions - #42543
Conversation
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR. Thank you again for joining our community. |
PR summary 37b4502afbImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
This adds the real-power moment formula for the gamma distribution with shape
aand rater:The assumptions
0 < a,0 < r, and0 < a + qcover positive, zero, andintegrable negative moments in one statement. The proof unfolds the density,
reduces the integral to
Ioi 0, and applies the existing gamma-integral lemma.Testing:
#print axiomsreports onlypropext,Classical.choice, andQuot.sound;git diff --checkpasses.The upstream
mastertoolchain changed to Lean 4.33.0-rc2 after this branchbase. This is deliberately opened as a draft so CI/rebase can expose any API
adjustment required by the new toolchain.