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.LowerBounds.ArithmeticIntervals

Generated source map for this Lean module.

Module map

Declarations
11
Placeholders
0

Imports

BanditRLProof.LowerBounds.BlockEntropy

Imported by

BanditRLProof, BanditRLProof.LowerBounds.DyadicAddresses

Declarations

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

def BanditRLProof.LowerBounds.arithmeticOffset Compiled

Left endpoint of a symbol's arithmetic-coding partition cell.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.arithmeticOffset

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

def arithmeticOffset {k : ℕ} (p : Fin k → ℝ) (a : Fin k) : ℝ
theorem BanditRLProof.LowerBounds.arithmeticOffset_nonneg 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.LowerBounds.arithmeticOffset_nonneg

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

theorem arithmeticOffset_nonneg {k : ℕ} (p : Fin k → ℝ) (hp : ∀ i, 0 ≤ p i) (a : Fin k) : 0 ≤ arithmeticOffset p a
theorem BanditRLProof.LowerBounds.arithmeticOffset_add_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 identitydeclaration:BanditRLProof.LowerBounds.arithmeticOffset_add_le_one

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

theorem arithmeticOffset_add_le_one {k : ℕ} (p : Fin k → ℝ) (hp : ∀ i, 0 ≤ p i) (hs : ∑ i, p i = 1) (a : Fin k) : arithmeticOffset p a + p a ≤ 1
def BanditRLProof.LowerBounds.arithmeticInterval Compiled

Successive affine subdivisions for an arithmetic-coded word.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.arithmeticInterval

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

def arithmeticInterval {k : ℕ} (p : Fin k → ℝ) : List (Fin k) → ℝ × ℝ | [] => (0, 1) | a :: w => (arithmeticOffset p a + p a * (arithmeticInterval p w).1, arithmeticOffset p a + p a * (arithmeticInterval p w).2) theorem arithmeticInterval_width {k : ℕ} (p : Fin k → ℝ) (w : List (Fin k)) : (arithmeticInterval p w).2 - (arithmeticInterval p w).1 = (w.map p).prod
theorem BanditRLProof.LowerBounds.arithmeticInterval_width 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.LowerBounds.arithmeticInterval_width

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

theorem arithmeticInterval_width {k : ℕ} (p : Fin k → ℝ) (w : List (Fin k)) : (arithmeticInterval p w).2 - (arithmeticInterval p w).1 = (w.map p).prod
theorem BanditRLProof.LowerBounds.arithmeticInterval_bounds 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.LowerBounds.arithmeticInterval_bounds

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

theorem arithmeticInterval_bounds {k : ℕ} (p : Fin k → ℝ) (hp : ∀ i, 0 ≤ p i) (hs : ∑ i, p i = 1) (w : List (Fin k)) : 0 ≤ (arithmeticInterval p w).1 ∧ (arithmeticInterval p w).1 ≤ (arithmeticInterval p w).2 ∧ (arithmeticInterval p w).2 ≤ 1
theorem BanditRLProof.LowerBounds.arithmeticOffset_separated 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.LowerBounds.arithmeticOffset_separated

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

theorem arithmeticOffset_separated {k : ℕ} (p : Fin k → ℝ) (hp : ∀ i, 0 ≤ p i) (a b : Fin k) (hab : a < b) : arithmeticOffset p a + p a ≤ arithmeticOffset p b
theorem BanditRLProof.LowerBounds.arithmeticInterval_head_separated 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.LowerBounds.arithmeticInterval_head_separated

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

theorem arithmeticInterval_head_separated {k : ℕ} (p : Fin k → ℝ) (hp : ∀ i, 0 ≤ p i) (hs : ∑ i, p i = 1) (a b : Fin k) (u v : List (Fin k)) (hab : a < b) : (arithmeticInterval p (a :: u)).2 ≤ (arithmeticInterval p (b :: v)).1
theorem BanditRLProof.LowerBounds.arithmeticInterval_separated Compiled

Different equal-length messages occupy cells with disjoint interiors.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.arithmeticInterval_separated

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

theorem arithmeticInterval_separated {k : ℕ} (p : Fin k → ℝ) (hp : ∀ i, 0 ≤ p i) (hs : ∑ i, p i = 1) (u v : List (Fin k)) (hlen : u.length = v.length) (hne : u ≠ v) : (arithmeticInterval p u).2 ≤ (arithmeticInterval p v).1 ∨ (arithmeticInterval p v).2 ≤ (arithmeticInterval p u).1
theorem BanditRLProof.LowerBounds.arithmeticInterval_interior_unique Compiled

Any point strictly inside a message cell identifies that message uniquely among messages of the same length.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.arithmeticInterval_interior_unique

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

theorem arithmeticInterval_interior_unique {k : ℕ} (p : Fin k → ℝ) (hp : ∀ i, 0 ≤ p i) (hs : ∑ i, p i = 1) (u v : List (Fin k)) (hlen : u.length = v.length) (x : ℝ) (hu : (arithmeticInterval p u).1 < x ∧ x < (arithmeticInterval p u).2) (hv : (arithmeticInterval p v).1 < x ∧ x < (arithmeticInterval p v).2) : u = v
theorem BanditRLProof.LowerBounds.exists_grid_cell_inside Compiled

A positive grid cell fits in any nonnegative interval at least twice as wide. Mathlib-candidate scalar rounding leaf for arithmetic-code dyadic selection.

Used in these reading views: Bandit Book

1. Finite bandits, traces, and regret

Canonical node identitydeclaration:BanditRLProof.LowerBounds.exists_grid_cell_inside

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

theorem exists_grid_cell_inside (L U δ : ℝ) (hL : 0 ≤ L) (hδ : 0 < δ) (hwidth : 2 * δ ≤ U - L) : ∃ m : ℕ, L ≤ (m : ℝ) * δ ∧ ((m : ℝ) + 1) * δ < U