BanditRLlib
Lean gate passed before this site build; local proof declarations are shown as compiled.Lean-verified build · exact declarations linked.

Lean module · EXP3

BanditRLProof.Exp3ImportanceWeighted

This module supplies the finite-distribution algebra immediately above the deterministic Hedge theorem and below the probabilistic EXP3 process. It proves the estimator's armwise weighted-sum cancellation and exact mixed-square identity on an explicit finite action set.

Module map

Declarations
12
Placeholders
0

Imports

BanditRLProof.Exp3HedgeRegret

Imported by

BanditRLProof, BanditRLProof.Exp3ConditionalMoments, BanditRLProof.TsallisImportanceWeightedMoment

Declarations

Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.

def BanditRLProof.Exp3.importanceWeightedLoss Compiled

Loss estimate that reveals only the loss of the sampled action.

Used in these reading views: Bandit Book · Online Learning Book

7. EXP3 and adversarial concentration

Canonical node identitydeclaration:BanditRLProof.Exp3.importanceWeightedLoss

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

noncomputable def importanceWeightedLoss {Action : Type u} (prob loss : Action -> Real) (chosen action : Action) : Real
def BanditRLProof.Exp3.mixedImportanceWeightedLoss Compiled

The loss mixed by `prob` after replacing losses by one sampled estimate.

Used in these reading views: Bandit Book · Online Learning Book

7. EXP3 and adversarial concentration

Canonical node identitydeclaration:BanditRLProof.Exp3.mixedImportanceWeightedLoss

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

noncomputable def mixedImportanceWeightedLoss {Action : Type u} (arms : Finset Action) (prob loss : Action -> Real) (chosen : Action) : Real
def BanditRLProof.Exp3.weightedImportanceWeightedLoss Compiled

An importance-weighted estimate mixed by weights that may differ from the sampling probabilities used in the estimator denominator.

Used in these reading views: Bandit Book · Online Learning Book

7. EXP3 and adversarial concentration

Canonical node identitydeclaration:BanditRLProof.Exp3.weightedImportanceWeightedLoss

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

noncomputable def weightedImportanceWeightedLoss {Action : Type u} (arms : Finset Action) (prob weight loss : Action -> Real) (chosen : Action) : Real
def BanditRLProof.Exp3.mixedSquaredImportanceWeightedLoss Compiled

The mixed square of one sampled importance-weighted loss vector.

Used in these reading views: Bandit Book · Online Learning Book

7. EXP3 and adversarial concentration

Canonical node identitydeclaration:BanditRLProof.Exp3.mixedSquaredImportanceWeightedLoss

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

noncomputable def mixedSquaredImportanceWeightedLoss {Action : Type u} (arms : Finset Action) (prob loss : Action -> Real) (chosen : Action) : Real
theorem BanditRLProof.Exp3.importanceWeightedLoss_nonneg Compiled

No declaration docstring is present; use the chapter context and exact statement below.

Used in these reading views: Bandit Book · Online Learning Book

7. EXP3 and adversarial concentration

Canonical node identitydeclaration:BanditRLProof.Exp3.importanceWeightedLoss_nonneg

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem importanceWeightedLoss_nonneg {Action : Type u} [DecidableEq Action] {prob loss : Action -> Real} {chosen action : Action} (hprob : 0 <= prob action) (hloss : 0 <= loss action) : 0 <= importanceWeightedLoss prob loss chosen action
theorem BanditRLProof.Exp3.sum_prob_mul_importanceWeightedLoss_eq_loss Compiled

The probability-weighted finite sum of one coordinate recovers its loss.

Used in these reading views: Bandit Book · Online Learning Book

7. EXP3 and adversarial concentration

Canonical node identitydeclaration:BanditRLProof.Exp3.sum_prob_mul_importanceWeightedLoss_eq_loss

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem sum_prob_mul_importanceWeightedLoss_eq_loss {Action : Type u} [DecidableEq Action] (arms : Finset Action) (prob loss : Action -> Real) (action : Action) (haction : action ∈ arms) (hprob : prob action ≠ 0) : arms.sum (fun chosen => prob chosen * importanceWeightedLoss prob loss chosen action) = loss action
theorem BanditRLProof.Exp3.mixedImportanceWeightedLoss_eq_selectedLoss Compiled

Pathwise cancellation: the mixed estimate is the sampled loss.

Used in these reading views: Bandit Book · Online Learning Book

7. EXP3 and adversarial concentration

Canonical node identitydeclaration:BanditRLProof.Exp3.mixedImportanceWeightedLoss_eq_selectedLoss

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem mixedImportanceWeightedLoss_eq_selectedLoss {Action : Type u} [DecidableEq Action] (arms : Finset Action) (prob loss : Action -> Real) (chosen : Action) (hchosen : chosen ∈ arms) (hprob : prob chosen ≠ 0) : mixedImportanceWeightedLoss arms prob loss chosen = loss chosen
theorem BanditRLProof.Exp3.sum_prob_mul_mixedImportanceWeightedLoss_eq_mixedLoss Compiled

