Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Corollary 1, p. 14 (corrected: factor max{1, √(K+1)/2} on the last term of ∆̂; second inequality bounds |R − R| by ∆̂_{max{ε,ε̄}}; line 14 read with min)

Proved
OutlierAssort.ActiveElim.corollary_1

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

confidence-boundmultinomial-logitp2o-batch-pfp2ap2o-correctedp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1robust-assortment

Consider any record of a run of Algorithm 1 with capacity K≥1K \ge 1K≥1, revenues and utilities in [0,1][0,1][0,1], true outlier proportion ε≥0\varepsilon \ge 0ε≥0, input εˉ≥0\bar\varepsilon \ge 0εˉ≥0 and any argmax tie-break. For an outlier proportion eee, let Δ~e(τ)\tilde\Delta_e(\tau)Δ~e​(τ) be the corrected error bound, defined as follows:

  • Δ~e(0)=1\tilde\Delta_e(0) = 1Δ~e​(0)=1;
  • for τ=σ+1\tau = \sigma+1τ=σ+1 and Tσ<eT/(4(K+1))T_\sigma < eT/(4(K+1))Tσ​<eT/(4(K+1)), Δ~e(τ)=1\tilde\Delta_e(\tau) = 1Δ~e​(τ)=1;
  • otherwise
Δ~e(σ+1)=16K(K+1)(eσ2+eσNσln⁡TTσ+2Nσln⁡T3Tσ)+max⁡{1,K+12}⋅16KNσln⁡TTσ,\tilde\Delta_e(\sigma+1) = 16K(K+1)\Big(\frac{e_\sigma}{2} + \sqrt{\frac{e_\sigma N_\sigma \ln T}{T_\sigma}} + \frac{2N_\sigma\ln T}{3T_\sigma}\Big) + \max\Big\{1, \frac{\sqrt{K+1}}{2}\Big\}\cdot 16\sqrt{\frac{K N_\sigma \ln T}{T_\sigma}},Δ~e​(σ+1)=16K(K+1)(2eσ​​+Tσ​eσ​Nσ​lnT​​+3Tσ​2Nσ​lnT​)+max{1,2K+1​​}⋅16Tσ​KNσ​lnT​​,

with eσ=min⁡{1,eT/Tσ}e_\sigma = \min\{1, eT/T_\sigma\}eσ​=min{1,eT/Tσ​} and Nσ=∣A(σ+1)∣N_\sigma = |\mathcal A^{(\sigma+1)}|Nσ​=∣A(σ+1)∣.

Suppose the success events of Lemma 1 hold on the epochs before τ\tauτ: for every σ<τ\sigma < \tauσ<τ with min⁡{1,εT/Tσ}≤1/(4(K+2))\min\{1,\varepsilon T/T_\sigma\} \le 1/(4(K+2))min{1,εT/Tσ​}≤1/(4(K+2)) and every i∈A(σ+1)i \in \mathcal A^{(\sigma+1)}i∈A(σ+1), ∣v^i(σ+1)−vi∣≤Δε∗(i,σ+1)|\hat v^{(\sigma+1)}_i - v_i| \le \Delta^*_\varepsilon(i,\sigma+1)∣v^i(σ+1)​−vi​∣≤Δε∗​(i,σ+1). Then for every S⊆A(τ)S \subseteq \mathcal A^{(\tau)}S⊆A(τ) with ∣S∣≤K|S| \le K∣S∣≤K,

∣R(S;v^(τ))−R(S;v)∣≤Δ~ε(τ)and∣R(S;v^(τ))−R(S;v)∣≤Δ~max⁡{ε,εˉ}(τ).\big|R(S;\hat v^{(\tau)}) - R(S;v)\big| \le \tilde\Delta_\varepsilon(\tau) \quad\text{and}\quad \big|R(S;\hat v^{(\tau)}) - R(S;v)\big| \le \tilde\Delta_{\max\{\varepsilon,\bar\varepsilon\}}(\tau).​R(S;v^(τ))−R(S;v)​≤Δ~ε​(τ)and​R(S;v^(τ))−R(S;v)​≤Δ~max{ε,εˉ}​(τ).

The corollary makes the algorithm's computed bounds valid confidence widths for the revenue of every candidate assortment. Lemmas 3 and 4 apply it.

