Bandits.avg_mean_reward_tendsto_of_sublinear_regret
If the regret is sublinear, the average mean reward tends to the highest mean of the arms.
Bandits.avg_mean_reward_tendsto_of_sublinear_regret.{u_1, u_2} {๐ : Type u_1} {ฮฉ : Type u_2} {m๐ : MeasurableSpace ๐} {ฮฝ : ProbabilityTheory.Kernel ๐ โ} {A : โ โ ฮฉ โ ๐} {ฯ : ฮฉ} (hr : (fun x => regret ฮฝ A x ฯ) =o[Filter.atTop] fun t => โt) : Filter.Tendsto (fun t => (โ s โ Finset.range t, โซ (x : โ), id x โฮฝ (A s ฯ)) / โt) Filter.atTop (nhds (โจ a, โซ (x : โ), id x โฮฝ a))Bandits.avg_mean_reward_tendsto_of_sublinear_regret.{u_1, u_2} {๐ : Type u_1} {ฮฉ : Type u_2} {m๐ : MeasurableSpace ๐} {ฮฝ : ProbabilityTheory.Kernel ๐ โ} {A : โ โ ฮฉ โ ๐} {ฯ : ฮฉ} (hr : (fun x => regret ฮฝ A x ฯ) =o[Filter.atTop] fun t => โt) : Filter.Tendsto (fun t => (โ s โ Finset.range t, โซ (x : โ), id x โฮฝ (A s ฯ)) / โt) Filter.atTop (nhds (โจ a, โซ (x : โ), id x โฮฝ a))
Code
lemma avg_mean_reward_tendsto_of_sublinear_regret
(hr : (regret ฮฝ A ยท ฯ) =o[atTop] fun t โฆ (t : โ)) :
Tendsto (fun t โฆ (โ s โ range t, (ฮฝ (A s ฯ))[id]) / (t : โ))
atTop (nhds (โจ a, (ฮฝ a)[id]))Proof
by
have ht : Tendsto (fun t โฆ (โจ a, (ฮฝ a)[id]) - regret ฮฝ A t ฯ / t)
atTop (nhds (โจ a, (ฮฝ a)[id])) := by
simpa using tendsto_const_nhds.sub hr.tendsto_div_nhds_zero
apply ht.congr'
filter_upwards [eventually_ne_atTop 0] with t ht
rw [regret]
field_simp
ringActions: Source ยท Open Issue
Meaning last changed in v4.34.0-rc2-1-g439785b (2026-08-23), the 2th recorded change.
Self-contained, with its dependencies inlined and proofs replaced by sorry: download the raw file ยท open it in the Lean web editor.
Dependency graph
Audit surface: 1 project declarations, 41 external constants
โ Proved: no sorry anywhere in its closure
This is the tool's own reading of one build's recorded axioms, and it is not robust against an author who wants it to pass. Checking meant to be relied on should go through Comparator, which replays the proof through the kernel from an export against an explicit list of permitted axioms.