Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1, p. 10 — after one period's signal (k, y) the posterior of (Λ, Φ) is Gamma(α + k, β + 1) × conjugate(a + z, b + k)

Proved
ShockCBM.ControlLimit.proposition_1

by mikedeng1 · Oct 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

bayesian-learningconjugate-priorgamma-poissonp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let h≥0h\ge 0h≥0 generate a natural exponential family on N\mathbb NN with log-partition AAA and natural parameter space Θ\ThetaΘ. Let α,β,a,b>0\alpha,\beta,a,b>0α,β,a,b>0, and suppose the conjugate kernel eaϕ−bA(ϕ)e^{a\phi-bA(\phi)}eaϕ−bA(ϕ) is integrable on Θ\ThetaΘ with positive integral. Take a prior Λ∼Gamma(α,β)\Lambda\sim\mathrm{Gamma}(\alpha,\beta)Λ∼Gamma(α,β) (shape α\alphaα, rate β\betaβ) independent of Φ∼fΦ(⋅∣a,b)\Phi\sim f_\Phi(\cdot\mid a,b)Φ∼fΦ​(⋅∣a,b), and observe one period's signal θ=(k,y)\theta=(k,y)θ=(k,y): kkk shocks with damages y1,…,yk∈Ny_1,\dots,y_k\in\mathbb Ny1​,…,yk​∈N, each with h(yi)>0h(y_i)>0h(yi​)>0, and total damage z=∑i=1kyiz=\sum_{i=1}^k y_iz=∑i=1k​yi​. Then for every λ,ϕ∈R\lambda,\phi\in\mathbb Rλ,ϕ∈R the Bayes posterior density satisfies

fΛ,Φ(λ,ϕ∣θ)=fΛ(λ∣α+k,β+1)⋅fΦ(ϕ∣a+z,b+k).f_{\Lambda,\Phi}(\lambda,\phi\mid\theta)=f_\Lambda(\lambda\mid\alpha+k,\beta+1)\cdot f_\Phi(\phi\mid a+z,b+k).fΛ,Φ​(λ,ϕ∣θ)=fΛ​(λ∣α+k,β+1)⋅fΦ​(ϕ∣a+z,b+k).

The posterior thus remains a product of a Gamma density and a conjugate density, with hyperparameters updated by the signal. Iterating it gives the state collapse of the paper: after age ttt with nnn shocks and total damage xxx the hyperparameters are (α0+n,β0+t,a0+x,b0+n)(\alpha_0+n,\beta_0+t,a_0+x,b_0+n)(α0​+n,β0​+t,a0​+x,b0​+n).

Formalization Note The posterior is the Bayes formula (likelihood times prior over its integral on R2\mathbb R^2R2), not the right-hand side. The hypothesis h(yi)>0h(y_i)>0h(yi​)>0 excludes impossible observations, for which the posterior is 0/00/00/0. The identity is stated for all (λ,ϕ)(\lambda,\phi)(λ,ϕ), including λ≤0\lambda\le 0λ≤0 and ϕ∉Θ\phi\notin\Thetaϕ∈/Θ where both sides are given by the same Lean conventions (the Gamma density's formula at 000, the indicator of Θ\ThetaΘ).

Preamble
import Mathlib
import Definitions.Def_ShockCBM_ControlLimit_NEF
import Definitions.Def_ShockCBM_ControlLimit_Setting
Formal statement
namespace ShockCBM.ControlLimit

theorem proposition_1 (h : ℕ → ℝ) (hh : ∀ y, 0 ≤ h y) (α β a b : ℝ) (hα : 0 < α) (hβ : 0 < β)
    (ha : 0 < a) (hb : 0 < b) (hab : ConjNormalizable h a b) (k : ℕ) (y : Fin k → ℕ)
    (hy : ∀ i, 0 < h (y i)) (lam φ : ℝ) :
    posterior h α β a b k y lam φ =
      ProbabilityTheory.gammaPDFReal (α + k) (β + 1) lam *
        conjDensity h (a + ∑ i, (y i : ℝ)) (b + k) φ := by sorry

end ShockCBM.ControlLimit
Source
Drent, Drent, Arts, Kapodistria, Real-Time Integrated Learning and Decision Making for Cumulative Shock Degradation, Manufacturing & Service Operations Management 25(1) (2023), doi:10.1287/msom.2022.1149, accepted manuscript, p. 10, Proposition 1 (proof p. 30, (14))
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 22, 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