Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(12) — ∑j≤rg(vj)≤∑j≤rg(wj′)\sum_{j\le r}g(v_j)\le\sum_{j\le r}g(w'_j)∑j≤r​g(vj​)≤∑j≤r​g(wj′​), and the same for gTg^TgT

Proved
RetailVariety.Fashion.eq_12

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

convexitymajorizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Under the model hypotheses (0<c<p0<c<p0<c<p, λ>0\lambda>0λ>0, σ>0\sigma>0σ>0, 0≤β<10\le\beta<10≤β<1, v0>0v_0>0v0​>0), let v,w∈Rnv,w\in\mathbb R^nv,w∈Rn be nonnegative, sorted decreasingly, with v≺wv\prec wv≺w; let r≤nr\le nr≤n, 1≤t≤r1\le t\le r1≤t≤r and 0<δ≤10<\delta\le 10<δ≤1 with ∑j=1t−1wj+δwt=∑j=1rvj\sum_{j=1}^{t-1}w_j+\delta w_t=\sum_{j=1}^{r}v_j∑j=1t−1​wj​+δwt​=∑j=1r​vj​; let w′w'w′ be as in the proof of Theorem 3 and L=∑j=1rvj+v0L=\sum_{j=1}^r v_j+v_0L=∑j=1r​vj​+v0​. Then

∑j=1rg(vj)≤∑j=1rg(wj′)(12)\sum_{j=1}^{r}g(v_j)\le\sum_{j=1}^{r}g(w'_j)\tag{12}j=1∑r​g(vj​)≤j=1∑r​g(wj′​)(12)

and

∑j=1rgT(vj)≤∑j=1rgT(wj′).\sum_{j=1}^{r}g^{T}(v_j)\le\sum_{j=1}^{r}g^{T}(w'_j).j=1∑r​gT(vj​)≤j=1∑r​gT(wj′​).

The left-hand side is the optimal profit of the more fashionable category; the right-hand side is the profit of a fractional assortment of the less fashionable one.

Formalization Note. Lean's t is the paper's t−1t-1t−1 and θ the paper's δ\deltaδ; LLL is passed with the defining equation hL. The paper restricts to 0<β<10<\beta<10<β<1 when defining ggg; (12) is stated for 0≤β<10\le\beta<10≤β<1.

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

/-- (12), p. 1506: `∑_{j=1}^r g(v_j) ≤ ∑_{j=1}^r g(w′_j)`, and the same with `g^T`, where
`L = ∑_{j=1}^r v_j + v_0`. Lean's `t` is the paper's `t − 1` and `θ` the paper's `δ`. -/
theorem eq_12 {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)
    (hva : Antitone v) (hwa : Antitone w) (hvw : Majorized v w) (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) :
    ∑ j : Fin r, gFun p c lam σ β L (v (Fin.castLE hr j)) ≤
        ∑ j : Fin r, gFun p c lam σ β L (wPrime w r t θ hr j) ∧
      ∑ j : Fin r, gFunT p c lam L (v (Fin.castLE hr j)) ≤
        ∑ j : Fin r, gFunT p c lam L (wPrime w r t θ hr j) := 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, (12) and the trend-following paragraph of the 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