Averaging the pathwise mixed estimate recovers the true mixed loss.

Used in these reading views: Bandit Book · Online Learning Book

7. EXP3 and adversarial concentration

Canonical node identitydeclaration:BanditRLProof.Exp3.sum_prob_mul_mixedImportanceWeightedLoss_eq_mixedLoss

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem sum_prob_mul_mixedImportanceWeightedLoss_eq_mixedLoss {Action : Type u} [DecidableEq Action] (arms : Finset Action) (prob loss : Action -> Real) (hprob : forall action, action ∈ arms -> prob action ≠ 0) : arms.sum (fun chosen => prob chosen * mixedImportanceWeightedLoss arms prob loss chosen) = arms.sum (fun action => prob action * loss action)
theorem BanditRLProof.Exp3.sum_prob_mul_weightedImportanceWeightedLoss_eq_weightedLoss Compiled

Averaging an estimator mixed by arbitrary predictable weights recovers the same weighted true loss.

Used in these reading views: Bandit Book · Online Learning Book

7. EXP3 and adversarial concentration

Canonical node identitydeclaration:BanditRLProof.Exp3.sum_prob_mul_weightedImportanceWeightedLoss_eq_weightedLoss

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem sum_prob_mul_weightedImportanceWeightedLoss_eq_weightedLoss {Action : Type u} [DecidableEq Action] (arms : Finset Action) (prob weight loss : Action -> Real) (hprob : forall action, action ∈ arms -> prob action ≠ 0) : arms.sum (fun chosen => prob chosen * weightedImportanceWeightedLoss arms prob weight loss chosen) = arms.sum (fun action => weight action * loss action)
theorem BanditRLProof.Exp3.mixedSquaredImportanceWeightedLoss_eq_selectedLoss_sq_div Compiled

Exact pathwise mixed-square formula for a sampled action.

Used in these reading views: Bandit Book · Online Learning Book

7. EXP3 and adversarial concentration

Canonical node identitydeclaration:BanditRLProof.Exp3.mixedSquaredImportanceWeightedLoss_eq_selectedLoss_sq_div

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem mixedSquaredImportanceWeightedLoss_eq_selectedLoss_sq_div {Action : Type u} [DecidableEq Action] (arms : Finset Action) (prob loss : Action -> Real) (chosen : Action) (hchosen : chosen ∈ arms) (hprob : prob chosen ≠ 0) : mixedSquaredImportanceWeightedLoss arms prob loss chosen = (loss chosen) ^ 2 / prob chosen
theorem BanditRLProof.Exp3.sum_prob_mul_mixedSquaredImportanceWeightedLoss_eq_sum_loss_sq Compiled

Exact probability-weighted finite sum of the mixed estimator's square.

Used in these reading views: Bandit Book · Online Learning Book

7. EXP3 and adversarial concentration

Canonical node identitydeclaration:BanditRLProof.Exp3.sum_prob_mul_mixedSquaredImportanceWeightedLoss_eq_sum_loss_sq

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem sum_prob_mul_mixedSquaredImportanceWeightedLoss_eq_sum_loss_sq {Action : Type u} [DecidableEq Action] (arms : Finset Action) (prob loss : Action -> Real) (hprob : forall action, action ∈ arms -> prob action ≠ 0) : arms.sum (fun chosen => prob chosen * mixedSquaredImportanceWeightedLoss arms prob loss chosen) = arms.sum (fun action => (loss action) ^ 2)
theorem BanditRLProof.Exp3.sum_prob_mul_mixedSquaredImportanceWeightedLoss_le_card Compiled

For losses in `[0,1]`, the probability-weighted mixed square is at most the arm count.

Used in these reading views: Bandit Book · Online Learning Book

7. EXP3 and adversarial concentration

Canonical node identitydeclaration:BanditRLProof.Exp3.sum_prob_mul_mixedSquaredImportanceWeightedLoss_le_card

Reading membership is not a proof dependency. Exact assumptions remain in the Lean statement.

theorem sum_prob_mul_mixedSquaredImportanceWeightedLoss_le_card {Action : Type u} [DecidableEq Action] (arms : Finset Action) (prob loss : Action -> Real) (hprob : forall action, action ∈ arms -> prob action ≠ 0) (hloss : forall action, action ∈ arms -> 0 <= loss action ∧ loss action <= 1) : arms.sum (fun chosen => prob chosen * mixedSquaredImportanceWeightedLoss arms prob loss chosen) <= arms.card