Lean module · Foundations
BanditRLProof.Algorithms.CUCBFeedbackModel
Finite feasible superarms and primitive triggered-feedback laws. Trigger minima are computed from actual environment probabilities.
Module map
Imports
BanditRLProof.Algorithms.CUCBDeterministicTrigger, BanditRLProof.Algorithms.CUCBNiceEvent
Imported by
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
structure
BanditRLProof.CUCB.FeedbackModel
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
Indexed settings: Combinatorial bandits
Canonical node identity
declaration:BanditRLProof.CUCB.FeedbackModelReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
structure FeedbackModel (A : Type*) [MeasurableSpace A] (m : ℕ) where
def
BanditRLProof.CUCB.FeedbackModel.trueInput
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.FeedbackModel.trueInputReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def trueInput : Input m
def
BanditRLProof.CUCB.FeedbackModel.expectedReward
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.FeedbackModel.expectedRewardReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def expectedReward (a : A) : ℝ
def
BanditRLProof.CUCB.FeedbackModel.triggerProbability
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.FeedbackModel.triggerProbabilityReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def triggerProbability (a : A) (i : Fin m) : ℝ
theorem
BanditRLProof.CUCB.FeedbackModel.expectedReward_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.FeedbackModel.expectedReward_nonnegReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem expectedReward_nonneg (a : A) : 0≤M.expectedReward a
theorem
BanditRLProof.CUCB.FeedbackModel.triggerProbability_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.FeedbackModel.triggerProbability_le_oneReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem triggerProbability_le_one (a : A) (i : Fin m) : M.triggerProbability a i≤1
theorem
BanditRLProof.CUCB.FeedbackModel.triggerProbability_pos
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.FeedbackModel.triggerProbability_posReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem triggerProbability_pos (a : A) (i : Fin m) (hi : i∈M.possible a) : 0<M.triggerProbability a i
def
BanditRLProof.CUCB.FeedbackModel.triggerActions
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.FeedbackModel.triggerActionsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def triggerActions (i : Fin m) : Finset A
theorem
BanditRLProof.CUCB.FeedbackModel.mem_triggerActions
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.FeedbackModel.mem_triggerActionsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem mem_triggerActions (a : A) (i : Fin m) : a∈M.triggerActions i ↔ i∈M.possible a
theorem
BanditRLProof.CUCB.FeedbackModel.triggerActions_nonempty
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.FeedbackModel.triggerActions_nonemptyReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem triggerActions_nonempty (i : Fin m) : (M.triggerActions i).Nonempty
def
BanditRLProof.CUCB.FeedbackModel.minTrigger
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.FeedbackModel.minTriggerReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def minTrigger (i : Fin m) : ℝ
theorem
BanditRLProof.CUCB.FeedbackModel.minTrigger_pos
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.FeedbackModel.minTrigger_posReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem minTrigger_pos (i : Fin m) : 0<M.minTrigger i
theorem
BanditRLProof.CUCB.FeedbackModel.minTrigger_le
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.FeedbackModel.minTrigger_leReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem minTrigger_le (a : A) (i : Fin m) (hi : i∈M.possible a) : M.minTrigger i≤M.triggerProbability a i
theorem
BanditRLProof.CUCB.FeedbackModel.minTrigger_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.FeedbackModel.minTrigger_le_oneReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem minTrigger_le_one (i : Fin m) : M.minTrigger i≤1
def
BanditRLProof.CUCB.FeedbackModel.chargeData
Compiled
Source gaps will supply the two analysis fields; the trigger lower bound is already fixed to the actual environment minimum, with its proof below.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.CUCB.FeedbackModel.chargeDataReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def chargeData (bad : A → Bool) (inverseGap : A → ℝ) : ChargeData A m where
theorem
BanditRLProof.CUCB.FeedbackModel.chargeData_trigger_bound
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.FeedbackModel.chargeData_trigger_boundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem chargeData_trigger_bound (bad : A → Bool) (inverseGap : A → ℝ) (i : Fin m) : ∀a, i∈(M.chargeData bad inverseGap).triggers a → (M.chargeData bad inverseGap).triggerLower i≤(M.environment a (observedSet i)).toReal
theorem
BanditRLProof.CUCB.FeedbackModel.deterministic_counter_bound
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.FeedbackModel.deterministic_counter_boundReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem deterministic_counter_bound (oracle : Kernel (Input m) A) [IsMarkovKernel oracle] (bad : A → Bool) (inverseGap : A → ℝ) (i : Fin m) (hp : M.minTrigger i=1) : ∀ᵐ Y ∂cucbTrajectory oracle M.environment, ∀n, (M.chargeData bad inverseGap).counters (fun t => (Y t).1) n i≤ observationCount (fun t => (Y t).2) n i
theorem
BanditRLProof.CUCB.FeedbackModel.charged_observation_tail
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
Indexed settings: Combinatorial bandits
Canonical node identity
declaration:BanditRLProof.CUCB.FeedbackModel.charged_observation_tailReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem charged_observation_tail (oracle : Kernel (Input m) A) [IsMarkovKernel oracle] (bad : A → Bool) (inverseGap : A → ℝ) (i : Fin m) (n : ℕ) (k : ℝ) (hk : 0≤k) : (cucbTrajectory oracle M.environment) {Y | k≤((M.chargeData bad inverseGap).counters (fun t => (Y t).1) n i : ℝ) ∧ (observationCount (fun t => (Y t).2) n i : ℝ)≤k*M.minTrigger i/2} ≤ ENNReal.ofReal (Real.exp (-k*M.minTrigger i/8))
theorem
BanditRLProof.CUCB.FeedbackModel.nice_event_probability
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
Indexed settings: Combinatorial bandits
Canonical node identity
declaration:BanditRLProof.CUCB.FeedbackModel.nice_event_probabilityReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem nice_event_probability (oracle : Kernel (Input m) A) [IsMarkovKernel oracle] (n : ℕ) : (cucbTrajectory oracle M.environment) (NiceEvent (fun i => (M.trueInput i:ℝ)) n)ᶜ ≤ ENNReal.ofReal (2*(m:ℝ)/((n:ℝ)+1)^2)