Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(7) — R(x)=∑jRj(x)R(x)=\sum_j R_j(x)R(x)=∑j​Rj​(x)

Proved
BasketMVMNL.eq_7

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

approximation-schemesassortment-optimizationdynamic-programmingmultivariate-mnlp2o-gran-per-chapterp2o-plan-paperp2o-v1

Under MVMNL with no interaction terms and the standing assumptions of §4, for every assortment xxx,

R(x)=∑j[∑iri,jvi,jxi,j[v0−1Γ(x)+1]γj(xj)]=∑jRj(x),R(x)=\sum_j\left[\frac{\sum_i r_{i,j}v_{i,j}x_{i,j}}{\big[\frac{v_0-1}{\Gamma(x)}+1\big]\gamma_j(x_j)}\right]=\sum_j R_j(x),R(x)=j∑​[[Γ(x)v0​−1​+1]γj​(xj​)∑i​ri,j​vi,j​xi,j​​]=j∑​Rj​(x),

where γj(xj)=1+∑ivi,jxi,j\gamma_j(x_j)=1+\sum_i v_{i,j}x_{i,j}γj​(xj​)=1+∑i​vi,j​xi,j​, Γ(x)=∏jγj(xj)\Gamma(x)=\prod_j\gamma_j(x_j)Γ(x)=∏j​γj​(xj​) and RRR is the expected total revenue (4). Once Γ(x)\Gamma(x)Γ(x) is fixed the revenue separates across groups, which is what the dynamic program of Algorithm U1 exploits.

Differences from the source:

  • encoding: J groups of I products indexed (i,j) from 1; bundles y with yⱼ ∈ {0,1,…,I}; x ∈ {0,1}^{JI}; utilities θᵢ,ⱼ, μ₀ with vᵢ,ⱼ = exp θᵢ,ⱼ, v₀ = exp μ₀ → groups Fin J, products Fin I (0-based); bundles Fin J → Option (Fin I) with none for yⱼ = 0; x : Fin J → Fin I → Bool; the instance stores v, v₀ (θ = log v, μ₀ = log v₀), r and ψ; reason: the same instances, assortments and bundles
  • encoding: "There are J groups of products and each group consists of I different products" (p.6) → 1 ≤ J and 1 ≤ I in Standing; reason: excludes only the empty instance, which the paper does not consider
  • reading: rᵢ,ⱼ, "the revenue of product i in group j" (p.7), sign not stated → 0 ≤ rᵢ,ⱼ in Standing; reason: the plain meaning of revenue; with a negative revenue Theorem 1 is false (J = 2, I = 1, v = (0.2768, 10), r = (4.1257, −0.8847), v₀ = 53.3, ϵ = 0.1: Algorithm U1 earns 0.019083 < 0.9 · 0.021315)
  • encoding: "Without loss of generality, we assume that the products in each group are ordered in such a way that the revenues {rᵢ,ⱼ} are non-increasing in i for each j" (p.9) → Standing.r_antitone: r j is antitone in i for every j; reason: the section's standing assumption; any instance is brought to this form by relabelling the products of each group, and revenue-ordered is defined with respect to this order
  • reading: (3)–(4) write exp{μ(y)} for every permissible y, while (1) gives y = 0 the utility μ₀ → μ(0) = μ₀ = log v₀, so the empty bundle has weight v₀; reason: the denominator v₀ + … of Lemma 1 fixes this meaning
Preamble
import Mathlib
import Definitions.Def_BasketMVMNL_Model
import Definitions.Def_BasketMVMNL_Rounding
Formal statement
namespace BasketMVMNL

/-- **Equation (7)**, p.12. Jasin, Lyu, Najafi, Zhang, *Assortment Optimization with Multi-Item Basket Purchase under
Multivariate MNL Model*, SSRN 3818886.

Under MVMNL with no interaction terms, for every assortment `x`,
`R(x) = Σⱼ [ Σᵢ rᵢ,ⱼ vᵢ,ⱼ xᵢ,ⱼ / ([(v₀ − 1)/Γ(x) + 1] γⱼ(xⱼ)) ] = Σⱼ Rⱼ(x)`,
where `R` is the expected total revenue (4). -/
theorem eq_7 {J I : ℕ} (P : Instance J I) (hP : P.Standing) (hψ : NoInteraction P)
    (x : Assortment J I) :
    R P x = ∑ j, Rj P x j := by sorry

end BasketMVMNL
Source
Jasin, Lyu, Najafi, Zhang, Assortment Optimization with Multi-Item Basket Purchase under Multivariate MNL Model, SSRN 3818886, (7), p.12
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