Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 2, p. 11 — f(S) = max_ℓ ∑_{j∈S∩ℓ} x_j(ℓ) is an increasing set function with x_{ℓ_k}(ℓ) = f(ℓ_{1:k}) − f(ℓ_{1:k−1}) and REV[f] = REV[x]

Proved
AssortOpt.HMF.proposition_2

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

assortment-optimizationincentive-compatibilitymechanism-designp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1set-functions

Let L,p\mathcal L, pL,p be a list distribution with prices rj≥0r_j \ge 0rj​≥0, and let xxx be an IC mechanism. Define

f(S)=max⁡ℓ∈L∑j∈S∩ℓxj(ℓ),S⊆N.(7)f(S) = \max_{\ell \in \mathcal L} \sum_{j \in S \cap \ell} x_j(\ell), \qquad S \subseteq N. \qquad (7)f(S)=ℓ∈Lmax​j∈S∩ℓ∑​xj​(ℓ),S⊆N.(7)

Then:

  1. f:2N→[0,1]f : 2^N \to [0,1]f:2N→[0,1] is an increasing set function;
  2. for every ℓ∈L\ell \in \mathcal Lℓ∈L and k=1,…,∣ℓ∣k = 1, \dots, |\ell|k=1,…,∣ℓ∣,
xℓk(ℓ)=f(ℓ1:k)−f(ℓ1:k−1);(8)x_{\ell_k}(\ell) = f(\ell_{1:k}) - f(\ell_{1:k-1}); \qquad (8)xℓk​​(ℓ)=f(ℓ1:k​)−f(ℓ1:k−1​);(8)
  1. REV[f]=REV[x]\mathsf{REV}[f] = \mathsf{REV}[x]REV[f]=REV[x];
  2. therefore OPTx≤OPTf\mathsf{OPT}^x \le \mathsf{OPT}^fOPTx≤OPTf: some increasing set function has revenue at least REV[x]\mathsf{REV}[x]REV[x].

f(S)f(S)f(S) is the largest probability with which the buyer could obtain an item of SSS. The proposition is the second 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ϕ, and shows that an IC mechanism can be run sequentially down the buyer's list.

Formalization Note fff is given as a hypothesis: for every SSS, f(S)f(S)f(S) is the greatest element of {∑j∈S∩ℓxj(ℓ):ℓ∈L}\{\sum_{j \in S \cap \ell} x_j(\ell) : \ell \in \mathcal L\}{∑j∈S∩ℓ​xj​(ℓ):ℓ∈L}. The support is finite and nonempty, so exactly one such fff exists. (8) is written 0-based: position k+1k+1k+1 of ℓ\ellℓ is ℓ.get k, and ℓ1:k+1\ell_{1:k+1}ℓ1:k+1​ is ℓ.take (k+1).

Differences from the source:

  • 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: the definition (7) of fff → a hypothesis that f(S)f(S)f(S) is the greatest value of ℓ↦∑j∈S∩ℓxj(ℓ)\ell \mapsto \sum_{j \in S\cap\ell} x_j(\ell)ℓ↦∑j∈S∩ℓ​xj​(ℓ) over L\mathcal LL, for every SSS; reason: the support is nonempty and finite, so this pins fff to (7).
  • encoding: k=1,…,∣ℓ∣k = 1,\dots,|\ell|k=1,…,∣ℓ∣ in (8) → k : Fin ℓ.length with ℓk+1\ell_{k+1}ℓk+1​, ℓ1:k+1\ell_{1:k+1}ℓ1:k+1​, ℓ1:k\ell_{1:k}ℓ1:k​; reason: 0-based indexing.
  • encoding: OPTx≤OPTf\mathsf{OPT}^x \le \mathsf{OPT}^fOPTx≤OPTf → some increasing ggg has REV[x]≤REV[g]\mathsf{REV}[x] \le \mathsf{REV}[g]REV[x]≤REV[g]; 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_2 {n : ℕ} (D : ListDist n) (r : Fin n → ℝ) (hr : ∀ j, 0 ≤ r j)
    (x : List (Fin n) → Fin n → ℝ) (hx : IsIC D x) (f : Finset (Fin n) → ℝ)
    (hf : ∀ S : Finset (Fin n),
      IsGreatest ((fun ℓ => ∑ j ∈ S ∩ ℓ.toFinset, x ℓ j) '' (D.supp : Set (List (Fin n)))) (f S)) :
    IsIncreasingSetFn f ∧
    (∀ ℓ ∈ D.supp, ∀ k : Fin ℓ.length,
      x ℓ (ℓ.get k) = f (ℓ.take (k + 1)).toFinset - f (ℓ.take k).toFinset) ∧
    revSetFn D r f = revMech D r x ∧
    (∃ g : Finset (Fin n) → ℝ, IsIncreasingSetFn g ∧ revMech D r x ≤ revSetFn D r g) := by sorry

end AssortOpt.HMF
Source
Ma, When is Assortment Optimization Optimal?, arXiv:2105.10433v5, p. 11, Proposition 2 (7)–(8)
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