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.HOOCantorModel

An infinite-arm, noisy HOO model on binary sequences.

Module map

Declarations
29
Placeholders
0

Imports

BanditRLProof.Algorithms.HOOExpectedVisits

Imported by

BanditRLProof, BanditRLProof.HOOCantorRate

Declarations

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

abbrev BanditRLProof.HOO.CantorModel.Arm 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.HOO.CantorModel.Arm

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

abbrev Arm
def BanditRLProof.HOO.CantorModel.center 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.HOO.CantorModel.center

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

def center (v : Node) : Arm
def BanditRLProof.HOO.CantorModel.region 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.HOO.CantorModel.region

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

def region (v : Node) : Set Arm
def BanditRLProof.HOO.CantorModel.ell 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.HOO.CantorModel.ell

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

noncomputable def ell (x y : Arm) : ℝ
theorem BanditRLProof.HOO.CantorModel.center_child_of_lt 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.HOO.CantorModel.center_child_of_lt

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

theorem center_child_of_lt (v : Node) (b : Bool) (i : ℕ) (hi : i < v.length) : center (child v b) i = center v i
theorem BanditRLProof.HOO.CantorModel.center_child_last 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.HOO.CantorModel.center_child_last

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

@[simp] theorem center_child_last (v : Node) (b : Bool) : center (child v b) v.length = b
theorem BanditRLProof.HOO.CantorModel.mem_child_iff 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.HOO.CantorModel.mem_child_iff

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

theorem mem_child_iff (v : Node) (b : Bool) (x : Arm) : x ∈ region (child v b) ↔ x ∈ region v ∧ x v.length = b
theorem BanditRLProof.HOO.CantorModel.region_children 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.HOO.CantorModel.region_children

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

theorem region_children (v : Node) : region v = region (child v false) ∪ region (child v true)
theorem BanditRLProof.HOO.CantorModel.region_measurable 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.HOO.CantorModel.region_measurable

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

theorem region_measurable (v : Node) : MeasurableSet (region v)
theorem BanditRLProof.HOO.CantorModel.region_diameter 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.HOO.CantorModel.region_diameter

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

theorem region_diameter (v : Node) (x : Arm) (hx : x ∈ region v) (y : Arm) (hy : y ∈ region v) : ell x y ≤ (1/2:ℝ)^v.length
theorem BanditRLProof.HOO.CantorModel.ball_subset_region 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.HOO.CantorModel.ball_subset_region

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

theorem ball_subset_region (v : Node) : {y : Arm | ell (center v) y < (1/2:ℝ)^v.length} ⊆ region v
theorem BanditRLProof.HOO.CantorModel.region_disjoint 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.HOO.CantorModel.region_disjoint

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

theorem region_disjoint {v w : Node} (hl : v.length=w.length) (hne : v≠w) : Disjoint (region v) (region w)
def BanditRLProof.HOO.CantorModel.covering 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.HOO.CantorModel.covering

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

noncomputable def covering : RegularCovering Arm where
def BanditRLProof.HOO.CantorModel.mean 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.HOO.CantorModel.mean

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

noncomputable def mean (x : Arm) : ℝ
theorem BanditRLProof.HOO.CantorModel.mean_le_best 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.HOO.CantorModel.mean_le_best

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

theorem mean_le_best (x : Arm) : mean x ≤ 1/2
theorem BanditRLProof.HOO.CantorModel.first_coordinate_distance 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.HOO.CantorModel.first_coordinate_distance

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

theorem first_coordinate_distance (x y : Arm) (h : x 0 ≠ y 0) : ell x y = 1
theorem BanditRLProof.HOO.CantorModel.weaklyLipschitz 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.HOO.CantorModel.weaklyLipschitz

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

theorem weaklyLipschitz : WeaklyLipschitz mean ell (1/2)
def BanditRLProof.HOO.CantorModel.bitReward 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.HOO.CantorModel.bitReward

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

noncomputable def bitReward (b : Bool) : Measure ℝ
def BanditRLProof.HOO.CantorModel.bitKernel 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.HOO.CantorModel.bitKernel

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

noncomputable def bitKernel : Kernel Bool ℝ
def BanditRLProof.HOO.CantorModel.law 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.HOO.CantorModel.law

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

noncomputable def law : Kernel Arm ℝ
theorem BanditRLProof.HOO.CantorModel.law_bounded 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.HOO.CantorModel.law_bounded

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

theorem law_bounded (x : Arm) : ∀ᵐ y ∂law x, y ∈ Set.Icc (0 : ℝ) 1
theorem BanditRLProof.HOO.CantorModel.law_zero_mass 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.HOO.CantorModel.law_zero_mass

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

theorem law_zero_mass (x : Arm) : law x {0} = (1/2 : ENNReal)
theorem BanditRLProof.HOO.CantorModel.law_not_dirac 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.HOO.CantorModel.law_not_dirac

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

theorem law_not_dirac (x : Arm) (r : ℝ) : law x ≠ Measure.dirac r
theorem BanditRLProof.HOO.CantorModel.law_mean 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.HOO.CantorModel.law_mean

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

theorem law_mean (x : Arm) : (∫ y, y ∂law x) = mean x
theorem BanditRLProof.HOO.CantorModel.global_sup 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.HOO.CantorModel.global_sup

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

theorem global_sup : regionSup mean Set.univ = 1/2
def BanditRLProof.HOO.CantorModel.poorNode 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.HOO.CantorModel.poorNode

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

def poorNode : Node
theorem BanditRLProof.HOO.CantorModel.poor_region_mean 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.HOO.CantorModel.poor_region_mean

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

theorem poor_region_mean (x : Arm) (hx : x ∈ region poorNode) : mean x = 1/4
theorem BanditRLProof.HOO.CantorModel.poor_sup 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.HOO.CantorModel.poor_sup

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

theorem poor_sup : regionSup mean (region poorNode) = 1/4
theorem BanditRLProof.HOO.CantorModel.expected_poor_visits Compiled

A concrete nontrivial poor region in the infinite-arm model consumes the complete algorithm-to-expected-visits chain.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.HOO.CantorModel.expected_poor_visits

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

theorem expected_poor_visits (N : ℕ) : (∫ Y, (visits (history 1 (1/2) Y N) poorNode : ℝ) ∂trajectory 1 (1/2) (covering.toCovering.nodeLaw law)) ≤ 512 * Real.log (max (N:ℝ) 2) + 4