Lemma A.1, p. 32 — the MGF of an epoch's purchase count of i is 1/(1 − vᵢ(e^θ − 1))
ProvedMNLBandit.UCB.lemma_A_1Let be MNL parameters (with ), let be an assortment offered repeatedly until the first no-purchase, and let be the number of purchases of a product in this epoch. For every real with ,
In particular the moment generating function of depends only on and not on the other products of . This is the starting point of the paper's argument that the per-epoch estimates of are i.i.d. even though the offered assortments are chosen adaptively.
Formalization Note. The paper conditions on ; here is fixed and the epoch is modelled by the i.i.d. law epochLaw v S. The expectation is a lower Lebesgue integral of nonnegative values, so it is a genuine (possibly infinite) value. The paper prints ; at the endpoint the right-hand side is and the left-hand side is , and the proof's (A.3) uses . The condition is that strict range, and it also covers (every ). The hypothesis is implicit on the page (the proof uses ).
import Mathlib import Definitions.Def_MNLBandit_UCB_Setting import Definitions.Def_MNLBandit_UCB_EpochLaw
namespace MNLBandit.UCB
open MeasureTheory
theorem lemma_A_1 {N : ℕ} (v : Fin N → ℝ) (hv : ∀ j, 0 ≤ v j) (S : Finset (Fin N))
(i : Fin N) (hi : i ∈ S) (θ : ℝ) (hθ : v i * (Real.exp θ - 1) < 1) :
∫⁻ ω, ENNReal.ofReal (Real.exp (θ * (epochCount i ω : ℝ))) ∂(epochLaw v S) =
ENNReal.ofReal (1 / (1 - v i * (Real.exp θ - 1))) := by sorry
end MNLBandit.UCB
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.