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

Lean module · Foundations

BanditRLProof.HeavyTailTruncation

Raw absolute moments; no sub-Gaussian assumption. These are producer leaves, not a complete robust-UCB regret theorem. Thresholds may depend on sample index and on the evaluation round (by choosing a different transform each round).

Module map

Declarations
9
Placeholders
0

Imports

BanditRLProof.Algorithms.UCBArmStreamSource

Imported by

BanditRLProof, BanditRLProof.Algorithms.HeavyTailHistory, BanditRLProof.HeavyTailClipping, BanditRLProof.HeavyTailFixedTilt

Declarations

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

def BanditRLProof.HeavyTail.truncate 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 identitydeclaration:BanditRLProof.HeavyTail.truncate

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

noncomputable def truncate (B x : ℝ) : ℝ
theorem BanditRLProof.HeavyTail.abs_truncate_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 identitydeclaration:BanditRLProof.HeavyTail.abs_truncate_le

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

theorem abs_truncate_le (B x : ℝ) (hB : 0 ≤ B) : |truncate B x| ≤ B
theorem BanditRLProof.HeavyTail.measurable_truncate 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 identitydeclaration:BanditRLProof.HeavyTail.measurable_truncate

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

theorem measurable_truncate (B : ℝ) : Measurable (truncate B)
theorem BanditRLProof.HeavyTail.abs_sub_truncate_le Compiled

The discarded tail is controlled by a raw (1+epsilon)-moment.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.HeavyTail.abs_sub_truncate_le

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

theorem abs_sub_truncate_le (B x ε : ℝ) (hB : 0 < B) (hε : 0 ≤ ε) : |x - truncate B x| ≤ |x| ^ (1 + ε) / B ^ ε
theorem BanditRLProof.HeavyTail.sq_truncate_le Compiled

Truncation supplies the variance-scale envelope needed by Bernstein.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.HeavyTail.sq_truncate_le

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

theorem sq_truncate_le (B x ε : ℝ) (hB : 0 < B) (hε : ε ≤ 1) : (truncate B x) ^ 2 ≤ |x| ^ (1 + ε) * B ^ (1 - ε)
theorem BanditRLProof.HeavyTail.integral_truncate_bias_le Compiled

Integrating the pointwise tail inequality produces an actual bias bound.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.HeavyTail.integral_truncate_bias_le

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

theorem integral_truncate_bias_le {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) (X : Ω → ℝ) (B ε u : ℝ) (hB : 0 < B) (hε : 0 ≤ ε) (hXm : Measurable X) (hX : Integrable X μ) (hm : Integrable (fun ω => |X ω| ^ (1 + ε)) μ) (hu : (∫ ω, |X ω| ^ (1 + ε) ∂μ) ≤ u) : |(∫ ω, X ω ∂μ) - ∫ ω, truncate B (X ω) ∂μ| ≤ u / B ^ ε
theorem BanditRLProof.HeavyTail.integral_sq_truncate_le Compiled

The second moment envelope is integrable and bounded by the raw moment.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.HeavyTail.integral_sq_truncate_le

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

theorem integral_sq_truncate_le {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) (X : Ω → ℝ) (B ε u : ℝ) (hB : 0 < B) (hε : ε ≤ 1) (hXm : Measurable X) (hm : Integrable (fun ω => |X ω| ^ (1 + ε)) μ) (hu : (∫ ω, |X ω| ^ (1 + ε) ∂μ) ≤ u) : (∫ ω, (truncate B (X ω)) ^ 2 ∂μ) ≤ u * B ^ (1 - ε)
theorem BanditRLProof.HeavyTail.transformed_observed_prefix Compiled

A sample-index transform of actual observations is the same transform of the consumed latent prefix. No IID claim is made about adaptively selected data.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.HeavyTail.transformed_observed_prefix

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

theorem transformed_observed_prefix {Ω : Type*} {K : ℕ} (action : Ω → ActionTrace (Fin K)) (stream : Ω → UCB.ArmRewardStream K) (transform : ℕ → Fin K → ℝ → ℝ) (ω : Ω) (arm : Fin K) (n : ℕ) : sumRewards (action ω) (fun t => transform (pullCount (action ω) (action ω t) t) (action ω t) (UCB.rewardFromArmStream action stream ω t)) arm n = (Finset.range (pullCount (action ω) arm n)).sum (fun s => transform s arm (stream ω s arm))
theorem BanditRLProof.HeavyTail.estimator_error_le Compiled

Common estimator assembly: deterministic bias and stochastic fluctuation remain separate obligations, rather than assuming the desired confidence event.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.HeavyTail.estimator_error_le

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

theorem estimator_error_le (estimate center mean bias fluctuation : ℝ) (hb : |center - mean| ≤ bias) (hf : |estimate - center| ≤ fluctuation) : |estimate - mean| ≤ bias + fluctuation