Lean module · Frontier
BanditRLProof.DelayedFeedback.StochasticGoodEventAssembly
Generated source map for this Lean module.
Module map
Imports
BanditRLProof.DelayedFeedback.StochasticGoodEvent, BanditRLProof.ProbabilityUnionBound
Imported by
BanditRLProof, BanditRLProof.DelayedFeedback.StochasticGapOrderingAudit
Declarations
Open an item to read its exact compact statement and source link. Detailed teaching notes are linked when registered.
inductive
BanditRLProof.DelayedFeedback.DelayedSAPOGoodEventComponent
Compiled
The six source components combined by Corollary D.8. These constructors name the failure events proved separately in Lemmas D.2--D.7; they do not assert those concentration results.
inductive DelayedSAPOGoodEventComponent where
structure
BanditRLProof.DelayedFeedback.DelayedSAPOGoodEventFailureFamily
Compiled
Failure-event family corresponding to the six clauses combined in source Corollary D.8. The stochastic-delay component may be set to the empty event when only the oblivious-delay version is used.
structure DelayedSAPOGoodEventFailureFamily (Omega : Type*) where
def
BanditRLProof.DelayedFeedback.DelayedSAPOGoodEventFailureFamily.componentFailure
Compiled
Select the failure event named by a source good-event component.
def componentFailure {Omega : Type*} (family : DelayedSAPOGoodEventFailureFamily Omega) : DelayedSAPOGoodEventComponent -> Set Omega | .bscConfidence => family.bscConfidence | .eapConfidence => family.eapConfidence | .pullCount => family.pullCount | .eliminatedDelay => family.eliminatedDelay | .lossDifference => family.lossDifference | .stochasticDelay => family.stochasticDelay /-- The bad event appearing in the union-bound proof of Corollary D.8. -/ def failureSet {Omega : Type*} (family : DelayedSAPOGoodEventFailureFamily Omega) : Set Omega
def
BanditRLProof.DelayedFeedback.DelayedSAPOGoodEventFailureFamily.failureSet
Compiled
The bad event appearing in the union-bound proof of Corollary D.8.
def failureSet {Omega : Type*} (family : DelayedSAPOGoodEventFailureFamily Omega) : Set Omega
def
BanditRLProof.DelayedFeedback.DelayedSAPOGoodEventFailureFamily.sourceGoodEventSet
Compiled
Source good event assembled from the complements of the six D.2--D.7 failure events.
def sourceGoodEventSet {Omega : Type*} (family : DelayedSAPOGoodEventFailureFamily Omega) : Set Omega
theorem
BanditRLProof.DelayedFeedback.DelayedSAPOGoodEventFailureFamily.sourceGoodEventSet_compl
Compiled
The complement of the assembled source good event is exactly the union of the six named failure events.
theorem sourceGoodEventSet_compl {Omega : Type*} (family : DelayedSAPOGoodEventFailureFamily Omega) : family.sourceGoodEventSetᶜ = family.failureSet
theorem
BanditRLProof.DelayedFeedback.DelayedSAPOGoodEventFailureFamily.measure_sourceGoodEventSet_compl_le_sum
Compiled
Finite outer-measure union bound for the six D.2--D.7 components.
theorem measure_sourceGoodEventSet_compl_le_sum {Omega : Type*} [MeasurableSpace Omega] (mu : Measure Omega) (family : DelayedSAPOGoodEventFailureFamily Omega) : mu family.sourceGoodEventSetᶜ <= (Finset.univ : Finset DelayedSAPOGoodEventComponent).sum (fun component => mu (family.componentFailure component))
def
BanditRLProof.DelayedFeedback.DelayedSAPOGoodEventFailureFamily.quadraticFailureBudget
Compiled
The source `1 / T^2` budget used for Lemmas D.2--D.4.
noncomputable def quadraticFailureBudget (horizon : Nat) : Real
def
BanditRLProof.DelayedFeedback.DelayedSAPOGoodEventFailureFamily.linearFailureBudget
Compiled
The source `1 / T` budget used for Lemmas D.5--D.7.
noncomputable def linearFailureBudget (horizon : Nat) : Real
theorem
BanditRLProof.DelayedFeedback.DelayedSAPOGoodEventFailureFamily.quadraticFailureBudget_le_linearFailureBudget
Compiled
For a nonzero horizon, every quadratic source share is bounded by its linear relaxation.
theorem quadraticFailureBudget_le_linearFailureBudget (horizon : Nat) (hhorizon : 0 < horizon) : quadraticFailureBudget horizon <= linearFailureBudget horizon
theorem
BanditRLProof.DelayedFeedback.DelayedSAPOGoodEventFailureFamily.measure_sourceGoodEventSet_compl_le_nine_div
Compiled
Corollary-D.8 union assembly. The six hypotheses are precisely the probability-producing obligations of Lemmas D.2--D.7. This theorem combines them and proves the paper's deliberately loose `9 / T` failure budget; it does not prove the six component concentration lemmas.
theorem measure_sourceGoodEventSet_compl_le_nine_div {Omega : Type*} [MeasurableSpace Omega] (mu : Measure Omega) (family : DelayedSAPOGoodEventFailureFamily Omega) (horizon : Nat) (hhorizon : 0 < horizon) (hbsc : mu family.bscConfidence <= ENNReal.ofReal (quadraticFailureBudget horizon)) (heap : mu family.eapConfidence <= ENNReal.ofReal (quadraticFailureBudget horizon)) (hpull : mu family.pullCount <= ENNReal.ofReal (quadraticFailureBudget horizon)) (heliminated : mu family.eliminatedDelay <= ENNReal.ofReal (linearFailureBudget horizon)) (hloss : mu family.lossDifference <= ENNReal.ofReal (linearFailureBudget horizon)) (hdelay : mu family.stochasticDelay <= ENNReal.ofReal (linearFailureBudget horizon)) : mu family.sourceGoodEventSetᶜ <= ENNReal.ofReal (9 / (horizon : Real))
theorem
BanditRLProof.DelayedFeedback.DelayedSAPOGoodEventFailureFamily.measure_eliminationGoodEventSet_compl_le_nine_div
Compiled
The full source good event implies the already compiled elimination slice when the projection relation is recorded explicitly.
theorem measure_eliminationGoodEventSet_compl_le_nine_div {Omega : Type*} [MeasurableSpace Omega] {K : Nat} [Nonempty (Fin K)] (mu : Measure Omega) (family : DelayedSAPOGoodEventFailureFamily Omega) (snapshot : Omega -> DelayedSAPOSourceConfidenceSnapshot K) (mean : Fin K -> Real) (horizon : Nat) (hhorizon : 0 < horizon) (hprojection : family.sourceGoodEventSet ⊆ DelayedSAPOSourceConfidenceSnapshot.eliminationGoodEventSet snapshot mean) (hbsc : mu family.bscConfidence <= ENNReal.ofReal (quadraticFailureBudget horizon)) (heap : mu family.eapConfidence <= ENNReal.ofReal (quadraticFailureBudget horizon)) (hpull : mu family.pullCount <= ENNReal.ofReal (quadraticFailureBudget horizon)) (heliminated : mu family.eliminatedDelay <= ENNReal.ofReal (linearFailureBudget horizon)) (hloss : mu family.lossDifference <= ENNReal.ofReal (linearFailureBudget horizon)) (hdelay : mu family.stochasticDelay <= ENNReal.ofReal (linearFailureBudget horizon)) : mu (DelayedSAPOSourceConfidenceSnapshot.eliminationGoodEventSet snapshot mean)ᶜ <= ENNReal.ofReal (9 / (horizon : Real))
theorem
BanditRLProof.DelayedFeedback.DelayedSAPOGoodEventFailureFamily.measure_optimalSurvivalEventSet_compl_le_nine_div
Compiled
Corollary D.8 composed with the compiled one-snapshot D.9 projection: component failure budgets control optimal-arm elimination. Recursive persistence and both regret endpoints remain separate obligations.
theorem measure_optimalSurvivalEventSet_compl_le_nine_div {Omega : Type*} [MeasurableSpace Omega] {K : Nat} [Nonempty (Fin K)] (mu : Measure Omega) (family : DelayedSAPOGoodEventFailureFamily Omega) (snapshot : Omega -> DelayedSAPOSourceConfidenceSnapshot K) (mean : Fin K -> Real) (optimal : Fin K) (horizon : Nat) (hhorizon : 0 < horizon) (hoptimal : forall i, mean optimal <= mean i) (hactive : forall omega, optimal ∈ (snapshot omega).active) (hprojection : family.sourceGoodEventSet ⊆ DelayedSAPOSourceConfidenceSnapshot.eliminationGoodEventSet snapshot mean) (hbsc : mu family.bscConfidence <= ENNReal.ofReal (quadraticFailureBudget horizon)) (heap : mu family.eapConfidence <= ENNReal.ofReal (quadraticFailureBudget horizon)) (hpull : mu family.pullCount <= ENNReal.ofReal (quadraticFailureBudget horizon)) (heliminated : mu family.eliminatedDelay <= ENNReal.ofReal (linearFailureBudget horizon)) (hloss : mu family.lossDifference <= ENNReal.ofReal (linearFailureBudget horizon)) (hdelay : mu family.stochasticDelay <= ENNReal.ofReal (linearFailureBudget horizon)) : mu (DelayedSAPOSourceConfidenceSnapshot.optimalSurvivalEventSet snapshot optimal)ᶜ <= ENNReal.ofReal (9 / (horizon : Real))