Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Gamma-Poisson negative-binomial recurrence, mean and overdispersion

Proved
ActuarialValuation.negBinClaimFrequency_fundamental

by WillR · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

actuarial-scienceformal-verificationnegative-binomial

The capstone combines the exact integer-shape negative-binomial count-mass recursion and the unit-exposure Gamma-Poisson mixture parameterisation. It verifies both predictive moments and coefficient nonnegativity, without claiming an infinite PMF normalisation proof or a Gamma mixture integral in Lean.

Mathematical statement

(n+1)g(n+1)=(n+r)pg(n),μ=r/β,σ2=μ+r/β2(n+1)g(n+1)=(n+r)pg(n),\quad\mu=r/\beta,\quad\sigma^2=\mu+r/\beta^2(n+1)g(n+1)=(n+r)pg(n),μ=r/β,σ2=μ+r/β2
Preamble
import Mathlib.Data.Real.Basic
import Mathlib.Data.Nat.Choose.Basic
import Mathlib.Algebra.BigOperators.Group.Finset.Basic
import Mathlib.Analysis.SpecialFunctions.ExpDeriv
import Definitions.Def_actuarial_negBinGammaPredictive
import Definitions.Def_actuarial_negBinGammaProbability
import Definitions.Def_actuarial_negBinCountMean
import Definitions.Def_actuarial_negBinCountVariance
Formal statement
namespace ActuarialValuation

theorem negBinClaimFrequency_fundamental
  (r n : ℕ) (b : ℝ)
  (hr : 0 < r) (hb : 0 < b) :
  ((n + 1 : ℝ) * negBinGammaPredictive r b (n + 1) =
    ((n + r : ℕ) : ℝ) * negBinGammaProbability b *
       negBinGammaPredictive r b n) ∧
  (negBinCountMean r (negBinGammaProbability b) = (r : ℝ) / b) ∧
  (negBinCountVariance r (negBinGammaProbability b) =
    (r : ℝ) / b + (r : ℝ) / b ^ 2) ∧
  (0 ≤ negBinGammaPredictive r b n) := by sorry

end ActuarialValuation
Source
Original derived actuarial identity from S. David Promislow, Fundamentals of Actuarial Mathematics (3rd ed., 2015), Chapter 21, Section 21.5, printed page 383 (Library PDF page 409), parent framework: Section 21.5 (negative-binomial frequency). Publisher https://www.oreilly.com/library/view/fundamentals-of-actuarial/9781118782521/; supporting reference https://encyclopediaofmath.org/wiki/Negative_binomial_distribution. The specific Lean declaration ActuarialValuation.negBinClaimFrequency_fundamental is a new algebraic specialisation, not quoted as a separately numbered source theorem.
Read-back

What the Lean code literally says, in plain math · gpt-6

Independent mathematical reading. The capstone combines count-coefficient recurrence, Gamma rate mean, Gamma rate variance and predictive mass sign. These are algebraic identities about definitions with real parameters and natural counts; it does not contain an infinite probability normalisation or Gamma-density integral. The statement is interpreted from the exact Lean source and its hypotheses. It remains an unproved theorem target until a genuine remote proof is accepted, and it does not substitute an informal actuarial identity for a machine-checked proof.

Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by WillR · Oct 10, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me