Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 3 — the sides of (12) are π(Ar,v)\pi(A_r, v)π(Ar​,v) and h(δwt)h(\delta w_t)h(δwt​) with S=At−1S=A_{t-1}S=At−1​

Proved
RetailVariety.Fashion.eq_12_sides

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

assortment-planningp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

In the setting of (12), with L=∑j=1rvj+v0L=\sum_{j=1}^r v_j+v_0L=∑j=1r​vj​+v0​:

  1. πI(Ar,v)=∑j=1rg(vj)\displaystyle \pi_I(A_r,v)=\sum_{j=1}^{r}g(v_j)πI​(Ar​,v)=j=1∑r​g(vj​) and πT(Ar,v)=∑j=1rgT(vj)\displaystyle\pi_T(A_r,v)=\sum_{j=1}^{r}g^{T}(v_j)πT​(Ar​,v)=j=1∑r​gT(vj​);
  2. if β>0\beta>0β>0, ∑j=1rg(wj′)=hI(δwt)\displaystyle\sum_{j=1}^{r}g(w'_j)=h_I(\delta w_t)j=1∑r​g(wj′​)=hI​(δwt​), where hIh_IhI​ is the Lemma 1 function of category www (no-purchase preference w0=v0w_0=v_0w0​=v0​) with S=At−1S=A_{t-1}S=At−1​;
  3. ∑j=1rgT(wj′)=hT(δwt)\displaystyle\sum_{j=1}^{r}g^{T}(w'_j)=h_T(\delta w_t)j=1∑r​gT(wj′​)=hT​(δwt​), with hTh_ThT​ the Lemma 1 function of category www with S=At−1S=A_{t-1}S=At−1​.

Together with (12), Lemma 1 and the end-point identities, these give π(Ar,v)≤max⁡{π(At−1,w),π(At,w)}\pi(A_r,v)\le\max\{\pi(A_{t-1},w),\pi(A_t,w)\}π(Ar​,v)≤max{π(At−1​,w),π(At​,w)}.

Formalization Note. Lean's t is the paper's t−1t-1t−1, so A n t is the paper's At−1A_{t-1}At−1​ and w ⟨t, _⟩ is wtw_twt​; θ is the paper's δ\deltaδ. Part 2 needs β>0\beta>0β>0 because g(0)=0g(0)=0g(0)=0 fails at β=0\beta=0β=0 (00=10^0=100=1). Only the hypotheses the identities use are kept (in particular, majorization is not assumed here).

Preamble
import Mathlib
import Definitions.Def_RetailVariety_Fashion_Model
import Definitions.Def_RetailVariety_Fashion_Lemma1Functions
import Definitions.Def_RetailVariety_Fashion_ProofObjects
Formal statement
namespace RetailVariety.Fashion

/-- p. 1506: the left side of (12) is `π(A_r, v)`, and (for `0 < β` in the independent model) the
right side is `h(δ w_t)`, the Lemma 1 function of category `w` with `S = A_{t−1}`. Lean's `t` is the
paper's `t − 1` (so `A n t` is the paper's `A_{t−1}`) and `θ` the paper's `δ`. -/
theorem eq_12_sides {n : ℕ} (p c lam σ β v0 : ℝ) (hc : 0 < c) (hcp : c < p) (hlam : 0 < lam)
    (hσ : 0 < σ) (hβ0 : 0 ≤ β) (hβ1 : β < 1) (hv0 : 0 < v0)
    (v w : Fin n → ℝ) (hv : ∀ j, 0 ≤ v j) (hw : ∀ j, 0 ≤ w j) (r : ℕ) (hr : r ≤ n)
    (t : ℕ) (ht : t < r) (θ : ℝ) (hθ0 : 0 < θ) (hθ1 : θ ≤ 1)
    (heq : ∑ j ∈ RetailVariety.Statics.A n t, w j + θ * w ⟨t, by omega⟩ = ∑ j ∈ RetailVariety.Statics.A n r, v j)
    (L : ℝ) (hL : L = ∑ j ∈ RetailVariety.Statics.A n r, v j + v0) :
    profitI p c lam σ β v v0 (RetailVariety.Statics.A n r) = ∑ j : Fin r, gFun p c lam σ β L (v (Fin.castLE hr j)) ∧
      profitT p c lam v v0 (RetailVariety.Statics.A n r) = ∑ j : Fin r, gFunT p c lam L (v (Fin.castLE hr j)) ∧
      (0 < β → ∑ j : Fin r, gFun p c lam σ β L (wPrime w r t θ hr j) =
        hI p c lam σ β w v0 (RetailVariety.Statics.A n t) (θ * w ⟨t, by omega⟩)) ∧
      ∑ j : Fin r, gFunT p c lam L (wPrime w r t θ hr j) =
        hT p c lam w v0 (RetailVariety.Statics.A n t) (θ * w ⟨t, by omega⟩) := by sorry

end RetailVariety.Fashion
Source
van Ryzin & Mahajan, On the Relationship Between Inventory Costs and Variety Benefits in Retail Assortments, Management Science 45(11), 1999, p. 1506, proof of Theorem 3
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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