Lean module · Foundations
BanditRLProof.Algorithms.CausalSampling
Actual intervention/assignment rounds and their fixed-budget product law.
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.
def
BanditRLProof.Causal.GraphModel.roundLaw
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.GraphModel.roundLawReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def GraphModel.roundLaw (g : GraphModel V n) (actions : A → Fin n → Option V) (eta : PMF A) : PMF (A × (Fin n → V))
def
BanditRLProof.Causal.GraphModel.observation
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.GraphModel.observationReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
def GraphModel.observation (g : GraphModel V n) (rewardBit : V → Bool) (i : Fin n) (ax : A × (Fin n → V)) : g.ParentConfig i × Bool
theorem
BanditRLProof.Causal.GraphModel.roundLaw_observation
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.GraphModel.roundLaw_observationReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem GraphModel.roundLaw_observation (g : GraphModel V n) (rewardBit : V → Bool) (actions : A → Fin n → Option V) (eta : PMF A) (i : Fin n) (hi : ∀ a, actions a i = none) : (g.roundLaw actions eta).map (g.observation rewardBit i) = pairedLaw (mixture eta (fun a => g.parentLaw (actions a) i)) (fun z => (g.parentTable i z).map rewardBit)
def
BanditRLProof.Causal.GraphModel.sampleLaw
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.GraphModel.sampleLawReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def GraphModel.sampleLaw (g : GraphModel V n) (actions : A → Fin n → Option V) (eta : PMF A) (T : ℕ) : Measure (Fin T → A × (Fin n → V))
theorem
BanditRLProof.Causal.GraphModel.sampleLaw_observation
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.GraphModel.sampleLaw_observationReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem GraphModel.sampleLaw_observation (g : GraphModel V n) (rewardBit : V → Bool) (actions : A → Fin n → Option V) (eta : PMF A) (T : ℕ) (i : Fin n) (hi : ∀ a, actions a i = none) (t : Fin T) : (g.sampleLaw actions eta T).map (fun w => g.observation rewardBit i (w t)) = (pairedLaw (mixture eta (fun a => g.parentLaw (actions a) i)) (fun z => (g.parentTable i z).map rewardBit)).toMeasure
theorem
BanditRLProof.Causal.GraphModel.integral_sample_observation
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.GraphModel.integral_sample_observationReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem GraphModel.integral_sample_observation (g : GraphModel V n) (rewardBit : V → Bool) (actions : A → Fin n → Option V) (eta : PMF A) (T : ℕ) (i : Fin n) (hi : ∀ a, actions a i = none) (t : Fin T) (f : g.ParentConfig i × Bool → ℝ) : (∫ w, f (g.observation rewardBit i (w t)) ∂g.sampleLaw actions eta T) = ∫ zy, f zy ∂(pairedLaw (mixture eta (fun a => g.parentLaw (actions a) i)) (fun z => (g.parentTable i z).map rewardBit)).toMeasure
def
BanditRLProof.Causal.GraphModel.sampleWeightedBit
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.GraphModel.sampleWeightedBitReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
noncomputable def GraphModel.sampleWeightedBit (g : GraphModel V n) (rewardBit : V → Bool) (actions : A → Fin n → Option V) (eta : PMF A) (i : Fin n) (a : A) (B : ℝ) {T : ℕ} (t : Fin T) (w : Fin T → A × (Fin n → V)) : ℝ
theorem
BanditRLProof.Causal.GraphModel.sampleWeightedBit_independent
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.GraphModel.sampleWeightedBit_independentReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem GraphModel.sampleWeightedBit_independent (g : GraphModel V n) (rewardBit : V → Bool) (actions : A → Fin n → Option V) (eta : PMF A) (i : Fin n) (a : A) (B : ℝ) (T : ℕ) : iIndepFun (g.sampleWeightedBit rewardBit actions eta i a B (T := T)) (g.sampleLaw actions eta T)
theorem
BanditRLProof.Causal.GraphModel.sampleWeightedBit_mean
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.GraphModel.sampleWeightedBit_meanReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem GraphModel.sampleWeightedBit_mean (g : GraphModel V n) (rewardBit : V → Bool) (actions : A → Fin n → Option V) (eta : PMF A) (i : Fin n) (hi : ∀ a, actions a i = none) (a : A) (B : ℝ) (T : ℕ) (t : Fin T) : (∫ w, g.sampleWeightedBit rewardBit actions eta i a B t w ∂g.sampleLaw actions eta T) = truncatedMean (g.parentLaw (actions a) i) (mixture eta (fun b => g.parentLaw (actions b) i)) (fun z => mass ((g.parentTable i z).map rewardBit) true) B
theorem
BanditRLProof.Causal.GraphModel.sampleWeightedBit_second_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 identity
declaration:BanditRLProof.Causal.GraphModel.sampleWeightedBit_second_leReading membership is not a proof dependency. Exact assumptions remain in the Lean statement.
theorem GraphModel.sampleWeightedBit_second_le (g : GraphModel V n) (rewardBit : V → Bool) (actions : A → Fin n → Option V) (eta : PMF A) (i : Fin n) (hi : ∀ a, actions a i = none) (hc : Covers (fun a => g.parentLaw (actions a) i) (mixture eta (fun a => g.parentLaw (actions a) i))) (a : A) (B : ℝ) (T : ℕ) (t : Fin T) : (∫ w, (g.sampleWeightedBit rewardBit actions eta i a B t w)^2 ∂g.sampleLaw actions eta T) ≤ secondMoment (g.parentLaw (actions a) i) (mixture eta (fun b => g.parentLaw (actions b) i))