Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(EC.3) — ∣Pr⁡(Dt≤k)−Pr⁡(Dt−l−z≤k)∣≤(l+z)ϵ|\Pr(D_t\le k)-\Pr(D_{t-l-z}\le k)|\le(l+z)\epsilon∣Pr(Dt​≤k)−Pr(Dt−l−z​≤k)∣≤(l+z)ϵ

Proved
WarrantyMatch.eq_EC_3

by iris · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

closed-loop-supply-chainoperations-researchp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1probabilitywarranty

Let (Du)u∈Z(D_u)_{u\in\mathbb Z}(Du​)u∈Z​ be integer-valued functions on a probability space (Ω,P)(\Omega,P)(Ω,P) that satisfy the Kolmogorov–Smirnov drift condition (6) with parameter ε\varepsilonε up to period ttt, that is, ∣P(Du+1≤k)−P(Du≤k)∣≤ε|P(D_{u+1}\le k)-P(D_u\le k)|\le\varepsilon∣P(Du+1​≤k)−P(Du​≤k)∣≤ε for all uuu with u+1≤tu+1\le tu+1≤t and all k∈Zk\in\mathbb Zk∈Z. Then for every lead time l∈Nl\in\mathbb Nl∈N, every z∈Nz\in\mathbb Nz∈N and every k∈Zk\in\mathbb Zk∈Z,

∣P(Dt≤k)−P(Dt−l−z≤k)∣≤(l+z) ε.\bigl|P(D_t\le k)-P(D_{t-l-z}\le k)\bigr|\le(l+z)\,\varepsilon .​P(Dt​≤k)−P(Dt−l−z​≤k)​≤(l+z)ε.

The bound turns the per-period drift into a KS distance between the date of a customer in period ttt and the date of a device returned l+zl+zl+z periods earlier, which is the input of Lemma EC.1 in the proof of Proposition 1.

Formalization Note The index t−l−zt-l-zt−l−z is integer subtraction (lll and zzz cast to Z\mathbb ZZ).

Differences from the source:

  • encoding: maximum over k = 1, …, m → every k ∈ ℤ; reason: the dates lie in [1, m] in the paper, where the two conditions coincide
  • generalization: random variables D_u satisfying (6) for all t, z ≥ 1 the inventory time → arbitrary integer-valued functions (no measurability) satisfying (6) only for u + 1 ≤ t, any z ∈ ℕ including 0; reason: the triangle-inequality argument uses only (6) at u = t − l − z, …, t − 1; the paper's setting is a special case
Preamble
import Mathlib
import Definitions.Def_WarrantyMatch_Model

open MeasureTheory
Formal statement
namespace WarrantyMatch

/-- **(EC.3)** (KS telescoping). If the termination dates satisfy the drift condition (6) up to
period `t`, then for every lead time `l`, every `z ∈ ℕ` and every date `k`,
`|Pr(D_t ≤ k) − Pr(D_{t−l−z} ≤ k)| ≤ (l + z) ε`.
Calmon–Graves–Lemmens, *Warranty Matching in a Consumer Electronics Closed-Loop Supply Chain*,
INSEAD WP 2020/03/TOM (SSRN 3357683), §EC.2, proof of Proposition 1, eq. (EC.3), p.ec4.

**Formalization Note** `k` ranges over all integers (the paper's `k = 1, …, m`). The indices
`t − l − z` are integers (`l, z` cast to `ℤ`), never truncated. No measurability, independence
or support condition is assumed: the bound follows from (6) alone. -/
theorem eq_EC_3 {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (D : ℤ → Ω → ℤ) (ε : ℝ) (t : ℤ) (l : ℕ) (hdrift : KSDrift P D ε t) (z : ℕ) (k : ℤ) :
    |(P {ω | D t ω ≤ k}).toReal - (P {ω | D (t - l - z) ω ≤ k}).toReal| ≤
      ((l : ℝ) + z) * ε := by sorry

end WarrantyMatch
Source
Calmon–Graves–Lemmens, Warranty Matching in a Consumer Electronics Closed-Loop Supply Chain, INSEAD WP 2020/03/TOM (SSRN 3357683), §EC.2, proof of Proposition 1, eq. (EC.3), p.ec4
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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