Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma A.1(a)–(b), Online Appendix p. 2 (PDF 34) — exchanging the demand factors maps the sharing regions onto each other

Proved
InvShareComp.Exog.lemma_A1

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

exchangeabilityinventory-sharingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let (ε1,ε2)(\varepsilon_1,\varepsilon_2)(ε1​,ε2​) have an exchangeable law ν\nuν on [0,1]2[0,1]^2[0,1]2 with a density, let I∈[0,1]I\in[0,1]I∈[0,1], and let Z:R2→RZ:\mathbb R^2\to\mathbb RZ:R2→R be any function. Then

E[Z(ε1,ε2); ε2<2I≤ε1<4I−ε2]=E[Z(ε2,ε1); ε2≥2I, ε1<4I−ε2],E\bigl[Z(\varepsilon_1,\varepsilon_2);\ \varepsilon_2<2I\le\varepsilon_1<4I-\varepsilon_2\bigr]=E\bigl[Z(\varepsilon_2,\varepsilon_1);\ \varepsilon_2\ge 2I,\ \varepsilon_1<4I-\varepsilon_2\bigr],E[Z(ε1​,ε2​); ε2​<2I≤ε1​<4I−ε2​]=E[Z(ε2​,ε1​); ε2​≥2I, ε1​<4I−ε2​],
E[Z(ε1,ε2); ε2<2I, ε1≥4I−ε2]=E[Z(ε2,ε1); ε2≥2I, 4I−ε2≤ε1<2I].E\bigl[Z(\varepsilon_1,\varepsilon_2);\ \varepsilon_2<2I,\ \varepsilon_1\ge 4I-\varepsilon_2\bigr]=E\bigl[Z(\varepsilon_2,\varepsilon_1);\ \varepsilon_2\ge 2I,\ 4I-\varepsilon_2\le\varepsilon_1<2I\bigr].E[Z(ε1​,ε2​); ε2​<2I, ε1​≥4I−ε2​]=E[Z(ε2​,ε1​); ε2​≥2I, 4I−ε2​≤ε1​<2I].

In the paper's notation these are the iterated-integral identities (a) and (b) of Lemma A.1. They are what makes the transfer payments cancel at symmetric profiles, so that the equilibrium profit does not depend on ttt except through the service level.

Formalization Note. The expectations are Bochner integrals of region indicators times ZZZ; the identities hold for every ZZZ (both sides are the same integral after the coordinate swap), so no integrability or measurability assumption on ZZZ is imposed. Region endpoints are chosen so that the swapped regions coincide exactly; the paper's closed limits differ from them by null sets.

Preamble
import Mathlib
import Definitions.Def_InvShareComp_Exog_Model
Formal statement
namespace InvShareComp.Exog

open MeasureTheory Classical

theorem lemma_A1 (ν : Measure (ℝ × ℝ)) (hν : IsDemandLaw ν)
    (I : ℝ) (hI : I ∈ Set.Icc (0:ℝ) 1) (Z : ℝ → ℝ → ℝ) :
    (∫ ω, (if ω.2 < 2 * I ∧ 2 * I ≤ ω.1 ∧ ω.1 < 4 * I - ω.2 then Z ω.1 ω.2 else 0) ∂ν
      = ∫ ω, (if 2 * I ≤ ω.2 ∧ ω.1 < 4 * I - ω.2 then Z ω.2 ω.1 else 0) ∂ν) ∧
    (∫ ω, (if ω.2 < 2 * I ∧ 4 * I - ω.2 ≤ ω.1 then Z ω.1 ω.2 else 0) ∂ν
      = ∫ ω, (if 2 * I ≤ ω.2 ∧ 4 * I - ω.2 ≤ ω.1 ∧ ω.1 < 2 * I then Z ω.2 ω.1 else 0) ∂ν) := by sorry

end InvShareComp.Exog
Source
Guo & Jiang, Inventory Sharing under Service Competition, SSRN 3512712 (version of March 2, 2023; forthcoming at MSOM), Online Appendix p. 2 (PDF 34), Lemma A.1(a)–(b)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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