Differences from the source:

  • correction: last term 16KNτ−1ln⁡T/Tτ−116\sqrt{KN_{\tau-1}\ln T/T_{\tau-1}}16KNτ−1​lnT/Tτ−1​​ of Δ^\hat\DeltaΔ^ → multiplied by max⁡{1,K+1/2}\max\{1,\sqrt{K+1}/2\}max{1,K+1​/2}; reason: the printed bound is false for large KKK; at τ=1\tau = 1τ=1, ε=εˉ=0\varepsilon=\bar\varepsilon=0ε=εˉ=0, K=1000K=1000K=1000, with K−1K-1K−1 items (r,v)=(1,1)(r,v)=(1,1)(r,v)=(1,1), KKK items (1−δ,1/K)(1-\delta, 1/K)(1−δ,1/K) and a record on which every light item has v^i=vi+Δ∗(i,1)\hat v_i = v_i + \Delta^*(i,1)v^i​=vi​+Δ∗(i,1), the set of light items has error 0.1361>Δ^(1)=0.12790.1361 > \hat\Delta(1) = 0.12790.1361>Δ^(1)=0.1279; the proof (ec4) replaces VS(i)V_{S^{(i)}}VS(i)​ inside Δ∗\Delta^*Δ∗ by VSV_SVS​.
  • correction: Δ^ε(τ)≤Δ^max⁡{ε,εˉ}(τ)\hat\Delta_\varepsilon(\tau) \le \hat\Delta_{\max\{\varepsilon,\bar\varepsilon\}}(\tau)Δ^ε​(τ)≤Δ^max{ε,εˉ}​(τ) → ∣R(S;v^(τ))−R(S;v)∣≤Δ~max⁡{ε,εˉ}(τ)|R(S;\hat v^{(\tau)}) - R(S;v)| \le \tilde\Delta_{\max\{\varepsilon,\bar\varepsilon\}}(\tau)∣R(S;v^(τ))−R(S;v)∣≤Δ~max{ε,εˉ}​(τ); reason: Δ^\hat\DeltaΔ^ is not monotone in its parameter because of the branch at Tσ<eT/(4(K+1))T_\sigma < eT/(4(K+1))Tσ​<eT/(4(K+1)); with K=N=1K=N=1K=N=1, T=1012T=10^{12}T=1012, ε=T0/(12T)\varepsilon = T_0/(12T)ε=T0​/(12T) (so ε0=1/(4(K+2))\varepsilon_0 = 1/(4(K+2))ε0​=1/(4(K+2))) and εˉ=1\bar\varepsilon = 1εˉ=1, Δ^ε(1)=2.49>1=Δ^εˉ(1)\hat\Delta_\varepsilon(1) = 2.49 > 1 = \hat\Delta_{\bar\varepsilon}(1)Δ^ε​(1)=2.49>1=Δ^εˉ​(1); the bound on ∣R−R∣|R-R|∣R−R∣ is what Lemmas 3 and 4 use.
  • correction: Algorithm 1 line 14 max⁡{1,ni/n0(i)}\max\{1, n_i/n_0(i)\}max{1,ni​/n0​(i)} → min⁡{1,ni/n0(i)}\min\{1, n_i/n_0(i)\}min{1,ni​/n0​(i)}, and 111 when n0(i)=0n_0(i)=0n0​(i)=0; reason: the printed rule contradicts v^∈[0,1]N\hat v \in [0,1]^Nv^∈[0,1]N (p. 9) and the proof (ec3).
  • reading: "conditioned on the success events of Lemma 1 on epochs up to τ\tauτ" → deterministic statement on every record on which those events hold for every σ<τ\sigma < \tauσ<τ; reason: the corollary is an implication between events.
  • reading: "argmax" in line 5 → every tie-break satisfying the argmax property; reason: the argmax need not be unique.
  • generalization: the record of a run → any record of any length; reason: the conclusion is deterministic and the source's records are included.
Preamble
import Mathlib
import Definitions.Def_ChoiceCDLP_MNL_mnlObjective
import Definitions.Def_OutlierAssort_ActiveElim_Model
import Definitions.Def_OutlierAssort_ActiveElim_Algorithm
Formal statement
namespace OutlierAssort.ActiveElim

/-- Corollary 1 (p. 14), corrected: on every record on which the success events of Lemma 1 hold for
the epochs before `τ`, every `S ⊆ A^{(τ)}` with `|S| ≤ K` has `|R(S; v̂^{(τ)}) − R(S; v)|` at most
the corrected bound `∆̂_ε(τ)` and at most the corrected bound `∆̂_{max{ε, ε̄}}(τ)`. -/
theorem corollary_1 {N : ℕ} (T K : ℕ) (hN : 1 ≤ N) (hK : 1 ≤ K) (r v : Fin N → ℝ)
    (hr : ∀ i, r i ∈ Set.Icc (0 : ℝ) 1) (hv : ∀ i, v i ∈ Set.Icc (0 : ℝ) 1)
    (eps epsBar : ℝ) (heps : 0 ≤ eps) (hepsBar : 0 ≤ epsBar)
    (sel : (Fin N → ℝ) → Finset (Fin N) → Fin N → Finset (Fin N)) (hsel : IsArgmaxSel r K sel)
    {t : ℕ} (p : Fin t → Rec N) (τ : ℕ)
    (hsucc : ∀ σ < τ, min 1 (eps * T / (epochLen N K T σ : ℝ)) ≤ 1 / (4 * ((K : ℝ) + 2)) →
      EstimateWithin (⟨T, epsBar, r, K, sel⟩ : Input N) v eps p σ)
    (S : Finset (Fin N)) (hS : S ⊆ (state (⟨T, epsBar, r, K, sel⟩ : Input N) p τ).A)
    (hSK : S.card ≤ K) :
    |rev r (state (⟨T, epsBar, r, K, sel⟩ : Input N) p τ).vhat S - rev r v S| ≤
        deltaHatCorAt (⟨T, epsBar, r, K, sel⟩ : Input N) p eps τ ∧
      |rev r (state (⟨T, epsBar, r, K, sel⟩ : Input N) p τ).vhat S - rev r v S| ≤
        deltaHatCorAt (⟨T, epsBar, r, K, sel⟩ : Input N) p (max eps epsBar) τ := by sorry

end OutlierAssort.ActiveElim
Source
Chen, Krishnamurthy, Wang, Robust Dynamic Assortment Optimization in the Presence of Outlier Customers, arXiv:1910.04183v2, p. 14, Corollary 1; proof p. ec4 (PDF 31)
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