Lean module · Foundations
BanditRLProof.Algorithms.CausalOptimalAllocation
Attainment of the covered finite causal allocation objective.
Module map
Imports
BanditRLProof.Algorithms.CausalAllocation
Imported by
BanditRLProof, BanditRLProof.Algorithms.CausalParallelDesign, BanditRLProof.Algorithms.CausalSampling
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
def
BanditRLProof.Causal.allocationOfWeights
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.allocationOfWeightsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def allocationOfWeights (w : A → ℝ) (hw : w ∈ stdSimplex ℝ A) : PMF A
theorem
BanditRLProof.Causal.allocationOfWeights_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.allocationOfWeights_massReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem allocationOfWeights_mass (w : A → ℝ) (hw : w ∈ stdSimplex ℝ A) (a : A) : mass (allocationOfWeights w hw) a = w a
theorem
BanditRLProof.Causal.mass_mem_simplex
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.mass_mem_simplexReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem mass_mem_simplex (eta : PMF A) : mass eta ∈ stdSimplex ℝ A
def
BanditRLProof.Causal.mixtureWeight
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.mixtureWeightReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def mixtureWeight (p : A → PMF Z) (w : A → ℝ) (z : Z) : ℝ
def
BanditRLProof.Causal.coordinateCost
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.coordinateCostReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def coordinateCost (p : A → PMF Z) (w : A → ℝ) : ℝ
theorem
BanditRLProof.Causal.coordinateCost_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.coordinateCost_massReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem coordinateCost_mass (p : A → PMF Z) (eta : PMF A) : coordinateCost p (mass eta) = designCost p eta
def
BanditRLProof.Causal.safeAllocations
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.safeAllocationsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def safeAllocations (p : A → PMF Z) : Set (A → ℝ)
theorem
BanditRLProof.Causal.continuous_mixtureWeight
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.continuous_mixtureWeightReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem continuous_mixtureWeight (p : A → PMF Z) (z : Z) : Continuous (fun w => mixtureWeight p w z)
theorem
BanditRLProof.Causal.safeAllocations_compact
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.safeAllocations_compactReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem safeAllocations_compact (p : A → PMF Z) : IsCompact (safeAllocations p)
theorem
BanditRLProof.Causal.sublevel_mem_safe
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.sublevel_mem_safeReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem sublevel_mem_safe (p : A → PMF Z) (eta : PMF A) (hc : Covers p (mixture eta p)) (hcost : designCost p eta ≤ Fintype.card A) : mass eta ∈ safeAllocations p
theorem
BanditRLProof.Causal.uniform_mem_safe
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_mem_safeReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem uniform_mem_safe (p : A → PMF Z) : mass (PMF.uniformOfFintype A) ∈ safeAllocations p
theorem
BanditRLProof.Causal.safe_denominator_pos
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.safe_denominator_posReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem safe_denominator_pos (p : A → PMF Z) (w : A → ℝ) (hw : w ∈ safeAllocations p) (a : A) (z : Z) (hp : mass (p a) z ≠ 0) : 0 < mixtureWeight p w z
theorem
BanditRLProof.Causal.coordinateCost_continuousOn
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.coordinateCost_continuousOnReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem coordinateCost_continuousOn (p : A → PMF Z) : ContinuousOn (coordinateCost p) (safeAllocations p)
theorem
BanditRLProof.Causal.safe_allocation_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.safe_allocation_coversReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem safe_allocation_covers (p : A → PMF Z) (w : A → ℝ) (hw : w ∈ safeAllocations p) : Covers p (mixture (allocationOfWeights w hw.1) p)
theorem
BanditRLProof.Causal.exists_optimal_allocation
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.exists_optimal_allocationReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem exists_optimal_allocation (p : A → PMF Z) : ∃ eta : PMF A, Covers p (mixture eta p) ∧ designCost p eta ≤ Fintype.card A ∧ ∀ eta' : PMF A, Covers p (mixture eta' p) → designCost p eta ≤ designCost p eta'
def
BanditRLProof.Causal.optimalAllocation
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.optimalAllocationReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def optimalAllocation (p : A → PMF Z) : PMF A
theorem
BanditRLProof.Causal.optimalAllocation_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.optimalAllocation_coversReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem optimalAllocation_covers (p : A → PMF Z) : Covers p (mixture (optimalAllocation p) p)
theorem
BanditRLProof.Causal.optimalAllocation_cost_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.optimalAllocation_cost_le_cardReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem optimalAllocation_cost_le_card (p : A → PMF Z) : designCost p (optimalAllocation p) ≤ Fintype.card A
theorem
BanditRLProof.Causal.optimalAllocation_minimizes
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.optimalAllocation_minimizesReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem optimalAllocation_minimizes (p : A → PMF Z) (eta : PMF A) (hc : Covers p (mixture eta p)) : designCost p (optimalAllocation p) ≤ designCost p eta
theorem
BanditRLProof.Causal.secondMoment_self
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_selfReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem secondMoment_self (q : PMF Z) : secondMoment q q = 1
theorem
BanditRLProof.Causal.constant_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.constant_designCostReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem constant_designCost (q : PMF Z) (eta : PMF A) : designCost (fun _ : A => q) eta = 1