LeanMachineLearning

Learning.RoundRobin.pullCount_pos_of_time_ge๐Ÿ”—

Lemma

No docstring.

๐Ÿ”—theorem
Learning.RoundRobin.pullCount_pos_of_time_ge.{u_1, u_2} {๐“จ : Type u_1} {m๐“จ : MeasurableSpace ๐“จ} {K : โ„•} {hK : 0 < K} {ฮฝ : ProbabilityTheory.Kernel (Fin K) ๐“จ} [ProbabilityTheory.IsMarkovKernel ฮฝ] {ฮฉ : Type u_2} {mฮฉ : MeasurableSpace ฮฉ} {P : MeasureTheory.Measure ฮฉ} [MeasureTheory.IsProbabilityMeasure P] {A : โ„• โ†’ ฮฉ โ†’ Fin K} {Y : โ„• โ†’ ฮฉ โ†’ ๐“จ} (h : IsAlgEnvSeqUntil A Y (roundRobinAlgorithm hK) (stationaryEnv ฮฝ) P (K - 1)) : โˆ€แต (ฯ‰ : ฮฉ) โˆ‚P, โˆ€ (n : โ„•), K โ‰ค n โ†’ โˆ€ (b : Fin K), 0 < pullCount A b n ฯ‰
Learning.RoundRobin.pullCount_pos_of_time_ge.{u_1, u_2} {๐“จ : Type u_1} {m๐“จ : MeasurableSpace ๐“จ} {K : โ„•} {hK : 0 < K} {ฮฝ : ProbabilityTheory.Kernel (Fin K) ๐“จ} [ProbabilityTheory.IsMarkovKernel ฮฝ] {ฮฉ : Type u_2} {mฮฉ : MeasurableSpace ฮฉ} {P : MeasureTheory.Measure ฮฉ} [MeasureTheory.IsProbabilityMeasure P] {A : โ„• โ†’ ฮฉ โ†’ Fin K} {Y : โ„• โ†’ ฮฉ โ†’ ๐“จ} (h : IsAlgEnvSeqUntil A Y (roundRobinAlgorithm hK) (stationaryEnv ฮฝ) P (K - 1)) : โˆ€แต (ฯ‰ : ฮฉ) โˆ‚P, โˆ€ (n : โ„•), K โ‰ค n โ†’ โˆ€ (b : Fin K), 0 < pullCount A b n ฯ‰

Code

lemma pullCount_pos_of_time_ge
    (h : IsAlgEnvSeqUntil A Y (roundRobinAlgorithm hK) (stationaryEnv ฮฝ) P (K - 1)) :
    โˆ€แต ฯ‰ โˆ‚P, โˆ€ n, K โ‰ค n โ†’ โˆ€ b : Fin K, 0 < pullCount A b n ฯ‰
Proof
by
  have h_ae a := pullCount_eq_one h a
  simp_rw [Filter.EventuallyEq, โ† ae_all_iff] at h_ae
  filter_upwards [h_ae] with ฯ‰ hฯ‰ n hn a
  refine Nat.one_pos.trans_le ?_
  rw [โ† hฯ‰ a]
  exact pullCount_mono _ hn _

Actions: Source ยท Open Issue

Meaning last changed in v4.34.0-rc2-1-g439785b (2026-08-23), the 4th recorded change.

Self-contained, with its dependencies inlined and proofs replaced by sorry: download the raw file ยท open it in the Lean web editor.

Dependency graph

Audit surface: 10 project declarations, 67 external constants

โœ“ Proved: no sorry anywhere in its closure

This is the tool's own reading of one build's recorded axioms, and it is not robust against an author who wants it to pass. Checking meant to be relied on should go through Comparator, which replays the proof through the kernel from an export against an explicit list of permitted axioms.