Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (2), p. 1284 (PDF 5) — the closed form is the paper's process: flow (2) between jumps, jumps of the right size

Proved
AffineStorage.Ruin.eq_2

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

insurance-riskp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1piecewise-deterministic-markov-process

Let XXX be the surplus process of the model, started from X0=xX_0=xX0​=x, with premium rate ppp and interest rate rrr.

  1. Flow between jumps (eq. (2)). Suppose there are no jump epochs of either stream in (t−,t+)(t_-,t_+)(t−​,t+​). Then for every t∈(t−,t+)t\in(t_-,t_+)t∈(t−​,t+​),
Xt=Xt−er(t−t−)+pr(er(t−t−)−1).X_t=X_{t_-}e^{r(t-t_-)}+\frac pr\big(e^{r(t-t_-)}-1\big).Xt​=Xt−​​er(t−t−​)+rp​(er(t−t−​)−1).
  1. Path properties (almost surely). X0=xX_0=xX0​=x. The path t↦Xtt\mapsto X_tt↦Xt​ is right-continuous, and its left limit at every ttt is Xt−X_{t-}Xt−​. At the epoch of an upward jump of size UnU_nUn​, XTn+−XTn+−=UnX_{T^+_n}-X_{T^+_n-}=U_nXTn+​​−XTn+​−​=Un​; at the epoch of a claim of size DnD_nDn​, XTn−−XTn−−=−DnX_{T^-_n}-X_{T^-_n-}=-D_nXTn−​​−XTn−​−​=−Dn​.

Together these say that the closed-form process of the model definition is the right-continuous process described in §2.1: it grows by (1) between jumps and jumps by the jump sizes. In particular, Xt−X_{t-}Xt−​ is the left limit used to define the undershoot.

Formalization Note. Part 1 holds for every sample point. Part 2 holds almost surely, on the event where the epochs are strictly increasing, tend to infinity, and the two streams never share an epoch.

Preamble
import Mathlib
import Definitions.Def_AffineStorage_Ruin_Model
open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace AffineStorage.Ruin

theorem eq_2 (P : Params) (hS : P.Standing) {Ω : Type*} [MeasurableSpace Ω]
    (B : Basis Ω) (hB : B.IsValid P) (x : ℝ) :
    (∀ (ω : Ω) (tm tp : ℝ), tm < tp →
        (∀ n, B.Tup n ω ∉ Set.Ioo tm tp ∧ B.Tdown n ω ∉ Set.Ioo tm tp) →
        ∀ t ∈ Set.Ioo tm tp, B.X P x t ω =
          B.X P x tm ω * Real.exp (P.r * (t - tm))
            + P.p / P.r * (Real.exp (P.r * (t - tm)) - 1)) ∧
    (∀ᵐ ω ∂B.P,
      B.X P x 0 ω = x ∧
      (∀ t, ContinuousWithinAt (fun s => B.X P x s ω) (Set.Ici t) t) ∧
      (∀ t, Tendsto (fun s => B.X P x s ω) (𝓝[<] t) (𝓝 (B.Xminus P x t ω))) ∧
      (∀ n, B.X P x (B.Tup n ω) ω - B.Xminus P x (B.Tup n ω) ω = B.Z (2, n) ω) ∧
      (∀ n, B.X P x (B.Tdown n ω) ω - B.Xminus P x (B.Tdown n ω) ω = -B.Z (3, n) ω)) := by sorry

end AffineStorage.Ruin
Source
Boxma & Mandjes, Affine storage and insurance risk models, Math. Oper. Res. 46(4) (2021), pp. 1283–1284 (PDF 4–5), §2.1, eq. (2)
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

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