Lemma 2 — and
ProvedMSetBandit.lemma_2bandit-algorithmscombinatorial-banditsonline-learningp2o-gran-per-chapterp2o-plan-paperp2o-v1
Fix integers and . Let be a weighted -set distribution, with marginal vector , second-moment matrix and covariance matrix . Then
- is positive definite;
- for every (that is, ), ;
- consequently, for every action ,
The identity relates the leverage score of an action to the covariance pseudoinverse; combined with the pseudoinverse estimate it gives Lemma 1.
Differences from the source:
- encoding: items → items (
Fin d); reason: Lean convention; same instances - encoding: actions with → -element subsets of
Fin d(Action d m) with indicator vectorind; reason: the page identifies actions with -sets (p.3); same instances - encoding: → ; reason: definition of , written out
- encoding: , the Moore–Penrose pseudoinverse → the published operator pseudoinverse of on Euclidean space; reason: Mathlib has no matrix pseudoinverse; same operator
Preamble
import Mathlib import Definitions.Def_MSetBandit_cov import Definitions.Def_MSetBandit_wdist import Definitions.Def_MSetBandit_pinvMat open Matrix
Formal statement
namespace MSetBandit
/-- **Lemma 2** (Bacchiocchi–Cesari–Colomboni, *An Efficient Minimax-Optimal Algorithm for Adversarial m-Set Bandits*, arXiv:2608.12231, Appendix B, p.24). Let `p ∈ ∆(X)` be a weighted m-set distribution, where
`1 ≤ m ≤ d − 1`. Then its second-moment matrix `M` is positive definite and, for every `y ∈ H₀`,
`y^⊤M⁻¹y = y^⊤Σ⁺y`. Consequently, for every `x ∈ X`, `x^⊤M⁻¹x = 1 + (x − µ)^⊤Σ⁺(x − µ)`, where
`µ = µ(p)` and `Σ = Σ(p)`.
**Formalization Note.** `p = p_θ` for an arbitrary `θ`; `H₀ = {y : Σ_i y_i = 0}`; `M⁻¹` is the
matrix inverse and `Σ⁺` the Moore–Penrose pseudoinverse (`pinvMat`). -/
theorem lemma_2 {d m : ℕ} (hm : 1 ≤ m) (hmd : m + 1 ≤ d) (θ : Fin d → ℝ) :
(secondMoment (wdist (m := m) θ)).PosDef ∧
(∀ y : Fin d → ℝ, ∑ i, y i = 0 →
y ⬝ᵥ ((secondMoment (wdist (m := m) θ))⁻¹ *ᵥ y) = y ⬝ᵥ pinvMat (cov (wdist (m := m) θ)) y) ∧
(∀ x : Action d m,
ind x ⬝ᵥ ((secondMoment (wdist (m := m) θ))⁻¹ *ᵥ ind x) =
1 + (ind x - marg (wdist (m := m) θ)) ⬝ᵥ
pinvMat (cov (wdist (m := m) θ)) (ind x - marg (wdist (m := m) θ))) := by sorry
end MSetBandit
Source
Bacchiocchi–Cesari–Colomboni, An Efficient Minimax-Optimal Algorithm for Adversarial m-Set Bandits, arXiv:2608.12231, Appendix B, Lemma 2, p.24
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.