Lean module · Foundations
BanditRLProof.Algorithms.CausalAllocation
Allocation bounds for the actual finite mixture design objective.
Module map
Imports
BanditRLProof.Algorithms.CausalImportance
Imported by
BanditRLProof, BanditRLProof.Algorithms.CausalImportanceTransport, BanditRLProof.Algorithms.CausalOptimalAllocation
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
theorem
BanditRLProof.Causal.secondMoment_ge_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.Causal.secondMoment_ge_oneReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem secondMoment_ge_one {A Z : Type*} [Fintype Z] (p : A → PMF Z) (q : PMF Z) (hc : Covers p q) (a : A) : 1 ≤ secondMoment (p a) q
theorem
BanditRLProof.Causal.uniform_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.Causal.uniform_massReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem uniform_mass {A : Type*} [Fintype A] [Nonempty A] (a : A) : mass (PMF.uniformOfFintype A) a = (Fintype.card A : ℝ)⁻¹
theorem
BanditRLProof.Causal.uniform_covers
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.Causal.uniform_coversReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem uniform_covers {A Z : Type*} [Fintype A] [Nonempty A] (p : A → PMF Z) : Covers p (mixture (PMF.uniformOfFintype A) p)
theorem
BanditRLProof.Causal.uniform_ratio_le_card
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.Causal.uniform_ratio_le_cardReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem uniform_ratio_le_card {A Z : Type*} [Fintype A] [Nonempty A] (p : A → PMF Z) (a : A) (z : Z) : ratio (p a) (mixture (PMF.uniformOfFintype A) p) z ≤ Fintype.card A
theorem
BanditRLProof.Causal.uniform_secondMoment_le_card
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.Causal.uniform_secondMoment_le_cardReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem uniform_secondMoment_le_card {A Z : Type*} [Fintype A] [Nonempty A] [Fintype Z] (p : A → PMF Z) (a : A) : secondMoment (p a) (mixture (PMF.uniformOfFintype A) p) ≤ Fintype.card A
def
BanditRLProof.Causal.designCost
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.Causal.designCostReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def designCost {A Z : Type*} [Fintype A] [Nonempty A] [Fintype Z] (p : A → PMF Z) (eta : PMF A) : ℝ
theorem
BanditRLProof.Causal.secondMoment_le_designCost
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.Causal.secondMoment_le_designCostReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem secondMoment_le_designCost {A Z : Type*} [Fintype A] [Nonempty A] [Fintype Z] (p : A → PMF Z) (eta : PMF A) (a : A) : secondMoment (p a) (mixture eta p) ≤ designCost p eta
theorem
BanditRLProof.Causal.designCost_ge_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.Causal.designCost_ge_oneReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem designCost_ge_one {A Z : Type*} [Fintype A] [Nonempty A] [Fintype Z] (p : A → PMF Z) (eta : PMF A) (hc : Covers p (mixture eta p)) : 1 ≤ designCost p eta
theorem
BanditRLProof.Causal.uniform_designCost_le_card
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.Causal.uniform_designCost_le_cardReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem uniform_designCost_le_card {A Z : Type*} [Fintype A] [Nonempty A] [Fintype Z] (p : A → PMF Z) : designCost p (PMF.uniformOfFintype A) ≤ Fintype.card A
def
BanditRLProof.Causal.convexLaw
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.Causal.convexLawReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def convexLaw {Z : Type*} (t : ℝ≥0) (ht : t ≤ 1) (p q : PMF Z) : PMF Z
theorem
BanditRLProof.Causal.convexLaw_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.Causal.convexLaw_massReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem convexLaw_mass {Z : Type*} (t : ℝ≥0) (ht : t ≤ 1) (p q : PMF Z) (z : Z) : mass (convexLaw t ht p q) z = (t : ℝ) * mass p z + (1-(t : ℝ)) * mass q z
theorem
BanditRLProof.Causal.inverse_convex
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.Causal.inverse_convexReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem inverse_convex (x y t : ℝ) (hx : 0 < x) (hy : 0 < y) (ht : 0 ≤ t) (ht1 : t ≤ 1) : (t*x+(1-t)*y)⁻¹ ≤ t*x⁻¹+(1-t)*y⁻¹
theorem
BanditRLProof.Causal.convexLaw_covers
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.Causal.convexLaw_coversReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem convexLaw_covers {A Z : Type*} (p : A → PMF Z) (q₀ q₁ : PMF Z) (hc₀ : Covers p q₀) (hc₁ : Covers p q₁) (t : ℝ≥0) (ht : t ≤ 1) : Covers p (convexLaw t ht q₀ q₁)
theorem
BanditRLProof.Causal.secondMoment_convex
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.Causal.secondMoment_convexReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem secondMoment_convex {A Z : Type*} [Fintype Z] (p : A → PMF Z) (q₀ q₁ : PMF Z) (hc₀ : Covers p q₀) (hc₁ : Covers p q₁) (a : A) (t : ℝ≥0) (ht : t ≤ 1) : secondMoment (p a) (convexLaw t ht q₀ q₁) ≤ (t : ℝ)*secondMoment (p a) q₀+(1-(t : ℝ))*secondMoment (p a) q₁
theorem
BanditRLProof.Causal.mixture_convexLaw
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.Causal.mixture_convexLawReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem mixture_convexLaw {A Z : Type*} (p : A → PMF Z) (eta₀ eta₁ : PMF A) (t : ℝ≥0) (ht : t ≤ 1) : mixture (convexLaw t ht eta₀ eta₁) p = convexLaw t ht (mixture eta₀ p) (mixture eta₁ p)
theorem
BanditRLProof.Causal.designCost_convex
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.Causal.designCost_convexReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem designCost_convex {A Z : Type*} [Fintype A] [Nonempty A] [Fintype Z] (p : A → PMF Z) (eta₀ eta₁ : PMF A) (hc₀ : Covers p (mixture eta₀ p)) (hc₁ : Covers p (mixture eta₁ p)) (t : ℝ≥0) (ht : t ≤ 1) : designCost p (convexLaw t ht eta₀ eta₁) ≤ (t : ℝ)*designCost p eta₀+(1-(t : ℝ))*designCost p eta₁
theorem
BanditRLProof.Causal.design_sublevel_mass_lower
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.Causal.design_sublevel_mass_lowerReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem design_sublevel_mass_lower {A Z : Type*} [Fintype A] [Nonempty A] [Fintype Z] (p : A → PMF Z) (eta : PMF A) (hc : Covers p (mixture eta p)) (K : ℝ) (hK : 0 < K) (hcost : designCost p eta ≤ K) (a : A) (z : Z) : mass (p a) z ^ 2 / K ≤ mass (mixture eta p) z