Lean module · Finite-horizon RL
BanditRLProof.RL.FiniteHorizonAdaptiveCumulativeUCBVIProbabilityBudget
Paper-scale probability arithmetic for canonical recurrent UCBVI-CH.
Module map
Imports
BanditRLProof.RL.FiniteHorizonAdaptiveCumulativeUCBVISimultaneousConfidence, BanditRLProof.RL.FiniteHorizonAdaptiveCumulativeUCBVIAlignment
Imported by
BanditRLProof.RL.FiniteHorizonAdaptiveCumulativeUCBVIMartingaleTuning
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
theorem
BanditRLProof.FiniteHorizonRL.AdaptiveCumulativeHoeffdingUCBVI.card_bernsteinCoordinateIndex
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
theorem card_bernsteinCoordinateIndex (mdp : MDP State Action) (episodes : Nat) : Fintype.card (BernsteinCoordinateIndex mdp episodes) = episodes * Fintype.card State * Fintype.card Action * Fintype.card State * (episodes * mdp.horizon)
theorem
BanditRLProof.FiniteHorizonRL.AdaptiveCumulativeHoeffdingUCBVI.card_optimalTailIndex
Compiled
No declaration docstring is present; use the chapter context and exact statement below.
theorem card_optimalTailIndex (mdp : MDP State Action) (episodes : Nat) : Fintype.card (OptimalTailIndex mdp episodes) = episodes * mdp.horizon * Fintype.card State * Fintype.card Action * (episodes * mdp.horizon)
theorem
BanditRLProof.FiniteHorizonRL.AdaptiveCumulativeHoeffdingUCBVI.exp_neg_two_mul_logFactor_eq
Compiled
Exact exponential simplification at the paper logarithmic factor.
theorem exp_neg_two_mul_logFactor_eq (mdp : MDP State Action) (episodes : Nat) (delta : Real) (hhorizon : 0 < mdp.horizon) (hepisodes : 0 < episodes) (hdelta : 0 < delta) (hdelta_le_one : delta <= 1) : Real.exp (-2 * logFactor (State
theorem
BanditRLProof.FiniteHorizonRL.AdaptiveCumulativeHoeffdingUCBVI.exp_neg_two_mul_logFactor_sq_le
Compiled
The optimal-tail scalar term is no larger than the coordinate term because the task log factor is at least one.
theorem exp_neg_two_mul_logFactor_sq_le (mdp : MDP State Action) (episodes : Nat) (delta : Real) (hhorizon : 0 < mdp.horizon) (hepisodes : 0 < episodes) (hdelta : 0 < delta) (hdelta_le_one : delta <= 1) : Real.exp (-2 * logFactor (State
theorem
BanditRLProof.FiniteHorizonRL.AdaptiveCumulativeHoeffdingUCBVI.ofReal_card_mul_two_mul_exp_le
Compiled Internal helper
No declaration docstring is present; use the chapter context and exact statement below.
private theorem ofReal_card_mul_two_mul_exp_le (card : Nat) (x budget : Real) (hx : 0 <= x) (hbudget : 0 <= budget) (h : (card : Real) * (2 * x) <= budget) : (card : ENNReal) * (2 * ENNReal.ofReal x) <= ENNReal.ofReal budget
theorem
BanditRLProof.FiniteHorizonRL.AdaptiveCumulativeHoeffdingUCBVI.simultaneousTransitionTailBudget_le_fifth
Compiled
The complete coordinate-plus-optimal-tail confidence family consumes at most one fifth of `delta`.
theorem simultaneousTransitionTailBudget_le_fifth (mdp : MDP State Action) (episodes : Nat) (delta : Real) (hhorizon : 0 < mdp.horizon) (hepisodes : 0 < episodes) (hdelta : 0 < delta) (hdelta_le_one : delta <= 1) : (Fintype.card (BernsteinCoordinateIndex mdp episodes) : ENNReal) * (2 * ENNReal.ofReal (Real.exp (-2 * logFactor (State
theorem
BanditRLProof.FiniteHorizonRL.AdaptiveCumulativeHoeffdingUCBVI.recurrentSource_trajectoryMeasure_simultaneousTransitionFailureEvent_le_fifth
Compiled
Specialized same-source confidence event probability.
theorem recurrentSource_trajectoryMeasure_simultaneousTransitionFailureEvent_le_fifth (mdp : MDP State Action) (initialState : Measure State) [IsProbabilityMeasure initialState] [StandardBorelSpace (EpisodeBatch mdp 1)] [StandardBorelSpace (EpisodeBatchTrajectory mdp 1)] (defaultState : State) (episodes : Nat) (delta : Real) (hhorizon : 0 < mdp.horizon) (hepisodes : 0 < episodes) (hdelta : 0 < delta) (hdelta_le_one : delta <= 1) (hreward : ∀ state action, |mdp.reward state action| <= 1) : let source := recurrentSource mdp initialState defaultState episodes delta source.trajectoryMeasure (AdaptiveEpisodeBatchSource.simultaneousTransitionFailureEvent source episodes (logFactor (State