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

Source Theorem 6's actual covering-tree partition. Boundary nodes are children of near-optimal parents which fail the next-level near-optimal test.

Module map

Declarations
18
Placeholders
0

Imports

BanditRLProof.HOODimension

Imported by

BanditRLProof, BanditRLProof.Algorithms.HOORegretPartition

Declarations

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

theorem BanditRLProof.HOO.RegularCovering.mem_nearOptimalNodes 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.RegularCovering.mem_nearOptimalNodes

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

@[simp] theorem RegularCovering.mem_nearOptimalNodes {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (v : Node) (h : ℕ) : v ∈ C.nearOptimalNodes f best h ↔ v.length=h ∧ best-regionSup f (C.region v) ≤ 2*(C.nu1*C.rho^h)
theorem BanditRLProof.HOO.RegularCovering.root_nearOptimal 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.RegularCovering.root_nearOptimal

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

theorem RegularCovering.root_nearOptimal {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (hbest : regionSup f Set.univ = best) : [] ∈ C.nearOptimalNodes f best 0
theorem BanditRLProof.HOO.RegularCovering.nearOptimal_prefix 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.RegularCovering.nearOptimal_prefix

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

theorem RegularCovering.nearOptimal_prefix {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (hf : ∀x, f x ≤ best) {v w : Node} (hp : v <+: w) (hw : w ∈ C.nearOptimalNodes f best w.length) : v ∈ C.nearOptimalNodes f best v.length
def BanditRLProof.HOO.RegularCovering.boundaryNodes Compiled

Indexed by the parent's depth: this is source J_(h+1).

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.HOO.RegularCovering.boundaryNodes

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

noncomputable def RegularCovering.boundaryNodes {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (h : ℕ) : Finset Node
theorem BanditRLProof.HOO.RegularCovering.mem_boundaryNodes 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.RegularCovering.mem_boundaryNodes

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

theorem RegularCovering.mem_boundaryNodes {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (h : ℕ) (v : Node) : v ∈ C.boundaryNodes f best h ↔ (∃ p ∈ C.nearOptimalNodes f best h, ∃ b, child p b=v) ∧ v ∉ C.nearOptimalNodes f best (h+1)
theorem BanditRLProof.HOO.RegularCovering.boundaryNodes_card_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.HOO.RegularCovering.boundaryNodes_card_le

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

theorem RegularCovering.boundaryNodes_card_le {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (h : ℕ) : (C.boundaryNodes f best h).card ≤ 2*(C.nearOptimalNodes f best h).card
theorem BanditRLProof.HOO.RegularCovering.boundaryNodes_poor 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.RegularCovering.boundaryNodes_poor

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

theorem RegularCovering.boundaryNodes_poor {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) {h : ℕ} {v : Node} (hv : v ∈ C.boundaryNodes f best h) : v.length=h+1 ∧ 2*(C.nu1*C.rho^(h+1)) < best-regionSup f (C.region v)
theorem BanditRLProof.HOO.RegularCovering.node_partition_cover Compiled

Any word either lies below a good depth-H prefix, is itself a shallow near-optimal word, or lies below a first bad child of a near-optimal parent.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.HOO.RegularCovering.node_partition_cover

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

theorem RegularCovering.node_partition_cover {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (hbest : regionSup f Set.univ=best) (H : ℕ) (v : Node) : (∃ p ∈ C.nearOptimalNodes f best H, p <+: v) ∨ (v.length<H ∧ v ∈ C.nearOptimalNodes f best v.length) ∨ (∃ h < H, ∃ p ∈ C.boundaryNodes f best h, p <+: v)
theorem BanditRLProof.HOO.RegularCovering.descendant_nearOptimal_gap Compiled

The deep-good and shallow-good regret bounds use Lemma 3 on the actual representative in a descendant region.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.HOO.RegularCovering.descendant_nearOptimal_gap

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

theorem RegularCovering.descendant_nearOptimal_gap {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (hw : WeaklyLipschitz f C.ell best) {p v : Node} {h : ℕ} (hp : p ∈ C.nearOptimalNodes f best h) (hv : p <+: v) : best-f (C.toCovering.representative v) ≤ 4*(C.nu1*C.rho^h)
theorem BanditRLProof.HOO.RegularCovering.descendant_boundary_gap Compiled

Poor subtrees inherit their parent's gap bound, not the poor child's gap.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.HOO.RegularCovering.descendant_boundary_gap

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

theorem RegularCovering.descendant_boundary_gap {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (hw : WeaklyLipschitz f C.ell best) {p v : Node} {h : ℕ} (hp : p ∈ C.boundaryNodes f best h) (hv : p <+: v) : best-f (C.toCovering.representative v) ≤ 4*(C.nu1*C.rho^h)
theorem BanditRLProof.HOO.prefix_of_prefixes_length Compiled Internal helper

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

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

private theorem prefix_of_prefixes_length {p q v : Node} (hp : p <+: v) (hq : q <+: v) (hl : p.length≤q.length) : p <+: q
def BanditRLProof.HOO.RegularCovering.deepGoodNodes 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.RegularCovering.deepGoodNodes

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

def RegularCovering.deepGoodNodes {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (H : ℕ) : Set Node
def BanditRLProof.HOO.RegularCovering.shallowGoodNodes 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.RegularCovering.shallowGoodNodes

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

def RegularCovering.shallowGoodNodes {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (H : ℕ) : Set Node
def BanditRLProof.HOO.RegularCovering.badSubtreeNodes 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.RegularCovering.badSubtreeNodes

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

def RegularCovering.badSubtreeNodes {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (H : ℕ) : Set Node
theorem BanditRLProof.HOO.RegularCovering.deep_shallow_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.RegularCovering.deep_shallow_disjoint

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

theorem RegularCovering.deep_shallow_disjoint {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (H : ℕ) : Disjoint (C.deepGoodNodes f best H) (C.shallowGoodNodes f best H)
theorem BanditRLProof.HOO.RegularCovering.deep_bad_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.RegularCovering.deep_bad_disjoint

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

theorem RegularCovering.deep_bad_disjoint {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (hf : ∀x, f x≤best) (H : ℕ) : Disjoint (C.deepGoodNodes f best H) (C.badSubtreeNodes f best H)
theorem BanditRLProof.HOO.RegularCovering.shallow_bad_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.RegularCovering.shallow_bad_disjoint

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

theorem RegularCovering.shallow_bad_disjoint {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (hf : ∀x, f x≤best) (H : ℕ) : Disjoint (C.shallowGoodNodes f best H) (C.badSubtreeNodes f best H)
theorem BanditRLProof.HOO.RegularCovering.actual_regret_partition Compiled

Exact three-part identity for the actual HOO action trace, before any inequality or expectation. Cover and disjointness are derived above.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.HOO.RegularCovering.actual_regret_partition

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

theorem RegularCovering.actual_regret_partition {X : Type*} [MeasurableSpace X] (C : RegularCovering X) (f : X → ℝ) (best : ℝ) (hf : ∀x, f x≤best) (hbest : regionSup f Set.univ=best) (H N : ℕ) (Y : ℕ → ℝ) : (∑ n ∈ Finset.range N, (best-f (C.toCovering.arm C.nu1 C.rho Y n))) = (∑ 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) + (∑ 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) + (∑ 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)