Lean module · Foundations
BanditRLProof.Algorithms.CausalParallelDesign
Constructed rarity parameter and normalized finite intervention design.
Module map
Imports
BanditRLProof.Algorithms.CausalOptimalAllocation
Imported by
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
structure
BanditRLProof.Causal.ParallelParameters
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.ParallelParametersReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
structure ParallelParameters (N : ℕ) where
def
BanditRLProof.Causal.ParallelParameters.rareIndices
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.ParallelParameters.rareIndicesReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def rareIndices (tau : ℕ) : Finset (Fin N)
theorem
BanditRLProof.Causal.ParallelParameters.exists_rarity
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.ParallelParameters.exists_rarityReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem exists_rarity : ∃ m : ℕ, 2 ≤ m ∧ m ≤ N ∧ (p.rareIndices m).card ≤ m
def
BanditRLProof.Causal.ParallelParameters.rarity
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
Indexed settings: Causal bandits
Canonical node identity
declaration:BanditRLProof.Causal.ParallelParameters.rarityReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def rarity : ℕ
theorem
BanditRLProof.Causal.ParallelParameters.rarity_spec
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
Indexed settings: Causal bandits
Canonical node identity
declaration:BanditRLProof.Causal.ParallelParameters.rarity_specReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem rarity_spec : 2 ≤ p.rarity ∧ p.rarity ≤ N ∧ (p.rareIndices p.rarity).card ≤ p.rarity
theorem
BanditRLProof.Causal.ParallelParameters.rarity_minimal
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
Indexed settings: Causal bandits
Canonical node identity
declaration:BanditRLProof.Causal.ParallelParameters.rarity_minimalReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem rarity_minimal (tau : ℕ) (h2 : 2 ≤ tau) (hN : tau ≤ N) (hc : (p.rareIndices tau).card ≤ tau) : p.rarity ≤ tau
def
BanditRLProof.Causal.ParallelParameters.valueProbability
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.ParallelParameters.valueProbabilityReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def valueProbability (a : Fin N × Bool) : ℝ
theorem
BanditRLProof.Causal.ParallelParameters.valueProbability_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 identity
declaration:BanditRLProof.Causal.ParallelParameters.valueProbability_nonnegReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem valueProbability_nonneg (a : Fin N × Bool) : 0 ≤ p.valueProbability a
theorem
BanditRLProof.Causal.ParallelParameters.rarity_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.ParallelParameters.rarity_posReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem rarity_pos : (0 : ℝ) < p.rarity
theorem
BanditRLProof.Causal.ParallelParameters.rarity_reciprocal_le_half
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.ParallelParameters.rarity_reciprocal_le_halfReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem rarity_reciprocal_le_half : 1/(p.rarity:ℝ) ≤ 1/2
def
BanditRLProof.Causal.ParallelParameters.rareActions
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.ParallelParameters.rareActionsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def rareActions : Finset (Fin N × Bool)
theorem
BanditRLProof.Causal.ParallelParameters.rareActions_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
Indexed settings: Causal bandits
Canonical node identity
declaration:BanditRLProof.Causal.ParallelParameters.rareActions_card_leReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem rareActions_card_le : p.rareActions.card ≤ p.rarity
def
BanditRLProof.Causal.ParallelParameters.rareWeight
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.ParallelParameters.rareWeightReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def rareWeight : ℝ
def
BanditRLProof.Causal.ParallelParameters.atomicTotal
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.ParallelParameters.atomicTotalReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def atomicTotal : ℝ
theorem
BanditRLProof.Causal.ParallelParameters.rareWeight_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.ParallelParameters.rareWeight_posReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem rareWeight_pos : 0 < p.rareWeight
theorem
BanditRLProof.Causal.ParallelParameters.atomicTotal_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 identity
declaration:BanditRLProof.Causal.ParallelParameters.atomicTotal_boundsReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem atomicTotal_bounds : 0 ≤ p.atomicTotal ∧ p.atomicTotal ≤ 1/2
def
BanditRLProof.Causal.ParallelParameters.allocationWeight
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.ParallelParameters.allocationWeightReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def allocationWeight : Option (Fin N × Bool) → ℝ | none => 1-p.atomicTotal | some a => if a ∈ p.rareActions then p.rareWeight else 0 theorem allocationWeight_nonneg (a : Option (Fin N × Bool)) : 0 ≤ p.allocationWeight a
theorem
BanditRLProof.Causal.ParallelParameters.allocationWeight_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 identity
declaration:BanditRLProof.Causal.ParallelParameters.allocationWeight_nonnegReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem allocationWeight_nonneg (a : Option (Fin N × Bool)) : 0 ≤ p.allocationWeight a
theorem
BanditRLProof.Causal.ParallelParameters.allocationWeight_sum
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
Indexed settings: Causal bandits
Canonical node identity
declaration:BanditRLProof.Causal.ParallelParameters.allocationWeight_sumReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem allocationWeight_sum : ∑ a, p.allocationWeight a = 1
def
BanditRLProof.Causal.ParallelParameters.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
Indexed settings: Causal bandits
Canonical node identity
declaration:BanditRLProof.Causal.ParallelParameters.allocationReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def allocation : PMF (Option (Fin N × Bool))
theorem
BanditRLProof.Causal.ParallelParameters.allocation_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.ParallelParameters.allocation_massReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem allocation_mass (a : Option (Fin N × Bool)) : mass p.allocation a = p.allocationWeight a
theorem
BanditRLProof.Causal.ParallelParameters.allocation_empty_ge_half
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.ParallelParameters.allocation_empty_ge_halfReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem allocation_empty_ge_half : 1/2 ≤ mass p.allocation none
theorem
BanditRLProof.Causal.covers_of_mass_domination
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.covers_of_mass_dominationReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem covers_of_mass_domination {A Z : Type*} (p : A → PMF Z) (q : PMF Z) (C : ℝ) (h : ∀ a z, mass (p a) z ≤ C*mass q z) : Covers p q
theorem
BanditRLProof.Causal.ratio_le_of_mass_domination
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.ratio_le_of_mass_dominationReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem ratio_le_of_mass_domination {Z : Type*} (p q : PMF Z) (C : ℝ) (hC : 0 ≤ C) (h : ∀ z, mass p z ≤ C*mass q z) (z : Z) : ratio p q z ≤ C
theorem
BanditRLProof.Causal.secondMoment_le_of_mass_domination
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_of_mass_dominationReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem secondMoment_le_of_mass_domination {Z : Type*} [Fintype Z] (p q : PMF Z) (C : ℝ) (hC : 0 ≤ C) (h : ∀ z, mass p z ≤ C*mass q z) : secondMoment p q ≤ C