Lean module · Foundations
BanditRLProof.Algorithms.HOORegretPartition
Pathwise regret contributions for the actual fresh-node HOO trace.
Module map
Imports
BanditRLProof.HOOPartition, 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.
theorem
BanditRLProof.HOO.action_singleton_count_le_one
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.action_singleton_count_le_oneReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem action_singleton_count_le_one (ν ρ : ℝ) (Y : ℕ → ℝ) (N : ℕ) (p : Node) : (∑ n ∈ Finset.range N, if action ν ρ Y n=p then (1:ℝ) else 0) ≤ 1
theorem
BanditRLProof.HOO.RegularCovering.deep_regret_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 identity
declaration:BanditRLProof.HOO.RegularCovering.deep_regret_leReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem RegularCovering.deep_regret_le {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (hw : WeaklyLipschitz f C.ell best) (H N : ℕ) (Y : ℕ → ℝ) : (∑ n ∈ Finset.range N, if action C.nu1 C.rho Y n ∈ C.deepGoodNodes f best H then best-f (C.toCovering.arm C.nu1 C.rho Y n) else 0) ≤ 4*(C.nu1*C.rho^H)*N
theorem
BanditRLProof.HOO.RegularCovering.shallow_regret_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 identity
declaration:BanditRLProof.HOO.RegularCovering.shallow_regret_leReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem RegularCovering.shallow_regret_le {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (hw : WeaklyLipschitz f C.ell best) (H N : ℕ) (Y : ℕ → ℝ) : (∑ n ∈ Finset.range N, if action C.nu1 C.rho Y n ∈ C.shallowGoodNodes f best H then best-f (C.toCovering.arm C.nu1 C.rho Y n) else 0) ≤ ∑ h ∈ Finset.range H, 4*(C.nu1*C.rho^h)*(C.nearOptimalNodes f best h).card
theorem
BanditRLProof.HOO.RegularCovering.bad_regret_le
Compiled
Poor-subtree contribution on each actual reward path. Its prefix indicators are exactly the history's visits, including unvisited nodes.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.HOO.RegularCovering.bad_regret_leReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem RegularCovering.bad_regret_le {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (hw : WeaklyLipschitz f C.ell best) (H N : ℕ) (Y : ℕ → ℝ) : (∑ n ∈ Finset.range N, if action C.nu1 C.rho Y n ∈ C.badSubtreeNodes f best H then best-f (C.toCovering.arm C.nu1 C.rho Y n) else 0) ≤ ∑ h ∈ Finset.range H, ∑ p ∈ C.boundaryNodes f best h, 4*(C.nu1*C.rho^h)*(visits (history C.nu1 C.rho Y N) p : ℝ)
theorem
BanditRLProof.HOO.RegularCovering.pathwise_regret_le
Compiled
The actual pathwise three-term regret bound before expectation or depth optimization. No partition, visit count or one-play property is assumed.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.HOO.RegularCovering.pathwise_regret_leReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem RegularCovering.pathwise_regret_le {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (hf : ∀x, f x≤best) (hbest : regionSup f Set.univ=best) (hw : WeaklyLipschitz f C.ell best) (H N : ℕ) (Y : ℕ → ℝ) : (∑ n ∈ Finset.range N, (best-f (C.toCovering.arm C.nu1 C.rho Y n))) ≤ 4*(C.nu1*C.rho^H)*N + (∑ h ∈ Finset.range H, 4*(C.nu1*C.rho^h)*(C.nearOptimalNodes f best h).card) + ∑ h ∈ Finset.range H, ∑ p ∈ C.boundaryNodes f best h, 4*(C.nu1*C.rho^h)*(visits (history C.nu1 C.rho Y N) p : ℝ)
theorem
BanditRLProof.HOO.RegularCovering.boundary_expected_visits
Compiled
Source first-step simplification for the actual boundary nodes.
Used in these reading views: Bandit Book
1. Finite bandits, traces, and regret
Canonical node identity
declaration:BanditRLProof.HOO.RegularCovering.boundary_expected_visitsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem RegularCovering.boundary_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) {h : ℕ} {v : Node} (hv : v ∈ C.boundaryNodes f best h) (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)/(C.nu1*C.rho^(h+1))^2+4