Lean module · Foundations
BanditRLProof.Algorithms.HOOExpectedVisits
Expected HOO regional visits through the shared threshold-count argument. The binary trace below records visits to one fixed region; it does not replace the infinite HOO action space or its reward trajectory by a finite-arm model.
Module map
Imports
BanditRLProof.Algorithms.HOOSelectionTail, BanditRLProof.HOOTailSum, BanditRLProof.Algorithms.HeavyTailExpectedCount
Imported by
BanditRLProof, BanditRLProof.Algorithms.HOORegretPartition, BanditRLProof.HOOCantorModel
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
def
BanditRLProof.HOO.visitTrace
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.visitTraceReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def visitTrace (ν ρ : ℝ) (v : Node) (Y : ℕ → ℝ) : ActionTrace (Fin 2)
theorem
BanditRLProof.HOO.measurable_visitTrace
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.measurable_visitTraceReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem measurable_visitTrace (ν ρ : ℝ) (v : Node) (i : ℕ) : Measurable (fun Y => visitTrace ν ρ v Y i)
theorem
BanditRLProof.HOO.visitTrace_zero_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.visitTrace_zero_iffReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
@[simp] theorem visitTrace_zero_iff (ν ρ : ℝ) (v : Node) (Y : ℕ → ℝ) (i : ℕ) : visitTrace ν ρ v Y i = 0 ↔ v <+: action ν ρ Y i
theorem
BanditRLProof.HOO.visitTrace_pullCount
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.visitTrace_pullCountReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem visitTrace_pullCount (ν ρ : ℝ) (v : Node) (Y : ℕ → ℝ) (n : ℕ) : pullCount (visitTrace ν ρ v Y) 0 n = visits (history ν ρ Y n) v
theorem
BanditRLProof.HOO.lintegral_visits_threshold
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.lintegral_visits_thresholdReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem lintegral_visits_threshold (ν ρ : ℝ) (v : Node) (μ : Measure (ℕ → ℝ)) [IsProbabilityMeasure μ] (N B : ℕ) : (∫⁻ Y, (visits (history ν ρ Y N) v : ENNReal) ∂μ) ≤ B + ∑ n ∈ Finset.range N, μ {Y | v <+: action ν ρ Y n ∧ B ≤ visits (history ν ρ Y n) v}
def
BanditRLProof.HOO.visitThreshold
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.visitThresholdReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def visitThreshold (gap : ℝ) (N : ℕ) : ℕ
theorem
BanditRLProof.HOO.visitThreshold_controls
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.visitThreshold_controlsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem visitThreshold_controls (gap : ℝ) (N n : ℕ) (hn : n ≤ N) : 8*Real.log (max (n:ℝ) 2)/gap^2 ≤ (visitThreshold gap N : ℝ)
theorem
BanditRLProof.HOO.RegularCovering.poor_region_lintegral_visits
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.RegularCovering.poor_region_lintegral_visitsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem RegularCovering.poor_region_lintegral_visits {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (law : Kernel X ℝ) [IsMarkovKernel law] (f : X → ℝ) (best : ℝ) (hmean : ∀ x, (∫ y, y ∂law x) = f x) (hf : ∀ x, f x ≤ best) (hbest : regionSup f Set.univ = best) (hw : WeaklyLipschitz f C.ell best) (hbound : ∀ x, ∀ᵐ y ∂law x, y ∈ Set.Icc (0 : ℝ) 1) (v : Node) (hv : C.nu1*C.rho^v.length < best-regionSup f (C.region v)) (N : ℕ) : (∫⁻ Y, (visits (history C.nu1 C.rho Y N) v : ENNReal) ∂trajectory C.nu1 C.rho (C.toCovering.nodeLaw law)) ≤ visitThreshold (best-regionSup f (C.region v)-C.nu1*C.rho^v.length) N + 3
theorem
BanditRLProof.HOO.integrable_visits
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.integrable_visitsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem integrable_visits (ν ρ : ℝ) (v : Node) (μ : Measure (ℕ → ℝ)) [IsProbabilityMeasure μ] (N : ℕ) : Integrable (fun Y => (visits (history ν ρ Y N) v : ℝ)) μ
theorem
BanditRLProof.HOO.RegularCovering.poor_region_expected_visits
Compiled
Expected poor-region visits, with the source additive-four shape and an explicit logarithm repair at horizons zero and one. All probability and search premises are produced from the actual HOO algorithm and A1/A2 model.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.HOO.RegularCovering.poor_region_expected_visitsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem RegularCovering.poor_region_expected_visits {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (law : Kernel X ℝ) [IsMarkovKernel law] (f : X → ℝ) (best : ℝ) (hmean : ∀ x, (∫ y, y ∂law x) = f x) (hf : ∀ x, f x ≤ best) (hbest : regionSup f Set.univ = best) (hw : WeaklyLipschitz f C.ell best) (hbound : ∀ x, ∀ᵐ y ∂law x, y ∈ Set.Icc (0 : ℝ) 1) (v : Node) (hv : C.nu1*C.rho^v.length < best-regionSup f (C.region v)) (N : ℕ) : (∫ Y, (visits (history C.nu1 C.rho Y N) v : ℝ) ∂trajectory C.nu1 C.rho (C.toCovering.nodeLaw law)) ≤ 8*Real.log (max (N:ℝ) 2)/(best-regionSup f (C.region v)-C.nu1*C.rho^v.length)^2 + 4