(43), proof of Theorem 2, p. 45 — REV[φ] − REV[S] rewritten as a sum over lists ℓ of p(ℓ) ∑_{k<κ^S(ℓ)} r^S(ℓ_{1:k}) times the stopping indicator
ProvedAssortOpt.HMF.eq_43Let be a list distribution with prices , let be a monotone stopping policy, and let be a set of items on which always stops ( for ). Let be the minimum with , and if . Then
The identity re-expresses Lemma 1 path by path: along each list, 's advantage over is the adjusted price of the position where it stops before reaching . The proof of Theorem 2 uses it to compare the revenue of a policy before and after one stopping decision is switched on.
Formalization Note is the 0-based ℓ.findIdx (· ∈ S) (which equals when ), so the inner sum runs over k ∈ range (findIdx) with prefix ℓ.take (k+1). The factor is the bracket of (10) at , stopInd φ (ℓ.take (k+1)). The outer sum on the first line runs over the nonempty realizable prefixes disjoint from .
Differences from the source:
- generalization: = the set of for which is the all-1 function (proof of Theorem 2, p. 43) → any contained in that set; reason: the identity holds for every such , and the page's is one of them.
- encoding: items , lists, support with weights →
Fin n(0-based),ListDist(finite support ofNoduplists, on , ); reason: same instances. - encoding: and (1-based) →
ℓ.findIdx (· ∈ S)and 0-based with prefixℓ.take (k+1); reason: 0-based indexing. - encoding: the sum over prefixes with → the sum over nonempty realizable prefixes disjoint from ; reason: other prefixes have zero weight, and is defined only for realizable prefixes.
import Mathlib import Definitions.Def_AssortOpt_HMF_Setting
namespace AssortOpt.HMF
theorem eq_43 {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 ρ * (∑ ℓ ∈ D.supp with ρ <+: ℓ, D.p ℓ) * stopInd φ ρ ∧
revPolicy D r φ - revAssort D r S =
∑ ℓ ∈ D.supp, D.p ℓ * ∑ k ∈ Finset.range (ℓ.findIdx (fun i => decide (i ∈ S))),
adjPrice D r S (ℓ.take (k + 1)) * stopInd φ (ℓ.take (k + 1)) := by sorry
end AssortOpt.HMF
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.