Lean module · Foundations
BanditRLProof.Algorithms.CUCBHistory
The source CUCB statistics computed from chronological triggered feedback. Index n uses exactly rounds 0,...,n-1, so its source round number is n+1. The reward coordinate is not used to estimate individual arm means.
Module map
Imports
No project-local imports.
Imported by
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
abbrev
BanditRLProof.CUCB.UnitOutcome
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.UnitOutcomeReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
abbrev UnitOutcome
abbrev
BanditRLProof.CUCB.Feedback
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.FeedbackReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
abbrev Feedback (m : ℕ)
def
BanditRLProof.CUCB.observation
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.observationReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def observation {m : ℕ} (z : Feedback m) (i : Fin m) : ℝ
def
BanditRLProof.CUCB.observationCount
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.observationCountReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def observationCount {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) (i : Fin m) : ℕ
def
BanditRLProof.CUCB.observationSum
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.observationSumReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def observationSum {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) (i : Fin m) : ℝ
def
BanditRLProof.CUCB.empiricalMean
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.empiricalMeanReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def empiricalMean {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) (i : Fin m) : ℝ
def
BanditRLProof.CUCB.upperIndex
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.upperIndexReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def upperIndex {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) (i : Fin m) : ℝ
theorem
BanditRLProof.CUCB.observation_nonneg
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.observation_nonnegReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem observation_nonneg {m : ℕ} (z : Feedback m) (i : Fin m) : 0≤observation z i
theorem
BanditRLProof.CUCB.observationCount_succ
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.observationCount_succReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem observationCount_succ {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) (i : Fin m) : observationCount Y (n+1) i = observationCount Y n i + if (Y n).1 i then 1 else 0
theorem
BanditRLProof.CUCB.observationSum_succ
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.observationSum_succReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem observationSum_succ {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) (i : Fin m) : observationSum Y (n+1) i = observationSum Y n i + observation (Y n) i
theorem
BanditRLProof.CUCB.observationSum_nonneg
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.observationSum_nonnegReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem observationSum_nonneg {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) (i : Fin m) : 0≤observationSum Y n i
theorem
BanditRLProof.CUCB.observationSum_le_count
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.observationSum_le_countReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem observationSum_le_count {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) (i : Fin m) : observationSum Y n i ≤ (observationCount Y n i : ℝ)
theorem
BanditRLProof.CUCB.empiricalMean_le_one
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.empiricalMean_le_oneReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem empiricalMean_le_one {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) (i : Fin m) : empiricalMean Y n i ≤ 1
theorem
BanditRLProof.CUCB.empiricalMean_unobserved
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.empiricalMean_unobservedReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem empiricalMean_unobserved {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) (i : Fin m) (h : (Y n).1 i=false) : empiricalMean Y (n+1) i=empiricalMean Y n i
theorem
BanditRLProof.CUCB.empiricalMean_observed
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.empiricalMean_observedReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem empiricalMean_observed {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) (i : Fin m) (h : (Y n).1 i=true) : empiricalMean Y (n+1) i = (observationSum Y n i + ((Y n).2.1 i : ℝ)) / ((observationCount Y n i : ℝ)+1)
theorem
BanditRLProof.CUCB.empiricalMean_nonneg
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.empiricalMean_nonnegReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem empiricalMean_nonneg {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) (i : Fin m) : 0≤empiricalMean Y n i
theorem
BanditRLProof.CUCB.upperIndex_mem
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.upperIndex_memReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem upperIndex_mem {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) (i : Fin m) : upperIndex Y n i ∈ Set.Icc (0:ℝ) 1
def
BanditRLProof.CUCB.oracleInput
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.oracleInputReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def oracleInput {m : ℕ} (Y : ℕ → Feedback m) (n : ℕ) : Fin m → UnitOutcome
theorem
BanditRLProof.CUCB.statistics_causal
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.statistics_causalReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem statistics_causal {m : ℕ} (Y Z : ℕ → Feedback m) (n : ℕ) (h : ∀t<n, Y t=Z t) (i : Fin m) : observationCount Y n i=observationCount Z n i ∧ observationSum Y n i=observationSum Z n i
theorem
BanditRLProof.CUCB.oracleInput_causal
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.oracleInput_causalReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem oracleInput_causal {m : ℕ} (Y Z : ℕ → Feedback m) (n : ℕ) (h : ∀t<n, Y t=Z t) : oracleInput Y n=oracleInput Z n
theorem
BanditRLProof.CUCB.oracleInput_visible
Compiled
Masked latent values and the aggregate reward cannot leak into CUCB's choice: only matching masks and matching observed arm values are needed.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.oracleInput_visibleReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem oracleInput_visible {m : ℕ} (Y Z : ℕ → Feedback m) (n : ℕ) (hm : ∀t<n, ∀i, (Y t).1 i=(Z t).1 i) (hx : ∀t<n, ∀i, (Y t).1 i=true → (Y t).2.1 i=(Z t).2.1 i) : oracleInput Y n=oracleInput Z n
theorem
BanditRLProof.CUCB.measurable_observation
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.measurable_observationReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measurable_observation {m : ℕ} (i : Fin m) : Measurable (fun z : Feedback m => observation z i)
theorem
BanditRLProof.CUCB.measurable_observationCount
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.measurable_observationCountReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measurable_observationCount {m : ℕ} (n : ℕ) (i : Fin m) : Measurable (fun Y : ℕ → Feedback m => observationCount Y n i)
theorem
BanditRLProof.CUCB.measurable_observationCount_real
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.measurable_observationCount_realReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measurable_observationCount_real {m : ℕ} (n : ℕ) (i : Fin m) : Measurable (fun Y : ℕ → Feedback m => (observationCount Y n i : ℝ))
theorem
BanditRLProof.CUCB.measurable_observationSum
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.measurable_observationSumReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measurable_observationSum {m : ℕ} (n : ℕ) (i : Fin m) : Measurable (fun Y : ℕ → Feedback m => observationSum Y n i)
theorem
BanditRLProof.CUCB.measurable_empiricalMean
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.measurable_empiricalMeanReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measurable_empiricalMean {m : ℕ} (n : ℕ) (i : Fin m) : Measurable (fun Y : ℕ → Feedback m => empiricalMean Y n i)
theorem
BanditRLProof.CUCB.measurable_upperIndex
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.measurable_upperIndexReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measurable_upperIndex {m : ℕ} (n : ℕ) (i : Fin m) : Measurable (fun Y : ℕ → Feedback m => upperIndex Y n i)
theorem
BanditRLProof.CUCB.measurable_oracleInput
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.measurable_oracleInputReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measurable_oracleInput {m : ℕ} (n : ℕ) : Measurable (fun Y : ℕ → Feedback m => oracleInput Y n)