Lemma 1, p. 19 (corrected: S ⊆ {j : φ_j ≡ 1}) — REV[φ] − REV[S] is the sum over S-disjoint prefixes of r^S(ρ) Pr[ρ] times the stopping indicator
ProvedAssortOpt.HMF.lemma_1Let be a list distribution with prices , let be a monotone stopping policy, and let be an assortment such that is the all-1 function for every . Then
the sum over nonempty realizable prefixes disjoint from , where is the -adjusted price (13).
The product term is exactly when stops on after not stopping before, so the lemma says that 's advantage over is the expected -adjusted price of the prefix it stops on. It is the identity that turns the comparison of a policy with an assortment into a sign question about adjusted prices.
Formalization Note The sum runs over prefixes D (the nonempty realizable prefixes) filtered by disjointness from ; unrealizable prefixes have on the page and contribute nothing.
Differences from the source:
- correction: "for any monotone stopping policy and assortment " → additionally for every and ; reason: false as printed: MNL with and all weights , , (monotone), gives while the right side of (14) is . The proof (p. 40) uses that " would have stopped on the first intersection with ", which holds when every , , is the all-1 function, the choice of in the proof of Theorem 2 (p. 43).
- encoding: items , lists, support with weights →
Fin n(0-based),ListDist(finite support ofNoduplists, on , ); reason: same instances. - encoding: the sum over prefixes with → the sum over nonempty realizable prefixes disjoint from ; reason: other prefixes have , and is defined only for realizable (Definition 12).
import Mathlib import Definitions.Def_AssortOpt_HMF_Setting
namespace AssortOpt.HMF
theorem lemma_1 {n : ℕ} (D : ListDist n) (r : Fin n → ℝ) (hr : ∀ j, 0 ≤ r j)
(φ : Policy n) (hφ : IsMonotonePolicy φ) (S : Finset (Fin n))
(hS : ∀ j ∈ S, ∀ H : Finset (Fin n), j ∉ H → φ j H = true) :
revPolicy D r φ - revAssort D r S =
∑ ρ ∈ (prefixes D).filter (fun ρ => Disjoint ρ.toFinset S),
adjPrice D r S ρ * prefProb D ρ * stopInd φ ρ := by sorry
end AssortOpt.HMF
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.