feat(Algebra/Ring): add sum_range_id_mul_geometric_add - #42380
feat(Algebra/Ring): add sum_range_id_mul_geometric_add#42380matt-w-horn wants to merge 1 commit into
Conversation
The finite identity behind the mean of a censored geometric distribution, over any CommRing: weighting each k < m by x ^ k * (1 - x) and the boundary m by x ^ m sums to the geometric sum over Icc 1 m.
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 cc5213c2beImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
LLM-generated |
|
easy |
Over a
CommRing:∑ k < m, k * (x ^ k * (1 - x)) + m * x ^ m = ∑ k ∈ Icc 1 m, x ^ k. Summation by parts for the geometric sum; it computes the mean of a censored geometric distribution, which #42381 adds.Used in Overload, a library on retry and overload dynamics, where it's stated over
ℝwith a side condition that turns out to be unnecessary: https://github.com/matt-w-horn/overload/blob/4ecbebf/Overload/Retry/Amplification.leanClaude Fable wrote the Lean from a spec I gave it. I reviewed and tested it myself, including adversarial tests and the suites in the library above, and did the same for its dependencies.
Assisted-by: Claude Fable 5