Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Refined knapsack inequality for small products

Proved
ConstrNestedLogit.Space.refined_chain

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

assortment-optimizationknapsacknested-logitp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Suppose every product in nest iii consumes at most a fraction ϵ∈[0,1)\epsilon\in[0,1)ϵ∈[0,1) of the capacity: wij≤ϵciw_{ij}\le\epsilon c_iwij​≤ϵci​. If xxx is an LP optimum for (10) with one fractional coordinate and Sg={j:xj=1}S^g=\{j:x_j=1\}Sg={j:xj​=1}, then every feasible assortment TTT satisfies

∑j∈Tvij(rij−u)≤11−ϵ∑j∈Sgvij(rij−u).\sum_{j\in T}v_{ij}(r_{ij}-u)\le\frac{1}{1-\epsilon}\sum_{j\in S^g}v_{ij}(r_{ij}-u).j∈T∑​vij​(rij​−u)≤1−ϵ1​j∈Sg∑​vij​(rij​−u).

This is the first-to-last consequence of the inequality chain in §5.2, and identifies the rounded assortment as a 1/(1−ϵ)1/(1-\epsilon)1/(1−ϵ)-approximate solution.

Formalization Note The statement omits the chain's intermediate quotients, which may divide by zero when the rounded assortment is empty.

Preamble
import Mathlib
import Definitions.Def_ConstrNestedLogit_Space_Model
Formal statement
namespace ConstrNestedLogit.Space

/-- The first and last terms of the §5.2 chain, without the paper's intermediate divisions. -/
theorem refined_chain {ι : Type*} [Fintype ι] [DecidableEq ι] {n : ℕ}
    (I : NestedLogitVariants.LP.Instance ι n)
    (w : ι → Fin n → ℝ) (c : ι → ℝ) (i : ι)
    (hvnp : ∀ i, I.vnp i = 0) (hv : ∀ k, 0 < I.v i k)
    (hw : ∀ k, 0 < w i k) (hwc : ∀ k, w i k ≤ c i)
    (ε : ℝ) (hε0 : 0 ≤ ε) (hε1 : ε < 1)
    (hsmall : ∀ k, w i k ≤ ε * c i)
    (u : ℝ) (hu : 0 ≤ u) (x : Fin n → ℝ)
    (hx : spaceLPOptimal I w c i u x) (j : Fin n)
    (hj : oneFractional x j) :
    ∀ T : Finset (Fin n), spaceFeasible w c i T →
      assortmentUtility I i u T ≤
        (1 / (1 - ε)) * assortmentUtility I i u (rounded x) := by sorry

end ConstrNestedLogit.Space
Source
Gallego & Topaloglu, Constrained Assortment Optimization for the Nested Logit Model, Management Science (2014), DOI 10.1287/mnsc.2014.1931; authors' manuscript of Sept. 11, 2013, p. 22, §5.2 displayed chain
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 8, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me