Lean module · Foundations
BanditRLProof.HOOCantorModel
An infinite-arm, noisy HOO model on binary sequences.
Module map
Imports
BanditRLProof.Algorithms.HOOExpectedVisits
Imported by
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 identity
declaration:BanditRLProof.HOO.CantorModel.ArmReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.centerReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.regionReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.ellReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.center_child_of_ltReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.center_child_lastReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.mem_child_iffReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.region_childrenReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.region_measurableReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.region_diameterReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.ball_subset_regionReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.region_disjointReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.coveringReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.meanReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.mean_le_bestReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.first_coordinate_distanceReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.weaklyLipschitzReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.bitRewardReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.bitKernelReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.lawReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.law_boundedReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.law_zero_massReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.law_not_diracReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.law_meanReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.global_supReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.poorNodeReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.poor_region_meanReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.poor_supReading 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 identity
declaration:BanditRLProof.HOO.CantorModel.expected_poor_visitsReading 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