Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 3, p. 14 (corrected: f(∅) = 0 in the "Moreover" clause) — OPT^f has a boolean optimum, and φ_j(H) = f(H ∪ {j}) has REV[φ] = REV[f]

Proved
AssortOpt.HMF.proposition_3

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

assortment-optimizationoptimal-stoppingp2o-batch-pfp2ap2o-correctedp2o-gran-per-chapterp2o-plan-paperp2o-v1set-functionstotal-unimodularity

Let L,p\mathcal L, pL,p be a list distribution with prices rj≥0r_j \ge 0rj​≥0.

  1. The problem OPTf\mathsf{OPT}^fOPTf (maximize REV[f]\mathsf{REV}[f]REV[f] over increasing f:2N→[0,1]f : 2^N \to [0,1]f:2N→[0,1]) has an optimal solution that is an increasing boolean set function, f:2N→{0,1}f : 2^N \to \{0,1\}f:2N→{0,1}.
  2. For every increasing boolean f:2N→{0,1}f : 2^N \to \{0,1\}f:2N→{0,1} with f(∅)=0f(\emptyset) = 0f(∅)=0, setting
ϕj(H)=f(H∪{j}),j∈N, H⊆N∖{j}(11)\phi_j(H) = f(H \cup \{j\}), \qquad j \in N,\ H \subseteq N \setminus \{j\} \qquad (11)ϕj​(H)=f(H∪{j}),j∈N, H⊆N∖{j}(11)

defines a monotone stopping policy ϕ\phiϕ with REV[ϕ]=REV[f]\mathsf{REV}[\phi] = \mathsf{REV}[f]REV[ϕ]=REV[f]. 3. Therefore OPTf≤OPTϕ\mathsf{OPT}^f \le \mathsf{OPT}^\phiOPTf≤OPTϕ: for every increasing g:2N→[0,1]g : 2^N \to [0,1]g:2N→[0,1] there is a monotone stopping policy ϕ\phiϕ with REV[g]≤REV[ϕ]\mathsf{REV}[g] \le \mathsf{REV}[\phi]REV[g]≤REV[ϕ].

This is the last step of the relaxation chain OPTS≤OPTx≤OPTf≤OPTϕ\mathsf{OPT}^S \le \mathsf{OPT}^x \le \mathsf{OPT}^f \le \mathsf{OPT}^\phiOPTS≤OPTx≤OPTf≤OPTϕ: it turns the linear relaxation into an optimal stopping problem on the tree of prefixes.

Formalization Note The policy (11) is the boolean decide (f (insert j H) = 1).

Differences from the source:

  • correction: "for any increasing boolean fff, (11) gives REV[ϕ]=REV[f]\mathsf{REV}[\phi] = \mathsf{REV}[f]REV[ϕ]=REV[f]" → clause 2 also assumes f(∅)=0f(\emptyset) = 0f(∅)=0; reason: false for f≡1f \equiv 1f≡1: with n=1n = 1n=1, L={(1)}\mathcal L = \{(1)\}L={(1)}, p=1p = 1p=1, r1=1r_1 = 1r1​=1, REV[f]=r1(f({1})−f(∅))=0\mathsf{REV}[f] = r_1(f(\{1\}) - f(\emptyset)) = 0REV[f]=r1​(f({1})−f(∅))=0 but ϕ1(∅)=f({1})=1\phi_1(\emptyset) = f(\{1\}) = 1ϕ1​(∅)=f({1})=1 gives REV[ϕ]=1\mathsf{REV}[\phi] = 1REV[ϕ]=1. Clauses 1 and 3 are stated as printed (if a boolean optimum has f(∅)=1f(\emptyset) = 1f(∅)=1 it is f≡1f \equiv 1f≡1 with revenue 000, matched by ϕ≡0\phi \equiv 0ϕ≡0), and the fff of Proposition 2 has f(∅)=0f(\emptyset) = 0f(∅)=0.
  • encoding: items {1,…,n}\{1,\dots,n\}{1,…,n}, lists, support L\mathcal LL with weights ppp → Fin n (0-based), ListDist (finite support of Nodup lists, p>0p > 0p>0 on L\mathcal LL, ∑p=1\sum p = 1∑p=1); reason: same instances.
  • encoding: "an optimal solution of OPTf\mathsf{OPT}^fOPTf" → an increasing fff with REV[g]≤REV[f]\mathsf{REV}[g] \le \mathsf{REV}[f]REV[g]≤REV[f] for every increasing ggg; reason: OPTf\mathsf{OPT}^fOPTf is a supremum, and this states that it is attained by fff.
  • encoding: OPTf≤OPTϕ\mathsf{OPT}^f \le \mathsf{OPT}^\phiOPTf≤OPTϕ → ∀g\forall g∀g increasing ∃ϕ\exists \phi∃ϕ monotone with REV[g]≤REV[ϕ]\mathsf{REV}[g] \le \mathsf{REV}[\phi]REV[g]≤REV[ϕ]; reason: the optimal values are not named; same inequality.
Preamble
import Mathlib
import Definitions.Def_AssortOpt_HMF_Setting
Formal statement
namespace AssortOpt.HMF

theorem proposition_3 {n : ℕ} (D : ListDist n) (r : Fin n → ℝ) (hr : ∀ j, 0 ≤ r j) :
    (∃ f : Finset (Fin n) → ℝ, IsIncreasingSetFn f ∧ (∀ S, f S = 0 ∨ f S = 1) ∧
      ∀ g : Finset (Fin n) → ℝ, IsIncreasingSetFn g → revSetFn D r g ≤ revSetFn D r f) ∧
    (∀ f : Finset (Fin n) → ℝ, IsIncreasingSetFn f → (∀ S, f S = 0 ∨ f S = 1) → f ∅ = 0 →
      IsMonotonePolicy (fun j H => decide (f (insert j H) = 1)) ∧
      revPolicy D r (fun j H => decide (f (insert j H) = 1)) = revSetFn D r f) ∧
    (∀ g : Finset (Fin n) → ℝ, IsIncreasingSetFn g →
      ∃ φ : Policy n, IsMonotonePolicy φ ∧ revSetFn D r g ≤ revPolicy D r φ) := by sorry

end AssortOpt.HMF
Source
Ma, When is Assortment Optimization Optimal?, arXiv:2105.10433v5, p. 14, Proposition 3 (11)
Human review
  • Endorsed by Shuze Chen · Oct 23, 2026

    Confirmed by the moderator at approval.

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